| | |
| | | * @Author: shuishen 1109946754@qq.com |
| | | * @Date: 2023-03-24 16:36:55 |
| | | * @LastEditors: shuishen 1109946754@qq.com |
| | | * @LastEditTime: 2023-04-06 17:25:00 |
| | | * @LastEditTime: 2023-04-07 09:51:28 |
| | | * @FilePath: \srs-police-affairs\src\views\activity\index.vue |
| | | * @Description: |
| | | * |
| | |
| | | |
| | | methods: { |
| | | activeDeletePolygon () { |
| | | getSecurityPlotList(this.showingSecurityId).then(res => { |
| | | const securityId = this.showingSecurityId |
| | | getSecurityPlotList(securityId).then(res => { |
| | | // 要素资源 |
| | | this.normalPeopleList = res.data.data.filter(item => item.type == 6) |
| | | this.protectedPeopleList = res.data.data.filter(item => item.type == 7) |
| | |
| | | }, |
| | | |
| | | activeDeleteLineOrPoint (type) { |
| | | const securityId = this.showingSecurityId |
| | | if (type == 'policeman') { |
| | | getSecurityPoliceList(this.showingSecurityId).then(res => { |
| | | getSecurityPoliceList(securityId).then(res => { |
| | | this.chooseActivityPoliceManList = res.data.data.filter(item => item.type == 3) |
| | | }) |
| | | } else { |
| | | getSecurityCarList(this.showingSecurityId).then(res => { |
| | | getSecurityCarList(securityId).then(res => { |
| | | this.chooseActivityPoliceCarList = res.data.data.filter(item => item.type == 3) |
| | | this.chooseActivityLineList = res.data.data.filter(item => item.type == 1) |
| | | }) |