| | |
| | | </el-select> |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="分建类型"> |
| | | <el-select v-model="queryParams.constructionType" @change="handleQuery" clearable placeholder="分建类型"> |
| | | <el-option v-for="(item,index) in constructionTypeList" :key="index" :label="item.label" :value="item.value"> |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | |
| | | <el-form-item> |
| | | <el-button type="primary" icon="el-icon-search" size="small" @click="handleQuery">搜索</el-button> |
| | | <el-button icon="el-icon-refresh" size="small" @click="resetQuery">重置</el-button> |
| | | |
| | | </el-form-item> |
| | | |
| | | </el-form> |
| | | <!-- 导出按钮 --> |
| | | <div v-hasPermi="['system:monitor:export']"> |
| | |
| | | <div> |
| | | {{ |
| | | ( |
| | | (scope.row.provinceTag ? '省厅、' : '') + |
| | | (scope.row.provinceTagVideo ? '省厅、' : '') + |
| | | (scope.row.deptTag ? '公安部、' : '')).replace(/、$/, '') |
| | | }} |
| | | </div> |
| | |
| | | <el-form-item label="设备编码:">{{ form.serialNumber }}</el-form-item> |
| | | <el-form-item label="标签:"> |
| | | {{ |
| | | ((form.provinceTag ? '省厅、' : '') + |
| | | ((form.provinceTagVideo ? '省厅、' : '') + |
| | | (form.deptTag ? '公安部、' : '')).replace(/、$/, '') |
| | | }} |
| | | </el-form-item> |
| | |
| | | dicts: ['sys_normal_disable', 'platform_yes_no', 'camera_state'], |
| | | data() { |
| | | return { |
| | | constructionTypeList:[ |
| | | { label:'一二期',value:'PHASE_ONE_TWO' }, |
| | | { label:'三期',value:'PHASE_THREE' }, |
| | | { label:'四期',value:'PHASE_FOURTH' } |
| | | ], |
| | | deptList: [], |
| | | // 列信息 |
| | | columns: [ |
| | |
| | | if (this.exportForm.dataType === 0) { |
| | | this.download('system/monitor/export/video/total', { |
| | | ...this.exportForm, |
| | | }, `总量情况_${new Date().getTime()}.xlsx`) |
| | | }, `总量情况_${new Date().getTime()}.xlsx`, { |
| | | timeout: 60000 |
| | | }) |
| | | } else if (this.exportForm.dataType === 1) { |
| | | this.download('system/monitor/export/video/online', { |
| | | ...this.exportForm, |
| | | }, `点位在线_${new Date().getTime()}.xlsx`) |
| | | }, `点位在线_${new Date().getTime()}.xlsx`, { |
| | | timeout: 60000 |
| | | }) |
| | | } else if (this.exportForm.dataType === 2) { |
| | | this.download('system/monitor/export/video/record', { |
| | | ...this.exportForm, |
| | | }, `录像情况_${new Date().getTime()}.xlsx`) |
| | | }, `录像情况_${new Date().getTime()}.xlsx`, { |
| | | timeout: 60000 |
| | | }) |
| | | } else if (this.exportForm.dataType === 3) { |
| | | this.download('system/monitor/export/video/loseTime', { |
| | | ...this.exportForm, |
| | | }, `录像缺失时长_${new Date().getTime()}.xlsx`) |
| | | }, `录像缺失时长_${new Date().getTime()}.xlsx`, { |
| | | timeout: 60000 |
| | | }) |
| | | } |
| | | } |
| | | }); |