Merge remote-tracking branch 'origin/main'
This commit is contained in:
commit
d2dcadbe8f
@ -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',
|
||||
|
@ -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
|
||||
})
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user