吉安感知网项目-前端
张含笑
2026-01-31 e42462d2aeed6cbdbdde574d1b327fada0dae13c
feat:接口调整
2 files modified
15 ■■■■ changed files
applications/task-work-order/src/views/orderView/orderDataManage/dataObjection/dataObjectionApi.js 9 ●●●●● patch | view | raw | blame | history
applications/task-work-order/src/views/orderView/orderDataManage/dataObjection/index.vue 6 ●●●● patch | view | raw | blame | history
applications/task-work-order/src/views/orderView/orderDataManage/dataObjection/dataObjectionApi.js
@@ -45,3 +45,12 @@
    })
}
export const getDeptTreeListApi = tenantId => {
    return request({
        url: '/blade-system/dept/tree',
        method: 'get',
        params: {
            tenantId,
        },
    });
};
applications/task-work-order/src/views/orderView/orderDataManage/dataObjection/index.vue
@@ -98,7 +98,7 @@
import { Search, RefreshRight, Plus, Delete } from '@element-plus/icons-vue'
import { onMounted, ref, provide, nextTick } from 'vue'
import { ElMessage, ElMessageBox } from 'element-plus'
import { getDeptTree } from '@/api/system/dept'
import { getDeptTreeListApi } from './dataObjectionApi'
import { getDictLabel } from '@ztzf/utils'
import FormDiaLog from './FormDiaLog.vue'
import {
@@ -125,7 +125,7 @@
const deptTree = ref([]) // 部门树
const dictObj = ref({}) // 字典对象
const treeProps = {
    label: 'name',
    label: 'title',
    children: 'children',
}
const detailObjectionStatus = ref('')
@@ -183,7 +183,7 @@
// 获取部门树
function getDeptTreeFun() {
    getDeptTree().then(res => {
    getDeptTreeListApi().then(res => {
        deptTree.value = res.data.data
    })
}