Merge remote-tracking branch 'origin/main'

This commit is contained in:
DESKTOP-369JRHT\12997 2024-11-01 10:39:43 +08:00
commit d2dcadbe8f
2 changed files with 12 additions and 2 deletions

View File

@ -26,6 +26,16 @@ export function getPidInfo(id) {
})
}
// 获取部门信息
export function getPidInfo1(id) {
return request({
url: '/system/dept/'+id,
method: 'get',
})
}
export function getMaxNumber(data) {
return request({
url: '/system/dept/getMaxNumber',

View File

@ -1,5 +1,5 @@
<script >
import {getPidInfo, Userlist} from "@/api/system/Site/site";
import {getPidInfo,getPidInfo1, Userlist} from "@/api/system/Site/site";
import Yearff from "@/views/Site/components/yearff.vue";
import Beforeff from "@/views/Site/components/before.vue";
import Afterff from "@/views/Site/components/afterff.vue";
@ -35,7 +35,7 @@ export default {
},
methods:{
getInfo(){
getPidInfo(this.deptId).then(res => {
getPidInfo1(this.deptId).then(res => {
this.storeDeptInfo = res.data
})
},