修改字典获取方式,type--》dictType
diff --git a/leave-school-vue/src/views/systemmanagement/class/index.vue b/leave-school-vue/src/views/systemmanagement/class/index.vue
index 1decb9c..3713c68 100644
--- a/leave-school-vue/src/views/systemmanagement/class/index.vue
+++ b/leave-school-vue/src/views/systemmanagement/class/index.vue
@@ -221,7 +221,7 @@
})
},
initNjList() {
- getDicList({ type: 'nj' }).then(response => {
+ getDicList({ dicType: 'nj' }).then(response => {
this.njList = response.items
})
},
diff --git a/leave-school-vue/src/views/systemmanagement/datadictionary/index.vue b/leave-school-vue/src/views/systemmanagement/datadictionary/index.vue
index 75d7930..06525b1 100644
--- a/leave-school-vue/src/views/systemmanagement/datadictionary/index.vue
+++ b/leave-school-vue/src/views/systemmanagement/datadictionary/index.vue
@@ -176,7 +176,7 @@
},
handleView(type) {
this.temp.type = type
- getDicList({ type: type }).then(response => {
+ getDicList({ dicType: type }).then(response => {
if (!response.items) {
MessageBox.alert('数据不存在,请确认是否已删除。', '消息', {
confirmButtonText: '确定'
diff --git a/leave-school-vue/src/views/systemmanagement/major/index.vue b/leave-school-vue/src/views/systemmanagement/major/index.vue
index 730adf9..ae1bf08 100644
--- a/leave-school-vue/src/views/systemmanagement/major/index.vue
+++ b/leave-school-vue/src/views/systemmanagement/major/index.vue
@@ -148,7 +148,7 @@
},
methods: {
getSszygbList() {
- getDicList({ type: 'gjzybz' }).then(response => {
+ getDicList({ dicType: 'gjzybz' }).then(response => {
this.sszygbList = response.items
})
},