Browse Source

修改测试bug

gyj 2 years ago
parent
commit
2b4973d00a

+ 1
- 1
pages/handlecase/component/list.vue View File

53
 			<button class="btnItem" type="primary" size="mini" @tap="caseDetail">选择调解员</button> -->
53
 			<button class="btnItem" type="primary" size="mini" @tap="caseDetail">选择调解员</button> -->
54
 			<button class="btnItem" type="primary" @tap="clickType(item.id)" size="mini" v-for="(item) in buttonList"
54
 			<button class="btnItem" type="primary" @tap="clickType(item.id)" size="mini" v-for="(item) in buttonList"
55
 				:key="item.id"
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
 			<!-- <button class="btnItem" type="primary" size="mini" @tap="confirmationEvidence">确认证据</button>
57
 			<!-- <button class="btnItem" type="primary" size="mini" @tap="confirmationEvidence">确认证据</button>
58
 			<button class="btnItem" type="primary" size="mini" @tap="isAssignrbitrators">是否指派仲裁员</button>
58
 			<button class="btnItem" type="primary" size="mini" @tap="isAssignrbitrators">是否指派仲裁员</button>
59
 			<button class="btnItem" type="primary" size="mini" @tap="isAssignrbitrators">是否指派仲裁员</button>
59
 			<button class="btnItem" type="primary" size="mini" @tap="isAssignrbitrators">是否指派仲裁员</button>

+ 13
- 12
pages/handlecase/component/newlyAddedCase.vue View File

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

+ 16
- 6
pages/handlecase/component/payList.vue View File

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

+ 2
- 1
pages/handlecase/index.vue View File

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