Kaynağa Gözat

Merge branch 'dev' of http://git.xayunmei.com/SH-Arbitrate/miniapp into gyj

gyj 2 yıl önce
ebeveyn
işleme
b453630387

+ 52
- 47
pages/handlecase/component/confirmPayment.vue Dosyayı Görüntüle

16
 						<uni-link v-if="item.annexType==4" :href="item.annexPath" color="#007BFF"
16
 						<uni-link v-if="item.annexType==4" :href="item.annexPath" color="#007BFF"
17
 							:text="item.annexName"></uni-link>
17
 							:text="item.annexName"></uni-link>
18
 					</view>
18
 					</view>
19
-				</uni-forms-item>	
19
+				</uni-forms-item>
20
 				<uni-forms-item label="被申请人缴费:" name="feePayable" label-width="100px" v-if="annexTypeB">
20
 				<uni-forms-item label="被申请人缴费:" name="feePayable" label-width="100px" v-if="annexTypeB">
21
 					<view v-for="item in formData.caseAttachList">
21
 					<view v-for="item in formData.caseAttachList">
22
 						<uni-link v-if="item.annexType==9" :href="item.annexPath" color="#007BFF"
22
 						<uni-link v-if="item.annexType==9" :href="item.annexPath" color="#007BFF"
24
 					</view>
24
 					</view>
25
 				</uni-forms-item>
25
 				</uni-forms-item>
26
 				<uni-forms-item label="是否缴费通过" label-width="120px" name="yesOrNo">
26
 				<uni-forms-item label="是否缴费通过" label-width="120px" name="yesOrNo">
27
-					<uni-data-checkbox class='checkbox' 
28
-						:localdata="yesOrNoObject"
29
-						v-model="yesOrNo"
27
+					<uni-data-checkbox class='checkbox' :localdata="yesOrNoObject" v-model="yesOrNo"
30
 						@change='clearValidate'></uni-data-checkbox>
28
 						@change='clearValidate'></uni-data-checkbox>
31
 				</uni-forms-item>
29
 				</uni-forms-item>
32
 				<uni-forms-item label="驳回原因:" name="reason" label-width="120px" required v-if="refusedisabled"
30
 				<uni-forms-item label="驳回原因:" name="reason" label-width="120px" required v-if="refusedisabled"
44
 				@tap="cencalBut">取消</button>
42
 				@tap="cencalBut">取消</button>
45
 			</view>
43
 			</view>
46
 		</view>
44
 		</view>
47
-	</view>
48
-</template>
49
-
45
+	</view>
46
+</template>
47
+
50
 <script>
48
 <script>
51
-	import {selectPaymentDetail,confirmPaid,resConfirmPaid} from '../../../api/handlecase/index.js'
49
+	import {
50
+		selectPaymentDetail,
51
+		confirmPaid,
52
+		resConfirmPaid
53
+	} from '../../../api/handlecase/index.js'
52
 	export default {
54
 	export default {
53
 		data() {
55
 		data() {
54
 			return {
56
 			return {
55
-				yesOrNo:1,
56
-				formData:{
57
-					reason:""
57
+				yesOrNo: 1,
58
+				formData: {
59
+					reason: ""
58
 				},
60
 				},
59
-				rules:{},
60
-				paymentConfirm:{},
61
-				annexTypeS:false,
62
-				annexTypeB:false,
61
+				rules: {},
62
+				paymentConfirm: {},
63
+				annexTypeS: false,
64
+				annexTypeB: false,
63
 				yesOrNoObject: [{
65
 				yesOrNoObject: [{
64
 					text: '同意',
66
 					text: '同意',
65
 					value: 1
67
 					value: 1
67
 					text: '拒绝',
69
 					text: '拒绝',
68
 					value: 0
70
 					value: 0
69
 				}],
71
 				}],
70
-				refusedisabled:false
72
+				refusedisabled: false
71
 			}
73
 			}
72
 		},
74
 		},
73
 		methods:{
75
 		methods:{
84
 				})
86
 				})
85
 			},
87
 			},
86
 			// 申请人确认缴费
88
 			// 申请人确认缴费
