feat():优化业务功能 10.4
parent
95e6bc22e7
commit
c5f7eac850
|
@ -17,7 +17,7 @@ const service = axios.create({
|
||||||
// axios中请求配置有baseURL选项,表示请求URL公共部分
|
// axios中请求配置有baseURL选项,表示请求URL公共部分
|
||||||
baseURL: process.env.VUE_APP_BASE_API,
|
baseURL: process.env.VUE_APP_BASE_API,
|
||||||
// 超时
|
// 超时
|
||||||
timeout: 10000
|
timeout: 100000
|
||||||
})
|
})
|
||||||
|
|
||||||
// request拦截器
|
// request拦截器
|
||||||
|
|
|
@ -324,6 +324,7 @@ export default {
|
||||||
this.open = false;
|
this.open = false;
|
||||||
this.getList();
|
this.getList();
|
||||||
});
|
});
|
||||||
|
loading.close();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -140,13 +140,13 @@ export default {
|
||||||
},
|
},
|
||||||
open(typeId){
|
open(typeId){
|
||||||
alert(typeId)
|
alert(typeId)
|
||||||
params=typeId
|
this.params=typeId
|
||||||
findCarmsgListByModelId(params).then(res => {
|
findCarmsgListByModelId(params).then(res => {
|
||||||
this.msgTable = res.data
|
this.msgTable = res.data
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
handleTypeTabClick(typeId){
|
handleTypeTabClick(typeId){
|
||||||
params=typeId
|
this.params=typeId
|
||||||
findCarmsgListByModelId(params).then(res => {
|
findCarmsgListByModelId(params).then(res => {
|
||||||
this.msgTable = res.data
|
this.msgTable = res.data
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue