判断用户巡检权限,修改操作按钮点击逻辑
This commit is contained in:
parent
31dc706eed
commit
a6b35c3a2e
@ -17,7 +17,7 @@
|
|||||||
<view>巡检人:{{ item.inspection_plan_info.community_worker_info.name }}</view>
|
<view>巡检人:{{ item.inspection_plan_info.community_worker_info.name }}</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="item-content-right">
|
<view class="item-content-right">
|
||||||
<button class="Btn" @click="goInspection(item)">去巡检</button>
|
<button class="Btn" @click="goInspection(item)" :disabled="item.inspection_plan_info.community_worker_info.inspection_permission == 2">去巡检</button>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user