线下调解,权限标识
This commit is contained in:
@@ -80,7 +80,7 @@ export default {
|
||||
applicantTable: [],
|
||||
respondentTable: [],
|
||||
multipleSelection: [],
|
||||
tableDataFlag: false,
|
||||
tableDataFlag: true,
|
||||
formLabelAlign: {
|
||||
time: []
|
||||
},
|
||||
@@ -107,7 +107,8 @@ export default {
|
||||
this.applicantTable = res.data.mediatorList;
|
||||
this.respondentTable = res.data.resMediatorList;
|
||||
this.tableDataNow = [{ mediatorId: res.data.mediatorId, mediatorName: res.data.mediatorName }];
|
||||
if (this.tableDataNow.length > 0) {
|
||||
|
||||
if (this.tableDataNow[0].mediatorId) {
|
||||
this.tableDataFlag = false;
|
||||
} else {
|
||||
this.tableDataFlag = true;
|
||||
@@ -131,14 +132,14 @@ export default {
|
||||
mediatorId: this.tableDataNow[0].mediatorId,
|
||||
mediatorName: this.tableDataNow[0].mediatorName,
|
||||
})
|
||||
} else if (this.multipleSelection.length > 0 && this.tableDataNow.length == 0) {
|
||||
} else if (this.multipleSelection.length > 0 && !this.tableDataNow[0].mediatorId) {
|
||||
this.verifyMediatorFn({
|
||||
id: this.confirmData.id,
|
||||
caseFlowId: this.confirmData.caseFlowId,
|
||||
mediatorId: this.multipleSelection[0].mediatorId,
|
||||
mediatorName: this.multipleSelection[0].mediatorName,
|
||||
})
|
||||
} else if (this.multipleSelection.length > 1 && this.tableDataNow.length == 0) {
|
||||
} else if (this.multipleSelection.length > 1 && !this.tableDataNow[0].mediatorId) {
|
||||
Message.error('最多选择一名调解员');
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user