From 95c09503f711c580514ed613d2ae7240cdf1b089 Mon Sep 17 00:00:00 2001 From: Lius <Lius2225@163.com> Date: 星期三, 09 四月 2025 11:37:09 +0800 Subject: [PATCH] 报修工单调整 --- src/views/eam/repair/modules/EamRepairOrderModal.vue | 6 --- src/views/eam/repair/EamRepairOrderList.vue | 97 +++++++++++++++++++----------------------------- 2 files changed, 38 insertions(+), 65 deletions(-) diff --git a/src/views/eam/repair/EamRepairOrderList.vue b/src/views/eam/repair/EamRepairOrderList.vue index 496eae8..18482bc 100644 --- a/src/views/eam/repair/EamRepairOrderList.vue +++ b/src/views/eam/repair/EamRepairOrderList.vue @@ -12,11 +12,6 @@ </a-col> <template v-if="toggleSearchStatus"> <a-col :xl="6" :lg="7" :md="8" :sm="24"> - <a-form-item label="鎶ヤ慨缂栧彿"> - <a-input placeholder="璇疯緭鍏ユ姤淇紪鍙�" v-model="queryParam.reportId"></a-input> - </a-form-item> - </a-col> - <a-col :xl="6" :lg="7" :md="8" :sm="24"> <a-form-item label="璁惧缂栧彿"> <lx-search-equipment-select placeholder="璇疯緭鍏ヨ澶囩紪鍙锋垨鍚嶇О鎼滅储" v-model="queryParam.equipmentId"/> </a-form-item> @@ -46,10 +41,6 @@ <div class="table-operator"> <a-button @click="handleAdd" type="primary" icon="plus">鏂板</a-button> <a-button type="primary" icon="download" @click="handleExportXls('缁翠慨宸ュ崟')">瀵煎嚭</a-button> - <a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" - @change="handleImportExcel"> - <a-button type="primary" icon="import">瀵煎叆</a-button> - </a-upload> <a-dropdown v-if="selectedRowKeys.length > 0"> <a-menu slot="overlay"> <a-menu-item key="1" @click="batchDel"> @@ -130,30 +121,19 @@ // 琛ㄥご columns: [ { - title: '#', - dataIndex: '', - key: 'rowIndex', - width: 60, - align: 'center', - customRender: function(t, r, index) { - return parseInt(index) + 1 - }, - fixed: 'left' - }, - { title: '宸ュ崟缂栧彿', align: 'center', dataIndex: 'repairCode', width: 200, fixed: 'left' }, - { - title: '鎶ヤ慨缂栧彿', - align: 'center', - dataIndex: 'reportId', - width: 200, - fixed: 'left' - }, + // { + // title: '鎶ヤ慨缂栧彿', + // align: 'center', + // dataIndex: 'reportId', + // width: 200, + // fixed: 'left' + // }, { title: '璁惧缂栧彿', align: 'center', @@ -164,7 +144,7 @@ { title: '鐘舵��', align: 'center', - dataIndex: 'repairStatus_dicText', + dataIndex: 'repairStatus_dictText', fixed: 'left', width: 100 }, @@ -197,36 +177,36 @@ dataIndex: 'repairer', width: 100 }, - { - title: '鏄惁濮斿', - align: 'center', - dataIndex: 'outsourcedFlag', - width: 100 - }, - { - title: '濮斿缁翠慨鎻忚堪', - align: 'center', - dataIndex: 'outsourcedRepairDecription', - width: 300 - }, - { - title: '濮斿缁翠慨寮�濮嬫椂闂�', - align: 'center', - dataIndex: 'outsourcedStartTime', - width: 200 - }, - { - title: '濮斿缁翠慨缁撴潫鏃堕棿', - align: 'center', - dataIndex: 'outsourcedEndTime', - width: 200 - }, - { - title: '濮斿璐熻矗浜�', - align: 'center', - dataIndex: 'outsourcedPerson', - width: 100 - }, + // { + // title: '鏄惁濮斿', + // align: 'center', + // dataIndex: 'outsourcedFlag', + // width: 100 + // }, + // { + // title: '濮斿缁翠慨鎻忚堪', + // align: 'center', + // dataIndex: 'outsourcedRepairDecription', + // width: 300 + // }, + // { + // title: '濮斿缁翠慨寮�濮嬫椂闂�', + // align: 'center', + // dataIndex: 'outsourcedStartTime', + // width: 200 + // }, + // { + // title: '濮斿缁翠慨缁撴潫鏃堕棿', + // align: 'center', + // dataIndex: 'outsourcedEndTime', + // width: 200 + // }, + // { + // title: '濮斿璐熻矗浜�', + // align: 'center', + // dataIndex: 'outsourcedPerson', + // width: 100 + // }, { title: '缁翠慨鍥剧墖', align: 'center', @@ -247,7 +227,6 @@ delete: '/eam/eamRepairOrder/delete', deleteBatch: '/eam/eamRepairOrder/deleteBatch', exportXlsUrl: 'eam/eamRepairOrder/exportXls', - importExcelUrl: 'eam/eamRepairOrder/importExcel' } } }, diff --git a/src/views/eam/repair/modules/EamRepairOrderModal.vue b/src/views/eam/repair/modules/EamRepairOrderModal.vue index 1552474..274a8a4 100644 --- a/src/views/eam/repair/modules/EamRepairOrderModal.vue +++ b/src/views/eam/repair/modules/EamRepairOrderModal.vue @@ -30,12 +30,6 @@ <lx-search-equipment-select placeholder="璇疯緭鍏ヨ澶囩紪鍙锋垨鍚嶇О鎼滅储" v-model="model.equipmentId"/> </a-form-model-item> </a-col> - - <!-- <a-col :span="12">--> - <!-- <a-form-model-item prop="repairStatus" label="缁翠慨鐘舵��">--> - <!-- <a-input placeholder="璇疯緭鍏ョ淮淇姸鎬�" v-model="model.repairStatus"/>--> - <!-- </a-form-model-item>--> - <!-- </a-col>--> <a-col :span="12"> <a-form-model-item prop="faultReason" label="鏁呴殰鍘熷洜"> <a-input placeholder="璇疯緭鍏ユ晠闅滃師鍥�" v-model="model.faultReason"/> -- Gitblit v1.9.3