From 51a85778763739b2d217896f76ba830522788fad Mon Sep 17 00:00:00 2001
From: zhaowei <zhaowei>
Date: 星期三, 11 六月 2025 09:01:29 +0800
Subject: [PATCH] 生产设备自主维护点检表设置月份默认值为本月
---
src/views/eam/modules/dailyMaintenanceStandard/DailyMaintenanceStandardDetail.vue | 115 +++++++++++++++++++++++++++++++++------------------------
1 files changed, 67 insertions(+), 48 deletions(-)
diff --git a/src/views/eam/modules/dailyMaintenanceStandard/DailyMaintenanceStandardDetail.vue b/src/views/eam/modules/dailyMaintenanceStandard/DailyMaintenanceStandardDetail.vue
index f1fec14..d0b40eb 100644
--- a/src/views/eam/modules/dailyMaintenanceStandard/DailyMaintenanceStandardDetail.vue
+++ b/src/views/eam/modules/dailyMaintenanceStandard/DailyMaintenanceStandardDetail.vue
@@ -129,64 +129,83 @@
return parseInt(index) + 1;
}
},
+
+ // {
+ // title: '绀烘剰鍥�',
+ // align: "center",
+ // dataIndex: 'photo',
+ // scopedSlots: { customRender: 'photo' },
+ // },
{
- title: '閮ㄤ綅',
+ title: '缁翠慨淇濆吇瑙掕壊',
align: "center",
- dataIndex: 'location',
+ dataIndex: 'maintenanceRoleName',
},
{
- title: '绀烘剰鍥�',
- align: "center",
- dataIndex: 'photo',
- scopedSlots: { customRender: 'photo' },
- },
- {
- title: '淇濆吇椤圭洰',
+ title: '淇濆吇鍐呭',
align: "center",
dataIndex: 'name',
},
- {
- title: '淇濆吇鏍囧噯',
- align: "center",
- dataIndex: 'standard',
+ // {
+ // title: '淇濆吇鏍囧噯',
+ // align: "center",
+ // dataIndex: 'standard',
- },
- {
- title: '鏂规硶',
- align: "center",
- dataIndex: 'maintenanceMethodName',
+ // },
+ // {
+ // 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',
- },
+ // },
+ // {
+ // 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
},
}
},
@@ -214,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