| | |
| | | } |
| | | |
| | | .police-page { |
| | | .time-select { |
| | | .search-item-box { |
| | | margin: countSizeVh(10); |
| | | display: flex; |
| | | align-items: center; |
| | | } |
| | | } |
| | | |
| | | .switch-box { |
| | | padding: countSizeVh(6); |
| | | |
| | |
| | | * @Author: shuishen 1109946754@qq.com |
| | | * @Date: 2022-08-18 16:18:17 |
| | | * @LastEditors: shuishen 1109946754@qq.com |
| | | * @LastEditTime: 2023-05-06 11:10:51 |
| | | * @LastEditTime: 2023-05-06 19:20:32 |
| | | * @FilePath: \srs-police-affairs\src\views\policeInfor\index.vue |
| | | * @Description: 辖区管理 |
| | | * |
| | |
| | | <div class="police-page container"> |
| | | <div v-show="boxShow" class="container-content" ref="containerContent"> |
| | | <div class="time-select" ref="timeSelect"> |
| | | <el-date-picker |
| | | :clearable="false" |
| | | v-model="currentTime" |
| | | type="daterange" |
| | | align="center" |
| | | unlink-panels |
| | | range-separator="至" |
| | | start-placeholder="开始日期" |
| | | end-placeholder="结束日期" |
| | | @change="datePickerChange" |
| | | :picker-options="pickerOptions" |
| | | ></el-date-picker> |
| | | <div class="search-item-box"> |
| | | <span>警情类型:</span> |
| | | |
| | | <el-select |
| | | style="flex: 1;" |
| | | size="small" |
| | | v-model="policeInforValue" |
| | | @change="policeTypeChange" |
| | | placeholder="请选择" |
| | | > |
| | | <el-option |
| | | v-for="item in policeInforOptions" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value" |
| | | ></el-option> |
| | | </el-select> |
| | | </div> |
| | | |
| | | <div class="search-item-box"> |
| | | <el-date-picker |
| | | size="mini" |
| | | :clearable="false" |
| | | v-model="currentTime" |
| | | type="daterange" |
| | | align="center" |
| | | unlink-panels |
| | | range-separator="至" |
| | | start-placeholder="开始日期" |
| | | end-placeholder="结束日期" |
| | | @change="datePickerChange" |
| | | :picker-options="pickerOptions" |
| | | ></el-date-picker> |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="police-info"> |
| | |
| | | } |
| | | }] |
| | | }, |
| | | |
| | | policeInforValue: '', |
| | | policeInforOptions: [ |
| | | { |
| | | value: '', |
| | | label: '全部' |
| | | }, |
| | | { |
| | | value: '盗窃', |
| | | label: '盗窃' |
| | | }, |
| | | { |
| | | value: '诈骗', |
| | | label: '诈骗' |
| | | }, |
| | | { |
| | | value: '纠纷', |
| | | label: '纠纷' |
| | | }, |
| | | { |
| | | value: '涉赌', |
| | | label: '涉赌' |
| | | }, |
| | | { |
| | | value: '涉毒', |
| | | label: '涉毒' |
| | | }, |
| | | { |
| | | value: '涉黄', |
| | | label: '涉黄' |
| | | }, |
| | | { |
| | | value: '求救', |
| | | label: '求救' |
| | | }, |
| | | { |
| | | value: '其他', |
| | | label: '其他' |
| | | } |
| | | ] |
| | | } |
| | | }, |
| | | |
| | |
| | | } |
| | | }) |
| | | } |
| | | }, |
| | | |
| | | policeTypeChange () { |
| | | this.navClick() |
| | | }, |
| | | |
| | | // 设置默认时间 |
| | |
| | | this.loading() |
| | | this.historyPoliceInforData = [] |
| | | this.historyEmptyText = "" |
| | | getAlarmList({ ...params, size: this.pages.size, jjdwbh: this.userInfo.dept_id, type: 3 }).then(res => { |
| | | getAlarmList({ ...params, size: this.pages.size, jjdwbh: this.userInfo.dept_id, type: 3, bjlx: this.policeInforValue }).then(res => { |
| | | if (res.data.data.length > 0) { |
| | | // this.pages.total = res.data.data.pages |
| | | this.historyPoliceInforData = res.data.data.map((item, index) => { |
| | |
| | | height: 100%; |
| | | color: #fff; |
| | | background: $bg-color; |
| | | |
| | | .time-select { |
| | | margin: 0; |
| | | padding: 5px; |
| | | } |
| | | } |
| | | |
| | | .cur-tooltip { |