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) {
|
export function getMaxNumber(data) {
|
||||||
return request({
|
return request({
|
||||||
url: '/system/dept/getMaxNumber',
|
url: '/system/dept/getMaxNumber',
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<script >
|
<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 Yearff from "@/views/Site/components/yearff.vue";
|
||||||
import Beforeff from "@/views/Site/components/before.vue";
|
import Beforeff from "@/views/Site/components/before.vue";
|
||||||
import Afterff from "@/views/Site/components/afterff.vue";
|
import Afterff from "@/views/Site/components/afterff.vue";
|
||||||
@ -35,7 +35,7 @@ export default {
|
|||||||
},
|
},
|
||||||
methods:{
|
methods:{
|
||||||
getInfo(){
|
getInfo(){
|
||||||
getPidInfo(this.deptId).then(res => {
|
getPidInfo1(this.deptId).then(res => {
|
||||||
this.storeDeptInfo = res.data
|
this.storeDeptInfo = res.data
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user