-
@@ -345,3 +345,37 @@ export default {
padding: 18px;
}
-->
+
diff --git a/src/views/base/packagingPrintType/index.vue b/src/views/base/packagingPrintType/index.vue
index 740d250a..0cb35009 100644
--- a/src/views/base/packagingPrintType/index.vue
+++ b/src/views/base/packagingPrintType/index.vue
@@ -2,7 +2,7 @@
* @Author: zwq
* @Date: 2023-08-01 14:55:51
* @LastEditors: zhp
- * @LastEditTime: 2023-11-22 14:36:33
+ * @LastEditTime: 2023-12-04 13:44:01
* @Description:
-->
@@ -122,7 +122,8 @@ export default {
// name: 'reset',
// },
{
- type: 'separate',
+ type: 'label',
+ label: '标签类型'
},
{
type: this.$auth.hasPermi('base:packaging-print-type:create') ? 'button' : '',
diff --git a/src/views/core/mixins/basic-add.js b/src/views/core/mixins/basic-add.js
index 5b0754dd..2f725af8 100644
--- a/src/views/core/mixins/basic-add.js
+++ b/src/views/core/mixins/basic-add.js
@@ -2,7 +2,7 @@
* @Author: zwq
* @Date: 2022-08-24 11:19:43
* @LastEditors: zhp
- * @LastEditTime: 2023-11-06 15:59:53
+ * @LastEditTime: 2023-12-13 15:52:53
* @Description:
*/
export default {
@@ -38,7 +38,7 @@ export default {
this.$refs["dataForm"].resetFields();
if (this.dataForm.id) {
this.urlOptions.infoURL(id).then(response => {
- this.dataForm = response.data;
+ this.dataForm = response.data
if (this.setData) {
this.setDataForm()
}
@@ -80,7 +80,7 @@ export default {
if (this.dataForm.id) {
this.urlOptions.updateURL(this.dataForm).then(response => {
this.$modal.msgSuccess("修改成功");
- this.visible = false;
+ this.visible = false;
this.$emit("refreshDataList");
});
return;
diff --git a/src/views/equipment/base/config/AlarmGroup/components/BasicDrawer.vue b/src/views/equipment/base/config/AlarmGroup/components/BasicDrawer.vue
index 84f0d9cf..079f999e 100644
--- a/src/views/equipment/base/config/AlarmGroup/components/BasicDrawer.vue
+++ b/src/views/equipment/base/config/AlarmGroup/components/BasicDrawer.vue
@@ -9,8 +9,7 @@
-
diff --git a/src/views/equipment/base/config/BindGroup/components/BasicDrawer.vue b/src/views/equipment/base/config/BindGroup/components/BasicDrawer.vue
index f5a87fbf..036fd885 100644
--- a/src/views/equipment/base/config/BindGroup/components/BasicDrawer.vue
+++ b/src/views/equipment/base/config/BindGroup/components/BasicDrawer.vue
@@ -9,8 +9,7 @@
-
+
取消
确定
diff --git a/src/views/equipment/base/config/BindGroup/index.vue b/src/views/equipment/base/config/BindGroup/index.vue
index 03cd2c9d..81c2295d 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 1037d075..2f9dda7a 100644
--- a/src/views/equipment/base/config/DataCollection/TableConfig.vue
+++ b/src/views/equipment/base/config/DataCollection/TableConfig.vue
@@ -25,7 +25,6 @@
v-if="tableBtn.length"
slot="handleBtn"
label="操作"
- :width="90"
:method-list="tableBtn"
@clickBtn="handleTableBtnClick" />
@@ -42,7 +41,7 @@
@@ -128,7 +127,7 @@ export default {
// width: 180,
// filter: (val) => moment(val).format('yyyy-MM-DD HH:mm:ss'),
// },
- { prop: 'code', label: '编码', showOverflowtooltip: true },
+ { prop: 'code', label: '编码' },
{ prop: 'plcTableName', label: '关联表名' },
{ prop: 'name', label: '标识名称' },
{ prop: 'enName', label: '英文名称' },
@@ -137,7 +136,7 @@ export default {
label: '是否采集',
subcomponent: switchBtn,
},
- { prop: 'description', label: '描述', showOverflowtooltip: true },
+ { prop: 'description', label: '描述' },
],
searchBarFormConfig: [
{
@@ -214,28 +213,16 @@ export default {
},
],
[
- // {
- // switch: true,
- // label: '是否采集', // 是否采集 0 代表不采集, 1 代表采集
- // prop: 'collection',
- // bind: {
- // 'active-value': 1,
- // 'inactive-value': 0,
- // value: 1,
- // },
- // },
{
- select: true,
- options: [
- { label: '否', value: 0 },
- { label: '是', value: 1 }
- ],
- label: '是否采集',
+ switch: true,
+ label: '是否采集', // 是否采集 0 代表不采集, 1 代表采集
prop: 'collection',
bind: {
- clearable: true, filterable: true
- }
- }
+ 'active-value': 1,
+ 'inactive-value': 0,
+ value: 1,
+ },
+ },
],
[
{
diff --git a/src/views/equipment/base/config/DataCollection/components/BasicDrawer.vue b/src/views/equipment/base/config/DataCollection/components/BasicDrawer.vue
index 4ac442ce..a2f09855 100644
--- a/src/views/equipment/base/config/DataCollection/components/BasicDrawer.vue
+++ b/src/views/equipment/base/config/DataCollection/components/BasicDrawer.vue
@@ -9,8 +9,7 @@
-
diff --git a/src/views/equipment/base/inspection/Record/addRecord.vue b/src/views/equipment/base/inspection/Record/addRecord.vue
index 8f5699ef..edb4cf81 100644
--- a/src/views/equipment/base/inspection/Record/addRecord.vue
+++ b/src/views/equipment/base/inspection/Record/addRecord.vue
@@ -1,8 +1,8 @@
-
@@ -112,7 +112,7 @@
-
+
@@ -269,7 +269,6 @@ export default {
}
this.dataForm.description = this.dataForm.description || '无'
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 8dec700e..90fae72a 100644
--- a/src/views/equipment/base/inspection/Record/index.vue
+++ b/src/views/equipment/base/inspection/Record/index.vue
@@ -49,8 +49,7 @@
+ @refreshDataList="getList" />
diff --git a/src/views/equipment/base/maintain/Monitor/index.vue b/src/views/equipment/base/maintain/Monitor/index.vue
index 3bc93d4a..a396c8c0 100644
--- a/src/views/equipment/base/maintain/Monitor/index.vue
+++ b/src/views/equipment/base/maintain/Monitor/index.vue
@@ -49,7 +49,7 @@
diff --git a/src/views/equipment/base/repair/index.vue b/src/views/equipment/base/repair/index.vue
index c1551fa9..8d5e32c9 100644
--- a/src/views/equipment/base/repair/index.vue
+++ b/src/views/equipment/base/repair/index.vue
@@ -17,7 +17,7 @@
v-if="tableBtn.length"
slot="handleBtn"
label="操作"
- :width="120"
+ :width="180"
:method-list="tableBtn"
@clickBtn="handleTableBtnClick" />
@@ -48,8 +48,7 @@
+ @refreshDataList="getList" />