refactor(table): 统一调整全仓表格操作列宽度及按钮样式
- 将所有操作按钮数量≤3的表格操作列宽度统一调整为180px - 调整涉及全局默认值、各模块和页面中menuWidth显式设定 - 单独修改/authority/role页面操作列宽度为240px,/system/menu及流程配置对应调为220px - 通过CSS新规则视觉统一Avue内置操作按钮为el-link链接样式,无功能变更 - 优化通知公告操作列宽度,解决三按钮链接换行问题 - 调整首页Logo图标尺寸及边距以适配设计需求 - 保证所有相关改动经过npm run build验证通过
This commit is contained in:
@@ -48,7 +48,7 @@ export const getCargoTypeOption = ctx => ({
|
||||
editBtn: false,
|
||||
selection: true,
|
||||
dialogClickModal: false,
|
||||
menuWidth: 160,
|
||||
menuWidth: 180,
|
||||
column: [
|
||||
{
|
||||
label: '类型',
|
||||
|
||||
@@ -204,7 +204,7 @@ export const createCrudOption = columns => ({
|
||||
delBtn: false,
|
||||
dialogClickModal: false,
|
||||
menuFixed: 'right',
|
||||
menuWidth: 160,
|
||||
menuWidth: 180,
|
||||
column: columns,
|
||||
});
|
||||
|
||||
|
||||
@@ -178,5 +178,5 @@ export const option = {
|
||||
updateBtnText: '保存',
|
||||
dialogTop: '10px',
|
||||
dialogWidth: '96%',
|
||||
menuWidth: 200,
|
||||
menuWidth: 220,
|
||||
};
|
||||
|
||||
@@ -718,5 +718,5 @@ export const option = {
|
||||
]),
|
||||
dialogWidth: '96%',
|
||||
dialogTop: '10px',
|
||||
menuWidth: 320,
|
||||
menuWidth: 280,
|
||||
};
|
||||
|
||||
@@ -130,7 +130,7 @@ export default {
|
||||
selection: true,
|
||||
grid: true,
|
||||
labelWidth: 'auto',
|
||||
menuWidth: 160,
|
||||
menuWidth: 180,
|
||||
dialogWidth: 1200,
|
||||
dialogClickModal: false,
|
||||
tabs: true,
|
||||
|
||||
@@ -13,7 +13,7 @@ export default {
|
||||
selection: true,
|
||||
grid: true,
|
||||
labelWidth: 'auto',
|
||||
menuWidth: 160,
|
||||
menuWidth: 180,
|
||||
dialogClickModal: false,
|
||||
column: [
|
||||
{
|
||||
|
||||
@@ -22,7 +22,7 @@ export const authLockOption = {
|
||||
viewBtn: false,
|
||||
editBtn: false,
|
||||
delBtn: false,
|
||||
menuWidth: 160,
|
||||
menuWidth: 180,
|
||||
dialogType: 'drawer',
|
||||
dialogWidth: 800,
|
||||
dialogClickModal: false,
|
||||
|
||||
@@ -21,7 +21,7 @@ export const authLogOption = {
|
||||
editBtn: false,
|
||||
delBtn: false,
|
||||
menu: true,
|
||||
menuWidth: 160,
|
||||
menuWidth: 180,
|
||||
dialogType: 'drawer',
|
||||
dialogWidth: 800,
|
||||
dialogClickModal: false,
|
||||
|
||||
@@ -11,7 +11,7 @@ export const optionParent = {
|
||||
index: true,
|
||||
selection: true,
|
||||
viewBtn: true,
|
||||
menuWidth: 160,
|
||||
menuWidth: 180,
|
||||
dialogWidth: 880,
|
||||
dialogClickModal: false,
|
||||
column: [
|
||||
@@ -104,7 +104,7 @@ export const optionChild = {
|
||||
index: true,
|
||||
selection: true,
|
||||
viewBtn: true,
|
||||
menuWidth: 160,
|
||||
menuWidth: 180,
|
||||
dialogWidth: 880,
|
||||
dialogClickModal: false,
|
||||
column: [
|
||||
|
||||
@@ -11,7 +11,7 @@ export const optionParent = {
|
||||
index: true,
|
||||
selection: true,
|
||||
viewBtn: true,
|
||||
menuWidth: 160,
|
||||
menuWidth: 180,
|
||||
dialogWidth: 880,
|
||||
dialogClickModal: false,
|
||||
column: [
|
||||
@@ -105,7 +105,7 @@ export const optionChild = {
|
||||
index: true,
|
||||
selection: true,
|
||||
viewBtn: true,
|
||||
menuWidth: 160,
|
||||
menuWidth: 180,
|
||||
dialogWidth: 880,
|
||||
dialogClickModal: false,
|
||||
column: [
|
||||
|
||||
@@ -365,7 +365,7 @@ export const platformOption = {
|
||||
selection: true,
|
||||
viewBtn: true,
|
||||
dialogClickModal: false,
|
||||
menuWidth: 160,
|
||||
menuWidth: 180,
|
||||
editBtnText: '配置',
|
||||
column: [
|
||||
{
|
||||
|
||||
@@ -14,7 +14,7 @@ export const codeOption = {
|
||||
index: true,
|
||||
selection: true,
|
||||
labelWidth: 'auto',
|
||||
menuWidth: 160,
|
||||
menuWidth: 180,
|
||||
viewBtn: true,
|
||||
dialogClickModal: false,
|
||||
tabs: true,
|
||||
|
||||
@@ -14,7 +14,7 @@ export default {
|
||||
selection: true,
|
||||
labelWidth: 'auto',
|
||||
searchLabelWidth: 160,
|
||||
menuWidth: 160,
|
||||
menuWidth: 180,
|
||||
dialogClickModal: false,
|
||||
column: [
|
||||
{
|
||||
|
||||
@@ -14,7 +14,7 @@ export default {
|
||||
selection: true,
|
||||
labelWidth: 'auto',
|
||||
searchLabelWidth: 160,
|
||||
menuWidth: 160,
|
||||
menuWidth: 180,
|
||||
dialogWidth: 500,
|
||||
dialogClickModal: false,
|
||||
column: [
|
||||
|
||||
Reference in New Issue
Block a user