Merge branch 'hcb' of SH-Arbitrate/miniapp into dev
This commit was merged in pull request #38.
This commit is contained in:
@@ -177,3 +177,11 @@ export function resConfirmPaid(data) {
|
|||||||
data: 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',
|
// baseUrlZC: 'https://api.xayunmei.com/zhongcaiapi',
|
||||||
// baseUrl: 'https://api.xayunmei.com/zhongcaiapitest',
|
// baseUrl: 'https://api.xayunmei.com/zhongcaiapitest',
|
||||||
// baseUrl: 'http://121.40.189.20:9001',
|
// baseUrl: 'http://121.40.189.20:9001',
|
||||||
// baseUrlZC:'https://api.xayunmei.com/zhongcaiapi',
|
baseUrlZC: 'https://api.xayunmei.com/zhongcaiapi',
|
||||||
baseUrlZC: 'https://api.xayunmei.com/zhongcaiapitest',
|
// baseUrlZC: 'https://api.xayunmei.com/zhongcaiapitest',
|
||||||
baseUrlTJ: 'https://api.xayunmei.com/tiaojieapitest',
|
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',
|
// baseUrlZC: 'http://121.40.189.20:8001',
|
||||||
// baseUrlTJ: 'http://172.16.1.43:6001',
|
// baseUrlTJ: 'http://172.16.1.43:6001',
|
||||||
// baseUrl: 'http://172.16.1.24:8001',
|
// baseUrl: 'http://172.16.1.24:8001',
|
||||||
|
|||||||
@@ -41,8 +41,10 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="btn" v-if="sysType == 2">
|
<view class="btn" v-if="sysType == 2">
|
||||||
<button class="btnItem" type="primary" size="mini" @tap="modify" v-if="checkPermi(['caseManagement:list:edit'])">修改</button>
|
<button class="btnItem" type="primary" size="mini" @tap="modify"
|
||||||
<button class="btnItem" type="primary" size="mini" @tap="deleteCase" v-if="checkPermi(['caseManagement:list:delete'])">删除</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']) && defalutVal.caseFlowId <= 1">删除</button>
|
||||||
<!-- <button class="btnItem" type="primary" size="mini" @tap="clickPay">申请人缴费</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" size="mini" @tap="caseDetail">选择调解员</button> -->
|
||||||
<button class="btnItem" type="primary" @tap="clickType(item.id)" size="mini" v-for="(item) in buttonList"
|
<button class="btnItem" type="primary" @tap="clickType(item.id)" size="mini" v-for="(item) in buttonList"
|
||||||
@@ -63,7 +65,8 @@
|
|||||||
import {
|
import {
|
||||||
queryCaseFlowInfo,
|
queryCaseFlowInfo,
|
||||||
caseAppSubmit,
|
caseAppSubmit,
|
||||||
caseDelete
|
caseDelete,
|
||||||
|
msCaseSign
|
||||||
} from '@/api/handlecase/index.js'
|
} from '@/api/handlecase/index.js'
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
@@ -122,8 +125,10 @@
|
|||||||
// 归档
|
// 归档
|
||||||
} else if (type == 15) {
|
} else if (type == 15) {
|
||||||
// 申请人签收
|
// 申请人签收
|
||||||
|
this.signMediation();
|
||||||
} else if (type == 16) {
|
} else if (type == 16) {
|
||||||
// 被申请人签收
|
// 被申请人签收
|
||||||
|
this.receivedMediation();
|
||||||
} else if (type == 17) {
|
} else if (type == 17) {
|
||||||
//结束
|
//结束
|
||||||
} else if (type == 44) {
|
} else if (type == 44) {
|
||||||
@@ -150,22 +155,22 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 确认缴费
|
// 确认缴费
|
||||||
confirmPayments(){
|
confirmPayments() {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: `/pages/handlecase/component/confirmPayment?id=${this.defalutVal.id}&caseFlowId=${this.defalutVal.caseFlowId}`
|
url: `/pages/handlecase/component/confirmPayment?id=${this.defalutVal.id}&caseFlowId=${this.defalutVal.caseFlowId}`
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
/**提交案件*/
|
/**提交案件*/
|
||||||
onsubmitRow() {
|
onsubmitRow() {
|
||||||
let onsubmitVal ={
|
let onsubmitVal = {
|
||||||
id : this.defalutVal.id,
|
id: this.defalutVal.id,
|
||||||
batchNumber:"",
|
batchNumber: "",
|
||||||
caseFlowId:this.defalutVal.caseFlowId
|
caseFlowId: this.defalutVal.caseFlowId
|
||||||
}
|
}
|
||||||
uni.showModal({
|
uni.showModal({
|
||||||
title: '提示',
|
title: '提示',
|
||||||
content: '您确定要提交案件',
|
content: '您确定要提交案件',
|
||||||
success: function (res) {
|
success: function(res) {
|
||||||
if (res.confirm) {
|
if (res.confirm) {
|
||||||
// console.log('用户点击确定');
|
// console.log('用户点击确定');
|
||||||
caseAppSubmit(onsubmitVal).then(res => {
|
caseAppSubmit(onsubmitVal).then(res => {
|
||||||
@@ -175,7 +180,7 @@
|
|||||||
duration: 1000
|
duration: 1000
|
||||||
})
|
})
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url:'/pages/handlecase/index'
|
url: '/pages/handlecase/index'
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
} else if (res.cancel) {
|
} else if (res.cancel) {
|
||||||
@@ -192,25 +197,25 @@
|
|||||||
},
|
},
|
||||||
/*删除*/
|
/*删除*/
|
||||||
deleteCase() {
|
deleteCase() {
|
||||||
let objValue ={
|
let objValue = {
|
||||||
id : this.defalutVal.id,
|
id: this.defalutVal.id,
|
||||||
batchNumber:"",
|
batchNumber: "",
|
||||||
caseFlowId:this.defalutVal.caseFlowId
|
caseFlowId: this.defalutVal.caseFlowId
|
||||||
}
|
}
|
||||||
uni.showModal({
|
uni.showModal({
|
||||||
title: '提示',
|
title: '提示',
|
||||||
content: '您确定要删除案件',
|
content: '您确定要删除案件',
|
||||||
success: function (res) {
|
success: function(res) {
|
||||||
if (res.confirm) {
|
if (res.confirm) {
|
||||||
// console.log('用户点击确定');
|
// console.log('用户点击确定');
|
||||||
caseDelete(objValue).then(res =>{
|
caseDelete(objValue).then(res => {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: '删除成功',
|
title: '删除成功',
|
||||||
icon: 'none',
|
icon: 'none',
|
||||||
duration: 1000
|
duration: 1000
|
||||||
})
|
})
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url:'/pages/handlecase/index'
|
url: '/pages/handlecase/index'
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
} else if (res.cancel) {
|
} else if (res.cancel) {
|
||||||
@@ -220,9 +225,59 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
},
|
},
|
||||||
},
|
/**申请人签收*/
|
||||||
created() {
|
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() {}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
@@ -188,9 +188,10 @@
|
|||||||
pageSize: this.pageSize,
|
pageSize: this.pageSize,
|
||||||
caseFlowId:this.caseFlowId
|
caseFlowId:this.caseFlowId
|
||||||
}
|
}
|
||||||
|
this.getButtonList();
|
||||||
}
|
}
|
||||||
this.getList(obj)
|
this.getList(obj)
|
||||||
this.getButtonList()
|
// this.getButtonList()
|
||||||
},
|
},
|
||||||
onLoad(data) {
|
onLoad(data) {
|
||||||
this.caseFlowId = data.caseFlowId
|
this.caseFlowId = data.caseFlowId
|
||||||
|
|||||||
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
+4
File diff suppressed because one or more lines are too long
+3
-2
@@ -15,10 +15,11 @@
|
|||||||
"ignore": [],
|
"ignore": [],
|
||||||
"disablePlugins": [],
|
"disablePlugins": [],
|
||||||
"outputPath": ""
|
"outputPath": ""
|
||||||
}
|
},
|
||||||
|
"condition": false
|
||||||
},
|
},
|
||||||
"compileType": "miniprogram",
|
"compileType": "miniprogram",
|
||||||
"libVersion": "3.3.2",
|
"libVersion": "3.1.1",
|
||||||
"appid": "wx91cb8459dca561b4",
|
"appid": "wx91cb8459dca561b4",
|
||||||
"projectname": "智慧仲裁",
|
"projectname": "智慧仲裁",
|
||||||
"condition": {},
|
"condition": {},
|
||||||
|
|||||||
Reference in New Issue
Block a user