87
-			confirmPaymentApplicant(){
89
+			confirmPaymentApplicant() {
88
 				let vals = {
90
 				let vals = {
89
-					caseId:this.paymentConfirm.id,
90
-					batchNumber:"",
91
-					caseFlowId:this.paymentConfirm.caseFlowId,
92
-					yesOrNo:this.yesOrNo,
93
-					reason:this.formData.reason
91
+					caseId: this.paymentConfirm.id,
92
+					batchNumber: "",
93
+					caseFlowId: this.paymentConfirm.caseFlowId,
94
+					yesOrNo: this.yesOrNo,
95
+					reason: this.formData.reason
94
 				}
96
 				}
95
-				confirmPaid(vals).then(res =>{
97
+				confirmPaid(vals).then(res => {
96
 					uni.showToast({
98
 					uni.showToast({
97
 						title: '申请人缴费确认成功',
99
 						title: '申请人缴费确认成功',
98
 						icon: 'none',
100
 						icon: 'none',
104
 				})
106
 				})
105
 			},
107
 			},
106
 			// 被申请人缴费确认
108
 			// 被申请人缴费确认
107
-			confirmPaymentRespondent(){
109
+			confirmPaymentRespondent() {
108
 				let vals = {
110
 				let vals = {
109
-					caseId:this.paymentConfirm.id,
110
-					batchNumber:"",
111
-					caseFlowId:this.paymentConfirm.caseFlowId,
112
-					yesOrNo:this.yesOrNo,
113
-					reason:this.formData.reason
111
+					caseId: this.paymentConfirm.id,
112
+					batchNumber: "",
113
+					caseFlowId: this.paymentConfirm.caseFlowId,
114
+					yesOrNo: this.yesOrNo,
115
+					reason: this.formData.reason
114
 				}
116
 				}
115
-				resConfirmPaid(vals).then(res =>{
117
+				resConfirmPaid(vals).then(res => {
116
 					uni.showToast({
118
 					uni.showToast({
117
 						title: '被申请人缴费确认成功',
119
 						title: '被申请人缴费确认成功',
118
 						icon: 'none',
120
 						icon: 'none',
125
 			},
127
 			},
126
 			// 缴费详情
128
 			// 缴费详情
127
 			paymentDetails(val) {
129
 			paymentDetails(val) {
128
-			    selectPaymentDetail(val).then(res => {
129
-			        this.formData = res.data;
130
-					this.formData.caseAttachList.forEach(res =>{
131
-						if(res.annexType==4){
130
+				selectPaymentDetail(val).then(res => {
131
+					this.formData = res.data;
132
+					this.formData.caseAttachList.forEach(res => {
133
+						if (res.annexType == 4) {
132
 							this.annexTypeS = true
134
 							this.annexTypeS = true
133
-						}else if(res.annexType==9){
135
+						} else if (res.annexType == 9) {
134
 							this.annexTypeB = true
136
 							this.annexTypeB = true
135
 						}
137
 						}
136
 					})
138
 					})
137
-			    })
138
-			}, 
139
-			clearValidate(val){
140
-				 this.yesOrNo=val.detail.value
141
-				if(val.detail.value==0){
139
+				})
140
+			},
141
+			clearValidate(val) {
142
+				this.yesOrNo = val.detail.value
143
+				if (val.detail.value == 0) {
142
 					this.refusedisabled = true
144
 					this.refusedisabled = true
143
-				}else{
145
+				} else {
144
 					this.refusedisabled = false
146
 					this.refusedisabled = false
145
 				}
147
 				}
146
 			}
148
 			}
147
 		},
149
 		},
148
 		onLoad(data) {
150
 		onLoad(data) {
149
 			this.paymentConfirm = data
151
 			this.paymentConfirm = data
150
-			this.paymentDetails({id:data.id})
152
+			this.paymentDetails({
153
+				id: data.id
154
+			})
151
 		}
155
 		}
152
-	}
153
-</script>
154
-
156
+	}
157
+</script>
158
+
155
 <style lang="scss">
159
 <style lang="scss">
156
 	page {
160
 	page {
157
 		background-color: #ffffff;
161
 		background-color: #ffffff;
158
 	}
162
 	}
159
-	.assignrbitrators{
163
+
164
+	.assignrbitrators {
160
 		margin: 30rpx;
165
 		margin: 30rpx;
161
-	}
166
+	}
162
 </style>
167
 </style>

+ 3
- 2
pages/handlecase/index.vue Dosyayı Görüntüle

3
 		<view class="" v-if="sysType == 2">
3
 		<view class="" v-if="sysType == 2">
4
 			<button type="primary" @tap="newlyAddedCases"  v-if="checkPermi(['caseManagement:list:add'])">新增案件</button>
4
 			<button type="primary" @tap="newlyAddedCases"  v-if="checkPermi(['caseManagement:list:add'])">新增案件</button>
5
 		</view>
5
 		</view>
6
-		<List class="caseList" v-for="(item,index) in caseList" :defalutVal='item' :buttonList='buttonList' :key="index"
7
-			:sysType='sysType'>
6
+		<List class="caseList" @pDeleteCase='deleteCase' v-for="(item,index) in caseList" :defalutVal='item'
7
+			:buttonList='buttonList' :key="index" :sysType='sysType'>
8
 		</List>
8
 		</List>
9
 		<view class="emptyBox" v-if="caseList.length == 0">
9
 		<view class="emptyBox" v-if="caseList.length == 0">
10
 			<luanqing-empty :show="true" textColor="#000"></luanqing-empty>
10
 			<luanqing-empty :show="true" textColor="#000"></luanqing-empty>
51
 			},
51
 			},
52
 			getList(parms) {
52
 			getList(parms) {
53
 				console.log(111)
53
 				console.log(111)
54
+				this.caseList = [];
54
 				if (this.sysType == 1) {
55
 				if (this.sysType == 1) {
55
 					respondentList(parms).then(res => {
56
 					respondentList(parms).then(res => {
56
 						// this.caseList = res.rows;
57
 						// this.caseList = res.rows;

+ 1
- 1
unpackage/dist/dev/.sourcemap/mp-weixin/common/main.js.map
Dosya farkı çok büyük olduğundan ihmal edildi
Dosyayı Görüntüle


+ 1
- 1
unpackage/dist/dev/.sourcemap/mp-weixin/common/vendor.js.map
Dosya farkı çok büyük olduğundan ihmal edildi
Dosyayı Görüntüle


+ 1
- 1
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-icons/components/uni-icons/uni-icons.js.map
Dosya farkı çok büyük olduğundan ihmal edildi
Dosyayı Görüntüle