Commit 4a4bfca7 by liangzhen

评估结果辅助查看

1 parent 68af9046
...@@ -168,5 +168,22 @@ export function qrzgqrbgSelQuesInfo(params) { ...@@ -168,5 +168,22 @@ export function qrzgqrbgSelQuesInfo(params) {
} }
//确认无更改 //确认无更改
export function qrwzgqrbgSelQuesInfo(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 @@ ...@@ -56,8 +56,8 @@
<script> <script>
import { import {
selWtqdpostEvalQuesInfo, selWtqdpostEvalQuesInfo,
bcpostEvalQuesInfo, qrzgqrbgSelQuesInfo,
tjpostEvalQuesInfo, qrwzgqrbgSelQuesInfo,
} from "@/api/index"; } from "@/api/index";
export default { export default {
data() { data() {
...@@ -152,29 +152,30 @@ export default { ...@@ -152,29 +152,30 @@ export default {
cancel() { cancel() {
this.$router.go(-1); this.$router.go(-1);
}, },
//保存 //确认更改
async confirm(type) { async confirm() {
let params = { let params = {
projectId: this.clqparams.projectId, projectId: this.clqparams.projectId,
batchId: this.clqparams.batchId, batchId: this.clqparams.batchId,
list: this.tableData,
}; };
let res = await qrzgqrbgSelQuesInfo(params);
if (type == "add") { if (res.code == "200") {
console.log(params, "this.zjtableDatathis.zjtableData"); this.$router.go(-1);
let res = await bcpostEvalQuesInfo(params);
if (res.code == "200") {
this.$router.go(-1);
} else {
this.$message("保存失败");
}
} else { } else {
let res = await tjpostEvalQuesInfo(params); this.$message("确认失败");
if (res.code == "200") { }
this.$router.go(-1); },
} else { //确认无更改
this.$message("上传失败"); 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("确认失败");
} }
}, },
}, },
...@@ -198,29 +199,28 @@ export default { ...@@ -198,29 +199,28 @@ export default {
transform: translate(-50%); transform: translate(-50%);
background-color: #f5f5f6; background-color: #f5f5f6;
line-height: 62px; line-height: 62px;
.textarea{ .textarea {
margin-top: 1px; margin-top: 1px;
} }
.Btn{ .Btn {
span { span {
display: inline-block; display: inline-block;
width: 95px; width: 95px;
height: 30px; height: 30px;
line-height: 30px; line-height: 30px;
text-align: center; text-align: center;
border-radius: 5px; border-radius: 5px;
margin-right: 32px; margin-right: 32px;
background-color: #0d867f; background-color: #0d867f;
border: 1px solid #0d867f; border: 1px solid #0d867f;
color: #fff; color: #fff;
} }
span:first-of-type { span:first-of-type {
border: 1px solid grey; border: 1px solid grey;
color: #000; color: #000;
background-color: #fff; background-color: #fff;
} }
} }
} }
.JYtitle { .JYtitle {
width: 100%; width: 100%;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!