吉安感知网项目-前端
罗广辉
2026-03-05 aef9afcbfceec4c9220992dcd651c86e6fbdefd0
applications/task-work-order/src/views/orderView/appConfiguration/inventory/index.vue
@@ -91,6 +91,8 @@
</template>
<script setup>
import { getDictionaryByCode } from '@/api/system/dictbiz'
import { getDictLabel } from '@ztzf/utils'
import { Search, RefreshRight, Plus } from '@element-plus/icons-vue'
import { onMounted, ref, provide, nextTick } from 'vue'
import { ElMessage, ElMessageBox } from 'element-plus'
@@ -133,7 +135,12 @@
provide('deptTree', deptTree)
provide('treeProps', treeProps)
// 获取字典
function getDictList() {
   return getDictionaryByCode('resultConfig').then(res => {
      dictObj.value = res.data.data
   })
}
// 获取部门树数据
async function getDeptTree() {
@@ -200,6 +207,7 @@
}
onMounted(() => {
    getDictList()
   getDeptTree()
   getList()
})