0222bug
This commit is contained in:
@@ -6,7 +6,8 @@
|
||||
<uni-easyinput v-model="formData.caseNum" type="text" :disabled='true' placeholder="请输入案件编号" />
|
||||
</uni-forms-item>
|
||||
<uni-forms-item label="案件标的:" name="caseSubjectAmount" label-width="80px">
|
||||
<uni-easyinput v-model="formData.caseSubjectAmount" type="text" :disabled='true' placeholder="请输入案件标的" />
|
||||
<uni-easyinput v-model="formData.caseSubjectAmount" type="text" :disabled='true'
|
||||
placeholder="请输入案件标的" />
|
||||
</uni-forms-item>
|
||||
<uni-forms-item label="缴费金额:" name="feePayable" label-width="80px">
|
||||
<uni-easyinput v-model="formData.feePayable" type="text" :disabled='true' placeholder="请输入缴费金额" />
|
||||
@@ -24,42 +25,40 @@
|
||||
</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"
|
||||
:rules="[{'required': true,errorMessage: '驳回原因不能为空'}]"
|
||||
>
|
||||
<uni-easyinput v-model="formData.reason" type="textarea" placeholder="请输入驳回原因" />
|
||||
:rules="[{'required': true,errorMessage: '驳回原因不能为空'}]">
|
||||
<uni-easyinput v-model="formData.reason" type="textarea" placeholder="请输入驳回原因" />
|
||||
</uni-forms-item>
|
||||
</uni-forms>
|
||||
<view class="determine" style="text-align: center;">
|
||||
<button class="mini-btn"
|
||||
type="primary" size="mini"
|
||||
@tap="confirmPayment">确认缴费</button>
|
||||
<button style="margin-left:30rpx;" class="mini-btn"
|
||||
type="default" size="mini"
|
||||
@tap="cencalBut">取消</button>
|
||||
<button class="mini-btn" type="primary" size="mini" @tap="confirmPayment">确认缴费</button>
|
||||
<button style="margin-left:30rpx;" class="mini-btn" type="default" size="mini"
|
||||
@tap="cencalBut">取消</button>
|
||||
</view>
|
||||
</view>
|
||||
</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,32 +66,32 @@
|
||||
text: '拒绝',
|
||||
value: 0
|
||||
}],
|
||||
refusedisabled:false
|
||||
refusedisabled: false
|
||||
}
|
||||
},
|
||||
methods:{
|
||||
confirmPayment(){
|
||||
this.$refs.form.validate().then(res=>{
|
||||
if(this.paymentConfirm.caseFlowId==3){
|
||||
this.confirmPaymentApplicant()
|
||||
}else if(this.paymentConfirm.caseFlowId==44){
|
||||
this.confirmPaymentRespondent()
|
||||
}
|
||||
console.log(this.paymentConfirm.caseFlowId)
|
||||
}).catch(err =>{
|
||||
methods: {
|
||||
confirmPayment() {
|
||||
this.$refs.form.validate().then(res => {
|
||||
if (this.paymentConfirm.caseFlowId == 3) {
|
||||
this.confirmPaymentApplicant()
|
||||
} else if (this.paymentConfirm.caseFlowId == 45) {
|
||||
this.confirmPaymentRespondent()
|
||||
}
|
||||
console.log(this.paymentConfirm.caseFlowId)
|
||||
}).catch(err => {
|
||||
|
||||
})
|
||||
},
|
||||
// 申请人确认缴费
|
||||
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 +103,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,29 +124,31 @@
|
||||
},
|
||||
// 缴费详情
|
||||
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>
|
||||
@@ -156,7 +157,8 @@
|
||||
page {
|
||||
background-color: #ffffff;
|
||||
}
|
||||
.assignrbitrators{
|
||||
|
||||
.assignrbitrators {
|
||||
margin: 30rpx;
|
||||
}
|
||||
</style>
|
||||
@@ -3,8 +3,8 @@
|
||||
<view class="" v-if="sysType == 2">
|
||||
<button type="primary" @tap="newlyAddedCases">新增案件</button>
|
||||
</view>
|
||||
<List class="caseList" @pDeleteCase='deleteCase' 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>
|
||||
@@ -52,6 +52,7 @@
|
||||
},
|
||||
getList(parms) {
|
||||
console.log(111)
|
||||
this.caseList = [];
|
||||
if (this.sysType == 1) {
|
||||
respondentList(parms).then(res => {
|
||||
// this.caseList = res.rows;
|
||||
@@ -130,8 +131,8 @@
|
||||
}
|
||||
|
||||
},
|
||||
deleteCase(objValue){
|
||||
caseDelete(objValue).then(res =>{
|
||||
deleteCase(objValue) {
|
||||
caseDelete(objValue).then(res => {
|
||||
uni.showToast({
|
||||
title: '删除成功',
|
||||
icon: 'none',
|
||||
|
||||
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
Vendored
+1
-1
File diff suppressed because one or more lines are too long
+1
@@ -6,6 +6,7 @@
|
||||
"pages/work/index",
|
||||
"pages/handlecase/index",
|
||||
"pages/handlecase/component/uploadEvidence",
|
||||
"pages/handlecase/component/confirmPayment",
|
||||
"pages/handlecase/component/payList",
|
||||
"pages/handlecase/component/evidenceList",
|
||||
"pages/handlecase/component/obligations",
|
||||
|
||||
Reference in New Issue
Block a user