代码合并
parent
2b8a121cff
commit
b256ac2915
|
|
@ -35,7 +35,7 @@
|
|||
</div>
|
||||
<div style="text-align:right;margin:0px 28px;">
|
||||
<el-button type="primary" size="mini" @click="merage">线索合并</el-button>
|
||||
<el-button type="warning" size="mini">标为误报线索</el-button>
|
||||
<el-button type="warning" size="mini" @click="deal">标为误报线索</el-button>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
|
@ -77,6 +77,24 @@ import { parse } from '../lib/handleGeojson';
|
|||
this.initWebSocket();
|
||||
},
|
||||
methods:{
|
||||
deal(){
|
||||
axios({
|
||||
method:"post",
|
||||
url:"http://123.132.248.154:9224/api/FireManagement/BatchUpdatFireStatue",
|
||||
data:this.checkNumber,
|
||||
headers:{
|
||||
'X-Token':localStorage.getItem("X-Token")
|
||||
}
|
||||
}).then(res=>{
|
||||
if(res.data.code == 200){
|
||||
this.$message({
|
||||
type:"success",
|
||||
message:"设置成功",
|
||||
})
|
||||
this.getList();
|
||||
}
|
||||
})
|
||||
},
|
||||
merage(){
|
||||
if(this.checkList.length<2){
|
||||
this.$message({
|
||||
|
|
|
|||
Loading…
Reference in New Issue