|
|
@@ -46,7 +46,9 @@ |
|
|
|
<view class="footer-button" v-if="item.status!=0"> |
|
|
|
<view class="footer1" @click.stop="addTime(item)">接待延时</view> |
|
|
|
<view class="footer1" @click.stop="assign(item)">重新指派</view> |
|
|
|
<view class="footer3" @click.stop="changeEnd(item.id)">结束接待</view> |
|
|
|
<template v-if="endReception"> |
|
|
|
<view class="footer3" @click.stop="changeEnd(item.id)">结束接待</view> |
|
|
|
</template> |
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="centerbox" v-if="item.status==0"> |
|
|
@@ -81,6 +83,13 @@ |
|
|
|
addAccount: '', |
|
|
|
}; |
|
|
|
}, |
|
|
|
computed: { |
|
|
|
// 是否有结束接待的权限 |
|
|
|
endReception() { |
|
|
|
let menulist = uni.getStorageSync('weapp_session_Menu_data') |
|
|
|
return menulist.findIndex(item => { return item.name == '结束接待' }) != -1 |
|
|
|
} |
|
|
|
}, |
|
|
|
components: {}, |
|
|
|
onLoad() {}, |
|
|
|
onShow() { |
|
|
@@ -91,6 +100,7 @@ |
|
|
|
} = uni.getStorageSync("weapp_session_userInfo_data"); |
|
|
|
this.addAccount = addAccount; |
|
|
|
this.dataCode = dataCode; |
|
|
|
console.log(this.menulist) |
|
|
|
this.init() |
|
|
|
this.queryHaveDept() |
|
|
|
this.updateInit() |
|
|
|