【意见反馈】状态修改为已解决,退出再次进入状态仍为未解决
parent
e955f4973c
commit
10e1c92e73
|
@ -124,7 +124,7 @@
|
||||||
:active-text="$fd('FeedBackStatus', 1)"
|
:active-text="$fd('FeedBackStatus', 1)"
|
||||||
:inactive-text="$fd('FeedBackStatus', 0)"
|
:inactive-text="$fd('FeedBackStatus', 0)"
|
||||||
:disabled="level < 8 || !isStateChange"
|
:disabled="level < 8 || !isStateChange"
|
||||||
@change="isImgfail ? () => false : changeState"
|
@change="changeState"
|
||||||
>
|
>
|
||||||
</el-switch>
|
</el-switch>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
@ -247,9 +247,11 @@ export default {
|
||||||
this.trialId = trialId;
|
this.trialId = trialId;
|
||||||
this.Id = Id;
|
this.Id = Id;
|
||||||
this.visitTaskId = visitTaskId;
|
this.visitTaskId = visitTaskId;
|
||||||
|
console.log(visitTaskId, "visitTaskId");
|
||||||
if (visitTaskId) {
|
if (visitTaskId) {
|
||||||
this.isImgfail = true;
|
this.isImgfail = true;
|
||||||
}
|
}
|
||||||
|
console.log(this.isImgfail, "isImgfail");
|
||||||
this.setTypeOption();
|
this.setTypeOption();
|
||||||
if (!Id) {
|
if (!Id) {
|
||||||
this.title = this.setTitle();
|
this.title = this.setTitle();
|
||||||
|
@ -291,6 +293,7 @@ export default {
|
||||||
},
|
},
|
||||||
// 修改状态
|
// 修改状态
|
||||||
async changeState() {
|
async changeState() {
|
||||||
|
if (this.isImgfail) return;
|
||||||
try {
|
try {
|
||||||
let data = {
|
let data = {
|
||||||
IdList: [this.Id],
|
IdList: [this.Id],
|
||||||
|
|
Loading…
Reference in New Issue