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" > -