签收,按钮权限 #38
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<view class="list">
|
||||
<view class="list" @click="caseDetail()">
|
||||
<view class="listItem">
|
||||
<view class="lable">
|
||||
案件编号:
|
||||
@@ -41,8 +41,10 @@
|
||||
</view>
|
||||
</view>
|
||||
<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="deleteCase" v-if="checkPermi(['caseManagement:list:delete'])">删除</button>
|
||||
<button class="btnItem" type="primary" size="mini" @tap="modify"
|
||||
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="caseDetail">选择调解员</button> -->
|
||||
<button class="btnItem" type="primary" @tap="clickType(item.id)" size="mini" v-for="(item) in buttonList"
|
||||
@@ -65,7 +67,7 @@
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
|
||||
|
||||
}
|
||||
},
|
||||
props: {
|
||||
@@ -141,17 +143,17 @@
|
||||
})
|
||||
},
|
||||
// 确认缴费
|
||||
confirmPayments(){
|
||||
confirmPayments() {
|
||||
uni.navigateTo({
|
||||
url: `/pages/handlecase/component/confirmPayment?id=${this.defalutVal.id}&caseFlowId=${this.defalutVal.caseFlowId}`
|
||||
})
|
||||
},
|
||||
/**提交案件*/
|
||||
onsubmitRow() {
|
||||
let onsubmitVal ={
|
||||
id : this.defalutVal.id,
|
||||
batchNumber:"",
|
||||
caseFlowId:this.defalutVal.caseFlowId
|
||||
let onsubmitVal = {
|
||||
id: this.defalutVal.id,
|
||||
batchNumber: "",
|
||||
caseFlowId: this.defalutVal.caseFlowId
|
||||
}
|
||||
caseAppSubmit(onsubmitVal).then(res => {
|
||||
uni.showToast({
|
||||
@@ -160,7 +162,7 @@
|
||||
duration: 1000
|
||||
})
|
||||
uni.navigateTo({
|
||||
url:'/pages/handlecase/index'
|
||||
url: '/pages/handlecase/index'
|
||||
})
|
||||
//this.$emit("getList");
|
||||
})
|
||||
@@ -173,25 +175,24 @@
|
||||
},
|
||||
/*删除*/
|
||||
deleteCase() {
|
||||
let objValue ={
|
||||
id : this.defalutVal.id,
|
||||
batchNumber:"",
|
||||
caseFlowId:this.defalutVal.caseFlowId
|
||||
let objValue = {
|
||||
id: this.defalutVal.id,
|
||||
batchNumber: "",
|
||||
caseFlowId: this.defalutVal.caseFlowId
|
||||
}
|
||||
caseDelete(objValue).then(res =>{
|
||||
caseDelete(objValue).then(res => {
|
||||
uni.showToast({
|
||||
title: '删除成功',
|
||||
icon: 'none',
|
||||
duration: 1000
|
||||
})
|
||||
uni.navigateTo({
|
||||
url:'/pages/handlecase/index'
|
||||
url: '/pages/handlecase/index'
|
||||
})
|
||||
})
|
||||
})
|
||||
},
|
||||
},
|
||||
created() {
|
||||
}
|
||||
created() {}
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<view class="handlecase">
|
||||
<view class="" v-if="sysType == 2">
|
||||
<button type="primary" @tap="newlyAddedCases" v-if="checkPermi(['caseManagement:list:add'])">新增案件</button>
|
||||
<button type="primary" @tap="newlyAddedCases" v-if="checkPermi(['caseManagement:list:add'])">新增案件</button>
|
||||
</view>
|
||||
<List class="caseList" @pDeleteCase='deleteCase' v-for="(item,index) in caseList" :defalutVal='item'
|
||||
:buttonList='buttonList' :key="index" :sysType='sysType'>
|
||||
@@ -187,9 +187,10 @@
|
||||
pageNum: this.pageNum,
|
||||
pageSize: this.pageSize,
|
||||
}
|
||||
this.getButtonList();
|
||||
}
|
||||
this.getList(obj)
|
||||
this.getButtonList()
|
||||
// this.getButtonList()
|
||||
},
|
||||
// onLoad() {
|
||||
// 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
Vendored
+1
-1
File diff suppressed because one or more lines are too long
+14
-20
@@ -1,7 +1,8 @@
|
||||
{
|
||||
"description": "项目配置文件。",
|
||||
"packOptions": {
|
||||
"ignore": []
|
||||
"ignore": [],
|
||||
"include": []
|
||||
},
|
||||
"setting": {
|
||||
"urlCheck": false,
|
||||
@@ -9,28 +10,21 @@
|
||||
"postcss": true,
|
||||
"minified": true,
|
||||
"newFeature": true,
|
||||
"bigPackageSizeSupport": true
|
||||
"bigPackageSizeSupport": true,
|
||||
"babelSetting": {
|
||||
"ignore": [],
|
||||
"disablePlugins": [],
|
||||
"outputPath": ""
|
||||
},
|
||||
"condition": false
|
||||
},
|
||||
"compileType": "miniprogram",
|
||||
"libVersion": "",
|
||||
"libVersion": "3.1.1",
|
||||
"appid": "wx91cb8459dca561b4",
|
||||
"projectname": "智慧仲裁",
|
||||
"condition": {
|
||||
"search": {
|
||||
"current": -1,
|
||||
"list": []
|
||||
},
|
||||
"conversation": {
|
||||
"current": -1,
|
||||
"list": []
|
||||
},
|
||||
"game": {
|
||||
"current": -1,
|
||||
"list": []
|
||||
},
|
||||
"miniprogram": {
|
||||
"current": -1,
|
||||
"list": []
|
||||
}
|
||||
"condition": {},
|
||||
"editorSetting": {
|
||||
"tabIndent": "insertSpaces",
|
||||
"tabSize": 2
|
||||
}
|
||||
}
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
|
||||
"projectname": "miniapp",
|
||||
"setting": {
|
||||
"compileHotReLoad": true,
|
||||
"urlCheck": false
|
||||
}
|
||||
{
|
||||
"description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
|
||||
"projectname": "miniapp",
|
||||
"setting": {
|
||||
"compileHotReLoad": true,
|
||||
"urlCheck": false
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user