diff --git a/config.js b/config.js
index 0cba4a5..12f4bff 100644
--- a/config.js
+++ b/config.js
@@ -8,7 +8,7 @@ module.exports = {
baseUrlTJ: 'https://api.xayunmei.com/tiaojieapitest',
// baseUrlTJ:'https://api.xayunmei.com/tiaojieapi',
// 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://localhost:8080',
// baseUrl: 'http://192.168.3.18:9001',
diff --git a/pages/handlecase/component/list.vue b/pages/handlecase/component/list.vue
index 50c767f..7aeab94 100644
--- a/pages/handlecase/component/list.vue
+++ b/pages/handlecase/component/list.vue
@@ -21,7 +21,7 @@
申请人姓名:
- {{defalutVal.applicationOrganName}}
+ {{defalutVal.applicationName}}
diff --git a/pages/handlecase/component/uploadEvidence.vue b/pages/handlecase/component/uploadEvidence.vue
index 317eded..78aff65 100644
--- a/pages/handlecase/component/uploadEvidence.vue
+++ b/pages/handlecase/component/uploadEvidence.vue
@@ -97,7 +97,7 @@
+ v-model="formData.affiliate.applicationName" placeholder="" />
-->
-
-
-
-
-
@@ -381,7 +375,6 @@
}],
items: [],
sysType: null,
- timeData: null,
mediatorList: []
}
},
@@ -434,20 +427,20 @@
// }
// },
checkboxChange(e) {
- let params = parseInt(e.detail.value);
+ let params = e.detail.value;
+ params = params.map(Number);
this.mediatorList = e.detail.value;
- let result = "";
- this.items.forEach(item => {
- if (item.mediatorId == params) {
- result = {
- userId: item.mediatorId,
- userName: item.mediatorName
- }
- }
- })
+ let result = this.items.filter(element => params.includes(element.mediatorId));
+ let userListArr = result.map(({
+ mediatorId,
+ mediatorName
+ }) => ({
+ mediatorId: mediatorId,
+ mediatorName: mediatorName
+ }));
let arbitrators = {
caseFlowId: this.formData.caseFlowId,
- userList: [result],
+ mediatorList: userListArr,
};
this.subnitForm.arbitrators = arbitrators;
console.log(this.subnitForm.arbitrators, "PPPPPPPPPPPPPP");
@@ -539,17 +532,9 @@
},
submitImg() {
if (this.sysType == 2) {
- if (this.mediatorList.length > 1) {
+ if (this.mediatorList.length > 3) {
uni.showToast({
- title: '只能选择一个调解员',
- icon: 'none',
- duration: 1000
- })
- return
- }
- if (!this.timeData) {
- uni.showToast({
- title: '请选择时间',
+ title: '最多选择三个调解员',
icon: 'none',
duration: 1000
})
@@ -573,15 +558,15 @@
} else if (this.sysType == 2) {
// TODO
// 调解提交
- if (this.mediatorList.length > 1) {
+ if (this.mediatorList.length > 3) {
+ debugger
uni.showToast({
- title: '只能选择一个调解员',
+ title: '最多选择三个调解员',
icon: 'none',
duration: 1000
})
return
}
- this.subnitForm.arbitrators.herDates = [this.timeData];
this.subnitForm.arbitrators.id = this.formData.id;
this.subnitForm.arbitrators.miniProgressFlag = 1;
updateBooking(this.subnitForm.arbitrators).then(res => {
diff --git a/pages/im/component/imList.vue b/pages/im/component/imList.vue
index 725ff0a..e0cbe14 100644
--- a/pages/im/component/imList.vue
+++ b/pages/im/component/imList.vue
@@ -22,7 +22,7 @@
申请人姓名:
- {{defalutVal.applicationOrganName}}
+ {{defalutVal.applicationName}}