From 16828639b477ba3a6b2be03dba456a77e423c094 Mon Sep 17 00:00:00 2001 From: qq787203167 <787203167@qq.com> Date: Thu, 2 Jun 2022 15:07:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=B7=B2=E7=9F=A5bug1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/documentManage/collection/index.vue | 14 +- .../documentManage/subscribtion/index.vue | 12 +- .../views/processCenter/procedure/index.vue | 10 +- .../tabComponents/alreadyProcess/index.vue | 10 +- .../tabComponents/alreadySend/index.vue | 10 +- .../tabComponents/monitorProcess/index.vue | 10 +- .../tabComponents/processCenter/index.vue | 9 +- jero-web/src/views/system/PermissionList.vue | 44 ++- .../src/views/system/modules/DeptUserInfo.vue | 300 +++++++++--------- 9 files changed, 241 insertions(+), 178 deletions(-) diff --git a/jero-web/src/views/documentManage/collection/index.vue b/jero-web/src/views/documentManage/collection/index.vue index 5c09a4e35..6366dd602 100644 --- a/jero-web/src/views/documentManage/collection/index.vue +++ b/jero-web/src/views/documentManage/collection/index.vue @@ -58,6 +58,7 @@ ref="table" size="middle" rowKey="id" + :scroll="{x: '100%'}" :columns="columns" :dataSource="tableData" :pagination="false" @@ -110,25 +111,29 @@ key: 'serialNumber', scopedSlots: {customRender: 'serialNumber'}, align: "center", - width: 100, + ellipsis: true, + width: 180, }, { title: this.$t('title'), align: "center", scopedSlots: {customRender: 'serialtitle'}, - width: 100, + width: 180, + ellipsis: true, dataIndex: 'title', }, { title: this.$t('status'), align: "center", - width: 100, + width: 180, + ellipsis: true, dataIndex: 'state', }, { title: this.$t('collectionTime'), align: "center", - width: 100, + width: 180, + ellipsis: true, dataIndex: 'createTime', }, { @@ -136,6 +141,7 @@ dataIndex: 'action', scopedSlots: {customRender: 'action'}, align: "center", + fixed: 'right', width: 170 } ], diff --git a/jero-web/src/views/documentManage/subscribtion/index.vue b/jero-web/src/views/documentManage/subscribtion/index.vue index 9bdb376a6..6e3da1e9d 100644 --- a/jero-web/src/views/documentManage/subscribtion/index.vue +++ b/jero-web/src/views/documentManage/subscribtion/index.vue @@ -61,6 +61,7 @@ ref="table" size="middle" rowKey="id" + :scroll="{x: '100%'}" :columns="columns" :dataSource="tableData" :pagination="false" @@ -118,14 +119,14 @@ dataIndex: 'serialNumber', key: 'serialNumber', align: 'center', - width: 100, + width: 180, scopedSlots: { customRender: 'serialNumber' }, ellipsis: true }, { title: this.$t('title'), align: 'center', - width: 100, + width: 180, dataIndex: 'title', scopedSlots: { customRender: 'serialtitle' }, ellipsis: true @@ -133,20 +134,21 @@ { title: this.$t('status'), align: 'center', - width: 100, + width: 180, dataIndex: 'state', ellipsis: true }, { title: this.$t('subscriptionTime'), align: 'center', - width: 100, + width: 180, dataIndex: 'createTime', ellipsis: true }, { title: this.$t('operation'), dataIndex: 'action', + fixed: 'right', scopedSlots: { customRender: 'action' }, align: 'center', width: 170 @@ -374,10 +376,12 @@ /* float: none !important;*/ /*}*/ } + .box-input .ant-select-selection__rendered { line-height: 38px; height: 38px; } + .box-input .ant-select-selection--single { height: 38px; } diff --git a/jero-web/src/views/processCenter/procedure/index.vue b/jero-web/src/views/processCenter/procedure/index.vue index a064b5a77..75491be1d 100644 --- a/jero-web/src/views/processCenter/procedure/index.vue +++ b/jero-web/src/views/processCenter/procedure/index.vue @@ -12,7 +12,7 @@ class="table" key="id" :pagination="false" - :scroll="{x: true}" + :scroll="{x: '100%'}" :data-source="dataSource" :loading="loading" :columns="columns" @@ -118,7 +118,7 @@ title: this.$t('serialNumber'), dataIndex: 'index', align: 'center', - width: 20, + width: 100, customRender: function(t, r, index) { return parseInt(index) + 1 } @@ -128,21 +128,21 @@ dataIndex: 'name', align: 'center', ellipsis: true, - width: 180 + width: 240 }, { title: this.$t('ProcessType'), dataIndex: 'categoryName', align: 'center', ellipsis: true, - width: 180 + width: 240 }, { title: this.$t('createTime'), dataIndex: 'createTime', align: 'center', ellipsis: true, - width: 180, + width: 240, customRender: function(t, r, index) { return moment(t).format('YYYY-MM-DD HH:mm:ss') } diff --git a/jero-web/src/views/processCenter/processList/tabComponents/alreadyProcess/index.vue b/jero-web/src/views/processCenter/processList/tabComponents/alreadyProcess/index.vue index b3aa9d55b..ff502856a 100644 --- a/jero-web/src/views/processCenter/processList/tabComponents/alreadyProcess/index.vue +++ b/jero-web/src/views/processCenter/processList/tabComponents/alreadyProcess/index.vue @@ -6,7 +6,7 @@ rowKey="id" :row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }" :pagination="false" - :scroll="{x: true}" + :scroll="{x: '100%'}" :data-source="dataSource" :loading="loading" :columns="columns" @@ -57,42 +57,49 @@ dataIndex: 'prcType', align: 'center', ellipsis: true, + width: 180, scopedSlots: { customRender: 'prcType' } }, { title: this.$t('Sponsor'), dataIndex: 'creatUserName', align: 'center', + width: 180, ellipsis: true }, { title: this.$t('CurrentProcessor'), dataIndex: 'taskAssignee', align: 'center', + width: 180, ellipsis: true }, { title: this.$t('LastProcessor'), dataIndex: 'taskBackAssignee', align: 'center', + width: 180, ellipsis: true }, { title: this.$t('createTime'), dataIndex: 'creatTime', align: 'center', + width: 180, ellipsis: true }, { title: this.$t('ProcessingTime'), dataIndex: 'handlingTime', align: 'center', + width: 180, ellipsis: true }, { title: this.$t('ProcessStatus'), dataIndex: 'isEnd', align: 'center', + width: 180, ellipsis: true, scopedSlots: { customRender: 'isEnd' } }, @@ -100,6 +107,7 @@ title: this.$t('cutoffTime'), dataIndex: 'taskAffirmDueDate', align: 'center', + width: 180, ellipsis: true }, { diff --git a/jero-web/src/views/processCenter/processList/tabComponents/alreadySend/index.vue b/jero-web/src/views/processCenter/processList/tabComponents/alreadySend/index.vue index bc41229f2..e3bfe6b62 100644 --- a/jero-web/src/views/processCenter/processList/tabComponents/alreadySend/index.vue +++ b/jero-web/src/views/processCenter/processList/tabComponents/alreadySend/index.vue @@ -6,7 +6,7 @@ rowKey="id" :row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }" :pagination="false" - :scroll="{x: true}" + :scroll="{x: '100%'}" :data-source="dataSource" :loading="loading" :columns="columns" @@ -58,24 +58,28 @@ dataIndex: 'prcType', align: 'center', ellipsis: true, + width: 180, scopedSlots: { customRender: 'prcType' } }, { title: this.$t('Sponsor'), dataIndex: 'creatUserName', align: 'center', + width: 180, ellipsis: true }, { title: this.$t('CurrentProcessor'), dataIndex: 'taskAssignee', align: 'center', + width: 180, ellipsis: true }, { title: this.$t('LastProcessor'), dataIndex: 'taskBackAssignee', align: 'center', + width: 180, ellipsis: true }, { @@ -83,6 +87,7 @@ dataIndex: 'createTime', align: 'center', ellipsis: true, + width: 180, customRender: function(t, r, index) { return moment(t).format('YYYY-MM-DD HH:mm:ss') } @@ -92,6 +97,7 @@ dataIndex: 'endTime', align: 'center', ellipsis: true, + width: 180, customRender: function(t, r, index) { return moment(t).format('YYYY-MM-DD HH:mm:ss') } @@ -100,6 +106,7 @@ title: this.$t('ProcessStatus'), dataIndex: 'isEnd', align: 'center', + width: 180, ellipsis: true, scopedSlots: { customRender: 'isEnd' } }, @@ -107,6 +114,7 @@ title: this.$t('cutoffTime'), dataIndex: 'taskAffirmDueDate', align: 'center', + width: 180, ellipsis: true }, { diff --git a/jero-web/src/views/processCenter/processList/tabComponents/monitorProcess/index.vue b/jero-web/src/views/processCenter/processList/tabComponents/monitorProcess/index.vue index 724d4550e..951a70c96 100644 --- a/jero-web/src/views/processCenter/processList/tabComponents/monitorProcess/index.vue +++ b/jero-web/src/views/processCenter/processList/tabComponents/monitorProcess/index.vue @@ -6,7 +6,7 @@ rowKey="id" :row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }" :pagination="false" - :scroll="{x: true}" + :scroll="{x: '100%'}" :data-source="dataSource" :loading="loading" :columns="columns" @@ -58,24 +58,28 @@ dataIndex: 'prcType', align: 'center', ellipsis: true, + width: 180, scopedSlots: { customRender: 'prcType' } }, { title: this.$t('Sponsor'), dataIndex: 'creatUserName', align: 'center', + width: 180, ellipsis: true }, { title: this.$t('CurrentProcessor'), dataIndex: 'taskAssignee', align: 'center', + width: 180, ellipsis: true }, { title: this.$t('LastProcessor'), dataIndex: 'taskBackAssignee', align: 'center', + width: 180, ellipsis: true }, { @@ -83,6 +87,7 @@ dataIndex: 'createTime', align: 'center', ellipsis: true, + width: 180, customRender: function(t, r, index) { return moment(t).format('YYYY-MM-DD HH:mm:ss') } @@ -91,6 +96,7 @@ title: this.$t('CompletionTime'), dataIndex: 'endTime', align: 'center', + width: 180, ellipsis: true, customRender: function(t, r, index) { return moment(t).format('YYYY-MM-DD HH:mm:ss') @@ -100,6 +106,7 @@ title: this.$t('ProcessStatus'), dataIndex: 'isEnd', align: 'center', + width: 180, ellipsis: true, scopedSlots: { customRender: 'isEnd' } }, @@ -107,6 +114,7 @@ title: this.$t('cutoffTime'), dataIndex: 'taskAffirmDueDate', align: 'center', + width: 180, ellipsis: true, }, { diff --git a/jero-web/src/views/processCenter/processList/tabComponents/processCenter/index.vue b/jero-web/src/views/processCenter/processList/tabComponents/processCenter/index.vue index 011b249f7..0caf01bd9 100644 --- a/jero-web/src/views/processCenter/processList/tabComponents/processCenter/index.vue +++ b/jero-web/src/views/processCenter/processList/tabComponents/processCenter/index.vue @@ -6,7 +6,7 @@ rowKey="id" :row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }" :pagination="false" - :scroll="{x: true}" + :scroll="{x: '100%'}" :data-source="dataSource" :loading="loading" :columns="columns" @@ -55,24 +55,28 @@ title: this.$t('RelatedItems'), dataIndex: 'projectName', align: 'center', + width: 180, ellipsis: true }, { title: this.$t('standard'), dataIndex: 'prcNum', align: 'center', + width: 180, ellipsis: true }, { title: this.$t('title'), dataIndex: 'prcName', align: 'center', + width: 180, ellipsis: true }, { title: this.$t('ProcessType'), dataIndex: 'prcType', align: 'center', + width: 180, ellipsis: true, scopedSlots: { customRender: 'prcType' } }, @@ -80,12 +84,14 @@ title: this.$t('Sponsor'), dataIndex: 'creatUserName', align: 'center', + width: 180, ellipsis: true }, { title: this.$t('createTime'), dataIndex: 'createTime', align: 'center', + width: 180, ellipsis: true, customRender: function(t, r, index) { return moment(t).format('YYYY-MM-DD HH:mm:ss') @@ -95,6 +101,7 @@ title: this.$t('cutoffTime'), dataIndex: 'taskAffirmDueDate', align: 'center', + width: 180, ellipsis: true }, { diff --git a/jero-web/src/views/system/PermissionList.vue b/jero-web/src/views/system/PermissionList.vue index fa08be07d..003d28e5a 100644 --- a/jero-web/src/views/system/PermissionList.vue +++ b/jero-web/src/views/system/PermissionList.vue @@ -7,24 +7,24 @@ {{$t('add')}} - - - - - - - - + + + + + + + +
- - - - - + + + + +
- - + + - - - - - - - - - - - + + + + + + + + + + +
- - - - - - - + + + + + + + - - + + - + - - - - - - - - + + + + + + + + - - - + + + - - - - - - - - + + + + + + + +
- +