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', // 菜单数据接口 |
}) | }) | ||||
}) | }) | ||||
}, | }, | ||||
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) |
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 |