按钮权限
This commit is contained in:
@@ -41,6 +41,7 @@
|
||||
</view>
|
||||
</view>
|
||||
<view class="btn" v-if="sysType == 2">
|
||||
<button class="btnItem" type="primary" size="mini" @tap="modify">修改</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"
|
||||
@@ -146,6 +147,25 @@
|
||||
this.$emit("getList");
|
||||
})
|
||||
},
|
||||
// 修改
|
||||
modify(){
|
||||
uni.redirectTo({
|
||||
url: `/pages/handlecase/component/newlyAddedCase?id=${this.defalutVal.id}`,
|
||||
})
|
||||
},
|
||||
/**查询按钮列表 */
|
||||
getButtonList() {
|
||||
queryCaseFlowInfo({
|
||||
pageNum: 1,
|
||||
pageSize: 100000
|
||||
}).then(res => {
|
||||
res.rows.forEach(item => {
|
||||
if (item.id != 11 && item.id != 17) {
|
||||
this.buttonList.push(item)
|
||||
}
|
||||
});
|
||||
})
|
||||
},
|
||||
},
|
||||
created() {
|
||||
// this.getButtonList()
|
||||
|
||||
Reference in New Issue
Block a user