From 547aab154e85a9a89f1e320f92bd43854d10faeb Mon Sep 17 00:00:00 2001 From: zhuzhuanzhuan Date: 星期四, 14 十二月 2023 14:12:45 +0800 Subject: [PATCH] 1、调整车间看板页面详情弹窗描述列表内容字段 2、报警分析页面在原有表格中为每个报警号增加子表格,内容为出现此报警号的设备ID以及报警时间等 3、报警分析页面表格请求数据设置加载中动画 4、调整设备参数阈值管理页面添加或编辑阈值上下限输入框为数字输入框,避免上下限数字比较大小时出现问题 --- src/views/eam/modules/equipment/EquipmentModel.vue | 45 ++++++++++++++++++++++----------------------- 1 files changed, 22 insertions(+), 23 deletions(-) diff --git a/src/views/eam/modules/equipment/EquipmentModel.vue b/src/views/eam/modules/equipment/EquipmentModel.vue index b55f514..cdf2ad2 100644 --- a/src/views/eam/modules/equipment/EquipmentModel.vue +++ b/src/views/eam/modules/equipment/EquipmentModel.vue @@ -20,7 +20,7 @@ <a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" - label="璁惧缂栫爜" + label="缁熶竴缂栫爜" > <a-input placeholder="灏嗙敱绯荤粺鐢熸垚" @@ -366,9 +366,8 @@ /> </a-form-item> </a-col> - </a-row> - <a-row style="width: 100%"> + <!-- <a-row style="width: 100%"> <a-col :span="24 / 3"> <a-form-item :labelCol="labelCol" @@ -416,9 +415,9 @@ /> </a-form-item> </a-col> - </a-row> + </a-row> --> <a-row style="width: 100%"> - <a-col :span="24 / 3 "> + <!-- <a-col :span="24 / 3 "> <a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" @@ -451,7 +450,7 @@ v-decorator="['processParametersTemplateName', validatorRules.processParametersTemplateName]" /> </a-form-item> - </a-col> + </a-col> --> <a-col :span="24 / 3"> <a-form-item :labelCol="labelCol" @@ -468,9 +467,6 @@ /> </a-form-item> </a-col> - </a-row> - <a-row style="width: 100%"> - <a-col :span="24 / 3"> <a-form-item :labelCol="labelCol" @@ -505,6 +501,9 @@ /> </a-form-item> </a-col> + </a-row> + <a-row style="width: 100%"> + </a-row> <a-row :gutter="24"> @@ -733,7 +732,7 @@ 'remark')); this.form.setFieldsValue({ leaveFactoryDate: this.model.leaveFactoryDate ? moment(this.model.leaveFactoryDate, 'YYYY-MM-DD') : null }); this.form.setFieldsValue({ acceptanceCheckDate: this.model.acceptanceCheckDate ? moment(this.model.acceptanceCheckDate, 'YYYY-MM-DD') : null }); - this.form.setFieldsValue({ lastVerificationDate: this.model.lastVerificationDate ? moment(this.model.lastVerificationDate, 'YYYY-MM-DD') : null }) + // this.form.setFieldsValue({ lastVerificationDate: this.model.lastVerificationDate ? moment(this.model.lastVerificationDate, 'YYYY-MM-DD') : null }) }); if (record.id) { this.codeDisable = true; @@ -784,17 +783,17 @@ // formData.equipmentPhoto = this.equipmentPhoto formData.leaveFactoryDate = formData.leaveFactoryDate ? formData.leaveFactoryDate.format('YYYY-MM-DD') : null; formData.acceptanceCheckDate = formData.acceptanceCheckDate ? formData.acceptanceCheckDate.format('YYYY-MM-DD') : null; - formData.lastVerificationDate = formData.lastVerificationDate ? formData.lastVerificationDate.format('YYYY-MM-DD') : null; + // formData.lastVerificationDate = formData.lastVerificationDate ? formData.lastVerificationDate.format('YYYY-MM-DD') : null; if (that.model.precisionParameters != "1") { formData.precisionParametersTemplateId = ""; } else { formData.precisionParametersTemplateId = this.precisionParametersTemplateId; } - if (that.model.processParameters != "1") { - formData.processParametersTemplateId = ""; - } else { - formData.processParametersTemplateId = this.processParametersTemplateId; - } + // if (that.model.processParameters != "1") { + // formData.processParametersTemplateId = ""; + // } else { + // formData.processParametersTemplateId = this.processParametersTemplateId; + // } let obj; if (!this.model.id) { formData.equipmentCategoryId = this.equipmentCategoryId @@ -874,13 +873,13 @@ this.model.precisionParameters = '1' } }, - handle3Switch(verification) { - if ('1' == verification) { - this.model.verification = '0' - } else { - this.model.verification = '1' - } - }, + // handle3Switch(verification) { + // if ('1' == verification) { + // this.model.verification = '0' + // } else { + // this.model.verification = '1' + // } + // }, getSysDeparts() { getAction(this.url.getSysDeparts).then((res) => { -- Gitblit v1.9.3