|
|
@@ -16,7 +16,7 @@
|
|
|
</template>
|
|
|
|
|
|
<template v-slot:type="{ row }">
|
|
|
- {{ row.type }}
|
|
|
+ {{getDictValue('质检标准类型', row.type)}}
|
|
|
</template>
|
|
|
|
|
|
|
|
|
@@ -43,8 +43,9 @@
|
|
|
import search from './components/search.vue';
|
|
|
import edit from './components/edit.vue';
|
|
|
import { getList, removeItem } from '@/api/inspectionStandard';
|
|
|
-
|
|
|
+import dictMixins from '@/mixins/dictMixins';
|
|
|
export default {
|
|
|
+ mixins: [dictMixins],
|
|
|
components: {
|
|
|
search,
|
|
|
edit
|
|
|
@@ -81,7 +82,7 @@ export default {
|
|
|
{
|
|
|
label: '标准类型',
|
|
|
prop: 'type',
|
|
|
- slot: 'type'
|
|
|
+ slot: 'type',
|
|
|
},
|
|
|
|
|
|
|
|
|
@@ -107,7 +108,7 @@ export default {
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
|
-
|
|
|
+ this.requestDict('质检标准类型')
|
|
|
},
|
|
|
methods: {
|
|
|
datasource({ page, where, limit }) {
|