Просмотр исходного кода

:zap: 字典键值改为string后,字典组件增加int转换

smallchill 6 лет назад
Родитель
Сommit
ef020657eb

+ 1 - 0
src/views/authority/apiscope.vue

@@ -343,6 +343,7 @@
                 label: "dictValue",
                 value: "dictKey"
               },
+              dataType: "number",
               slot: true,
               width: 100,
               prop: "scopeType",

+ 1 - 0
src/views/authority/datascope.vue

@@ -346,6 +346,7 @@
                 label: "dictValue",
                 value: "dictKey"
               },
+              dataType: "number",
               slot: true,
               width: 140,
               prop: "scopeType",

+ 1 - 0
src/views/desk/notice.vue

@@ -87,6 +87,7 @@
                 label: "dictValue",
                 value: "dictKey"
               },
+              dataType: "number",
               slot: true,
               prop: "category",
               search: true,

+ 1 - 0
src/views/flow/deploy.vue

@@ -29,6 +29,7 @@
                 label: "dictValue",
                 value: "dictKey"
               },
+              dataType: "number",
               rules: [
                 {
                   required: true,

+ 1 - 0
src/views/flow/manager.vue

@@ -175,6 +175,7 @@
                 label: "dictValue",
                 value: "dictKey"
               },
+              dataType: "number",
               slot: true,
               prop: "category",
               search: true,

+ 1 - 0
src/views/resource/oss.vue

@@ -87,6 +87,7 @@
                 label: "dictValue",
                 value: "dictKey"
               },
+              dataType: "number",
               slot: true,
               prop: "category",
               search: true,

+ 1 - 0
src/views/system/dept.vue

@@ -141,6 +141,7 @@
                 label: "dictValue",
                 value: "dictKey"
               },
+              dataType: "number",
               width: 120,
               prop: "deptCategory",
               slot: true,

+ 2 - 0
src/views/tool/code.vue

@@ -160,6 +160,7 @@
                 label: "dictValue",
                 value: "dictKey"
               },
+              dataType: "number",
               hide: true,
               rules: [{
                 required: true,
@@ -176,6 +177,7 @@
                 label: "dictValue",
                 value: "dictKey"
               },
+              dataType: "number",
               hide: true,
               rules: [{
                 required: true,

+ 1 - 0
src/views/work/claim.vue

@@ -110,6 +110,7 @@
                 label: "dictValue",
                 value: "dictKey"
               },
+              dataType: "number",
               slot: true,
               prop: "category",
               search: true,

+ 1 - 0
src/views/work/done.vue

@@ -103,6 +103,7 @@
                 label: "dictValue",
                 value: "dictKey"
               },
+              dataType: "number",
               slot: true,
               prop: "category",
               search: true,

+ 1 - 0
src/views/work/send.vue

@@ -107,6 +107,7 @@
                 label: "dictValue",
                 value: "dictKey"
               },
+              dataType: "number",
               slot: true,
               prop: "category",
               search: true,

+ 1 - 0
src/views/work/start.vue

@@ -111,6 +111,7 @@
                 label: "dictValue",
                 value: "dictKey"
               },
+              dataType: "number",
               slot: true,
               prop: "category",
               search: true,

+ 1 - 0
src/views/work/todo.vue

@@ -110,6 +110,7 @@
                 label: "dictValue",
                 value: "dictKey"
               },
+              dataType: "number",
               slot: true,
               prop: "category",
               search: true,