Przeglądaj źródła

优化发布规则查询条件并统一质检工具字段命名

yusheng 6 miesięcy temu
rodzic
commit
340bfeff26

+ 2 - 1
src/components/releaseRules/index.vue

@@ -462,7 +462,8 @@
           ...where,
           ...typeWhere,
           enable: 1,
-          publishStatus:1
+          publishStatus:1,
+          reportWorkType: this.type
         });
       },
       // 单击获取id

+ 4 - 4
src/views/inspectionWork/components/inspectionProjectReport.vue

@@ -82,9 +82,9 @@
           <el-option :value="2" label="实验"></el-option>
         </el-select>
       </template>
-      <template v-slot:inspectionTool="{ row }">
+      <template v-slot:useTools="{ row }">
         <toolButtom
-          v-model="row.inspectionTool"
+          v-model="row.useTools"
           :type="type"
           :sList="row.toolList"
         />
@@ -509,8 +509,8 @@
           },
           {
             minWidth: 100,
-            prop: 'inspectionTool',
-            slot: 'inspectionTool',
+            prop: 'useTools',
+            slot: 'useTools',
             align: 'center',
             label: '质检工具',
             showOverflowTooltip: true