mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-14 21:36:44 +08:00
培训发生组织根节点
This commit is contained in:
@@ -75,4 +75,6 @@ export const getListByAffiliation = (obj) => http.get(`/admin/teacherExpense/get
|
||||
export const teacherExpenseConfirm = (obj) => http.post('/admin/teacherExpense/confirm',obj)
|
||||
//提交/撤回
|
||||
export const isConfirm = (obj) => http.post('/admin/expenseBill/isConfirm',obj)
|
||||
//培训发生组织根节点列表
|
||||
export const parentList = () => http.get('/admin/affiliation/parentList')
|
||||
|
||||
|
||||
@@ -254,6 +254,19 @@ export default{
|
||||
{ value: '2', label: "二级审批人" },
|
||||
{ value: '3', label: "三级审批人" },
|
||||
])
|
||||
const placeData = () => {
|
||||
lecturer.parentList().then(res=>{
|
||||
if(res.data.code == 200){
|
||||
PlaceOfPayListTwo.value = res.data.data.map(item=>{
|
||||
return {
|
||||
value: item.code,
|
||||
label: item.affiliationName
|
||||
}
|
||||
})
|
||||
}
|
||||
})
|
||||
}
|
||||
placeData()
|
||||
const PlaceOfPayListTwo = ref([
|
||||
{ value: '1', label: "一级审批人" },
|
||||
])
|
||||
@@ -586,6 +599,7 @@ const getTableDate = (obj) => {
|
||||
selectRadio,
|
||||
PlaceOfPayList,
|
||||
PlaceOfPayListTwo,
|
||||
placeData,
|
||||
searchReset,
|
||||
deleteModal,
|
||||
cancelTeacherDialog,
|
||||
|
||||
Reference in New Issue
Block a user