| | |
| | | <el-button type="primary" plain icon="el-icon-top" v-loading="download" size="mini" @click="handleExport" |
| | | v-hasPermi="['point:export']">导出点位</el-button> |
| | | </el-col> |
| | | |
| | | <el-col :span="1.5"> |
| | | <el-popover> |
| | | <div class="bottom_"> |
| | |
| | | <el-button class="bottom_" type="primary" size="small" v-loading="upload" @click="handleImport" |
| | | v-hasPermi="['point:import']">导入</el-button> |
| | | </div> |
| | | <el-button type="primary" size="mini" plain icon="el-icon-bottom" slot="reference" v-hasPermi="['point:import']">导入点位</el-button> |
| | | <el-button type="primary" size="mini" plain icon="el-icon-bottom" slot="reference" v-hasPermi="['point:import']"></el-button> |
| | | </el-popover> |
| | | </el-col> |
| | | <!-- <el-col :span="1.5">--> |
| | |
| | | end-placeholder="运维结束时间"> |
| | | </el-date-picker> |
| | | </el-form-item> |
| | | <el-form-item label="用户名" prop="remark"> |
| | | <el-input v-model="form.username"/> |
| | | </el-form-item> |
| | | <el-form-item label="密码" prop="remark"> |
| | | <el-input v-model="form.password"/> |
| | | </el-form-item> |
| | | <el-form-item label="点位备注" prop="remark"> |
| | | <el-input type="textarea" v-model="form.remark"/> |
| | | </el-form-item> |
| | |
| | | inactive-text="普通点位"> |
| | | </el-switch> |
| | | </el-form-item> |
| | | <el-form-item label="省厅:" prop="provinceTag"> |
| | | <el-form-item label="视频:" prop="provinceTagVideo"> |
| | | <el-switch |
| | | v-model="form.provinceTag" |
| | | v-model="form.provinceTagVideo" |
| | | active-color="#13ce66" |
| | | inactive-color="gray" |
| | | active-text="省厅点位" |
| | | inactive-text="普通点位"> |
| | | </el-switch> |
| | | </el-form-item> |
| | | <el-form-item label="车辆:" prop="provinceTagCar"> |
| | | <el-switch |
| | | v-model="form.provinceTagCar" |
| | | active-color="#13ce66" |
| | | inactive-color="gray" |
| | | active-text="省厅点位" |
| | | inactive-text="普通点位"> |
| | | </el-switch> |
| | | </el-form-item> |
| | | <el-form-item label="人脸:" prop="provinceTagFace"> |
| | | <el-switch |
| | | v-model="form.provinceTagFace" |
| | | active-color="#13ce66" |
| | | inactive-color="gray" |
| | | active-text="省厅点位" |
| | |
| | | |
| | | // 检查每个标签,如果为true,则添加到text中 |
| | | if (row.importantTag) text += '重点点位、'; |
| | | if (row.provinceTag) text += '省厅点位、'; |
| | | if (row.provinceTagVideo) text += '省厅视频、'; |
| | | if (row.provinceTagCar) text += '省厅车辆、'; |
| | | if (row.provinceTagFace) text += '省厅人脸、'; |
| | | if (row.importantCommandImageTag) text += '重点指挥图像、'; |
| | | if (row.deptTag) text += '部级、'; |
| | | text === '' ? '普通点位' : text |
| | |
| | | updateTime: null, |
| | | deleted: null, |
| | | importantTag: false, |
| | | provinceTag: false, |
| | | provinceTagVideo: false, |
| | | provinceTagCar: false, |
| | | provinceTagFace: false, |
| | | deptTag: false, |
| | | }; |
| | | this.resetForm("form"); |