ysy 1 год назад
Родитель
Сommit
fd946d6047

+ 4 - 14
src/views/inspectionClassify/components/qualityItem.vue

@@ -42,7 +42,7 @@
         </template>
 
         <template v-slot:type="{ row }">
-          <!-- {{ getDictValue('质检标准类型', row.type) }} -->
+          {{ getDictValue('质检标准类型', row.type) }}
         </template>
       </ele-pro-table>
     </el-card>
@@ -57,12 +57,12 @@
 <script>
   import { getList } from '@/api/inspectionProject';
   import UserSearch from '@/views/inspectionProject/components/user-search.vue';
-
+  import dictMixins from '@/mixins/dictMixins';
   export default {
     components: {
       UserSearch
     },
-    mixins: [],
+    mixins: [dictMixins],
 
     data() {
       return {
@@ -152,16 +152,6 @@
           {
             label: '备注',
             prop: 'inspectionRemark'
-          },
-
-          {
-            columnKey: 'action',
-            label: '操作',
-            width: 220,
-            align: 'center',
-            resizable: false,
-            slot: 'action',
-            showOverflowTooltip: true
           }
         ],
 
@@ -208,7 +198,7 @@
         let _arr = [];
         _arr = this.selection.map((m) => {
           return {
-            qualityStandardId: m.id,
+            inspectionItemId: m.id,
             status: 1,
             mode: null,
             version: null,

+ 1 - 1
src/views/inspectionClassify/components/user-list.vue

@@ -83,7 +83,7 @@
       </template>
     </ele-pro-table>
 
-    <qualityItem ref="qualityItemRef"></qualityItem>
+    <qualityItem ref="qualityItemRef" @chooseProcess="chooseProcess"></qualityItem>
   </div>
 </template>