小程序提交
This commit is contained in:
@@ -8,7 +8,7 @@ module.exports = {
|
|||||||
baseUrlTJ: 'https://api.xayunmei.com/tiaojieapitest',
|
baseUrlTJ: 'https://api.xayunmei.com/tiaojieapitest',
|
||||||
// baseUrlTJ:'https://api.xayunmei.com/tiaojieapi',
|
// baseUrlTJ:'https://api.xayunmei.com/tiaojieapi',
|
||||||
// baseUrlZC: 'http://121.40.189.20:8001',
|
// baseUrlZC: 'http://121.40.189.20:8001',
|
||||||
// baseUrlTJ: 'http://121.40.189.20:6001',
|
// baseUrlTJ: 'http://172.16.1.17:6001',
|
||||||
// baseUrl: 'http://172.16.1.24:8001',
|
// baseUrl: 'http://172.16.1.24:8001',
|
||||||
// baseUrl: 'http://localhost:8080',
|
// baseUrl: 'http://localhost:8080',
|
||||||
// baseUrl: 'http://192.168.3.18:9001',
|
// baseUrl: 'http://192.168.3.18:9001',
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
申请人姓名:
|
申请人姓名:
|
||||||
</view>
|
</view>
|
||||||
<view class="main">
|
<view class="main">
|
||||||
{{defalutVal.applicationOrganName}}
|
{{defalutVal.applicationName}}
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="listItem" style="margin-top:22rpx">
|
<view class="listItem" style="margin-top:22rpx">
|
||||||
|
|||||||
@@ -97,7 +97,7 @@
|
|||||||
</uni-forms-item>
|
</uni-forms-item>
|
||||||
<uni-forms-item label="申请人:" name="applicantName" label-width="120px" required>
|
<uni-forms-item label="申请人:" name="applicantName" label-width="120px" required>
|
||||||
<uni-easyinput :inputBorder="false" :disabled='true'
|
<uni-easyinput :inputBorder="false" :disabled='true'
|
||||||
v-model="formData.affiliate.applicationOrganName" placeholder="" />
|
v-model="formData.affiliate.applicationName" placeholder="" />
|
||||||
</uni-forms-item>
|
</uni-forms-item>
|
||||||
<uni-forms-item label="被申请人:" name="respondentName" label-width="120px" required>
|
<uni-forms-item label="被申请人:" name="respondentName" label-width="120px" required>
|
||||||
<uni-easyinput :inputBorder="false" :disabled='true'
|
<uni-easyinput :inputBorder="false" :disabled='true'
|
||||||
@@ -113,12 +113,6 @@
|
|||||||
:localdata="uploadEvidence"
|
:localdata="uploadEvidence"
|
||||||
@change='maintenancetypeChange'></uni-data-checkbox>
|
@change='maintenancetypeChange'></uni-data-checkbox>
|
||||||
</uni-forms-item> -->
|
</uni-forms-item> -->
|
||||||
<uni-forms-item label="预约时间" label-width="120px" name="respondentIsWrittenHear">
|
|
||||||
<view class="example-body">
|
|
||||||
<uni-datetime-picker type="date" v-model="timeData"
|
|
||||||
@maskClick="maskClick" />
|
|
||||||
</view>
|
|
||||||
</uni-forms-item>
|
|
||||||
</view>
|
</view>
|
||||||
</uni-forms>
|
</uni-forms>
|
||||||
<!-- 自定义弹窗层组件 -->
|
<!-- 自定义弹窗层组件 -->
|
||||||
@@ -381,7 +375,6 @@
|
|||||||
}],
|
}],
|
||||||
items: [],
|
items: [],
|
||||||
sysType: null,
|
sysType: null,
|
||||||
timeData: null,
|
|
||||||
mediatorList: []
|
mediatorList: []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -434,20 +427,20 @@
|
|||||||
// }
|
// }
|
||||||
// },
|
// },
|
||||||
checkboxChange(e) {
|
checkboxChange(e) {
|
||||||
let params = parseInt(e.detail.value);
|
let params = e.detail.value;
|
||||||
|
params = params.map(Number);
|
||||||
this.mediatorList = e.detail.value;
|
this.mediatorList = e.detail.value;
|
||||||
let result = "";
|
let result = this.items.filter(element => params.includes(element.mediatorId));
|
||||||
this.items.forEach(item => {
|
let userListArr = result.map(({
|
||||||
if (item.mediatorId == params) {
|
mediatorId,
|
||||||
result = {
|
mediatorName
|
||||||
userId: item.mediatorId,
|
}) => ({
|
||||||
userName: item.mediatorName
|
mediatorId: mediatorId,
|
||||||
}
|
mediatorName: mediatorName
|
||||||
}
|
}));
|
||||||
})
|
|
||||||
let arbitrators = {
|
let arbitrators = {
|
||||||
caseFlowId: this.formData.caseFlowId,
|
caseFlowId: this.formData.caseFlowId,
|
||||||
userList: [result],
|
mediatorList: userListArr,
|
||||||
};
|
};
|
||||||
this.subnitForm.arbitrators = arbitrators;
|
this.subnitForm.arbitrators = arbitrators;
|
||||||
console.log(this.subnitForm.arbitrators, "PPPPPPPPPPPPPP");
|
console.log(this.subnitForm.arbitrators, "PPPPPPPPPPPPPP");
|
||||||
@@ -539,17 +532,9 @@
|
|||||||
},
|
},
|
||||||
submitImg() {
|
submitImg() {
|
||||||
if (this.sysType == 2) {
|
if (this.sysType == 2) {
|
||||||
if (this.mediatorList.length > 1) {
|
if (this.mediatorList.length > 3) {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: '只能选择一个调解员',
|
title: '最多选择三个调解员',
|
||||||
icon: 'none',
|
|
||||||
duration: 1000
|
|
||||||
})
|
|
||||||
return
|
|
||||||
}
|
|
||||||
if (!this.timeData) {
|
|
||||||
uni.showToast({
|
|
||||||
title: '请选择时间',
|
|
||||||
icon: 'none',
|
icon: 'none',
|
||||||
duration: 1000
|
duration: 1000
|
||||||
})
|
})
|
||||||
@@ -573,15 +558,15 @@
|
|||||||
} else if (this.sysType == 2) {
|
} else if (this.sysType == 2) {
|
||||||
// TODO
|
// TODO
|
||||||
// 调解提交
|
// 调解提交
|
||||||
if (this.mediatorList.length > 1) {
|
if (this.mediatorList.length > 3) {
|
||||||
|
debugger
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: '只能选择一个调解员',
|
title: '最多选择三个调解员',
|
||||||
icon: 'none',
|
icon: 'none',
|
||||||
duration: 1000
|
duration: 1000
|
||||||
})
|
})
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
this.subnitForm.arbitrators.herDates = [this.timeData];
|
|
||||||
this.subnitForm.arbitrators.id = this.formData.id;
|
this.subnitForm.arbitrators.id = this.formData.id;
|
||||||
this.subnitForm.arbitrators.miniProgressFlag = 1;
|
this.subnitForm.arbitrators.miniProgressFlag = 1;
|
||||||
updateBooking(this.subnitForm.arbitrators).then(res => {
|
updateBooking(this.subnitForm.arbitrators).then(res => {
|
||||||
|
|||||||
@@ -22,7 +22,7 @@
|
|||||||
申请人姓名:
|
申请人姓名:
|
||||||
</view>
|
</view>
|
||||||
<view class="main">
|
<view class="main">
|
||||||
{{defalutVal.applicationOrganName}}
|
{{defalutVal.applicationName}}
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="listItem" style="margin-top:22rpx">
|
<view class="listItem" style="margin-top:22rpx">
|
||||||
|
|||||||
Reference in New Issue
Block a user