From 585fb0bbd4a7bc7f8f333ecba7c5fecd2ee5cbc2 Mon Sep 17 00:00:00 2001 From: qushaowei <qushaowei@163.com> Date: 星期四, 28 三月 2024 09:46:44 +0800 Subject: [PATCH] Merge branch 'master' of http://117.34.109.166:18448/r/vue_mdc_430 into develop --- src/views/eam/modules/dailyMaintenanceStandard/DailyMaintenanceStandardDetail.vue | 128 +++++++++++++++++++++++------------------- 1 files changed, 71 insertions(+), 57 deletions(-) diff --git a/src/views/eam/modules/dailyMaintenanceStandard/DailyMaintenanceStandardDetail.vue b/src/views/eam/modules/dailyMaintenanceStandard/DailyMaintenanceStandardDetail.vue index efb6d23..d0b40eb 100644 --- a/src/views/eam/modules/dailyMaintenanceStandard/DailyMaintenanceStandardDetail.vue +++ b/src/views/eam/modules/dailyMaintenanceStandard/DailyMaintenanceStandardDetail.vue @@ -129,69 +129,83 @@ return parseInt(index) + 1; } }, - { - title: '閮ㄤ綅', - align: "center", - dataIndex: 'location', - }, - { - title: '绀烘剰鍥�', - align: "center", - dataIndex: 'photo', - scopedSlots: { customRender: 'photo' }, - }, - { - title: '淇濆吇椤圭洰', - align: "center", - dataIndex: 'name', - }, - { - title: '淇濆吇鏍囧噯', - align: "center", - dataIndex: 'standard', - - }, - { - title: '鏂规硶', - align: "center", - dataIndex: 'maintenanceMethodName', - - }, - { - title: '宸ュ叿', - align: "center", - dataIndex: 'maintenanceTool', - }, - { - title: '瀹夊叏瑕佹眰', - align: "center", - dataIndex: 'maintenanceRequire', - }, - { - title: '宸ユ椂瀹氶', - align: "center", - dataIndex: 'workingHourQuota', - }, - { - title: '淇濆吇鍛ㄦ湡', - align: "center", - dataIndex: 'maintenanceCycleName', - }, - { - title: '缁翠繚涓撲笟', - align: "center", - dataIndex: 'maintenanceSpecialtyName', - }, + // { + // title: '绀烘剰鍥�', + // align: "center", + // dataIndex: 'photo', + // scopedSlots: { customRender: 'photo' }, + // }, { title: '缁翠慨淇濆吇瑙掕壊', align: "center", dataIndex: 'maintenanceRoleName', }, + { + title: '淇濆吇鍐呭', + align: "center", + dataIndex: 'name', + + }, + // { + // title: '淇濆吇鏍囧噯', + // align: "center", + // dataIndex: 'standard', + + // }, + // { + // title: '閮ㄤ綅', + // align: "center", + // dataIndex: 'location', + // }, + // { + // title: '鏂规硶', + // align: "center", + // dataIndex: 'maintenanceMethodName', + + // }, + // { + // title: '宸ュ叿', + // align: "center", + // dataIndex: 'maintenanceTool', + // }, + // { + // title: '瀹夊叏瑕佹眰', + // align: "center", + // dataIndex: 'maintenanceRequire', + // }, + // { + // title: '宸ユ椂瀹氶', + // align: "center", + // dataIndex: 'workingHourQuota', + // }, + // { + // title: '淇濆吇鍛ㄦ湡', + // align: "center", + // dataIndex: 'maintenanceCycleName', + // }, + // { + // title: '缁翠繚涓撲笟', + // align: "center", + // dataIndex: 'maintenanceSpecialtyName', + // }, + ], url: { list: "/eam/maintenanceStandardDetail/getMaintenanceStandardList",//鏁版嵁鏉ユ簮mom_eam_daily_inspection_standard_detail + }, + /* 鍒嗛〉鍙傛暟 */ + ipagination: { + current: 1, + pageSize: 20, + pageSizeOptions: ['5', '10', '20', '50'], + showTotal: (total, range) => { + return range[0] + '-' + range[1] + ' 鍏�' + total + '鏉�' + }, + showQuickJumper: true, + showSizeChanger: true, + total: 0 }, } }, @@ -219,10 +233,10 @@ getAction(this.url.list, params).then((res) => { if (res.success) { this.dataSource = res.result.records || res.result; - for (let i = 0; i < this.dataSource.length; i++) { - let r = this.dataSource[i].upload; - r.src = this.getSrc(this.dataSource[i].upload); - } + // for (let i = 0; i < this.dataSource.length; i++) { + // let r = this.dataSource[i].upload; + // r.src = this.getSrc(this.dataSource[i].upload); + // } if (res.result.total) { this.ipagination.total = res.result.total; } else { -- Gitblit v1.9.3