Commit 648d4684 by liangzhen

暂存一下

1 parent 4e246c6c
...@@ -317,11 +317,11 @@ export function trendsRules(type) { ...@@ -317,11 +317,11 @@ export function trendsRules(type) {
// url: "/mainLayout/assistedFeedback", // url: "/mainLayout/assistedFeedback",
// children: [], // children: [],
// }, // },
{ // {
name: "申诉确认", // name: "申诉确认",
url: "/mainLayout/assistedConfirm", // url: "/mainLayout/assistedConfirm",
children: [], // children: [],
}, // },
// { // {
// name: "问题整改", // name: "问题整改",
// url: "/mainLayout/assistedRect", // url: "/mainLayout/assistedRect",
......
...@@ -1212,11 +1212,25 @@ export default { ...@@ -1212,11 +1212,25 @@ export default {
this.$message("该项目已撤回"); this.$message("该项目已撤回");
return; return;
} }
let res = await chEvalBatchInfo(this.checkedList[0]); this.$confirm("是否撤回?", "提示", {
if (res.code == "200") { confirmButtonText: "是",
this.$message('已撤回') cancelButtonText: "否",
this.resetForm(); distinguishCancelAndClose: true,
type: "warning",
})
.then(async () => {
let res = await chEvalBatchInfo(this.checkedList[0]);
if (res.code == "200") {
this.$message('已撤回')
this.resetForm();
} }
})
.catch((action) => {});
// let res = await chEvalBatchInfo(this.checkedList[0]);
// if (res.code == "200") {
// this.$message('已撤回')
// this.resetForm();
// }
}, },
}, },
}; };
......
...@@ -215,6 +215,7 @@ export default { ...@@ -215,6 +215,7 @@ export default {
path: "/mainLayout/auxiliaryInspection", path: "/mainLayout/auxiliaryInspection",
}); });
this.$message("提交成功");
} else { } else {
this.$message("提交失败"); this.$message("提交失败");
} }
......
...@@ -923,7 +923,9 @@ export default { ...@@ -923,7 +923,9 @@ export default {
fbProjectInfo(params).then((res) => { fbProjectInfo(params).then((res) => {
this.dialogAdd = false; this.dialogAdd = false;
this.expertIdList = expertIdList; this.expertIdList = expertIdList;
this.$message('提交成功')
this.resetForm(); this.resetForm();
}); });
}, },
savepro() { savepro() {
...@@ -947,6 +949,7 @@ export default { ...@@ -947,6 +949,7 @@ export default {
console.log(params, "222"); console.log(params, "222");
// return // return
bcProjectInfo(params).then((res) => { bcProjectInfo(params).then((res) => {
this.$message('保存成功')
// this.dialogAdd = false; // this.dialogAdd = false;
this.expertIdList = expertIdList; this.expertIdList = expertIdList;
// this.resetForm(); // this.resetForm();
...@@ -998,6 +1001,7 @@ export default { ...@@ -998,6 +1001,7 @@ export default {
batchId: this.checkedList[0].batchId, batchId: this.checkedList[0].batchId,
}); });
if ((res.code = "200")) { if ((res.code = "200")) {
this.$message('已撤回')
this.resetForm(); this.resetForm();
} }
}) })
......
...@@ -105,10 +105,10 @@ ...@@ -105,10 +105,10 @@
<el-button @click="detailsForm()"> <el-button @click="detailsForm()">
<img class="buttonIcon" src="../../assets/ck.png" />详情</el-button <img class="buttonIcon" src="../../assets/ck.png" />详情</el-button
> >
<el-button @click="submitNexts()" <el-button @click="submitNexts()" :disabled="subdisabled" :class="subdisabled?'noclick':''"
><i class="el-icon-finished"></i> 提交评估材料</el-button ><i class="el-icon-finished"></i> 提交评估材料</el-button
> >
<el-button @click="confirm()"> <el-button @click="confirm()" :disabled="confirmdisabled" :class="confirmdisabled?'noclick':''">
<i class="el-icon-chat-dot-square"></i <i class="el-icon-chat-dot-square"></i
>&nbsp;&nbsp;&nbsp;问题整改</el-button >&nbsp;&nbsp;&nbsp;问题整改</el-button
> >
...@@ -258,7 +258,7 @@ ...@@ -258,7 +258,7 @@
:append-to-body="false" :append-to-body="false"
@close="closeDialog" @close="closeDialog"
> >
<div class="dialog"> <div class="dialogFrom">
<p class="xqtitle"><span></span>批次详情</p> <p class="xqtitle"><span></span>批次详情</p>
<el-form <el-form
:model="ruleFormdialog" :model="ruleFormdialog"
...@@ -499,7 +499,8 @@ export default { ...@@ -499,7 +499,8 @@ export default {
mergingRows: [], mergingRows: [],
tableDataQR: [], tableDataQR: [],
fileList:[], fileList:[],
confirmdisabled:false subdisabled:false,
confirmdisabled:false,
}; };
}, },
watch: { watch: {
...@@ -625,6 +626,7 @@ export default { ...@@ -625,6 +626,7 @@ export default {
async saveSubmit() { async saveSubmit() {
let res = await wtzgxfProblemRectification(this.tableDataQR); let res = await wtzgxfProblemRectification(this.tableDataQR);
if (res.code == "200") { if (res.code == "200") {
this.$message("提交成功");
this.dialogQR = false; this.dialogQR = false;
this.resetForm(); this.resetForm();
} else { } else {
...@@ -785,6 +787,7 @@ export default { ...@@ -785,6 +787,7 @@ export default {
//主列表选中行信息 //主列表选中行信息
handleSelectionChange(selection) { handleSelectionChange(selection) {
this.confirmdisabled=false this.confirmdisabled=false
this.subdisabled=false
if (Array.isArray(selection) && selection.length > 1) { if (Array.isArray(selection) && selection.length > 1) {
this.$refs.multipleTable.toggleRowSelection(selection[0], false); this.$refs.multipleTable.toggleRowSelection(selection[0], false);
this.$refs.multipleTable.toggleRowSelection(selection[1], true); this.$refs.multipleTable.toggleRowSelection(selection[1], true);
...@@ -795,6 +798,9 @@ export default { ...@@ -795,6 +798,9 @@ export default {
if(this.checkedList[0].postEvalStateText!='需整改'){ if(this.checkedList[0].postEvalStateText!='需整改'){
this.confirmdisabled=true this.confirmdisabled=true
} }
if(this.checkedList[0].postEvalStateText!='材料未上传'){
this.subdisabled=true
}
} }
console.log(this.checkedList, "2222"); console.log(this.checkedList, "2222");
}, },
...@@ -1288,5 +1294,8 @@ h3 { ...@@ -1288,5 +1294,8 @@ h3 {
// /deep/ .el-table .cell{ // /deep/ .el-table .cell{
// padding-right: 0; // padding-right: 0;
// } // }
.noclick{
opacity: 0.5;
}
</style> </style>
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!