【意见反馈】状态修改为已解决,退出再次进入状态仍为未解决

uat_us
DESKTOP-6C3NK6N\WXS 2024-08-06 17:17:26 +08:00
parent e955f4973c
commit 10e1c92e73
1 changed files with 4 additions and 1 deletions

View File

@ -124,7 +124,7 @@
:active-text="$fd('FeedBackStatus', 1)"
:inactive-text="$fd('FeedBackStatus', 0)"
:disabled="level < 8 || !isStateChange"
@change="isImgfail ? () => false : changeState"
@change="changeState"
>
</el-switch>
</el-form-item>
@ -247,9 +247,11 @@ export default {
this.trialId = trialId;
this.Id = Id;
this.visitTaskId = visitTaskId;
console.log(visitTaskId, "visitTaskId");
if (visitTaskId) {
this.isImgfail = true;
}
console.log(this.isImgfail, "isImgfail");
this.setTypeOption();
if (!Id) {
this.title = this.setTitle();
@ -291,6 +293,7 @@ export default {
},
//
async changeState() {
if (this.isImgfail) return;
try {
let data = {
IdList: [this.Id],