|
|
@@ -23,6 +23,18 @@
|
|
|
</template>
|
|
|
|
|
|
|
|
|
+
|
|
|
+ <template v-slot:type="{ row }">
|
|
|
+
|
|
|
+ {{getDictValue('质检标准类型', row.qualityStandard.type)}}
|
|
|
+
|
|
|
+ </template>
|
|
|
+
|
|
|
+ <template v-slot:standardCode="{ row }">
|
|
|
+ {{ row.qualityStandard.standardCode }}
|
|
|
+ </template>
|
|
|
+
|
|
|
+
|
|
|
|
|
|
<template v-slot:status="{ row }">
|
|
|
{{ row.qualityStandard.status == 1 ? '启用' : '停用' }}
|
|
|
@@ -30,7 +42,7 @@
|
|
|
|
|
|
|
|
|
<template v-slot:mode="{ row }">
|
|
|
- {{getDictValue('质检方式', row.mode)}}
|
|
|
+ {{ getDictValue('质检方式', row.mode) }}
|
|
|
|
|
|
</template>
|
|
|
|
|
|
@@ -115,7 +127,19 @@ export default {
|
|
|
slot: 'name',
|
|
|
},
|
|
|
|
|
|
-
|
|
|
+ {
|
|
|
+ label: '标准类型',
|
|
|
+ prop: 'type',
|
|
|
+ slot: 'type',
|
|
|
+ },
|
|
|
+
|
|
|
+ {
|
|
|
+ label: '标准代码',
|
|
|
+ prop: 'standardCode',
|
|
|
+
|
|
|
+ },
|
|
|
+
|
|
|
+
|
|
|
|
|
|
{
|
|
|
prop: 'status',
|
|
|
@@ -125,6 +149,14 @@ export default {
|
|
|
slot: 'status',
|
|
|
},
|
|
|
|
|
|
+ {
|
|
|
+ prop: 'version',
|
|
|
+ label: '版本号',
|
|
|
+ align: 'center',
|
|
|
+ minWidth: 110,
|
|
|
+ slot: 'version',
|
|
|
+ },
|
|
|
+
|
|
|
|
|
|
|
|
|
{
|
|
|
@@ -135,13 +167,7 @@ export default {
|
|
|
slot: 'mode',
|
|
|
},
|
|
|
|
|
|
- {
|
|
|
- prop: 'version',
|
|
|
- label: '版本号',
|
|
|
- align: 'center',
|
|
|
- minWidth: 110,
|
|
|
- slot: 'version',
|
|
|
- },
|
|
|
+
|
|
|
|
|
|
{
|
|
|
label: '操作',
|
|
|
@@ -158,6 +184,7 @@ export default {
|
|
|
},
|
|
|
created() {
|
|
|
this.requestDict('质检方式');
|
|
|
+ this.requestDict('质检标准类型')
|
|
|
},
|
|
|
methods: {
|
|
|
/* 表格数据源 */
|
|
|
@@ -172,7 +199,7 @@ export default {
|
|
|
},
|
|
|
/* 刷新表格 */
|
|
|
reload(where) {
|
|
|
- this.$refs.table.reload({ pageNum: 1, where: where , categoryLevelId: this.categoryLevelId , rootCategoryLevelId: this.rootId});
|
|
|
+ this.$refs.table.reload({ pageNum: 1, where: where, categoryLevelId: this.categoryLevelId, rootCategoryLevelId: this.rootId });
|
|
|
},
|
|
|
|
|
|
/* 打开编辑弹窗 */
|
|
|
@@ -213,8 +240,8 @@ export default {
|
|
|
this.$refs.searchRef.search();
|
|
|
},
|
|
|
|
|
|
- clickSearch(info){
|
|
|
- this.categoryLevelId = info.id
|
|
|
+ clickSearch(info) {
|
|
|
+ this.categoryLevelId = info.id
|
|
|
this.rootCategoryLevelId = info.rootCategoryLevelId
|
|
|
this.reload()
|
|
|
|