diff --git a/common/api/dictionary.js b/common/api/dictionary.js index 9eeaf0a..a94e6be 100644 --- a/common/api/dictionary.js +++ b/common/api/dictionary.js @@ -1,12 +1,12 @@ import request from '../js/request'; import config from '../js/config'; -export function queryDictData(dictType) { +export function queryDictData(dictTypeName) { return request({ - url: '/dict/queryDictData', - method: 'post', + url: '/dictData/getDicDataByTypeName', + method: 'get', data: { - dictType, + dictTypeName, }, }); } diff --git a/common/api/mine.js b/common/api/mine.js new file mode 100644 index 0000000..99bc899 --- /dev/null +++ b/common/api/mine.js @@ -0,0 +1,20 @@ +import request from '../js/request'; +import config from '../js/config'; + +export function queryPersonSet() { + return request({ + url: '/appinfo/queryPersonSet', + method: 'post', + data: {}, + }); +} + +export function queryAppInfo(id) { + return request({ + url: '/appinfo/queryAppInfo', + method: 'post', + data: { + id, + }, + }); +} diff --git a/pages/index/index.vue b/pages/index/index.vue index f234e86..1923687 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -178,7 +178,7 @@ export default { console.log(this.store); } this.getProjectList() - this.queryDictData() + // this.queryDictData() }, getProjectList() { getProjectList({ @@ -198,7 +198,7 @@ export default { }) }, queryDictData() { - queryDictData('projectType').then(res => { + queryDictData('项目类型').then(res => { this.projectType = [{ text: '全部类型', value: '' diff --git a/pages/mine/setup.vue b/pages/mine/setup.vue index 33d7633..e91a1c1 100644 --- a/pages/mine/setup.vue +++ b/pages/mine/setup.vue @@ -33,7 +33,7 @@ 公司介绍 - + 意见反馈 @@ -49,16 +49,19 @@