0222bug
This commit is contained in:
@@ -6,7 +6,8 @@
|
|||||||
<uni-easyinput v-model="formData.caseNum" type="text" :disabled='true' placeholder="请输入案件编号" />
|
<uni-easyinput v-model="formData.caseNum" type="text" :disabled='true' placeholder="请输入案件编号" />
|
||||||
</uni-forms-item>
|
</uni-forms-item>
|
||||||
<uni-forms-item label="案件标的:" name="caseSubjectAmount" label-width="80px">
|
<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>
|
||||||
<uni-forms-item label="缴费金额:" name="feePayable" label-width="80px">
|
<uni-forms-item label="缴费金额:" name="feePayable" label-width="80px">
|
||||||
<uni-easyinput v-model="formData.feePayable" type="text" :disabled='true' placeholder="请输入缴费金额" />
|
<uni-easyinput v-model="formData.feePayable" type="text" :disabled='true' placeholder="请输入缴费金额" />
|
||||||
@@ -24,23 +25,17 @@
|
|||||||
</view>
|
</view>
|
||||||
</uni-forms-item>
|
</uni-forms-item>
|
||||||
<uni-forms-item label="是否缴费通过" label-width="120px" name="yesOrNo">
|
<uni-forms-item label="是否缴费通过" label-width="120px" name="yesOrNo">
|
||||||
<uni-data-checkbox class='checkbox'
|
<uni-data-checkbox class='checkbox' :localdata="yesOrNoObject" v-model="yesOrNo"
|
||||||
:localdata="yesOrNoObject"
|
|
||||||
v-model="yesOrNo"
|
|
||||||
@change='clearValidate'></uni-data-checkbox>
|
@change='clearValidate'></uni-data-checkbox>
|
||||||
</uni-forms-item>
|
</uni-forms-item>
|
||||||
<uni-forms-item label="驳回原因:" name="reason" label-width="120px" required v-if="refusedisabled"
|
<uni-forms-item label="驳回原因:" name="reason" label-width="120px" required v-if="refusedisabled"
|
||||||
:rules="[{'required': true,errorMessage: '驳回原因不能为空'}]"
|
:rules="[{'required': true,errorMessage: '驳回原因不能为空'}]">
|
||||||
>
|
|
||||||
<uni-easyinput v-model="formData.reason" type="textarea" placeholder="请输入驳回原因" />
|
<uni-easyinput v-model="formData.reason" type="textarea" placeholder="请输入驳回原因" />
|
||||||
</uni-forms-item>
|
</uni-forms-item>
|
||||||
</uni-forms>
|
</uni-forms>
|
||||||
<view class="determine" style="text-align: center;">
|
<view class="determine" style="text-align: center;">
|
||||||
<button class="mini-btn"
|
<button class="mini-btn" type="primary" size="mini" @tap="confirmPayment">确认缴费</button>
|
||||||
type="primary" size="mini"
|
<button style="margin-left:30rpx;" class="mini-btn" type="default" size="mini"
|
||||||
@tap="confirmPayment">确认缴费</button>
|
|
||||||
<button style="margin-left:30rpx;" class="mini-btn"
|
|
||||||
type="default" size="mini"
|
|
||||||
@tap="cencalBut">取消</button>
|
@tap="cencalBut">取消</button>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@@ -48,18 +43,22 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {selectPaymentDetail,confirmPaid,resConfirmPaid} from '../../../api/handlecase/index.js'
|
import {
|
||||||
|
selectPaymentDetail,
|
||||||
|
confirmPaid,
|
||||||
|
resConfirmPaid
|
||||||
|
} from '../../../api/handlecase/index.js'
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
yesOrNo:1,
|
yesOrNo: 1,
|
||||||
formData:{
|
formData: {
|
||||||
reason:""
|
reason: ""
|
||||||
},
|
},
|
||||||
rules:{},
|
rules: {},
|
||||||
paymentConfirm:{},
|
paymentConfirm: {},
|
||||||
annexTypeS:false,
|
annexTypeS: false,
|
||||||
annexTypeB:false,
|
annexTypeB: false,
|
||||||
yesOrNoObject: [{
|
yesOrNoObject: [{
|
||||||
text: '同意',
|
text: '同意',
|
||||||
value: 1
|
value: 1
|
||||||
@@ -67,32 +66,32 @@
|
|||||||
text: '拒绝',
|
text: '拒绝',
|
||||||
value: 0
|
value: 0
|
||||||
}],
|
}],
|
||||||
refusedisabled:false
|
refusedisabled: false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods:{
|
methods: {
|
||||||
confirmPayment(){
|
confirmPayment() {
|
||||||
this.$refs.form.validate().then(res=>{
|
this.$refs.form.validate().then(res => {
|
||||||
if(this.paymentConfirm.caseFlowId==3){
|
if (this.paymentConfirm.caseFlowId == 3) {
|
||||||
this.confirmPaymentApplicant()
|
this.confirmPaymentApplicant()
|
||||||
}else if(this.paymentConfirm.caseFlowId==44){
|
} else if (this.paymentConfirm.caseFlowId == 45) {
|
||||||
this.confirmPaymentRespondent()
|
this.confirmPaymentRespondent()
|
||||||
}
|
}
|
||||||
console.log(this.paymentConfirm.caseFlowId)
|
console.log(this.paymentConfirm.caseFlowId)
|
||||||
}).catch(err =>{
|
}).catch(err => {
|
||||||
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 申请人确认缴费
|
// 申请人确认缴费
|
||||||
confirmPaymentApplicant(){
|
confirmPaymentApplicant() {
|
||||||
let vals = {
|
let vals = {
|
||||||
caseId:this.paymentConfirm.id,
|
caseId: this.paymentConfirm.id,
|
||||||
batchNumber:"",
|
batchNumber: "",
|
||||||
caseFlowId:this.paymentConfirm.caseFlowId,
|
caseFlowId: this.paymentConfirm.caseFlowId,
|
||||||
yesOrNo:this.yesOrNo,
|
yesOrNo: this.yesOrNo,
|
||||||
reason:this.formData.reason
|
reason: this.formData.reason
|
||||||
}
|
}
|
||||||
confirmPaid(vals).then(res =>{
|
confirmPaid(vals).then(res => {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: '申请人缴费确认成功',
|
title: '申请人缴费确认成功',
|
||||||
icon: 'none',
|
icon: 'none',
|
||||||
@@ -104,15 +103,15 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 被申请人缴费确认
|
// 被申请人缴费确认
|
||||||
confirmPaymentRespondent(){
|
confirmPaymentRespondent() {
|
||||||
let vals = {
|
let vals = {
|
||||||
caseId:this.paymentConfirm.id,
|
caseId: this.paymentConfirm.id,
|
||||||
batchNumber:"",
|
batchNumber: "",
|
||||||
caseFlowId:this.paymentConfirm.caseFlowId,
|
caseFlowId: this.paymentConfirm.caseFlowId,
|
||||||
yesOrNo:this.yesOrNo,
|
yesOrNo: this.yesOrNo,
|
||||||
reason:this.formData.reason
|
reason: this.formData.reason
|
||||||
}
|
}
|
||||||
resConfirmPaid(vals).then(res =>{
|
resConfirmPaid(vals).then(res => {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: '被申请人缴费确认成功',
|
title: '被申请人缴费确认成功',
|
||||||
icon: 'none',
|
icon: 'none',
|
||||||
@@ -127,27 +126,29 @@
|
|||||||
paymentDetails(val) {
|
paymentDetails(val) {
|
||||||
selectPaymentDetail(val).then(res => {
|
selectPaymentDetail(val).then(res => {
|
||||||
this.formData = res.data;
|
this.formData = res.data;
|
||||||
this.formData.caseAttachList.forEach(res =>{
|
this.formData.caseAttachList.forEach(res => {
|
||||||
if(res.annexType==4){
|
if (res.annexType == 4) {
|
||||||
this.annexTypeS = true
|
this.annexTypeS = true
|
||||||
}else if(res.annexType==9){
|
} else if (res.annexType == 9) {
|
||||||
this.annexTypeB = true
|
this.annexTypeB = true
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
clearValidate(val){
|
clearValidate(val) {
|
||||||
this.yesOrNo=val.detail.value
|
this.yesOrNo = val.detail.value
|
||||||
if(val.detail.value==0){
|
if (val.detail.value == 0) {
|
||||||
this.refusedisabled = true
|
this.refusedisabled = true
|
||||||
}else{
|
} else {
|
||||||
this.refusedisabled = false
|
this.refusedisabled = false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad(data) {
|
onLoad(data) {
|
||||||
this.paymentConfirm = data
|
this.paymentConfirm = data
|
||||||
this.paymentDetails({id:data.id})
|
this.paymentDetails({
|
||||||
|
id: data.id
|
||||||
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
@@ -156,7 +157,8 @@
|
|||||||
page {
|
page {
|
||||||
background-color: #ffffff;
|
background-color: #ffffff;
|
||||||
}
|
}
|
||||||
.assignrbitrators{
|
|
||||||
|
.assignrbitrators {
|
||||||
margin: 30rpx;
|
margin: 30rpx;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
@@ -3,8 +3,8 @@
|
|||||||
<view class="" v-if="sysType == 2">
|
<view class="" v-if="sysType == 2">
|
||||||
<button type="primary" @tap="newlyAddedCases">新增案件</button>
|
<button type="primary" @tap="newlyAddedCases">新增案件</button>
|
||||||
</view>
|
</view>
|
||||||
<List class="caseList" @pDeleteCase='deleteCase' v-for="(item,index) in caseList" :defalutVal='item' :buttonList='buttonList' :key="index"
|
<List class="caseList" @pDeleteCase='deleteCase' v-for="(item,index) in caseList" :defalutVal='item'
|
||||||
:sysType='sysType'>
|
:buttonList='buttonList' :key="index" :sysType='sysType'>
|
||||||
</List>
|
</List>
|
||||||
<view class="emptyBox" v-if="caseList.length == 0">
|
<view class="emptyBox" v-if="caseList.length == 0">
|
||||||
<luanqing-empty :show="true" textColor="#000"></luanqing-empty>
|
<luanqing-empty :show="true" textColor="#000"></luanqing-empty>
|
||||||
@@ -52,6 +52,7 @@
|
|||||||
},
|
},
|
||||||
getList(parms) {
|
getList(parms) {
|
||||||
console.log(111)
|
console.log(111)
|
||||||
|
this.caseList = [];
|
||||||
if (this.sysType == 1) {
|
if (this.sysType == 1) {
|
||||||
respondentList(parms).then(res => {
|
respondentList(parms).then(res => {
|
||||||
// this.caseList = res.rows;
|
// this.caseList = res.rows;
|
||||||
@@ -130,8 +131,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
deleteCase(objValue){
|
deleteCase(objValue) {
|
||||||
caseDelete(objValue).then(res =>{
|
caseDelete(objValue).then(res => {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: '删除成功',
|
title: '删除成功',
|
||||||
icon: 'none',
|
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/work/index",
|
||||||
"pages/handlecase/index",
|
"pages/handlecase/index",
|
||||||
"pages/handlecase/component/uploadEvidence",
|
"pages/handlecase/component/uploadEvidence",
|
||||||
|
"pages/handlecase/component/confirmPayment",
|
||||||
"pages/handlecase/component/payList",
|
"pages/handlecase/component/payList",
|
||||||
"pages/handlecase/component/evidenceList",
|
"pages/handlecase/component/evidenceList",
|
||||||
"pages/handlecase/component/obligations",
|
"pages/handlecase/component/obligations",
|
||||||
|
|||||||
Reference in New Issue
Block a user