flx:ai预警已处置项目账号 负责人能进行处置

This commit is contained in:
X_Rian 2024-06-24 14:41:56 +08:00
parent 93d72170d8
commit 3f2cc39715

View File

@ -41,7 +41,7 @@
@click="previewImg(url_config+'image/'+item.imageUrl)"></image> @click="previewImg(url_config+'image/'+item.imageUrl)"></image>
<!-- @click="previewImg(item.imageUrl)"></image> --> <!-- @click="previewImg(item.imageUrl)"></image> -->
</view> </view>
<view class="bottom-right" @click="goDisposition(item)" v-if="!item.handleResult && item.isEnableHandle" v-show="btnAuth"> <view class="bottom-right" @click="goDisposition(item)" v-if="!item.handleResult && (item.isEnableHandle || userInfo.accountType == 5 || userInfo.accountType == 10)" v-show="btnAuth">
去处置 去处置
</view> </view>
<view class="bottom-right" @click="goShutting(item)" style="background-color: #b0b0b0;" v-if="item.handleResult && !item.isEnableHandle"> <view class="bottom-right" @click="goShutting(item)" style="background-color: #b0b0b0;" v-if="item.handleResult && !item.isEnableHandle">
@ -75,11 +75,13 @@
{ id: 7, value: '反光衣报警' }, { id: 7, value: '反光衣报警' },
{ id: 8, value: '未穿反光衣' }, { id: 8, value: '未穿反光衣' },
], ],
btnAuth: true btnAuth: true,
userInfo:{}
} }
}, },
onLoad() { onLoad() {
this.btnAuth = this.checkBtnPermission({key: 'ai_disposition', menuPath: '/project/aiAnalysis/warningList'}) this.btnAuth = this.checkBtnPermission({key: 'ai_disposition', menuPath: '/project/aiAnalysis/warningList'})
this.userInfo = JSON.parse(uni.getStorageSync('userInfo'))
}, },
onShow(){ onShow(){
this.systemInfo = uni.getStorageSync('systemInfo') this.systemInfo = uni.getStorageSync('systemInfo')