【意见反馈】状态修改为已解决,退出再次进入状态仍为未解决
parent
e955f4973c
commit
10e1c92e73
|
@ -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],
|
||||
|
|
Loading…
Reference in New Issue