修改字典获取方式,type--》dictType
diff --git a/leave-school-vue/src/views/news/newspublish/index.vue b/leave-school-vue/src/views/news/newspublish/index.vue
index 019db1b..a753e5c 100644
--- a/leave-school-vue/src/views/news/newspublish/index.vue
+++ b/leave-school-vue/src/views/news/newspublish/index.vue
@@ -214,12 +214,12 @@
},
methods: {
getXswzList() {
- getDicList({ type: 'xswz' }).then(response => {
+ getDicList({ dicType: 'xswz' }).then(response => {
this.xswzList = response.items
})
},
getJszlxList() {
- getDicList({ type: 'jszlx' }).then(response => {
+ getDicList({ dicType: 'jszlx' }).then(response => {
this.jszlxList = response.items
})
},
diff --git a/leave-school-vue/src/views/news/newview/index.vue b/leave-school-vue/src/views/news/newview/index.vue
index 5945d70..25a9e5f 100644
--- a/leave-school-vue/src/views/news/newview/index.vue
+++ b/leave-school-vue/src/views/news/newview/index.vue
@@ -114,7 +114,7 @@
this.dialogFormVisible = true
},
getGglxList() {
- getDicList({ type: 'gglx' }).then(response => {
+ getDicList({ dicType: 'gglx' }).then(response => {
this.gglxList = response.items
})
},