Commit 4a4bfca7 by liangzhen

评估结果辅助查看

1 parent 68af9046
......@@ -168,5 +168,22 @@ export function qrzgqrbgSelQuesInfo(params) {
}
//确认无更改
export function qrwzgqrbgSelQuesInfo(params) {
return post(`/api/postEvalQuesInfo/`, params)
return post(`/api/postEvalQuesInfo/qrwzg`, params)
}
//评估结果辅助查看
//评估结果辅助页面
export function fzcxselect(params) {
return post(`/api/select/fzcx`, params)
}
//基本信息
export function fzcxXqselect(params) {
return post(`/api/select/fzcxXq`, params)
}
//问题清单
export function wtqdqselect(params) {
return post(`/api/select/selWtqd`, params)
}
//项目后评估资料
export function clqdselect(params) {
return post(`/api/select/clqd`, params)
}
\ No newline at end of file
......@@ -56,8 +56,8 @@
<script>
import {
selWtqdpostEvalQuesInfo,
bcpostEvalQuesInfo,
tjpostEvalQuesInfo,
qrzgqrbgSelQuesInfo,
qrwzgqrbgSelQuesInfo,
} from "@/api/index";
export default {
data() {
......@@ -152,29 +152,30 @@ export default {
cancel() {
this.$router.go(-1);
},
//保存
async confirm(type) {
//确认更改
async confirm() {
let params = {
projectId: this.clqparams.projectId,
batchId: this.clqparams.batchId,
list: this.tableData,
};
if (type == "add") {
console.log(params, "this.zjtableDatathis.zjtableData");
let res = await bcpostEvalQuesInfo(params);
let res = await qrzgqrbgSelQuesInfo(params);
if (res.code == "200") {
this.$router.go(-1);
} else {
this.$message("保存失败");
this.$message("确认失败");
}
} else {
let res = await tjpostEvalQuesInfo(params);
},
//确认无更改
async confirmNo() {
let params = {
projectId: this.clqparams.projectId,
batchId: this.clqparams.batchId,
};
let res = await qrwzgqrbgSelQuesInfo(params);
if (res.code == "200") {
this.$router.go(-1);
} else {
this.$message("上传失败");
}
this.$message("确认失败");
}
},
},
......@@ -198,10 +199,10 @@ export default {
transform: translate(-50%);
background-color: #f5f5f6;
line-height: 62px;
.textarea{
.textarea {
margin-top: 1px;
}
.Btn{
.Btn {
span {
display: inline-block;
width: 95px;
......@@ -220,7 +221,6 @@ export default {
background-color: #fff;
}
}
}
.JYtitle {
width: 100%;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!