审核调解员

This commit is contained in:
Your Name
2024-01-17 17:58:03 +08:00
parent 9e4d326150
commit a30a3e04c5
7 changed files with 475 additions and 13 deletions
@@ -25,14 +25,15 @@
<el-date-picker v-model="formLabelAlign.time[0]" type="datetime" placeholder="选择日期时间">
</el-date-picker>
</el-form-item>
<el-form-item label="时间2">
<!-- 后期需要三个时间 -->
<!-- <el-form-item label="时间2">
<el-date-picker v-model="formLabelAlign.time[1]" type="datetime" placeholder="选择日期时间">
</el-date-picker>
</el-form-item>
<el-form-item label="时间3">
<el-date-picker v-model="formLabelAlign.time[2]" type="datetime" placeholder="选择日期时间">
</el-date-picker>
</el-form-item>
</el-form-item> -->
</el-form>
</div>
</div>
@@ -66,6 +67,8 @@ export default {
if (val) {
// this.this.multipleSelection = [];
// this.formLabelAlign.time = [];
this.mediatorArr = [];
this.formTimeArr = [];
listMediator().then(res=>{
this.tableData = res.data;
})
@@ -78,8 +81,8 @@ export default {
},
/**提交选择结果*/
async submitMediator() {
if (this.multipleSelection.length > 3) {
Message.error('最多选择三名调解员');
if (this.multipleSelection.length > 1) {
Message.error('最多选择一名调解员');
return
}else if(this.multipleSelection.length < 1){
Message.error('至少选择一名调解员');
@@ -107,13 +110,12 @@ export default {
userList:this.mediatorArr,
herDates:this.formTimeArr
})
console.log(this.mediatorArr,this.formTimeArr,"LLLLLLLLLLLLLLLLLLLLLLLL");
},
async updateBookingFn(data){
await updateBooking(data).then(res=>{
this.$modal.msgSuccess("成功");
this.$emit("getList",this.queryParams);
this.cancel();
this.$emit("cancelMediator");
this.$emit('getList', this.queryParams);
})
},
handleSelectionChange(val) {