| | |
| | | <template> |
| | | <div> |
| | | <el-dialog title="选择警员" :visible.sync="policeChooseVisible" :before-close="cancel" :modal="true" |
| | | :modal-append-to-body="false" :close-on-click-modal="false" class="choose-police-box"> |
| | | :modal-append-to-body="true" :append-to-body="true" :close-on-click-modal="false" class="choose-police-box"> |
| | | <div> |
| | | <div class="input-box"> |
| | | <el-input size="small" ref="searchTreeInput" v-model="personRemark" placeholder="请输入描述" |
| | |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="police-btn-box"> |
| | | <div class="btn-box"> |
| | | <el-button @click="determine" v-show="!isChoosePoliceElementDisabled">确定</el-button> |
| | | <el-button @click="deletePoliceElement" |
| | | v-show="!isChoosePoliceElementDisabled && policeIconIsCreated">删除</el-button> |
| | |
| | | securityId: this.showingSecurityId, |
| | | type: 3, |
| | | color: this.choosePoliceColor, |
| | | width: this.pointAreaWidth |
| | | width: this.pointAreaWidth, |
| | | remark: this.personRemark |
| | | }) |
| | | this.policeIconIsCreated = false |
| | | } |