diff --git a/src/views/measure/measureDept/components/templatePage.vue b/src/views/measure/measureDept/components/templatePage.vue index f52bd54..30522e2 100644 --- a/src/views/measure/measureDept/components/templatePage.vue +++ b/src/views/measure/measureDept/components/templatePage.vue @@ -84,7 +84,7 @@ { text: '负责人', value: 'director', align: 'center' }, { text: '联系方式', value: 'phone', align: 'center' }, { text: '所属科室', value: 'pDeptName', align: 'center' }, - { text: '科室负责人', value: '', align: 'center' }, + { text: '科室负责人', value: 'pDeptDirector', align: 'center' }, { text: '创建日期', value: 'createTime', align: 'center', width: '120' }, ], }, @@ -143,12 +143,13 @@ if (res.code === 200) { list.value = (res.data.rows as rowType[]).map(item => ({ ...item, createTime: item.createTime.split(' ')[0] })) total.value = res.data.total - if (props.authority === 'gcz') { - list.value.forEach(async (item) => { - const res = await getpDeptApi({ deptId: item.deptId }) - item.pDeptName = res.data.pDeptName - }) - } + // 调科室详情接口获取科室信息 + // if (props.authority === 'gcz') { + // list.value.forEach(async (item) => { + // const res = await getpDeptApi({ deptId: item.deptId }) + // item.pDeptName = res.data.pDeptName + // }) + // } } loadingTable.value = false }).catch((_) => {