Merge branch 'dev' of http://git.xayunmei.com/SH-Arbitrate/Mediation-Frontend into hcb
This commit is contained in:
@@ -3,10 +3,12 @@
|
|||||||
<el-dialog title="部门长确认调解员" :visible="departmentVisable" v-if="departmentVisable" @close="cancel" center
|
<el-dialog title="部门长确认调解员" :visible="departmentVisable" v-if="departmentVisable" @close="cancel" center
|
||||||
:distroy-on-close="true">
|
:distroy-on-close="true">
|
||||||
<div>
|
<div>
|
||||||
<div v-if="tableDataFlag">
|
<!-- v-if="tableDataFlag" -->
|
||||||
|
<div>
|
||||||
<div style="margin-bottom: 20px;">选择调解员</div>
|
<div style="margin-bottom: 20px;">选择调解员</div>
|
||||||
</div>
|
</div>
|
||||||
<el-table v-if="tableDataFlag" ref="multipleTable" :data="tableData" tooltip-effect="dark" style="width: 100%"
|
<!-- v-if="tableDataFlag" -->
|
||||||
|
<el-table ref="multipleTable" :data="tableData" tooltip-effect="dark" style="width: 100%"
|
||||||
@selection-change="handleSelectionChange">
|
@selection-change="handleSelectionChange">
|
||||||
<el-table-column type="selection" width="55">
|
<el-table-column type="selection" width="55">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
@@ -124,6 +126,7 @@ export default {
|
|||||||
},
|
},
|
||||||
/**提交选择结果*/
|
/**提交选择结果*/
|
||||||
async submitMediator() {
|
async submitMediator() {
|
||||||
|
console.log(this.multipleSelection,this.tableDataNow)
|
||||||
if (this.multipleSelection.length == 0 && this.tableDataNow.length > 0) {
|
if (this.multipleSelection.length == 0 && this.tableDataNow.length > 0) {
|
||||||
this.verifyMediatorFn({
|
this.verifyMediatorFn({
|
||||||
id: this.departmentData.id,
|
id: this.departmentData.id,
|
||||||
@@ -138,7 +141,15 @@ export default {
|
|||||||
mediatorId: this.multipleSelection[0].mediatorId,
|
mediatorId: this.multipleSelection[0].mediatorId,
|
||||||
mediatorName: this.multipleSelection[0].mediatorName,
|
mediatorName: this.multipleSelection[0].mediatorName,
|
||||||
})
|
})
|
||||||
} else if (this.multipleSelection.length > 1 && this.tableDataNow.length == 0) {
|
}else if(this.multipleSelection.length == 1){
|
||||||
|
this.verifyMediatorFn({
|
||||||
|
id: this.departmentData.id,
|
||||||
|
caseFlowId: this.departmentData.caseFlowId,
|
||||||
|
mediatorId: this.multipleSelection[0].mediatorId,
|
||||||
|
mediatorName: this.multipleSelection[0].mediatorName,
|
||||||
|
})
|
||||||
|
// && this.tableDataNow.length == 0
|
||||||
|
}else if (this.multipleSelection.length > 1) {
|
||||||
Message.error('最多选择一名调解员');
|
Message.error('最多选择一名调解员');
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user