From b14aa3f5539d358ec2db80a65c4c32c684d88c77 Mon Sep 17 00:00:00 2001 From: Houjie <714924425@qq.com> Date: 星期二, 10 六月 2025 14:42:30 +0800 Subject: [PATCH] 设备操作证-操作证管理 查询条件修改 所有设备- 查询条件名称修改 --- src/views/eam/modules/equipmentCalibrationOrder/EquipmentCalibrationOrderReportList.vue | 43 +++++++++++++++++++++++++++---------------- 1 files changed, 27 insertions(+), 16 deletions(-) diff --git a/src/views/eam/modules/equipmentCalibrationOrder/EquipmentCalibrationOrderReportList.vue b/src/views/eam/modules/equipmentCalibrationOrder/EquipmentCalibrationOrderReportList.vue index 9e56e70..89b6ba9 100644 --- a/src/views/eam/modules/equipmentCalibrationOrder/EquipmentCalibrationOrderReportList.vue +++ b/src/views/eam/modules/equipmentCalibrationOrder/EquipmentCalibrationOrderReportList.vue @@ -100,7 +100,8 @@ }, data() { return { - description: '妫�瀹氭姤鍛�', + description: '閴村畾鎶ュ憡', + disableMixinCreated: true, columns: [ { title: '#', @@ -134,11 +135,11 @@ dataIndex: 'size', scopedSlots: { customRender: 'size' }, }, - { - title: '鍒ゅ畾缁撴灉', - align: 'center', - dataIndex: 'judgmentResultName' - }, + // { + // title: '鍒ゅ畾缁撴灉', + // align: 'center', + // dataIndex: 'judgmentResultName' + // }, { title: '鎿嶄綔', align: 'center', @@ -153,18 +154,28 @@ urlDownload: window._CONFIG['staticDomainURL'], download: '/sys/upload/downloadFile', }, - // partRoute: {}, - // equipmentSelectionRows: [], - calibrationOrderId: '', } }, - + props: { + calibrationOrderId: { + type: String, + default: '', + required: false + } + }, watch: { - calibrationOrderId() { - this.queryParam = {}; - this.queryParam.calibrationOrderId = this.calibrationOrderId; - this.loadData(1); - }, + calibrationOrderId: { + immediate: true, + handler(val) { + if (!this.calibrationOrderId) { + // this.clearList() + } else { + this.queryParam['calibrationOrderId'] = val; + this.queryParam['delFlag'] = 0; + this.loadData(1); + } + } + } }, // mounted() { // this.$bus.$on('equipmentSelectionRows', (data) => { @@ -273,7 +284,7 @@ }, handleDownload(record) { - downFile(this.url.download, { id: record.id }).then((res) => { + downFile(this.url.download, { id: record.upload.id }).then((res) => { if (!res) { this.$message.warning('鏂囦欢涓嬭浇澶辫触') return -- Gitblit v1.9.3