+
取消
确定
diff --git a/src/views/equipment/base/config/BindGroup/index.vue b/src/views/equipment/base/config/BindGroup/index.vue
index 81c2295d..03cd2c9d 100644
--- a/src/views/equipment/base/config/BindGroup/index.vue
+++ b/src/views/equipment/base/config/BindGroup/index.vue
@@ -34,7 +34,7 @@
diff --git a/src/views/equipment/base/config/DataCollection/TableConfig.vue b/src/views/equipment/base/config/DataCollection/TableConfig.vue
index 2f9dda7a..1037d075 100644
--- a/src/views/equipment/base/config/DataCollection/TableConfig.vue
+++ b/src/views/equipment/base/config/DataCollection/TableConfig.vue
@@ -25,6 +25,7 @@
v-if="tableBtn.length"
slot="handleBtn"
label="操作"
+ :width="90"
:method-list="tableBtn"
@clickBtn="handleTableBtnClick" />
@@ -41,7 +42,7 @@
@@ -127,7 +128,7 @@ export default {
// width: 180,
// filter: (val) => moment(val).format('yyyy-MM-DD HH:mm:ss'),
// },
- { prop: 'code', label: '编码' },
+ { prop: 'code', label: '编码', showOverflowtooltip: true },
{ prop: 'plcTableName', label: '关联表名' },
{ prop: 'name', label: '标识名称' },
{ prop: 'enName', label: '英文名称' },
@@ -136,7 +137,7 @@ export default {
label: '是否采集',
subcomponent: switchBtn,
},
- { prop: 'description', label: '描述' },
+ { prop: 'description', label: '描述', showOverflowtooltip: true },
],
searchBarFormConfig: [
{
@@ -213,16 +214,28 @@ export default {
},
],
[
+ // {
+ // switch: true,
+ // label: '是否采集', // 是否采集 0 代表不采集, 1 代表采集
+ // prop: 'collection',
+ // bind: {
+ // 'active-value': 1,
+ // 'inactive-value': 0,
+ // value: 1,
+ // },
+ // },
{
- switch: true,
- label: '是否采集', // 是否采集 0 代表不采集, 1 代表采集
+ select: true,
+ options: [
+ { label: '否', value: 0 },
+ { label: '是', value: 1 }
+ ],
+ label: '是否采集',
prop: 'collection',
bind: {
- 'active-value': 1,
- 'inactive-value': 0,
- value: 1,
- },
- },
+ clearable: true, filterable: true
+ }
+ }
],
[
{
diff --git a/src/views/equipment/base/config/DataCollection/components/BasicDrawer.vue b/src/views/equipment/base/config/DataCollection/components/BasicDrawer.vue
index a2f09855..4ac442ce 100644
--- a/src/views/equipment/base/config/DataCollection/components/BasicDrawer.vue
+++ b/src/views/equipment/base/config/DataCollection/components/BasicDrawer.vue
@@ -9,7 +9,8 @@
-
diff --git a/src/views/equipment/base/inspection/Record/addRecord.vue b/src/views/equipment/base/inspection/Record/addRecord.vue
index ebac0548..f420896b 100644
--- a/src/views/equipment/base/inspection/Record/addRecord.vue
+++ b/src/views/equipment/base/inspection/Record/addRecord.vue
@@ -12,7 +12,8 @@
:show-close="false"
:wrapper-closable="isdetail"
class="drawer"
- size="60%">
+ size="60%"
+ @closed="$emit('destroy')">
{{ isdetail ? '查看详情' : !dataForm.id ? '新增' : '编辑' }}
@@ -265,6 +266,7 @@ export default {
this.fileName = this.dataForm.files[0].fileName
}
this.setConfig()
+ this.setInspectionContet()
});
} else {
// if (this.urlOptions.isGetCode) {
diff --git a/src/views/equipment/base/inspection/Record/index.vue b/src/views/equipment/base/inspection/Record/index.vue
index 5dcee26b..4d822298 100644
--- a/src/views/equipment/base/inspection/Record/index.vue
+++ b/src/views/equipment/base/inspection/Record/index.vue
@@ -49,7 +49,8 @@
+ @refreshDataList="getList"
+ @destroy="addOrUpdateVisible = false" />
diff --git a/src/views/equipment/base/maintain/Monitor/index.vue b/src/views/equipment/base/maintain/Monitor/index.vue
index e5b5038c..c2e3f957 100644
--- a/src/views/equipment/base/maintain/Monitor/index.vue
+++ b/src/views/equipment/base/maintain/Monitor/index.vue
@@ -49,7 +49,7 @@