Commit 07a6d99d by 林永鑫

Merge branch 'dev_maxt' of http://47.92.108.28/changchao/founder_vue into dev_maxt

parents 941f3db6 b4ffb8b7
{
"code":200,
"data":{
"rows":[
{
"ids":"20006",
"label":"走访排查",
"codeType":"CODE_PASD",
"text":"走访排查",
"pId":null,
"id":"01",
"isParent":false,
"children":[]
},
{
"ids":"20007",
"label":"投案自首",
"codeType":"CODE_PASD",
"text":"投案自首",
"pId":null,
"id":"02",
"isParent":false,
"children":[]
},
{
"ids":"20008",
"label":"抓获现行",
"codeType":"CODE_PASD",
"text":"抓获现行",
"pId":null,
"id":"03",
"isParent":false,
"children":[]
},
{
"ids":"20009",
"label":"技术侦察",
"codeType":"CODE_PASD",
"text":"技术侦察",
"pId":null,
"id":"04",
"isParent":false,
"children":[]
},
{
"ids":"20010",
"label":"刑事技术",
"codeType":"CODE_PASD",
"text":"刑事技术",
"pId":null,
"id":"05",
"isParent":false,
"children":[]
},
{
"ids":"20011",
"label":"群众举报",
"codeType":"CODE_PASD",
"text":"群众举报",
"pId":null,
"id":"06",
"isParent":false,
"children":[]
},
{
"ids":"20012",
"label":"追击堵截",
"codeType":"CODE_PASD",
"text":"追击堵截",
"pId":null,
"id":"07",
"isParent":false,
"children":[]
},
{
"ids":"20013",
"label":"审讯深挖",
"codeType":"CODE_PASD",
"text":"审讯深挖",
"pId":null,
"id":"08",
"isParent":false,
"children":[]
},
{
"ids":"20014",
"label":"外省协破",
"codeType":"CODE_PASD",
"text":"外省协破",
"pId":null,
"id":"09",
"isParent":false,
"children":[]
},
{
"ids":"20015",
"label":"MM力量",
"codeType":"CODE_PASD",
"text":"MM力量",
"pId":null,
"id":"10",
"isParent":false,
"children":[]
},
{
"ids":"20016",
"label":"情报",
"codeType":"CODE_PASD",
"text":"情报",
"pId":null,
"id":"11",
"isParent":false,
"children":[]
},
{
"ids":"20017",
"label":"伏击守候",
"codeType":"CODE_PASD",
"text":"伏击守候",
"pId":null,
"id":"12",
"isParent":false,
"children":[]
},
{
"ids":"20018",
"label":"阵地控制",
"codeType":"CODE_PASD",
"text":"阵地控制",
"pId":null,
"id":"13",
"isParent":false,
"children":[]
},
{
"ids":"20019",
"label":"刑嫌调控",
"codeType":"CODE_PASD",
"text":"刑嫌调控",
"pId":null,
"id":"14",
"isParent":false,
"children":[]
}
]
},
"success":true,
"message":"成功"
}
\ No newline at end of file
{
"success": true,
"code": 200,
"message": "成功",
"data": {
"rows": [
{
"ids": "121129",
"label": "技术开锁",
"codeType": "CODE_TSSD",
"text": "技术开锁",
"id": "01",
"isParent": false,
"children": []
},
{
"ids": "121130",
"label": "攀爬",
"codeType": "CODE_TSSD",
"text": "攀爬",
"id": "02",
"isParent": false,
"children": []
},
{
"ids": "121131",
"label": "使用电子干扰器",
"codeType": "CODE_TSSD",
"text": "使用电子干扰器",
"id": "03",
"isParent": false,
"children": []
},
{
"ids": "121132",
"label": "持刀作案",
"codeType": "CODE_TSSD",
"text": "持刀作案",
"id": "04",
"isParent": false,
"children": []
},
{
"ids": "121133",
"label": "持枪作案",
"codeType": "CODE_TSSD",
"text": "持枪作案",
"id": "05",
"isParent": false,
"children": []
},
{
"ids": "121134",
"label": "使用爆炸物",
"codeType": "CODE_TSSD",
"text": "使用爆炸物",
"id": "06",
"isParent": false,
"children": []
},
{
"ids": "121135",
"label": "使用危险品",
"codeType": "CODE_TSSD",
"text": "使用危险品",
"id": "07",
"isParent": false,
"children": []
},
{
"ids": "121136",
"label": "利用隐私要挟",
"codeType": "CODE_TSSD",
"text": "利用隐私要挟",
"id": "08",
"isParent": false,
"children": []
},
{
"ids": "121137",
"label": "截取个人信息",
"codeType": "CODE_TSSD",
"text": "截取个人信息",
"id": "09",
"isParent": false,
"children": []
},
{
"ids": "120965",
"label": "冒充身份",
"codeType": "CODE_TSSD",
"text": "冒充身份",
"id": "10",
"isParent": false,
"children": []
}
]
}
}
"code":200,
"data":{
"rows":[
{
"ids":"19648",
"label":"锐器",
"codeType":"CODE_TSSD",
"text":"锐器",
"pId":null,
"id":"01",
"isParent":false,
"children":[]
},
{
"ids":"19649",
"label":"钝器",
"codeType":"CODE_TSSD",
"text":"钝器",
"pId":null,
"id":"02",
"isParent":false,
"children":[]
},
{
"ids":"19650",
"label":"徒手",
"codeType":"CODE_TSSD",
"text":"徒手",
"pId":null,
"id":"03",
"isParent":false,
"children":[]
},
{
"ids":"19651",
"label":"绳索",
"codeType":"CODE_TSSD",
"text":"绳索",
"pId":null,
"id":"04",
"isParent":false,
"children":[]
},
{
"ids":"19652",
"label":"投毒",
"codeType":"CODE_TSSD",
"text":"投毒",
"pId":null,
"id":"05",
"isParent":false,
"children":[]
},
{
"ids":"19653",
"label":"持枪",
"codeType":"CODE_TSSD",
"text":"持枪",
"pId":null,
"id":"06",
"isParent":false,
"children":[]
},
{
"ids":"19654",
"label":"放火",
"codeType":"CODE_TSSD",
"text":"放火",
"pId":null,
"id":"07",
"isParent":false,
"children":[]
},
{
"ids":"19655",
"label":"爆炸",
"codeType":"CODE_TSSD",
"text":"爆炸",
"pId":null,
"id":"08",
"isParent":false,
"children":[]
},
{
"ids":"19656",
"label":"驾车",
"codeType":"CODE_TSSD",
"text":"驾车",
"pId":null,
"id":"09",
"isParent":false,
"children":[]
},
{
"ids":"19657",
"label":"其他",
"codeType":"CODE_TSSD",
"text":"其他",
"pId":null,
"id":"99",
"isParent":false,
"children":[]
}
]
},
"success":true,
"message":"成功"
}
\ No newline at end of file
......@@ -3,12 +3,12 @@
"data":{
"rows":[
{
"ids":"266275",
"label":"其他矛盾",
"ids":"266269",
"label":"图财",
"codeType":"CODE_ZADJ",
"text":"其他矛盾",
"text":"图财",
"pId":null,
"id":"0199",
"id":"0100",
"isParent":false,
"children":[]
},
......@@ -23,102 +23,92 @@
"children":[]
},
{
"ids":"266273",
"label":"邻里纠纷",
"codeType":"CODE_ZADJ",
"text":"邻里纠纷",
"pId":null,
"id":"0104",
"isParent":false,
"children":[]
},
{
"ids":"266279",
"label":"精神病人杀人",
"ids":"266271",
"label":"情感纠纷",
"codeType":"CODE_ZADJ",
"text":"精神病人杀人",
"text":"情感纠纷",
"pId":null,
"id":"0500",
"id":"0102",
"isParent":false,
"children":[]
},
{
"ids":"266272",
"label":"经济纠纷",
"label":"激情杀人",
"codeType":"CODE_ZADJ",
"text":"经济纠纷",
"text":"激情杀人",
"pId":null,
"id":"0103",
"isParent":false,
"children":[]
},
{
"ids":"266269",
"label":"矛盾纠纷引发的命案",
"ids":"266273",
"label":"(疑似)精神障碍杀人",
"codeType":"CODE_ZADJ",
"text":"矛盾纠纷引发的命案",
"text":"(疑似)精神障碍杀人",
"pId":null,
"id":"0100",
"id":"0104",
"isParent":false,
"children":[]
},
{
"ids":"266278",
"label":"强奸杀人",
"ids":"266274",
"label":"邻里纠纷",
"codeType":"CODE_ZADJ",
"text":"强奸杀人",
"text":"邻里纠纷",
"pId":null,
"id":"0400",
"id":"0105",
"isParent":false,
"children":[]
},
{
"ids":"266277",
"label":"抢劫杀人",
"ids":"266275",
"label":"厌世",
"codeType":"CODE_ZADJ",
"text":"抢劫杀人",
"text":"厌世",
"pId":null,
"id":"0300",
"id":"0106",
"isParent":false,
"children":[]
},
{
"ids":"266276",
"label":"个人极端案件",
"label":"强奸",
"codeType":"CODE_ZADJ",
"text":"个人极端案件",
"text":"强奸",
"pId":null,
"id":"0200",
"id":"0107",
"isParent":false,
"children":[]
},
{
"ids":"266274",
"label":"琐事口角",
"ids":"266277",
"label":"经济债务纠纷",
"codeType":"CODE_ZADJ",
"text":"琐事口角",
"text":"经济债务纠纷",
"pId":null,
"id":"0105",
"id":"0108",
"isParent":false,
"children":[]
},
{
"ids":"266280",
"label":"其他动机杀人",
"ids":"266278",
"label":"土地纠纷",
"codeType":"CODE_ZADJ",
"text":"其他动机杀人",
"text":"土地纠纷",
"pId":null,
"id":"9900",
"id":"0109",
"isParent":false,
"children":[]
},
{
"ids":"266271",
"label":"婚恋纠纷",
{
"ids":"266279",
"label":"其他",
"codeType":"CODE_ZADJ",
"text":"婚恋纠纷",
"text":"其他",
"pId":null,
"id":"0102",
"id":"99",
"isParent":false,
"children":[]
}
......
......@@ -20,18 +20,25 @@
<div @click="collapse">
<i :class="!isCollapseP==true?'iconfont icondaohangshouqi':'iconfont icondaohangzhankai'"></i><span>{{name}}</span>
</div>
<span style="float: right;margin-left: auto; margin-right: 10px;font-weight: 600; font-size: 12px;">欢迎 {{realname}} 访问系统</span>
<div class="messages com"
@click="toDataV"
title="大屏展示">
<span style="position: relative"><i class="iconfont icondapingzhongduan"
style="color: #ff4629;font-size: 22px;"></i></span>
</div>
<div class="messages com"
@click="dialogTableVisible = true"
title="消息中心">
<span style="position: relative"><i class="iconfont iconxiaoxitongzhi"
style="color: #ff4629;font-size: 22px;"></i></span>
<div style="float: right;">
<span style="font-size: 12px;padding-right: 10px; cursor: pointer;" @click="dialogTableVisible = true">
<i class="iconfont iconxiaoxitongzhi"
style="font-size: 18px;margin: 0;padding-right: 10px;vertical-align: middle"></i>
<span style="font-size: 12px;color: #525467;vertical-align: middle">消息中心</span>
</span>
<span style="font-size: 12px; padding-right: 10px;cursor: pointer;color: #525467;" @click="getHome">
<i class="iconfont icongonggongyunkong" style="vertical-align: middle;margin-right: 10px;vertical-align: middle"></i>数据大屏</span>
<span style="vertical-align: middle">
<el-dropdown>
<span class="el-dropdown-link">
<img src="../../assets/img/lj_480.png" style="font-size: 16px;vertical-align: text-top;width: 18px;height: 18px;" alt="">
<i class="el-icon-arrow-down el-icon--right"></i>
</span>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item>欢迎 {{realname}} 访问系统</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</span>
</div>
</div>
<router-view></router-view>
......@@ -218,6 +225,11 @@ export default {
}
},
methods: {
// 跳转大屏
getHome(){
const _this = this
_this.$router.push('/dataV')
},
tabClick (active) {
debugger
var obj1 = {
......@@ -425,9 +437,6 @@ export default {
}
},
toDataV() {
this.$router.push({ path: "/dataV" });
}
},
mounted () {
......
<template>
<div>123</div>
<div id="ypbg"
v-loading="loading">
<list-header headerTitle="研判报告"
ref="header"></list-header>
<div class="ypContent">
<div class="yp_top">
<div class="yp_time">
<div class="query_name">选择时间:</div>
<div class="query_time">
<el-date-picker v-model="queryTime1"
type="month"
align="right"
unlink-panels
value-format="yyyy-MM">
</el-date-picker>
<span></span>
<el-date-picker v-model="queryTime2"
type="month"
align="right"
unlink-panels
value-format="yyyy-MM">
</el-date-picker>
</div>
</div>
<div class="btn">
<el-button type="primary">下载报告</el-button>
</div>
</div>
<div class="yp_tz">
<div class="yp_title">全国命案发案情况分析报告</div>
<div class="yp_time">时间:{{timeStr}}</div>
<p v-html="str1"></p>
<p v-html="str2"></p>
<p v-html="str3"></p>
<p v-html="str5"></p>
<p v-html="str4"></p>
<p v-html="str6"></p>
</div>
</div>
</div>
</template>
<script>
import listHeader from "@c/header_components.vue";
import url from "@/api/base";
import Http from "@/utils/axiosHttp.js";
import {
timeStampTurnTime
} from '@/utils/params'
export default {
name: "ypbg",
components: {
listHeader
},
data () {
return {
queryTime1: new Date().getMonth() - 1 > 9 ? `${new Date().getFullYear()}-${new Date().getMonth() - 1}` : `${new Date().getFullYear()}-0${new Date().getMonth() - 1}`,
queryTime2: new Date().getMonth() > 9 ? `${new Date().getFullYear()}-${new Date().getMonth()}` : `${new Date().getFullYear()}-0${new Date().getMonth()}`,
str1: '',
str2: '',
str3: '',
str4: '',
str5: '',
str6: '',
timeStr: '',
loading: false
}
},
created () {
this.getMatjJyqk()
this.getMaqxTj(),
this.getYsdraTj(),
this.getFzxyrBb(),
this.queryAsjtj(),
this.queryZagj()
},
methods: {
getMatjJyqk () {
var self = this
self.loading = true
let ajxxForm = {
lasjQssj: this.queryTime1,
lasjJssj: this.queryTime2,
}
var year1 = this.queryTime1.substring(0, 4)
var mounth1 = this.queryTime1.substring(5, 6) == 0 ? this.queryTime1.substring(6) : this.queryTime1.substring(5)
var year2 = this.queryTime2.substring(0, 4)
var mounth2 = this.queryTime2.substring(5, 6) == 0 ? this.queryTime2.substring(6) : this.queryTime2.substring(5)
this.timeStr = `${year1}${mounth1}月 至 ${year2}${mounth2}月`
self.doQueryRequest(JSON.stringify(ajxxForm), 'maTjfx/getMatjJyqk').then(res => {
this.str1 = res.data.data.resultStr
})
},
getMaqxTj () {
var self = this
let ajxxForm = {
lasjQssj: this.queryTime1,
lasjJssj: this.queryTime2,
}
self.doQueryRequest(JSON.stringify(ajxxForm), 'maTjfx/getMaqxTj').then(res => {
this.str2 = res.data.data.resultStr
})
},
getYsdraTj () {
var self = this
let ajxxForm = {
lasjQssj: this.queryTime1,
lasjJssj: this.queryTime2,
}
self.doQueryRequest(JSON.stringify(ajxxForm), 'maTjfx/getYsdraTj').then(res => {
this.str3 = res.data.data.resultStr
})
},
getFzxyrBb () {
var self = this
let ajxxForm = {
lasjQssj: this.queryTime1,
lasjJssj: this.queryTime2,
}
self.doQueryRequest(JSON.stringify(ajxxForm), 'matj/getFzxyrBb').then(res => {
this.str4 = res.data.data.fzxyrYpbg
})
},
queryAsjtj () {
var self = this
let ajxxForm = {
lasjQssj: this.queryTime1,
lasjJssj: this.queryTime2,
}
self.doQueryRequest(JSON.stringify(ajxxForm), 'asjtj/queryAsjtj').then(res => {
this.str5 = res.data.data.rows
})
},
queryZagj () {
var self = this
let ajxxForm = {
lasjQssj: this.queryTime1,
lasjJssj: this.queryTime2,
}
self.doQueryRequest(JSON.stringify(ajxxForm), 'asjtj/queryZagj').then(res => {
this.str6 = res.data.data.rows
self.loading = false
})
},
doQueryRequest (form, path) {/*post方法*/
return Http({
url: url.BaseURL + path,
data: JSON.parse(form),
method: "post",
headers: {
'blade-auth': sessionStorage.getItem("token")
}
});
},
},
watch: {
queryTime1 (val, old) {
if (val != old) {
this.getMatjJyqk()
this.getMaqxTj(),
this.getYsdraTj(),
this.getFzxyrBb(),
this.queryAsjtj(),
this.queryZagj()
}
},
queryTime2 (val, old) {
if (val != old) {
this.getMatjJyqk()
this.getMaqxTj(),
this.getYsdraTj(),
this.getFzxyrBb(),
this.queryAsjtj(),
this.queryZagj()
}
},
}
}
</script>
<style>
<style scoped lang="scss">
#ypbg {
.ypContent {
// width: 1360px;
margin: 12px 40px;
margin-top: 64px;
height: 1164px;
background: #ffffff;
border: 1px solid #eaeaea;
opacity: 1;
border-radius: 8px;
padding: 10px 32px;
.yp_top {
padding: 12px 0;
display: flex;
justify-content: space-between;
border-bottom: 1px solid #bfc8d4;
.yp_time {
display: flex;
.query_name {
font-size: 12px;
font-weight: 400;
line-height: 16px;
color: #4d5358;
line-height: 40px;
margin-right: 16px;
}
.query_time {
display: flex;
line-height: 40px;
span {
padding: 0 8px;
}
}
}
.btn {
}
}
.yp_tz {
width: 780px;
background: #fafafa;
border: 1px solid #d5d9e0;
border-radius: 2px;
padding: 40px 120px;
margin: 12px auto;
.yp_title {
font-size: 30px;
font-family: Microsoft YaHei;
font-weight: 400;
line-height: 40px;
color: #222222;
text-align: center;
}
.yp_time {
font-size: 16px;
font-family: SimSun;
font-weight: 400;
line-height: 21px;
color: #333333;
text-align: center;
padding: 18px 0;
}
}
}
}
</style>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment