YF-yuan 3 years ago
parent
commit
4ce408b525
3 changed files with 5 additions and 4 deletions
  1. +2
    -1
      src/config/setting.js
  2. +2
    -2
      src/store/modules/base.js
  3. +1
    -1
      src/views/second/search.vue

+ 2
- 1
src/config/setting.js View File

export default { export default {
version: '1.0', version: '1.0',
name: 'JNDZ考核管理系统', // 项目名称 name: 'JNDZ考核管理系统', // 项目名称
baseURL: 'http://121.40.249.52:9031/api/', // 接口地址
// baseURL: 'http://121.40.249.52:9031/api/', // 接口地址
baseURL:"http://47.98.157.120:9031/api/",
whiteList: ['/login', '/forget'], // 路由白名单(不需要登录的) whiteList: ['/login', '/forget'], // 路由白名单(不需要登录的)
keepAliveList: [], // 需要缓存的组件名称 keepAliveList: [], // 需要缓存的组件名称
menuUrl: '/index/getMenuList', // 菜单数据接口 menuUrl: '/index/getMenuList', // 菜单数据接口

+ 2
- 2
src/store/modules/base.js View File

}) })
}) })
}, },
getQuota2List({ commit }, data) {
getQuota2List({ commit }, params) {
return new Promise((resolve) => { return new Promise((resolve) => {
axios.get('/quota/getQuota2List/' + data).then(res => {
axios.get('/quota/getQuota2List', {params}).then(res => {
let data = res.data.data; let data = res.data.data;
commit('SET_QUOTAL2', data); commit('SET_QUOTAL2', data);
resolve(data) resolve(data)

+ 1
- 1
src/views/second/search.vue View File

filterable filterable
clearable clearable
v-model="searchParams.quota1" v-model="searchParams.quota1"
@change="getQuota2List(searchParams.quota1)"
@change="getQuota2List({quota1:searchParams.quota1,categoryId:type})"
placeholder="请选择一级指标" placeholder="请选择一级指标"
> >
<el-option <el-option

Loading…
Cancel
Save