From e5af12a4438100c376dcfc6a9c417d3f0e8545b1 Mon Sep 17 00:00:00 2001 From: wws <18630710203@163.com> Date: Wed, 29 Nov 2023 13:47:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A3=80=E6=9F=A5=E9=A1=B9+=E5=BE=AA=E7=8E=AF?= =?UTF-8?q?=E5=91=A8=E6=9C=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/device/item/index.vue | 35 ++++++++++++++++++++++++++++++--- 1 file changed, 32 insertions(+), 3 deletions(-) diff --git a/src/views/device/item/index.vue b/src/views/device/item/index.vue index 1c8ceb4f..ea3eb905 100644 --- a/src/views/device/item/index.vue +++ b/src/views/device/item/index.vue @@ -25,7 +25,7 @@ @keyup.enter.native="handleQuery" /> - + + + + + @@ -297,6 +303,23 @@ + + + + + + + + + + + +
@@ -399,7 +422,7 @@ import { Loading } from 'element-ui'; export default { name: "Item", - dicts: ['device_item_type'], + dicts: ['device_item_type','device_loop_type'], data() { return { activePage: 'check', @@ -469,6 +492,9 @@ export default { itemCode: null, itemName: null, itemMethod: null, + itemTools:null, + itemLoop:null, + itemLoopType:null, itemType: null, itemTypeName: null, itemRemark: null, @@ -487,6 +513,8 @@ export default { // 表单参数 form: { itemTools:null, + itemLoop:null, + itemLoopType:null, itemName: null, itemType: null, itemMethod: null, @@ -600,6 +628,8 @@ export default { handleAdd() { this.reset(); this.setTransfer(); + this.form.itemLoop = 1; + this.form.itemLoopType = 'day'; this.activePage = 'check'; this.open = true; this.title = "新增检查项"; @@ -613,7 +643,6 @@ export default { const itemId = row.itemId || this.ids getItem(itemId).then(response => { this.form = response.data; - getEquipmentCodeList(row.itemCode).then(response => { for (let i = 0; i < response.data.length; i++) { this.selectEquipmentList.push(response.data[i]);