吉安感知网项目-前端
张含笑
2026-01-30 b248152cc5d600d41e3b0be287a3c43415e46ed1
applications/task-work-order/src/views/orderView/orderManage/inspectionReport/index.vue
@@ -22,7 +22,7 @@
               @change="handleSearch"
            >
               <el-option
                  v-for="item in dictObj.patrolTaskType"
                  v-for="item in dictObj.workOrderType"
                  :key="item.dictKey"
                  :label="item.dictValue"
                  :value="item.dictKey"
@@ -56,7 +56,7 @@
               <!-- <el-table-column prop="resultType" show-overflow-tooltip label="文档类型" /> -->
               <el-table-column prop="resultType" show-overflow-tooltip label="文档类型">
                  <template v-slot="{ row }">
                     {{ getDictLabel(row.resultType, dictObj.patrolTaskType) }}
                     {{ getDictLabel(row.resultType, dictObj.workOrderType) }}
                  </template>
               </el-table-column>
               <el-table-column label="操作" class-name="operation-btns">
@@ -102,7 +102,7 @@
                  clearable
               >
                  <el-option
                     v-for="item in dictObj.patrolTaskType"
                     v-for="item in dictObj.workOrderType"
                     :key="item.dictKey"
                     :label="item.dictValue"
                     :value="item.dictKey"
@@ -174,7 +174,7 @@
const uploadName = ref('')
const dictObj = ref({
   patrolTaskType: [], // 巡查任务类型
   workOrderType: [], // 巡查任务类型
})
const searchParams = ref(initSearchParams()) // 查询参数
@@ -203,7 +203,7 @@
// 获取字典
function getDictList() {
   getDictionaryByCode('patrolTaskType').then(res => {
   getDictionaryByCode('workOrderType').then(res => {
      dictObj.value = res.data.data
   })
}