liuQiang 1 жил өмнө
parent
commit
f864c54e7e

+ 6 - 6
src/utils/dict.js

@@ -144,12 +144,12 @@ export function getDictData(dictType, value) {
         if (dictData.value === value) {
             return dictData;
         }
-        //针对检测维保结果
-        if(dictType === 'det_result'){
-            if(dictData.label === value){
-                return dictData; 
-            }
-        }
+        // //针对检测维保结果
+        // if(dictType === 'det_result'){
+        //     if(dictData.label === value){
+        //         return dictData; 
+        //     }
+        // }
     }
     return undefined;
 }

+ 3 - 3
src/views/backend/fpdDetection/index.vue

@@ -32,7 +32,7 @@
             v-for="dict in this.getDictDatas(DICT_TYPE.BACKEND_DET_RESULT)"
             :key="dict.value"
             :label="dict.label"
-            :value="dict.label"
+            :value="dict.value"
           />
         </el-select>
       </el-form-item>
@@ -98,7 +98,7 @@
           >
         </template>
       </el-table-column>
-      <el-table-column
+      <!-- <el-table-column
         label="操作"
         align="center"
         class-name="small-padding fixed-width"
@@ -121,7 +121,7 @@
             >删除</el-button
           >
         </template>
-      </el-table-column>
+      </el-table-column> -->
     </el-table>
     <!-- 分页组件 -->
     <pagination