From 1e1e70da5288f47d8770ba2e7f22f3362e5b577c Mon Sep 17 00:00:00 2001 From: zhuzhuanzhuan Date: 星期五, 08 十二月 2023 17:16:35 +0800 Subject: [PATCH] 1、全局修改密码弹窗中的新密码校验长度与数据字典password_length设置保持一致 2、报警分析页面优化过快点击多次表格行时图表内容出现数据残留以及加载图表应设置加载中动画,若不设置用户在查询时短时间内不清楚有无数据 3、车间看板以及设备监控页面设备详情弹窗右上角增加关闭按钮、设备详情弹窗透明度加深、设备详情弹窗图表表盘指针对比色加强、调整设备详情弹窗中描述列表子项标题对齐方式由左对齐改为右对齐,锁定运行数据描述列表子项数值宽度,超出部分隐藏出现省略号,悬浮出现气泡卡片 4、设备利用率、设备开动率、班次利用率页面表格前三列增加表头,依次为公司、车间、工段以及表格有关时间值调整为若小时或分钟为0则不显示 5、设备综合效率分析页面表格数据默认每页最多显示10条改为20条 6、设备加工工件报表页面完成布局及功能实现 --- src/views/eam/modules/daily3MaintenanceOrder/EquipmentPrecisionCheckOrderModal.vue | 59 +++++++++++++++++++++++++++++++++++++++++++++++++---------- 1 files changed, 49 insertions(+), 10 deletions(-) diff --git a/src/views/eam/modules/daily3MaintenanceOrder/EquipmentPrecisionCheckOrderModal.vue b/src/views/eam/modules/daily3MaintenanceOrder/EquipmentPrecisionCheckOrderModal.vue index 35c64b4..627783b 100644 --- a/src/views/eam/modules/daily3MaintenanceOrder/EquipmentPrecisionCheckOrderModal.vue +++ b/src/views/eam/modules/daily3MaintenanceOrder/EquipmentPrecisionCheckOrderModal.vue @@ -7,14 +7,20 @@ cancelText="鍏抽棴" @cancel="handleCancel" :confirmLoading="confirmLoading" + title="闄勫綍6" > <!-- :title="title" --> <a-spin :spinning="confirmLoading"> <a-form :form="form"> + <span + class="ant-descriptions-title" + style="font-size: large;font-size: 15px;float: right;" + >{{this.model.receiptsNum2}}</span> <a-divider orientation="center" style="font-size: large;font-style: normal;font-size: 30px;color: #66aeed;" - > 鐢熶骇璁惧绮惧害妫�楠屽崟 </a-divider> + > {{this.model.receiptsName2}} </a-divider> + <!-- 鐢熶骇璁惧绮惧害妫�楠屽崟 --> <a-row :gutter="24"> <a-col :span="8"> <a-form-item @@ -174,19 +180,30 @@ </a-col> </a-row> </div> - <div :style="{height: '115px',float: 'left',width: '10%',border: '1px solid #e9e9e9',padding: '50px 20px',background: '#fff',}"> + <div :style="{height: '175px',float: 'left',width: '10%',border: '1px solid #e9e9e9',padding: '50px 20px',background: '#fff',}"> <span class="ant-descriptions-title" style="font-size: large;font-style: normal;font-size: 15px;" >闆朵欢鐘舵��</span> </div> - <div :style="{height: '115px',float: 'right',width: '90%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> + <div :style="{height: '175px',float: 'right',width: '90%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> + <a-row :gutter="24"> + <a-col :span="12"> + <a-form-item + :labelCol="{ span: 8 }" + :wrapperCol="{ span: 12 }" + label="妫�娴嬭皟璇曞悗璇曞姞宸ラ浂浠跺彿锛�" + > + <a-input v-model="model.sparePart" /> + </a-form-item> + </a-col> + </a-row> <a-row :gutter="24"> <a-col :span="12"> <a-form-item :labelCol="{ span: 8 }" :wrapperCol="{ span: 4 }" - label="妫�娴嬭皟璇曞悗璇曞姞宸ラ浂浠跺彿锛�" + label="闆朵欢鍔犲伐锛�" > <a-switch checked-children="鍚堟牸" @@ -295,8 +312,9 @@ @click="handleOk()" type="primary" :loading="confirmLoading" - :disabled="disableSubmit || confirmLoading" + :disabled="this.model.precisionInspectionStatus == '5'" >纭畾</a-button> + </template> </a-modal> @@ -380,6 +398,7 @@ add: "/eam/precisionInspection/precisionInspection", getPrecisionInspection: "/eam/precisionInspection/getPrecisionInspectionList", list: "/eam/dailyMaintenanceOrder/getMaintenanceCycleByStandardId", + getSysFileName: "/eam/sysFileName/getSysFileName", }, } @@ -389,7 +408,9 @@ edit(record) { let that = this; - + if (record.receipts2 == "" || record.receipts2 == null) { + this.getSysFileName() + } this.form.resetFields(); // record.eachTolerance = '0' // record.partTolerance = '0' @@ -417,9 +438,19 @@ }, handleOk() { - + // if (this.model.precisionInspectionStatus === '2') { + // if ((this.model.eachTolerance === "0" || this.model.eachTolerance === 0) && (this.model.partTolerance === "0" || this.model.partTolerance === 0)) { + // this.$message.warning("璇峰绮惧害鐘舵�佺粨鏋滃嬀閫夛紒"); + // return + // } + // } + // if (this.model.precisionInspectionStatus === '3') { + // if ((this.model.processPass === "0" || this.model.processPass === 0) && (this.model.meetProcessRequire === "0" || this.model.meetProcessRequire === 0)) { + // this.$message.warning("璇峰闆朵欢鐘舵�佺粨鏋滃嬀閫夛紒"); + // return + // } + // } const that = this; - // 瑙﹀彂琛ㄥ崟楠岃瘉 that.form.validateFields((err, values) => { if (!err) { this.$confirm({ @@ -456,8 +487,7 @@ getAction(this.url.getPrecisionInspection, { maintenanceOrderId: this.model.id }).then((res) => { if (res.success) { this.dataSource = res.result[0].precisionInspectionDetails - this.model = Object.assign({}, res.result[0]); - debugger + this.model = Object.assign(this.model, res.result[0]); } }) }, @@ -500,6 +530,7 @@ onChangeJudgmentResult(e) { this.model.judgmentResult = e.target.value + this.model = Object.assign({}, this.model); }, handleChange(value, key, column, index) { @@ -515,6 +546,14 @@ } }, + getSysFileName() { + getAction(this.url.getSysFileName, { name: '16' }).then((res) => { + if (res.success) { + this.model = Object.assign(this.model, res.result[0]); + } + }) + }, + }, } </script> -- Gitblit v1.9.3