From 6fdae97b95a8923d2c9dcba4ebd2ae2c65266fe0 Mon Sep 17 00:00:00 2001 From: smallchill Date: Wed, 19 May 2021 15:26:10 +0800 Subject: [PATCH] =?UTF-8?q?:recycle:=20=E9=87=8D=E6=9E=84=E5=AD=97?= =?UTF-8?q?=E5=85=B8=E7=AE=A1=E7=90=86=E7=95=8C=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/option/system/dict.js | 12 +- src/option/system/dictbiz.js | 11 +- src/views/system/dict.vue | 807 ++++++++++++++++---------------- src/views/system/dictbiz.vue | 237 +++++----- src/views/util/demo/dict.vue | 454 ++++++++++++++++++ src/views/util/demo/dictbiz.vue | 447 ++++++++++++++++++ 6 files changed, 1427 insertions(+), 541 deletions(-) create mode 100644 src/views/util/demo/dict.vue create mode 100644 src/views/util/demo/dictbiz.vue 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 @@ 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 @@ + 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 @@ + + +