瀏覽代碼

修改测试bug

gyj 2 年之前
父節點
當前提交
2b4973d00a

+ 1
- 1
pages/handlecase/component/list.vue 查看文件

@@ -53,7 +53,7 @@
53 53
 			<button class="btnItem" type="primary" size="mini" @tap="caseDetail">选择调解员</button> -->
54 54
 			<button class="btnItem" type="primary" @tap="clickType(item.id)" size="mini" v-for="(item) in buttonList"
55 55
 				:key="item.id"
56
-				v-if="item.id == defalutVal.caseFlowId && checkPermi([item.buttonAuthFlag])">{{ item.nodeName }}</button>
56
+				v-if="item.id == defalutVal.caseFlowId && checkPermi([item.buttonAuthFlag])&& (defalutVal.appOperatorFlag == 1 || defalutVal.resOperatorFlag == 1 || defalutVal.otherFlag == 1)">{{ item.nodeName }}</button>
57 57
 			<!-- <button class="btnItem" type="primary" size="mini" @tap="confirmationEvidence">确认证据</button>
58 58
 			<button class="btnItem" type="primary" size="mini" @tap="isAssignrbitrators">是否指派仲裁员</button>
59 59
 			<button class="btnItem" type="primary" size="mini" @tap="isAssignrbitrators">是否指派仲裁员</button>

+ 13
- 12
pages/handlecase/component/newlyAddedCase.vue 查看文件

@@ -243,6 +243,7 @@ import constant from '../../../utils/constant.js'
243 243
 				formZipData: {},
244 244
 				formData: {
245 245
 					organizeFlag: 0,
246
+					caseSource:"YC",
246 247
 					// affiliate: {
247 248
 					// 	roleType:1,	
248 249
 					// 	respondentSex: 0,
@@ -264,7 +265,7 @@ import constant from '../../../utils/constant.js'
264 265
 									birth: "",
265 266
 									sex: "",
266 267
 									group_order: 1,
267
-									operatorFlag:1
268
+									operatorFlag:0
268 269
 								},
269 270
 								applicantAgent:{
270 271
 									roleType:2,
@@ -280,12 +281,12 @@ import constant from '../../../utils/constant.js'
280 281
 									nationality:1,
281 282
 									birth:"",
282 283
 									sex:"",
283
-									operatorFlag:1
284
+									operatorFlag:0
284 285
 								}	
285 286
 							}],
286 287
 							res:[{
287 288
 								res:{
288
-									roleType: 1,
289
+									roleType: 3,
289 290
 									name: "",
290 291
 									idCard: "",
291 292
 									code: "",
@@ -299,10 +300,10 @@ import constant from '../../../utils/constant.js'
299 300
 									birth: "",
300 301
 									sex: "",
301 302
 									group_order: 1,
302
-									operatorFlag:1
303
+									operatorFlag:0
303 304
 								},
304 305
 								resAgent:{
305
-									roleType: 1,
306
+									roleType: 4,
306 307
 									name: "",
307 308
 									idCard: "",
308 309
 									code: "",
@@ -316,7 +317,7 @@ import constant from '../../../utils/constant.js'
316 317
 									birth: "",
317 318
 									sex: "",
318 319
 									group_order: 1,
319
-									operatorFlag:1
320
+									operatorFlag:0
320 321
 								}
321 322
 							}]
322 323
 					},
@@ -814,7 +815,7 @@ import constant from '../../../utils/constant.js'
814 815
 						birth: "",
815 816
 						sex: "",
816 817
 						group_order: 1,
817
-						operatorFlag:1
818
+						operatorFlag:0
818 819
 					},
819 820
 					applicantAgent:{
820 821
 						roleType:2,
@@ -830,7 +831,7 @@ import constant from '../../../utils/constant.js'
830 831
 						nationality:1,
831 832
 						birth:"",
832 833
 						sex:"",
833
-						operatorFlag:1
834
+						operatorFlag:0
834 835
 					}
835 836
 				})
836 837
 				let idnexVal = ""
