From c7e428ba116ab96bb862352ffca2df0fc4954777 Mon Sep 17 00:00:00 2001
From: Houjie <714924425@qq.com>
Date: 星期二, 10 六月 2025 14:58:03 +0800
Subject: [PATCH] 设备操作证-操作证计分规则-查询条件增加模糊查询
---
src/views/eam/modules/dailyMaintenanceStandard/JSelectMaintenanceStandardModal.vue | 67 +++++++++++++++++++++------------
1 files changed, 43 insertions(+), 24 deletions(-)
diff --git a/src/views/eam/modules/dailyMaintenanceStandard/JSelectMaintenanceStandardModal.vue b/src/views/eam/modules/dailyMaintenanceStandard/JSelectMaintenanceStandardModal.vue
index 520a52c..980a5d8 100644
--- a/src/views/eam/modules/dailyMaintenanceStandard/JSelectMaintenanceStandardModal.vue
+++ b/src/views/eam/modules/dailyMaintenanceStandard/JSelectMaintenanceStandardModal.vue
@@ -22,7 +22,7 @@
:sm='6'
>
<a-form-item label='淇濆吇椤圭洰鍚嶇О'>
- <a-input
+ <j-input
placeholder='璇疯緭鍏ヤ繚鍏婚」鐩悕绉�'
v-model='queryParam.name'
/>
@@ -102,37 +102,43 @@
align: 'center',
dataIndex: 'standard'
},
+ // {
+ // title: '鏂规硶',
+ // align: 'center',
+ // dataIndex: 'maintenanceMethod_dictText'
+ // },
+ // {
+ // title: '宸ュ叿',
+ // align: 'center',
+ // dataIndex: 'maintenanceTool'
+ // },
+ // {
+ // title: '缁翠繚涓撲笟',
+ // align: 'center',
+ // dataIndex: 'maintenanceSpecialtyId_dictText'
+ // },
{
- title: '鏂规硶',
+ title: '淇濆吇閮ㄤ綅',
align: 'center',
- dataIndex: 'maintenanceMethod_dictText'
+ dataIndex: 'location'
},
- {
- title: '宸ュ叿',
- align: 'center',
- dataIndex: 'maintenanceTool'
- },
- {
- title: '缁翠繚涓撲笟',
- align: 'center',
- dataIndex: 'maintenanceSpecialtyId_dictText'
- },
- {
- title: '瀹夊叏瑕佹眰',
- align: 'center',
- dataIndex: 'maintenanceRequire'
- },
- {
- title: '宸ユ椂瀹氶',
- align: 'center',
- dataIndex: 'workingHourQuota'
- },
+ // {
+ // title: '瀹夊叏瑕佹眰',
+ // align: 'center',
+ // dataIndex: 'maintenanceRequire'
+ // },
+ // {
+ // title: '宸ユ椂瀹氶',
+ // align: 'center',
+ // dataIndex: 'workingHourQuota'
+ // },
],
selectedRowKeys: [],
oldSelectRows: [],
scrollTrigger: {},
dataSource: [],
selectionRows: [],
+ selectionRowsNotClear: [],
title: '鏍规嵁鏌ヨ缁撴灉閫夋嫨淇濆吇椤圭洰',
ipagination: {
current: 1,
@@ -162,7 +168,19 @@
type: 'checkbox',
onChange: (selectedRowKeys, selectedRows) => {
this.selectedRowKeys = selectedRowKeys
+ // this.selectionRowsNotClear.push(selectedRows)
this.onSelectChange(selectedRows)
+ },
+ onSelect: (record, selected, selectedRows) => {
+ if (selected) {
+ this.selectionRowsNotClear.push(record);
+ }
+ if (!selected) {
+ let delIndex = this.selectionRowsNotClear.findIndex(val => {
+ return val.id === record.id
+ })
+ this.selectionRowsNotClear.splice(delIndex, 1);
+ }
},
getCheckboxProps: record => ({
props: {
@@ -204,6 +222,7 @@
showModals(oldSelectRows) {
this.selectionRows = []
+ this.selectionRowsNotClear = []
this.oldSelectRows = oldSelectRows
this.visible = true
this.loadData(1)
@@ -247,7 +266,7 @@
this.loadData()
},
handleSubmit() {
- this.$bus.$emit('selectionRows', this.selectionRows)
+ this.$bus.$emit('selectionRows', this.selectionRowsNotClear)
// this.searchReset(0)
this.close()
},
--
Gitblit v1.9.3