签收,按钮权限
This commit is contained in:
+23
-15
@@ -131,11 +131,11 @@ export function caseAppSubmit(data) {
|
||||
}
|
||||
/** 根据id查询案件信息 */
|
||||
export function caseApplicationSelectById(data) {
|
||||
return request({
|
||||
url: '/caseApplication/selectById',
|
||||
method: 'get',
|
||||
params: data
|
||||
})
|
||||
return request({
|
||||
url: '/caseApplication/selectById',
|
||||
method: 'get',
|
||||
params: data
|
||||
})
|
||||
}
|
||||
// 删除案件
|
||||
export function caseDelete(data) {
|
||||
@@ -147,11 +147,11 @@ export function caseDelete(data) {
|
||||
}
|
||||
// 案件id查询缴费清单
|
||||
export function selectPaymentDetail(data) {
|
||||
return request({
|
||||
url: '/pay/selectPaymentDetail',
|
||||
method: 'get',
|
||||
params: data
|
||||
})
|
||||
return request({
|
||||
url: '/pay/selectPaymentDetail',
|
||||
method: 'get',
|
||||
params: data
|
||||
})
|
||||
}
|
||||
// 申请人缴费确认
|
||||
export function confirmPaid(data) {
|
||||
@@ -163,11 +163,11 @@ export function confirmPaid(data) {
|
||||
}
|
||||
//默认新增显示
|
||||
export function getUserInfo(data) {
|
||||
return request({
|
||||
url: '/caseApplication/getUserInfo',
|
||||
method: 'get',
|
||||
params: data
|
||||
})
|
||||
return request({
|
||||
url: '/caseApplication/getUserInfo',
|
||||
method: 'get',
|
||||
params: data
|
||||
})
|
||||
}
|
||||
// 被申请人缴费确认
|
||||
export function resConfirmPaid(data) {
|
||||
@@ -177,3 +177,11 @@ export function resConfirmPaid(data) {
|
||||
data: data
|
||||
})
|
||||
}
|
||||
//申请人和被申请人签收调解书
|
||||
export function msCaseSign(data) {
|
||||
return request({
|
||||
url: "/mssignSeal/msCaseSign",
|
||||
method: "post",
|
||||
data: data,
|
||||
})
|
||||
}
|
||||
@@ -3,10 +3,10 @@ module.exports = {
|
||||
// baseUrlZC: 'https://api.xayunmei.com/zhongcaiapi',
|
||||
// baseUrl: 'https://api.xayunmei.com/zhongcaiapitest',
|
||||
// baseUrl: 'http://121.40.189.20:9001',
|
||||
// baseUrlZC:'https://api.xayunmei.com/zhongcaiapi',
|
||||
baseUrlZC: 'https://api.xayunmei.com/zhongcaiapitest',
|
||||
baseUrlZC: 'https://api.xayunmei.com/zhongcaiapi',
|
||||
// baseUrlZC: 'https://api.xayunmei.com/zhongcaiapitest',
|
||||
baseUrlTJ: 'https://api.xayunmei.com/tiaojieapitest',
|
||||
// baseUrlTJ:'https://api.xayunmei.com/tiaojieapi',
|
||||
// baseUrlTJ: 'https://api.xayunmei.com/tiaojieapi',
|
||||
// baseUrlZC: 'http://121.40.189.20:8001',
|
||||
// baseUrlTJ: 'http://172.16.1.43:6001',
|
||||
// baseUrl: 'http://172.16.1.24:8001',
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<view class="list" @click="caseDetail()">
|
||||
<view class="list">
|
||||
<view class="listItem">
|
||||
<view class="lable">
|
||||
案件编号:
|
||||
@@ -42,9 +42,9 @@
|
||||
</view>
|
||||
<view class="btn" v-if="sysType == 2">
|
||||
<button class="btnItem" type="primary" size="mini" @tap="modify"
|
||||
v-if="checkPermi(['caseManagement:list:edit'])">修改</button>
|
||||
v-if="checkPermi(['caseManagement:list:edit']) && defalutVal.caseFlowId <= 1">修改</button>
|
||||
<button class="btnItem" type="primary" size="mini" @tap="deleteCase"
|
||||
v-if="checkPermi(['caseManagement:list:delete'])">删除</button>
|
||||
v-if="checkPermi(['caseManagement:list:delete']) && defalutVal.caseFlowId <= 1">删除</button>
|
||||
<!-- <button class="btnItem" type="primary" size="mini" @tap="clickPay">申请人缴费</button>
|
||||
<button class="btnItem" type="primary" size="mini" @tap="caseDetail">选择调解员</button> -->
|
||||
<button class="btnItem" type="primary" @tap="clickType(item.id)" size="mini" v-for="(item) in buttonList"
|
||||
@@ -62,7 +62,8 @@
|
||||
import {
|
||||
queryCaseFlowInfo,
|
||||
caseAppSubmit,
|
||||
caseDelete
|
||||
caseDelete,
|
||||
msCaseSign
|
||||
} from '@/api/handlecase/index.js'
|
||||
export default {
|
||||
data() {
|
||||
@@ -121,8 +122,10 @@
|
||||
// 归档
|
||||
} else if (type == 15) {
|
||||
// 申请人签收
|
||||
this.signMediation();
|
||||
} else if (type == 16) {
|
||||
// 被申请人签收
|
||||
this.receivedMediation();
|
||||
} else if (type == 17) {
|
||||
//结束
|
||||
} else if (type == 44) {
|
||||
@@ -156,25 +159,25 @@
|
||||
caseFlowId: this.defalutVal.caseFlowId
|
||||
}
|
||||
uni.showModal({
|
||||
title: '提示',
|
||||
content: '您确定要提交案件',
|
||||
success: function (res) {
|
||||
if (res.confirm) {
|
||||
// console.log('用户点击确定');
|
||||
caseAppSubmit(onsubmitVal).then(res => {
|
||||
uni.showToast({
|
||||
title: '提交成功',
|
||||
icon: 'none',
|
||||
duration: 1000
|
||||
})
|
||||
uni.navigateTo({
|
||||
url:'/pages/handlecase/index'
|
||||
})
|
||||
})
|
||||
} else if (res.cancel) {
|
||||
// console.log('用户点击取消');
|
||||
}
|
||||
}
|
||||
title: '提示',
|
||||
content: '您确定要提交案件',
|
||||
success: function(res) {
|
||||
if (res.confirm) {
|
||||
// console.log('用户点击确定');
|
||||
caseAppSubmit(onsubmitVal).then(res => {
|
||||
uni.showToast({
|
||||
title: '提交成功',
|
||||
icon: 'none',
|
||||
duration: 1000
|
||||
})
|
||||
uni.navigateTo({
|
||||
url: '/pages/handlecase/index'
|
||||
})
|
||||
})
|
||||
} else if (res.cancel) {
|
||||
// console.log('用户点击取消');
|
||||
}
|
||||
}
|
||||
});
|
||||
},
|
||||
// 修改
|
||||
@@ -191,28 +194,79 @@
|
||||
caseFlowId: this.defalutVal.caseFlowId
|
||||
}
|
||||
uni.showModal({
|
||||
title: '提示',
|
||||
content: '您确定要删除案件',
|
||||
success: function (res) {
|
||||
if (res.confirm) {
|
||||
// console.log('用户点击确定');
|
||||
caseDelete(objValue).then(res =>{
|
||||
uni.showToast({
|
||||
title: '删除成功',
|
||||
icon: 'none',
|
||||
duration: 1000
|
||||
})
|
||||
uni.navigateTo({
|
||||
url:'/pages/handlecase/index'
|
||||
})
|
||||
})
|
||||
} else if (res.cancel) {
|
||||
// console.log('用户点击取消');
|
||||
}
|
||||
}
|
||||
title: '提示',
|
||||
content: '您确定要删除案件',
|
||||
success: function(res) {
|
||||
if (res.confirm) {
|
||||
// console.log('用户点击确定');
|
||||
caseDelete(objValue).then(res => {
|
||||
uni.showToast({
|
||||
title: '删除成功',
|
||||
icon: 'none',
|
||||
duration: 1000
|
||||
})
|
||||
uni.navigateTo({
|
||||
url: '/pages/handlecase/index'
|
||||
})
|
||||
})
|
||||
} else if (res.cancel) {
|
||||
// console.log('用户点击取消');
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
},
|
||||
/**申请人签收*/
|
||||
signMediation() {
|
||||
let that = this;
|
||||
let objValue = {
|
||||
caseId: this.defalutVal.id,
|
||||
isSignApply: 1
|
||||
}
|
||||
uni.showModal({
|
||||
title: '提示',
|
||||
content: '您确定要签收',
|
||||
success: function(res) {
|
||||
if (res.confirm) {
|
||||
that.signingMediationAgreement(objValue)
|
||||
} else if (res.cancel) {
|
||||
// console.log('用户点击取消');
|
||||
}
|
||||
}
|
||||
});
|
||||
},
|
||||
/**被申请人签收*/
|
||||
receivedMediation() {
|
||||
let that = this;
|
||||
let objValue = {
|
||||
caseId: this.defalutVal.id,
|
||||
isSignRespon: 1
|
||||
}
|
||||
uni.showModal({
|
||||
title: '提示',
|
||||
content: '您确定要签收',
|
||||
success: function(res) {
|
||||
if (res.confirm) {
|
||||
that.signingMediationAgreement(objValue)
|
||||
} else if (res.cancel) {
|
||||
// console.log('用户点击取消');
|
||||
}
|
||||
}
|
||||
});
|
||||
},
|
||||
/**申请人和被申请人签收调解书接口*/
|
||||
signingMediationAgreement(val) {
|
||||
msCaseSign(val).then((res) => {
|
||||
uni.showToast({
|
||||
title: '签收成功',
|
||||
icon: 'none',
|
||||
duration: 1000
|
||||
})
|
||||
uni.navigateTo({
|
||||
url: '/pages/handlecase/index'
|
||||
})
|
||||
});
|
||||
},
|
||||
},
|
||||
created() {}
|
||||
}
|
||||
|
||||
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
-5
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user