From 56b1770339fd9bc740dbf64229b94b58fa3ae98c Mon Sep 17 00:00:00 2001 From: ysn <2126564605@qq.com> Date: Wed, 6 May 2026 10:27:09 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E5=A4=87=E7=AE=A1=E7=90=86-=E5=B7=A5?= =?UTF-8?q?=E8=A3=85=E7=AE=A1=E7=90=86-=E6=8C=82=E5=85=B7=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE-=E6=96=B0=E5=A2=9E=E6=8E=92=E5=BA=8F/=E6=9D=83?= =?UTF-8?q?=E9=99=90=20=E8=AE=BE=E5=A4=87=E7=AE=A1=E7=90=86-=E5=B7=A5?= =?UTF-8?q?=E8=A3=85=E7=AE=A1=E7=90=86-=E9=A3=9E=E9=9D=B6=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE-=E6=96=B0=E5=A2=9E=E6=8E=92=E5=BA=8F/=E6=9D=83?= =?UTF-8?q?=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../workwearManagement/columnData.js | 16 +- .../workwearManagement/index.vue | 329 +++++++++++------- 2 files changed, 213 insertions(+), 132 deletions(-) diff --git a/src/views/equiptManagement/workwearManagement/columnData.js b/src/views/equiptManagement/workwearManagement/columnData.js index 2fcd74cf..e377b377 100644 --- a/src/views/equiptManagement/workwearManagement/columnData.js +++ b/src/views/equiptManagement/workwearManagement/columnData.js @@ -5,6 +5,7 @@ export default { prop: 'fsCode', span: 24, search: true, + sortable: 'custom', rules: [ { required: true, @@ -18,6 +19,7 @@ export default { prop: 'fsType', span: 24, search: true, + sortable: 'custom', rules: [ { required: true, @@ -33,6 +35,7 @@ export default { search: true, type: 'select', display: false, + sortable: 'custom', dicUrl: '/api/blade-system/dict/dictionary?code=workwear_status', }, @@ -42,6 +45,7 @@ export default { label: '挂具编号', prop: 'rsCode', search: true, + sortable: 'custom', span: 24, rules: [ { @@ -56,6 +60,7 @@ export default { prop: 'rsType', span: 24, search: true, + sortable: 'custom', rules: [ { required: true, @@ -69,6 +74,7 @@ export default { label: '挂具状态', prop: 'rsStatus', search: true, + sortable: 'custom', type: 'select', display: false, dicUrl: '/api/blade-system/dict/dictionary?code=workwear_status', @@ -111,7 +117,7 @@ export const feiBaOption = { labelWidth: 80, searchLabelWidth: 80, menuWidth: 80, - menuAlign:"center", + menuAlign: "center", dialogWidth: 600, dialogClickModal: false, searchEnter: true, @@ -138,6 +144,7 @@ export const feiBaOption = { prop: 'fsCode', span: 24, search: true, + sortable: 'custom', rules: [ { required: true, @@ -151,6 +158,7 @@ export const feiBaOption = { prop: 'fsType', span: 24, search: true, + sortable: 'custom', rules: [ { required: true, @@ -164,6 +172,7 @@ export const feiBaOption = { label: '飞靶状态', prop: 'status', search: true, + sortable: 'custom', type: 'select', display: false, dicUrl: '/api/blade-system/dict/dictionary?code=workwear_status', @@ -194,7 +203,7 @@ export const rackOption = { labelWidth: 80, searchLabelWidth: 80, menuWidth: 80, - menuAlign:"center", + menuAlign: "center", dialogWidth: 600, dialogClickModal: false, searchEnter: true, @@ -220,6 +229,7 @@ export const rackOption = { label: '挂具编号', prop: 'rsCode', search: true, + sortable: 'custom', span: 24, rules: [ { @@ -234,6 +244,7 @@ export const rackOption = { prop: 'rsType', span: 24, search: true, + sortable: 'custom', rules: [ { required: true, @@ -247,6 +258,7 @@ export const rackOption = { label: '挂具状态', prop: 'status', search: true, + sortable: 'custom', type: 'select', display: false, dicUrl: '/api/blade-system/dict/dictionary?code=workwear_status', diff --git a/src/views/equiptManagement/workwearManagement/index.vue b/src/views/equiptManagement/workwearManagement/index.vue index 3e4ae0c0..a221615e 100644 --- a/src/views/equiptManagement/workwearManagement/index.vue +++ b/src/views/equiptManagement/workwearManagement/index.vue @@ -22,9 +22,13 @@ @current-change="currentChange" @size-change="sizeChange" @refresh-change="refreshChange" + @sort-change="sortChange" + :permission="permissionList" > @@ -45,42 +49,56 @@ @current-change="currentChange" @size-change="sizeChange" @refresh-change="refreshChange" + @sort-change="sortChange" + :permission="permissionList" > -