@@ -859,7 +860,7 @@ import constant from '../../../utils/constant.js'
859 860
 			addRespondent(){
860 861
 				this.formData.affiliate.res.push({
861 862
 					res:{
862
-						roleType: 1,
863
+						roleType: 3,
863 864
 						name: "",
864 865
 						idCard: "",
865 866
 						code: "",
@@ -873,10 +874,10 @@ import constant from '../../../utils/constant.js'
873 874
 						birth: "",
874 875
 						sex: "",
875 876
 						group_order: 1,
876
-						operatorFlag:1
877
+						operatorFlag:0
877 878
 					},
878 879
 					resAgent:{
879
-						roleType: 1,
880
+						roleType: 4,
880 881
 						name: "",
881 882
 						idCard: "",
882 883
 						code: "",
@@ -890,7 +891,7 @@ import constant from '../../../utils/constant.js'
890 891
 						birth: "",
891 892
 						sex: "",
892 893
 						group_order: 1,
893
-						operatorFlag:1
894
+						operatorFlag:0
894 895
 					}
895 896
 				})
896 897
 			},

+ 16
- 6
pages/handlecase/component/payList.vue 查看文件

@@ -6,11 +6,11 @@
6 6
 					<uni-easyinput :inputBorder="false" :disabled='true' v-model="formData.caseNum" placeholder="" />
7 7
 				</uni-forms-item>
8 8
 				<uni-forms-item label="申请人:" name="applicantName" label-width="120px" required>
9
-					<uni-easyinput :inputBorder="false" :disabled='true' v-model="affiliate.applicationName"
9
+					<uni-easyinput :inputBorder="false" :disabled='true' v-model="affiliate.name"
10 10
 						placeholder="" />
11 11
 				</uni-forms-item>
12 12
 				<uni-forms-item label="被申请人:" name="respondentName" label-width="120px" required>
13
-					<uni-easyinput :inputBorder="false" :disabled='true' v-model="affiliate.respondentName"
13
+					<uni-easyinput :inputBorder="false" :disabled='true' v-model="affiliateRes.name"
14 14
 						placeholder="" />
15 15
 				</uni-forms-item>
16 16
 				<!-- <uni-forms-item label="案件标的:" name="caseSubjectAmount" label-width="120px" required>
@@ -63,7 +63,8 @@
63 63
 		data() {
64 64
 			return {
65 65
 				formData: {},
66
-				affiliate:{},
66
+				affiliate:{},
67
+				affiliateRes:{},
67 68
 				selectFlag: false,
68 69
 				rules: {},
69 70
 				payPlatforms: [{
@@ -100,8 +101,18 @@
100 101
 			getData(parms) {
101 102
 				selectById(parms).then(res => {
102 103
 					this.formData = res.data
103
-					this.affiliate = res.data.affiliate
104
-					console.log(this.formData)
104
+					res.data.affiliate.applicant.forEach((item,index) =>{
105
+						if(item.applicant!=null){
106
+						this.affiliate = {name:item.applicant.name}	
107
+						}
108
+						
109
+					})
110
+					res.data.affiliate.applicant.forEach((item,index) =>{
111
+						if(item.res!=null){
112
+							this.affiliateRes = {name:item.res.name}
113
+						}
114
+						
115
+					})
105 116
 					if(this.dataType.type==4){
106 117
 						this.formDataVal ={
107 118
 							annexType: 4,
@@ -160,7 +171,6 @@
160 171
 							annexId: data.annexId,
161 172
 							annexName: data.fileName
162 173
 						});
163
-						// console.log(this.submitForm, "OOOOOOOOOOOOOOOOOOOOOOOOO");
164 174
 						uni.showToast({
165 175
 							title: '上传成功',
166 176
 							icon: 'none',

+ 2
- 1
pages/handlecase/index.vue 查看文件

@@ -29,7 +29,7 @@
29 29
 			return {
30 30
 				caseList: [],
31 31
 				pageNum: 1,
32
-				pageSize: 10,
32
+				pageSize: 50,
33 33
 				sysType: null,
34 34
 				total: null,
35 35
 				buttonList: []
@@ -127,6 +127,7 @@
127 127
 							this.caseList = []
128 128
 						}
129 129
 					})
130
+					
130 131
 				}
131 132
 
132 133
 			},