diff --git a/src/option/system/dict.js b/src/option/system/dict.js index 86f309b..f90d3c3 100644 --- a/src/option/system/dict.js +++ b/src/option/system/dict.js @@ -1,6 +1,6 @@ export const optionParent = { height: 'auto', - calcHeight: 95, + calcHeight: 30, tip: false, searchShow: true, searchMenuSpan: 10, @@ -8,7 +8,7 @@ export const optionParent = { index: true, selection: true, viewBtn: true, - menuWidth: 150, + menuWidth: 250, dialogWidth: 880, dialogClickModal: false, column: [ @@ -16,6 +16,7 @@ export const optionParent = { label: "字典编号", prop: "code", search: true, + slot: true, span: 24, rules: [ { @@ -43,8 +44,7 @@ export const optionParent = { prop: "sort", type: "number", align: "right", - width: 80, - hide: true, + width: 100, rules: [ { required: true, @@ -58,7 +58,7 @@ export const optionParent = { prop: "isSealed", type: "switch", align: "center", - width: 80, + width: 100, dicData: [ { label: "否", @@ -98,7 +98,7 @@ export const optionChild = { index: true, selection: true, viewBtn: true, - menuWidth: 220, + menuWidth: 300, dialogWidth: 880, dialogClickModal: false, column: [ diff --git a/src/option/system/dictbiz.js b/src/option/system/dictbiz.js index 86f309b..277f520 100644 --- a/src/option/system/dictbiz.js +++ b/src/option/system/dictbiz.js @@ -1,6 +1,6 @@ export const optionParent = { height: 'auto', - calcHeight: 95, + calcHeight: 30, tip: false, searchShow: true, searchMenuSpan: 10, @@ -8,7 +8,7 @@ export const optionParent = { index: true, selection: true, viewBtn: true, - menuWidth: 150, + menuWidth: 250, dialogWidth: 880, dialogClickModal: false, column: [ @@ -16,6 +16,7 @@ export const optionParent = { label: "字典编号", prop: "code", search: true, + slot: true, span: 24, rules: [ { @@ -43,7 +44,7 @@ export const optionParent = { prop: "sort", type: "number", align: "right", - width: 80, + width: 100, hide: true, rules: [ { @@ -58,7 +59,7 @@ export const optionParent = { prop: "isSealed", type: "switch", align: "center", - width: 80, + width: 100, dicData: [ { label: "否", @@ -98,7 +99,7 @@ export const optionChild = { index: true, selection: true, viewBtn: true, - menuWidth: 220, + menuWidth: 300, dialogWidth: 880, dialogClickModal: false, column: [ diff --git a/src/views/system/dict.vue b/src/views/system/dict.vue index b1d5536..1355028 100644 --- a/src/views/system/dict.vue +++ b/src/views/system/dict.vue @@ -1,454 +1,443 @@ - - - - - - 字典列表 - - - - - 删 除 - - - - {{row.isSealed===0?'否':'是'}} - - - - - - - - - - - [{{dictValue}}] 字典详情 - - - - - 删 除 - - - - 新增子项 - - - - {{row.isSealed===0?'否':'是'}} - - - - - - - + + + + 删 除 + + + + 字典配置 + + + + {{ row.code }} + + + {{ row.isSealed === 0 ? '否' : '是' }} + + + + + + 删 除 + + + + 新增子项 + + + + {{ row.isSealed === 0 ? '否' : '是' }} + + + + diff --git a/src/views/system/dictbiz.vue b/src/views/system/dictbiz.vue index cb7748e..d7772fe 100644 --- a/src/views/system/dictbiz.vue +++ b/src/views/system/dictbiz.vue @@ -1,109 +1,105 @@ - - - - - - 业务字典列表 - - - - - 删 除 - - - - {{row.isSealed===0?'否':'是'}} - - - - - - - - - - - [{{dictValue}}] 业务字典详情 - - - - - 删 除 - - - - 新增子项 - - - - {{row.isSealed===0?'否':'是'}} - - - - - - - + + + + 删 除 + + + + 字典配置 + + + + {{ row.code }} + + + {{ row.isSealed === 0 ? '否' : '是' }} + + + + + + 删 除 + + + + 新增子项 + + + + {{ row.isSealed === 0 ? '否' : '是' }} + + + + + diff --git a/src/views/util/demo/dictbiz.vue b/src/views/util/demo/dictbiz.vue new file mode 100644 index 0000000..cb7748e --- /dev/null +++ b/src/views/util/demo/dictbiz.vue @@ -0,0 +1,447 @@ + + + + + + + 业务字典列表 + + + + + 删 除 + + + + {{row.isSealed===0?'否':'是'}} + + + + + + + + + + + [{{dictValue}}] 业务字典详情 + + + + + 删 除 + + + + 新增子项 + + + + {{row.isSealed===0?'否':'是'}} + + + + + + + + + +