Commit 85a69a3d authored by xiexingan's avatar xiexingan

fix:屏蔽撤防布防

parent 259079e3
...@@ -45,10 +45,12 @@ ...@@ -45,10 +45,12 @@
</el-col> </el-col>
<el-col :md='12'> <el-col :md='12'>
<div style='float:right;margin-right:10px'> <div style='float:right;margin-right:10px'>
<el-button type="primary" v-if="defenseAll && isAuth('police:point:side')" size="small" @click="arrangeAllClick" style="float:left;margin:10px 0 0 10px;">全部撤防</el-button>
<el-button type="primary" v-if="defenseAll && isAuth('police:point:place')" size="small" @click="revokeAllClick" style="float:left;margin:10px 0 0 10px;">全部布防</el-button> //- <el-button type="primary" v-if="defenseAll && isAuth('police:point:side')" size="small" @click="arrangeAllClick" style="float:left;margin:10px 0 0 10px;">全部撤防</el-button>
<el-button type="primary" v-if="defenseShow && isAuth('police:point:side')" size="small" @click="arrangeClick" style="float:left;margin:10px 0 0 10px;">撤防</el-button> //- <el-button type="primary" v-if="defenseAll && isAuth('police:point:place')" size="small" @click="revokeAllClick" style="float:left;margin:10px 0 0 10px;">全部布防</el-button>
<el-button type="primary" v-if="defenseShow && isAuth('police:point:place')" size="small" @click="revokeClick" style="float:left;margin:10px 0 0 10px;">布防</el-button> //- <el-button type="primary" v-if="defenseShow && isAuth('police:point:side')" size="small" @click="arrangeClick" style="float:left;margin:10px 0 0 10px;">撤防</el-button>
//- <el-button type="primary" v-if="defenseShow && isAuth('police:point:place')" size="small" @click="revokeClick" style="float:left;margin:10px 0 0 10px;">布防</el-button>
<el-button type="primary" v-for='(item,index) in actionList' v-if="isAuth('police:point:'+ item.qxan)" :key='index' @click='lightingOnOff(item)' size="small" style="float:left;margin:10px 0 0 10px;">{{item.actionName}}</el-button> <el-button type="primary" v-for='(item,index) in actionList' v-if="isAuth('police:point:'+ item.qxan)" :key='index' @click='lightingOnOff(item)' size="small" style="float:left;margin:10px 0 0 10px;">{{item.actionName}}</el-button>
//- <el-button type="primary" v-if="lightingShow && isAuth('police:point:openL')" size="small" @click="lightingOnOff(1)" style="float:left;margin:10px 0 0 10px;">照明开</el-button> //- <el-button type="primary" v-if="lightingShow && isAuth('police:point:openL')" size="small" @click="lightingOnOff(1)" style="float:left;margin:10px 0 0 10px;">照明开</el-button>
//- <el-button type="primary" v-if="lightingShow && isAuth('police:point:offL')" size="small" @click="lightingOnOff(0)" style="float:left;margin:10px 0 0 10px;">照明关</el-button> //- <el-button type="primary" v-if="lightingShow && isAuth('police:point:offL')" size="small" @click="lightingOnOff(0)" style="float:left;margin:10px 0 0 10px;">照明关</el-button>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment