From 3a73cd63039981d1f7cd324afea8f14f37738467 Mon Sep 17 00:00:00 2001 From: zhaowei <zhaowei> Date: 星期五, 07 三月 2025 11:24:49 +0800 Subject: [PATCH] 1、统计分析和统计图表、对比分析和利用率走势分析、利用率分段分析和报警分析页面新增筛选条件保持跟TEEP页面一致 2、全局中重要程度的筛选方式由多选改为单选 3、设备监控与车间看板页面的设备详情弹窗中的图表调整为一直展示但若无数据则不展示图表的指针与数值 --- src/views/eam/modules/equipmentCategory/EquipmentCategoryModel.vue | 16 ++++++++++++---- 1 files changed, 12 insertions(+), 4 deletions(-) diff --git a/src/views/eam/modules/equipmentCategory/EquipmentCategoryModel.vue b/src/views/eam/modules/equipmentCategory/EquipmentCategoryModel.vue index 0cba98f..760a7d1 100644 --- a/src/views/eam/modules/equipmentCategory/EquipmentCategoryModel.vue +++ b/src/views/eam/modules/equipmentCategory/EquipmentCategoryModel.vue @@ -54,8 +54,8 @@ > <a-input allow-clear - :disabled="disableSubmit" - :placeholder="disableSubmit?'':'璇疯緭鍏ヨ澶囧垎绫荤紪鍙�'" + :disabled="true" + :placeholder="disableSubmit?'':'灏嗙敱绯荤粺鑷姩鐢熸垚'" v-decorator="['num', validatorRules.num ]" /> </a-form-item> @@ -239,7 +239,7 @@ <script> import pick from 'lodash.pick' -import { postAction, requestPut } from '@/api/manage' +import { getAction,postAction, requestPut } from '@/api/manage' import { duplicateCheck } from '@/api/api' import { JeecgListMixin } from '@/mixins/JeecgListMixin' @@ -305,7 +305,8 @@ url: { add: "/eam/equipmentCategory/add", edit: "/eam/equipmentCategory/edit", - list: "/eam/equipmentCategory/getAllChildren" + list: "/eam/equipmentCategory/getAllChildren", + getNum: '/eam/sysIdentity/getNumNew', }, columns: [ { @@ -416,6 +417,13 @@ this.codeDisable = true; } else { this.codeDisable = false; + this.$nextTick(() => { + getAction(this.url.getNum, { type: 'EquipmentCategory', length: '4' }).then((res) => { + if (res.success) { + this.form.setFieldsValue({ num: res.message }); + } + }) + }); } }, -- Gitblit v1.9.3