mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-14 21:36:44 +08:00
fix:评估回显问题
This commit is contained in:
@@ -56,7 +56,7 @@ http.interceptors.response.use(
|
|||||||
return response;
|
return response;
|
||||||
} else {
|
} else {
|
||||||
if (code === 1000) {
|
if (code === 1000) {
|
||||||
window.open("https://u-pre.boe.com/web/", '_self');
|
// window.open("https://u-pre.boe.com/web/", '_self');
|
||||||
// window.open("http://111.231.196.214:12013/manage/login", '_self');
|
// window.open("http://111.231.196.214:12013/manage/login", '_self');
|
||||||
}
|
}
|
||||||
console.log("api %o", msg);
|
console.log("api %o", msg);
|
||||||
|
|||||||
@@ -43,7 +43,6 @@ import http from "./config";
|
|||||||
//根据ID获取评估信息详情
|
//根据ID获取评估信息详情
|
||||||
export const queryAppraiseDetailById = (obj) => http.post('/assessment/queryAssessmentDetailById', obj,{
|
export const queryAppraiseDetailById = (obj) => http.post('/assessment/queryAssessmentDetailById', obj,{
|
||||||
headers: {
|
headers: {
|
||||||
'token': '123',
|
|
||||||
'Content-Type': 'application/x-www-form-urlencoded;charset=UTF-8',
|
'Content-Type': 'application/x-www-form-urlencoded;charset=UTF-8',
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -234,7 +234,9 @@ export default {
|
|||||||
.then((res) => {
|
.then((res) => {
|
||||||
let arr = res.data.data.rows;
|
let arr = res.data.data.rows;
|
||||||
if (res.status === 200) {
|
if (res.status === 200) {
|
||||||
// console.log("获取全部评估信息", res.data.data);
|
console.log("获取全部评估信息", res.data.data);
|
||||||
|
state.selectedRowKeys = [props.assessmentId]
|
||||||
|
console.log(props.assessmentId,props)
|
||||||
getTableDate(arr);
|
getTableDate(arr);
|
||||||
state.tableDataTotal = Number(res.data.data.total);
|
state.tableDataTotal = Number(res.data.data.total);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -212,6 +212,7 @@ export default {
|
|||||||
console.log(res);
|
console.log(res);
|
||||||
//更新讨论信息
|
//更新讨论信息
|
||||||
state.assessment1 = res.data.data;
|
state.assessment1 = res.data.data;
|
||||||
|
state.assessmentId = res.data.data.assessmentId;
|
||||||
})
|
})
|
||||||
.catch(() => {});
|
.catch(() => {});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user