Commit 648d4684 by liangzhen

暂存一下

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