仲裁报错

This commit is contained in:
hanchaobo
2024-02-26 17:17:45 +08:00
parent fe85f97991
commit c1af7ab47b
8 changed files with 48 additions and 52 deletions
+18 -17
View File
@@ -1,5 +1,5 @@
<template> <template>
<view class="list"> <view class="list" @click="caseDetail()">
<view class="listItem"> <view class="listItem">
<view class="lable"> <view class="lable">
案件编号: 案件编号:
@@ -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'])">修改</button>
<button class="btnItem" type="primary" size="mini" @tap="deleteCase"
v-if="checkPermi(['caseManagement:list:delete'])">删除</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"
@@ -141,17 +143,17 @@
}) })
}, },
// 确认缴费 // 确认缴费
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
} }
caseAppSubmit(onsubmitVal).then(res => { caseAppSubmit(onsubmitVal).then(res => {
uni.showToast({ uni.showToast({
@@ -160,7 +162,7 @@
duration: 1000 duration: 1000
}) })
uni.navigateTo({ uni.navigateTo({
url:'/pages/handlecase/index' url: '/pages/handlecase/index'
}) })
//this.$emit("getList"); //this.$emit("getList");
}) })
@@ -173,25 +175,24 @@
}, },
/*删除*/ /*删除*/
deleteCase() { deleteCase() {
let objValue ={ let objValue = {
id : this.defalutVal.id, id: this.defalutVal.id,
batchNumber:"", batchNumber: "",
caseFlowId:this.defalutVal.caseFlowId caseFlowId: this.defalutVal.caseFlowId
} }
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'
}) })
}) })
}, },
}, },
created() { created() {}
}
} }
</script> </script>
+2 -1
View File
@@ -187,9 +187,10 @@
pageNum: this.pageNum, pageNum: this.pageNum,
pageSize: this.pageSize, pageSize: this.pageSize,
} }
this.getButtonList();
} }
this.getList(obj) this.getList(obj)
this.getButtonList() // this.getButtonList()
}, },
// onLoad() { // onLoad() {
// let obj = { // let obj = {
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
+14 -20
View File
@@ -1,7 +1,8 @@
{ {
"description": "项目配置文件。", "description": "项目配置文件。",
"packOptions": { "packOptions": {
"ignore": [] "ignore": [],
"include": []
}, },
"setting": { "setting": {
"urlCheck": false, "urlCheck": false,
@@ -9,28 +10,21 @@
"postcss": true, "postcss": true,
"minified": true, "minified": true,
"newFeature": true, "newFeature": true,
"bigPackageSizeSupport": true "bigPackageSizeSupport": true,
"babelSetting": {
"ignore": [],
"disablePlugins": [],
"outputPath": ""
},
"condition": false
}, },
"compileType": "miniprogram", "compileType": "miniprogram",
"libVersion": "", "libVersion": "3.1.1",
"appid": "wx91cb8459dca561b4", "appid": "wx91cb8459dca561b4",
"projectname": "智慧仲裁", "projectname": "智慧仲裁",
"condition": { "condition": {},
"search": { "editorSetting": {
"current": -1, "tabIndent": "insertSpaces",
"list": [] "tabSize": 2
},
"conversation": {
"current": -1,
"list": []
},
"game": {
"current": -1,
"list": []
},
"miniprogram": {
"current": -1,
"list": []
}
} }
} }