From a751e547d67c4f8e2c6fddf958c1559f792515bd Mon Sep 17 00:00:00 2001 From: lyh <925863403@qq.com> Date: 星期五, 27 六月 2025 16:11:50 +0800 Subject: [PATCH] 添加工作流 --- src/views/eam/modules/maintenanceProject/MaintenanceProjectRight.vue | 149 +++++++++++++++++-------------------------------- 1 files changed, 52 insertions(+), 97 deletions(-) diff --git a/src/views/eam/modules/maintenanceProject/MaintenanceProjectRight.vue b/src/views/eam/modules/maintenanceProject/MaintenanceProjectRight.vue index 05eb065..cd05cdb 100644 --- a/src/views/eam/modules/maintenanceProject/MaintenanceProjectRight.vue +++ b/src/views/eam/modules/maintenanceProject/MaintenanceProjectRight.vue @@ -10,7 +10,7 @@ @keyup.enter.native="searchQuery" > <a-row :gutter="24"> - <a-col + <!-- <a-col :md="8" :sm="8" > @@ -20,7 +20,7 @@ v-model="queryParam.num" ></j-input> </a-form-item> - </a-col> + </a-col> --> <a-col :md="8" :sm="8" @@ -54,13 +54,13 @@ @click="handleAdd" type="primary" icon="plus" - :hidden="disabled" >鏂板</a-button> - <a-button + <!-- :hidden="disabled" --> + <!-- <a-button type="primary" icon="download" @click="handleExportXls('鍘熷洜')" - >瀵煎嚭</a-button> + >瀵煎嚭</a-button> --> <a-dropdown v-if="selectedRowKeys.length > 0"> <a-button style="margin-left: 8px"> 鎵归噺鎿嶄綔 @@ -88,8 +88,8 @@ :loading="loading" :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}" @change="handleTableChange" - :scroll="{ x: 'calc(1400px + 50%)', y: 900 }" > + <!-- :scroll="{ x: 'calc(1400px + 50%)', y: 900 }" --> <!--瀛楃涓茶秴闀挎埅鍙栫渷鐣ュ彿鏄剧ず--> <span slot="num" @@ -120,28 +120,6 @@ :length="15" /> </span> - <!-- <span - slot="status" - slot-scope="text,record" - > - <a-badge - v-if="record.status==1" - status="success" - /> - <span - v-if="record.status==1" - class="success" - >鍚敤</span> - <a-badge - v-if="record.status==0" - status="error" - /> - <span - v-if="record.status==0" - class="error" - >绂佺敤</span> - </span> --> - <span slot="action" slot-scope="text, record" @@ -169,35 +147,12 @@ <a>鍒犻櫎</a> </a-popconfirm> </a-menu-item> - <!-- <a-menu-item v-else> - <a-popconfirm title="褰撳墠淇℃伅宸茶寮曠敤锛岃鍏堝垹闄ゅ叧鑱斾俊鎭悗鍐嶆墽琛屽垹闄ゆ搷浣�"> - <a class="frozenRowClass">鍒犻櫎</a> - </a-popconfirm> - </a-menu-item> --> - - <!-- <a-menu-item v-if="record.status==1"> - <a-popconfirm - title="纭畾绂佺敤鍚�?" - @confirm="() => handleActive(record.id)" - > - <a>绂佺敤</a> - </a-popconfirm> - </a-menu-item> --> - <!-- <a-menu-item v-if="record.status==0"> - <a-popconfirm - title="纭畾鍚敤鍚�?" - @confirm="() => handleActive(record.id)" - > - <a>鍚敤</a> - </a-popconfirm> - </a-menu-item> --> </a-menu> </a-dropdown> </span> </a-table> </div> - <!-- table鍖哄煙-end --> <maintenance-project-model ref="modalForm" @@ -244,14 +199,14 @@ }, width: 50, }, - { - title: '淇濆吇椤圭洰缂栫爜', - align: 'center', - dataIndex: 'num', - scopedSlots: { - customRender: 'num' - }, - }, + // { + // title: '淇濆吇椤圭洰缂栫爜', + // align: 'center', + // dataIndex: 'num', + // scopedSlots: { + // customRender: 'num' + // }, + // }, { title: '淇濆吇椤圭洰鍚嶇О', align: 'center', @@ -265,14 +220,14 @@ align: 'center', dataIndex: 'standard', }, - { - title: '淇濆吇椤圭洰鍒嗙被', - align: 'center', - dataIndex: 'maintenanceProjectCategoryNumName', - scopedSlots: { - customRender: 'maintenanceProjectCategoryNumName' - }, - }, + // { + // title: '淇濆吇椤圭洰鍒嗙被', + // align: 'center', + // dataIndex: 'maintenanceProjectCategoryNumName', + // scopedSlots: { + // customRender: 'maintenanceProjectCategoryNumName' + // }, + // }, // { // title: '缁翠繚绫诲瀷', // align: 'center', @@ -281,26 +236,26 @@ // customRender: 'inspectionTypeId_dictText' // }, // }, - { - title: '缁翠繚涓撲笟', - align: "center", - dataIndex: 'maintenanceSpecialtyId_dictText', - }, - { - title: '瀹夊叏瑕佹眰', - align: "center", - dataIndex: 'maintenanceRequire', - }, - { - title: '缁翠繚鏂规硶', - align: "center", - dataIndex: 'maintenanceMethod_dictText', - }, - { - title: '缁翠繚宸ュ叿', - align: "center", - dataIndex: 'maintenanceTool', - }, + // { + // title: '缁翠繚涓撲笟', + // align: "center", + // dataIndex: 'maintenanceSpecialtyId_dictText', + // }, + // { + // title: '瀹夊叏瑕佹眰', + // align: "center", + // dataIndex: 'maintenanceRequire', + // }, + // { + // title: '缁翠繚鏂规硶', + // align: "center", + // dataIndex: 'maintenanceMethod_dictText', + // }, + // { + // title: '缁翠繚宸ュ叿', + // align: "center", + // dataIndex: 'maintenanceTool', + // }, { title: '淇濆吇閮ㄤ綅', align: "center", @@ -316,16 +271,16 @@ align: "center", dataIndex: 'createTime', }, - { - title: '淇敼浜�', - align: "center", - dataIndex: 'updateBy', - }, - { - title: '淇敼鏃堕棿', - align: "center", - dataIndex: 'updateTime', - }, + // { + // title: '淇敼浜�', + // align: "center", + // dataIndex: 'updateBy', + // }, + // { + // title: '淇敼鏃堕棿', + // align: "center", + // dataIndex: 'updateTime', + // }, { title: '鎿嶄綔', -- Gitblit v1.9.3