From 604623b4920a997df7d2007ff50686961d181012 Mon Sep 17 00:00:00 2001 From: qushaowei <qushaowei@163.com> Date: 星期六, 18 十一月 2023 16:47:40 +0800 Subject: [PATCH] 问题项修改 --- src/views/eam/DailyMaintenanceOrderList.vue | 117 ++++++++++++++++++++++++++++++++-------------------------- 1 files changed, 65 insertions(+), 52 deletions(-) diff --git a/src/views/eam/DailyMaintenanceOrderList.vue b/src/views/eam/DailyMaintenanceOrderList.vue index 9b77df9..014bc4c 100644 --- a/src/views/eam/DailyMaintenanceOrderList.vue +++ b/src/views/eam/DailyMaintenanceOrderList.vue @@ -1,7 +1,7 @@ <template> <a-card :bordered="false" - title="鏃ュ父淇濆吇宸ュ崟" + title="浜岀骇淇濆吇" > <!-- 鏌ヨ鍖哄煙 --> <div class="table-page-search-wrapper"> @@ -142,11 +142,11 @@ slot-scope="text, record" > <a-popconfirm - title="纭畾涓嬪彂宸ュ崟鍚�?" + title="纭畾鎺ユ敹宸ュ崟鍚�?" @confirm="() => handleOrderIssue(record)" v-has="'dailyMaintenanceOrder:issue'" > - <a v-if="record.status == '1'">涓嬪彂</a> + <a v-if="record.status == '1'">鎺ユ敹</a> </a-popconfirm> <a-divider v-if="record.status == '1'" @@ -163,7 +163,7 @@ v-if="record.status == '2'" type="vertical" /> - <a-popconfirm + <!-- <a-popconfirm title="纭畾鎭㈠宸ュ崟鍚�?" @confirm="() => handleOrderRecover(record)" v-has="'dailyMaintenanceOrder:recover'" @@ -173,14 +173,14 @@ <a-divider v-if="record.status == '7'" type="vertical" - /> - <a-popconfirm + /> --> + <!-- <a-popconfirm title="纭畾浣滃簾宸ュ崟鍚�?" @confirm="() => handleOrderCancel(record)" v-has="'dailyMaintenanceOrder:recover'" > <a v-if="record.status == '2'">浣滃簾</a> - </a-popconfirm> + </a-popconfirm> --> <a-divider v-if="record.status == '2'" type="vertical" @@ -197,11 +197,11 @@ @click="handleAssignOrder(record)" v-has="'dailyMaintenanceOrder:assign'" >娲惧伐</a> - <a + <!-- <a v-if="record.status == '3'&& record.assignMode == '2' && record.maintenanceUserName != null " @click="handleAssignOrder(record)" v-has="'dailyMaintenanceOrder:assign'" - >鏀规淳</a> + >鏀规淳</a> --> <!-- <a v-if="record.status == '3'" @click="handleAssignOrder(record)" @@ -233,11 +233,11 @@ type="vertical" /> <a - v-if="record.status === '5'" + v-if="record.status === '5' || record.status === '8'" @click="handleFinish(record)" - >纭</a> + >瀹屽伐绉讳氦鍗�</a> <a-divider - v-if="record.status === '5'" + v-if="record.status === '5' || record.status === '8'" type="vertical" /> <a-dropdown> @@ -315,7 +315,8 @@ }, data() { return { - description: '鏃ュ父淇濆吇宸ュ崟', + description: '浜岀骇淇濆吇宸ュ崟', + queryParam: { maintenanceType: '2' }, // 琛ㄥご columns: [ { @@ -329,28 +330,35 @@ } }, { - title: '鐘舵��', - align: "center", - dataIndex: 'statusName' - }, - { title: '淇濆吇宸ュ崟鍙�', align: "center", dataIndex: 'num', scopedSlots: { customRender: 'num' } }, { - title: '淇濆吇鍛ㄦ湡', + title: '鐘舵��', align: "center", - dataIndex: 'maintenanceCycleName', + width: 100, + dataIndex: 'statusName' }, + // { + // title: '淇濆吇绫诲瀷', + // align: "center", + // dataIndex: 'maintenanceTypeName', + // }, + // { + // title: '淇濆吇鍛ㄦ湡', + // align: "center", + // dataIndex: 'maintenanceCycleName', + // }, { title: '娲惧伐鏂瑰紡', align: "center", - dataIndex: 'assignModeName' + dataIndex: 'assignModeName', + width: 100, }, { - title: '璁惧缂栫爜', + title: '缁熶竴缂栫爜', align: "center", dataIndex: 'equipmentNum', }, @@ -364,11 +372,11 @@ align: "center", dataIndex: 'equipmentModel', }, - { - title: '淇濆吇鏍囧噯缂栫爜', - align: "center", - dataIndex: 'maintenanceStandardNum', - }, + // { + // title: '淇濆吇鏍囧噯缂栫爜', + // align: "center", + // dataIndex: 'maintenanceStandardNum', + // }, { title: '浣跨敤閮ㄩ棬', @@ -380,23 +388,23 @@ align: "center", dataIndex: 'teamName' }, - { - title: '宸ユ椂瀹氶', - align: "center", - dataIndex: 'workingHourQuota' - }, - { - title: '璁″垝寮�濮嬫椂闂�', - align: "center", - dataIndex: 'planStartTime', - //width: '120px', - }, - { - title: '璁″垝缁撴潫鏃堕棿', - align: "center", - dataIndex: 'planEndTime', - //width: '120px', - }, + // { + // title: '宸ユ椂瀹氶', + // align: "center", + // dataIndex: 'workingHourQuota' + // }, + // { + // title: '璁″垝寮�濮嬫椂闂�', + // align: "center", + // dataIndex: 'planStartTime', + // //width: '120px', + // }, + // { + // title: '璁″垝缁撴潫鏃堕棿', + // align: "center", + // dataIndex: 'planEndTime', + // //width: '120px', + // }, { title: '瀹為檯寮�濮嬫椂闂�', align: "center", @@ -409,11 +417,11 @@ dataIndex: 'actualEndTime', //width: '120px', }, - { - title: '瀹為檯鐢ㄦ椂', - align: "center", - dataIndex: 'actualWorkingHourQuota', - }, + // { + // title: '瀹為檯鐢ㄦ椂', + // align: "center", + // dataIndex: 'actualWorkingHourQuota', + // }, { title: '鎵ц浜�', align: "center", @@ -491,13 +499,13 @@ }, handlePrintInfo(record) { - let href = `${window._CONFIG['domianURL']}/jmreport/view/857408393168490496?id=`+record.id; //缃戠珯閾炬帴 + let href = `${window._CONFIG['domianURL']}/jmreport/view/857408393168490496?id=` + record.id; //缃戠珯閾炬帴 window.open(href, "_blank"); }, handleOrderExe(record) { this.$refs.DailyMaintenanceOrderExeDrawer.visible = true - this.$refs.DailyMaintenanceOrderExeDrawer.title = '鏃ュ父淇濆吇宸ュ崟鎵ц' + this.$refs.DailyMaintenanceOrderExeDrawer.title = '浜岀骇淇濆吇宸ュ崟鎵ц' this.$refs.DailyMaintenanceOrderExeDrawer.handleShow(record) if (record.status === '3') { this.$refs.DailyMaintenanceOrderExeDrawer.buttonDistable = true//淇濆瓨銆佹殏瀛樸�佹姤宸� @@ -590,6 +598,11 @@ this.$refs.MaintenanceOrderAssignModal.title = '宸ュ崟鏀规淳' this.$refs.MaintenanceOrderAssignModal.disableSubmit = false }, + + searchReset() { + this.queryParam = { maintenanceType: '2' } + this.loadData(1); + }, // modalFormOk() { // alert(0) // // 鏂板/淇敼 鎴愬姛鏃讹紝閲嶈浇鍒楄〃 @@ -627,7 +640,7 @@ font-weight: bold; } .yellow { - color: yellow; + color: rgba(255, 255, 0, 0.443); font-weight: bold; } .fontweight { -- Gitblit v1.9.3