This commit is contained in:
gyj
2024-02-23 14:11:03 +08:00
5 changed files with 58 additions and 52 deletions
+52 -47
View File
@@ -16,7 +16,7 @@
<uni-link v-if="item.annexType==4" :href="item.annexPath" color="#007BFF"
:text="item.annexName"></uni-link>
</view>
</uni-forms-item>
</uni-forms-item>
<uni-forms-item label="被申请人缴费:" name="feePayable" label-width="100px" v-if="annexTypeB">
<view v-for="item in formData.caseAttachList">
<uni-link v-if="item.annexType==9" :href="item.annexPath" color="#007BFF"
@@ -24,9 +24,7 @@
</view>
</uni-forms-item>
<uni-forms-item label="是否缴费通过" label-width="120px" name="yesOrNo">
<uni-data-checkbox class='checkbox'
:localdata="yesOrNoObject"
v-model="yesOrNo"
<uni-data-checkbox class='checkbox' :localdata="yesOrNoObject" v-model="yesOrNo"
@change='clearValidate'></uni-data-checkbox>
</uni-forms-item>
<uni-forms-item label="驳回原因:" name="reason" label-width="120px" required v-if="refusedisabled"
@@ -44,22 +42,26 @@
@tap="cencalBut">取消</button>
</view>
</view>
</view>
</template>
</view>
</template>
<script>
import {selectPaymentDetail,confirmPaid,resConfirmPaid} from '../../../api/handlecase/index.js'
import {
selectPaymentDetail,
confirmPaid,
resConfirmPaid
} from '../../../api/handlecase/index.js'
export default {
data() {
return {
yesOrNo:1,
formData:{
reason:""
yesOrNo: 1,
formData: {
reason: ""
},
rules:{},
paymentConfirm:{},
annexTypeS:false,
annexTypeB:false,
rules: {},
paymentConfirm: {},
annexTypeS: false,
annexTypeB: false,
yesOrNoObject: [{
text: '同意',
value: 1
@@ -67,7 +69,7 @@
text: '拒绝',
value: 0
}],
refusedisabled:false
refusedisabled: false
}
},
methods:{
@@ -84,15 +86,15 @@
})
},
// 申请人确认缴费
confirmPaymentApplicant(){
confirmPaymentApplicant() {
let vals = {
caseId:this.paymentConfirm.id,
batchNumber:"",
caseFlowId:this.paymentConfirm.caseFlowId,
yesOrNo:this.yesOrNo,
reason:this.formData.reason
caseId: this.paymentConfirm.id,
batchNumber: "",
caseFlowId: this.paymentConfirm.caseFlowId,
yesOrNo: this.yesOrNo,
reason: this.formData.reason
}
confirmPaid(vals).then(res =>{
confirmPaid(vals).then(res => {
uni.showToast({
title: '申请人缴费确认成功',
icon: 'none',
@@ -104,15 +106,15 @@
})
},
// 被申请人缴费确认
confirmPaymentRespondent(){
confirmPaymentRespondent() {
let vals = {
caseId:this.paymentConfirm.id,
batchNumber:"",
caseFlowId:this.paymentConfirm.caseFlowId,
yesOrNo:this.yesOrNo,
reason:this.formData.reason
caseId: this.paymentConfirm.id,
batchNumber: "",
caseFlowId: this.paymentConfirm.caseFlowId,
yesOrNo: this.yesOrNo,
reason: this.formData.reason
}
resConfirmPaid(vals).then(res =>{
resConfirmPaid(vals).then(res => {
uni.showToast({
title: '被申请人缴费确认成功',
icon: 'none',
@@ -125,38 +127,41 @@
},
// 缴费详情
paymentDetails(val) {
selectPaymentDetail(val).then(res => {
this.formData = res.data;
this.formData.caseAttachList.forEach(res =>{
if(res.annexType==4){
selectPaymentDetail(val).then(res => {
this.formData = res.data;
this.formData.caseAttachList.forEach(res => {
if (res.annexType == 4) {
this.annexTypeS = true
}else if(res.annexType==9){
} else if (res.annexType == 9) {
this.annexTypeB = true
}
})
})
},
clearValidate(val){
this.yesOrNo=val.detail.value
if(val.detail.value==0){
})
},
clearValidate(val) {
this.yesOrNo = val.detail.value
if (val.detail.value == 0) {
this.refusedisabled = true
}else{
} else {
this.refusedisabled = false
}
}
},
onLoad(data) {
this.paymentConfirm = data
this.paymentDetails({id:data.id})
this.paymentDetails({
id: data.id
})
}
}
</script>
}
</script>
<style lang="scss">
page {
background-color: #ffffff;
}
.assignrbitrators{
.assignrbitrators {
margin: 30rpx;
}
}
</style>
+3 -2
View File
@@ -3,8 +3,8 @@
<view class="" v-if="sysType == 2">
<button type="primary" @tap="newlyAddedCases" v-if="checkPermi(['caseManagement:list:add'])">新增案件</button>
</view>
<List class="caseList" v-for="(item,index) in caseList" :defalutVal='item' :buttonList='buttonList' :key="index"
:sysType='sysType'>
<List class="caseList" @pDeleteCase='deleteCase' v-for="(item,index) in caseList" :defalutVal='item'
:buttonList='buttonList' :key="index" :sysType='sysType'>
</List>
<view class="emptyBox" v-if="caseList.length == 0">
<luanqing-empty :show="true" textColor="#000"></luanqing-empty>
@@ -51,6 +51,7 @@
},
getList(parms) {
console.log(111)
this.caseList = [];
if (this.sysType == 1) {
respondentList(parms).then(res => {
// this.caseList = res.rows;
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long