Commit afd7d711 by lp784568205

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

parents d1d08289 a75224ab
......@@ -483,7 +483,9 @@
pageBs != 'queryLklzG' &&
pageBs != 'tqhjwzqk' &&
pageBs != 'querySdtdyp' &&
pageBs != 'queryXnpg'
pageBs != 'queryXnpg' &&
pageBs != 'rwgl' &&
pageBs != 'querySdtdyp'
"
>
<i class="el-icon-plus"></i> 新增
......@@ -1410,7 +1412,9 @@
pageBs == 'tqhjwzqk' ||
pageBs == 'xczlzl' ||
pageBs == 'qyeryrlqbxsGl' ||
pageBs == 'queryXnpg'
pageBs == 'queryXnpg' ||
pageBs == 'queryJqcc' ||
pageBs == 'queryAjcc'
)
"
>
......@@ -1503,6 +1507,7 @@
pageBs == 'queryZdssqz' ||
pageBs == 'queryZdssww' ||
pageBs == 'queryZdsszj' ||
pageBs == 'querySdtdyp' ||
pageBs == 'queryZdssydtxsb' ||
pageBs == 'qyeryrlqbxsGl'
)
......@@ -1706,6 +1711,8 @@
pageBs != 'queryZdssqz' &&
pageBs != 'queryZdssww' &&
pageBs != 'queryZdsszj' &&
pageBs != 'querySdtdyp' &&
pageBs != 'queryThxs' &&
pageBs != 'queryZdssydtxsb' &&
pageBs != 'qyeryrlqbxsGl'
"
......
......@@ -76,7 +76,7 @@ const mainRouters = [
...zdxxRoutes,
...zdsswpRoutes,
sfRoutes,
xxtkRoutes,
...xxtkRoutes,
hxgcRoutes,
kyxsRoutes,
bbkwtxxRoutes,
......
......@@ -12,7 +12,7 @@ const menuLayouts = [
path: "/rlXltj",
name: "rlXltj",
meta: {
title: '人力情报线索学历统计'
title: '人力情报线索类型统计'
},
component: () => import("@/views/rlxnpg/rlXltj.vue")
},
......
......@@ -9,24 +9,8 @@ const menuLayouts = [
},
component: () => import("@/views/xxtk/gzry/queryGzry.vue")
},
{
path: "/addGzry",
name: "addGzry",
meta: {
title: '关注人员',
isAdd: true
},
component: () => import("@/views/xxtk/gzry/addGzry.vue")
},
{
path: "/detailGzry",
name: "detailGzry",
meta: {
title: '关注人员',
isAdd: true
},
component: () => import("@/views/xxtk/gzry/detailGzry.vue")
},
{
path: "/queryCase",
name: "queryCase",
......@@ -485,23 +469,8 @@ const menuLayouts = [
},
component: () => import("@/views/xxtk/gzzkyxs/queryGzzkyxs.vue")
},
{
path: "/addGzzkyxs",
name: "addGzzkyxs",
meta: {
title: '工作中可疑线索',
isAdd: true
},
component: () => import("@/views/xxtk/gzzkyxs/addGzzkyxs.vue")
},
{
path: "/detailGzzkyxs",
name: "detailGzzkyxs",
meta: {
title: '工作中可疑线索',
},
component: () => import("@/views/xxtk/gzzkyxs/detailGzzkyxs.vue")
},
{
path: "/queryLklz",
name: "queryLklz",
......@@ -537,8 +506,44 @@ const menuLayouts = [
];
export default {
export default [{
path: "/right",
component: menuLayout,
children: [...menuLayouts]
};
\ No newline at end of file
},
{
path: "/addGzry",
name: "addGzry",
meta: {
title: '关注人员',
isAdd: true
},
component: () => import("@/views/xxtk/gzry/addGzry.vue")
},
{
path: "/addGzzkyxs",
name: "addGzzkyxs",
meta: {
title: '工作中可疑线索',
isAdd: true
},
component: () => import("@/views/xxtk/gzzkyxs/addGzzkyxs.vue")
},
{
path: "/detailGzry",
name: "detailGzry",
meta: {
title: '关注人员',
isAdd: true
},
component: () => import("@/views/xxtk/gzry/detailGzry.vue")
},
{
path: "/detailGzzkyxs",
name: "detailGzzkyxs",
meta: {
title: '工作中可疑线索',
},
component: () => import("@/views/xxtk/gzzkyxs/detailGzzkyxs.vue")
},
];
\ No newline at end of file
......@@ -50,6 +50,14 @@ const menuLayouts = [
component: () => import("@/views/ajzcgzxnpg/queryWcqk.vue")
},
{
path: "/queryWcqks",
name: "queryWcqks",
meta: {
title: '线索核办完成情况'
},
component: () => import("@/views/ajzcgzxnpg/queryWcqk.vue")
},
{
path: "/queryGxqk",
name: "queryGxqk",
meta: {
......@@ -58,6 +66,14 @@ const menuLayouts = [
component: () => import("@/views/ajzcgzxnpg/queryGxqk.vue")
},
{
path: "/queryGxqks",
name: "queryGxqks",
meta: {
title: '对侦查工作贡献情况'
},
component: () => import("@/views/ajzcgzxnpg/queryGxqk.vue")
},
{
path: "/qbxakcltj",
name: "qbxakcltj",
meta: {
......
......@@ -141,10 +141,10 @@ export default {
label: "案件现场确认人",
id: "asj_xc_qrr_gmsfhm",
},
{
label: "案事件编号",
id: "asjbh",
},
// {
// label: "案事件编号",
// id: "asjbh",
// },
{
label: "案事件督办",
id: "asjdbjbdm",
......@@ -325,23 +325,22 @@ export default {
//左侧导航(模块第一个页面需要)
{
id: "queryAjzc",
label: "案件信息采集的完整性",
label: "案件侦查工作效能评估",
index: "queryAjzc",
auth: "M0101",
className: "iconfont icongongnengfuwu",
disabled: false,
hasChildren: false,
},
{
id: "zwbdxx",
label: "线索信息质量",
index: "zwbdxx",
auth: "M0101",
className: "iconfont icongongnengfuwu",
disabled: false,
hasChildren: true,
children: [
{
id: "queryAjzc",
label: "案件信息采集的完整性",
index: "queryAjzc",
auth: "M0104",
className: "iconfont icongongnengfuwu",
disabled: false,
},
{
id: "zwbdxx",
label: "指纹比中信息",
index: "zwbdxx",
......@@ -357,26 +356,14 @@ export default {
className: "iconfont icongongnengfuwu",
disabled: false,
},
],
},
{
id: "queryGjzchjwcqk",
label: "关键侦查环节完成情况",
index: "queryGjzchjwcqk",
auth: "M0101",
className: "iconfont icongongnengfuwu",
disabled: false,
hasChildren: false,
},
{
id: "queryZjcljcqk",
label: "证据材料检查情况",
index: "queryZjcljcqk",
auth: "M0101",
className: "iconfont icongongnengfuwu",
disabled: false,
hasChildren: true,
children: [
{
id: "queryGjzchjwcqk",
label: "关键侦查环节完成情况",
index: "queryGjzchjwcqk",
auth: "M0105",
className: "iconfont icongongnengfuwu",
disabled: false,
},
{
id: "queryZjcljcqk",
label: "案件证据材料检查",
......@@ -395,6 +382,69 @@ export default {
},
],
},
// {
// id: "zwbdxx",
// label: "线索信息质量",
// index: "zwbdxx",
// auth: "M0101",
// className: "iconfont icongongnengfuwu",
// disabled: false,
// hasChildren: true,
// children: [
// {
// id: "zwbdxx",
// label: "指纹比中信息",
// index: "zwbdxx",
// auth: "M0104",
// className: "iconfont icongongnengfuwu",
// disabled: false,
// },
// {
// id: "dnabdxx",
// label: "DNA比中信息",
// index: "dnabdxx",
// auth: "M0105",
// className: "iconfont icongongnengfuwu",
// disabled: false,
// },
// ],
// },
// {
// id: "queryGjzchjwcqk",
// label: "关键侦查环节完成情况",
// index: "queryGjzchjwcqk",
// auth: "M0101",
// className: "iconfont icongongnengfuwu",
// disabled: false,
// hasChildren: false,
// },
// {
// id: "queryZjcljcqk",
// label: "证据材料检查情况",
// index: "queryZjcljcqk",
// auth: "M0101",
// className: "iconfont icongongnengfuwu",
// disabled: false,
// hasChildren: true,
// children: [
// {
// id: "queryZjcljcqk",
// label: "案件证据材料检查",
// index: "queryZjcljcqk",
// auth: "M0101",
// className: "iconfont iconrizhi",
// disabled: false,
// },
// {
// id: "zjcljcgzgl",
// label: "证据材料检查规则管理",
// index: "zjcljcgzgl",
// auth: "M0102",
// className: "iconfont icongongnengfuwu",
// disabled: false,
// },
// ],
// },
{
id: "qbxakcltj",
label: "现场勘查工作效能评估",
......@@ -497,7 +547,49 @@ export default {
},
],
},
{
id: "rlxnpg",
label: "人力情报线索效能评估",
index: "rlxnpg",
auth: "M0101",
className: "iconfont icongongnengfuwu",
disabled: false,
hasChildren: true,
children: [
{
id: "rlqbtj",
label: "人力情报统计",
index: "rlqbtj",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
// {
// id: "rlqbtj",
// label: "人力情报婚姻统计",
// index: "rlqbtj",
// auth: "M0102",
// className: "iconfont icongongnengfuwu",
// disabled: false,
// },
// {
// id: "rlJdctj",
// label: "人力情报机动车物权统计",
// index: "rlJdctj",
// auth: "M0103",
// className: "iconfont iconfangwen",
// disabled: false,
// },
// {
// id: "rlFjdctj",
// label: "人力情报非机动车物权统计",
// index: "rlFjdctj",
// auth: "M0103",
// className: "iconfont iconfangwen",
// disabled: false,
// },
],
},
{
id: "thxsTj",
label: "有组织犯罪线索效能评估",
......@@ -550,23 +642,42 @@ export default {
disabled: false,
},
{
id: "queryWcqk",
id: "queryWcqks",
label: "线索核办完成情况",
index: "queryWcqk",
index: "queryWcqks",
auth: "M0102",
className: "iconfont iconrizhi",
disabled: false,
},
{
id: "queryGxqk",
id: "queryGxqks",
label: "对侦查工作贡献情况",
index: "queryGxqk",
index: "queryGxqks",
auth: "M0103",
className: "iconfont iconrizhi",
disabled: false,
},
],
},
{
id: "dwtjtb",
label: "工作指令效能评估",
index: "dwtjtb",
auth: "M0101",
className: "iconfont icongongnengfuwu",
disabled: false,
hasChildren: true,
children: [
{
id: "dwtjtb",
label: "单位统计",
index: "dwtjtb",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
],
},
],
};
},
......
......@@ -30,7 +30,7 @@
<span class="xian"></span>
</div>
<div>
<span class="nr" @click="zczj1">侦查阶段</span>
<span class="nr" @click="zczj1">侦查</span>
<span class="yuan">{{ zcdc }}</span>
<span class="xian"></span>
</div>
......
......@@ -8,7 +8,6 @@
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
:pageASs="pageASs"
@add="add"
@dele="dele"
@toInfor="toInfor"
......@@ -16,9 +15,9 @@
@selectionChange="selectionChange"
@drzjhd="drzjhd"
>
<!-- <template #btnGroup="scope">
<template #btnGroup="scope">
<el-button @click="edit(scope.scope)" type="text">编辑</el-button>
</template> -->
</template>
</right-content>
<el-dialog
......@@ -84,16 +83,15 @@ export default {
},
data() {
return {
tableOperation: false,
tableOperation:true,
header: "证据材料检查",
pageBs: "queryZjcljcqk",
pageASs: "queryZjcljcqk",
pageBs: "queryZjcl",
cxFormData: {
limit: 10,
page: 1,
asjbh: "",
ajmc: "",
ajqf: "",
ajmc:"",
ajqf:"",
},
cxQueryField: [
{
......@@ -120,7 +118,7 @@ export default {
{
name: "全部",
value: "",
},
}
],
props: "checkEmpty",
value: "",
......@@ -167,10 +165,9 @@ export default {
prop: "asjbh",
toInfor: true,
},
{
label: "案件侦查阶段",
prop: "zcjddmStr",
label: "案件类别",
prop: "ajlbdmStr",
},
{
label: "案件名称",
......@@ -209,7 +206,7 @@ export default {
prop: "qtcl",
},
],
cxUrl: "/zjclJc/getAsjJdZjjcList",
cxUrl: "/zjclJc/getAsjZjjcList",
Menu: [
{
id: "queryZjcljcqk",
......@@ -288,23 +285,27 @@ export default {
this.$store.commit("user/SET_Menu", this.Menu);
// this.$store.commit("user/SET_LeftMenu", this.leftMenus);
// this.$store.commit("user/SET_Header", this.header);
getZjclLb().then((res) => {
if (res.code === 200) {
let list = res.data.list;
getZjclLb().then(res=>{
if(res.code === 200) {
let list = res.data.list
for (let i of list) {
for(let i of list) {
this.cxQueryField[2].selectData.push({
name: i.name,
value: i.code,
});
name:i.name,
value: i.code
})
}
} else {
}
else {
this.$message({
type: "warning",
message: res.msg,
});
}
});
})
},
methods: {
add() {
......@@ -355,7 +356,7 @@ export default {
path: "/zjclcj",
query: {
asjbh: obj.row.asjbh,
operation: "edit",
operation:'edit'
},
});
},
......
......@@ -131,7 +131,11 @@
post(`${url.alyIP}${this.rdUrl}`, param).then(
(res) => {
if (res.success) {
this.dialogFormVisible = true
this.dialogFormVisible = false
this.$message({
message: '认定成功',
type: 'success'
});
this.getDcsfxx()
}
});
......
......@@ -12,23 +12,95 @@
prop="yblxdm"
label="样本类型代码">
</el-table-column>
<el-table-column
prop="bdzt"
label="比中状态">
<template slot-scope="scope">
<span>{{ getBdzt(scope.row.bdzt) }}</span>
</template>
</el-table-column>
<el-table-column
label="操作"
width="150">
<template slot-scope="scope">
<el-button @click="sendBdjg(scope.row)" type="text" size="small">发起比对</el-button>
<el-button v-if="scope.row.bdzt == '1' || scope.row.bdzt == '3'" type="text" size="small" @click="showBdjg(scope.row.bdrwbh)">比对结果</el-button>
</template>
</el-table-column>
</el-table>
<el-drawer
destroy-on-close
:with-header="false"
:visible.sync="table"
direction="rtl"
size="90%">
<right-content
:pageBs="pageBs"
pageASs="nonewAdd"
:header="header"
:cxFormData="cxFormData1"
:cxDefaultFormThead="cxDefaultFormThead1"
cxUrl="/Dnabzrw/selectBzbJglist"
@toInfor="toInfor"
ref="rightContent1"
>
</right-content>
</el-drawer>
</div>
</template>
<script>
import rightContent from "@c/ptCxForm_components.vue";
import { post } from "@/utils/http.js";
import url from "@/api/base";
export default {
name: "dnabd",
components: {
rightContent
},
data() {
return {
table: false,
pageBs: "dswtzxxlbxx",
header: "多生物特征信息",
xxzjbh: '',
tableData: [],
Url: '/ythcjDna/selectOraclDnaList',
loading: false
loading: false,
Url: '/Dnabzrw/getOracleDnarwList',
Url2: '/Dnabzrw/updateDnabdDswById',
cxFormData1: {
xxzjbh:'',
page:'1',
limit:'10'
},
cxDefaultFormThead1: [
{
label: "物证编号",
prop: "bzajWzbh",
width: '300',
toInfor: true,
},
{
label: "现勘编号",
prop: "bzajXkbh",
},
{
label: "案件物证名称",
prop: "bzajWzmc",
},
{
label: "比中人姓名",
prop: "bzryXm",
},
{
label: "比中人身份证号",
prop: "bzrySfzh",
},
{
label: "比中时间",
prop: "bzsj",
}
]
};
},
props: {
......@@ -45,7 +117,55 @@
}
this.loading = false
});
}
},
// 比对
sendBdjg(item) {
const param = {
ythrybh: this.rybh,
xxzjbh: item.xxzjbh
}
this.loading = true
post(`${url.alyIP}${this.Url2}`, param).then(
(res) => {
if (res.success) {
this.loading = false
this.getList()
}
})
},
showBdjg(xxzjbh) {
this.xxzjbh = xxzjbh
this.cxFormData1.xxzjbh = xxzjbh
this.table = true
},
toInfor(obj) {
let routeUrl = this.$router.resolve({
path: "/detailDnabz",
query: {
xxzjbh: obj.xxzjbh,
},
})
window.open(routeUrl.href, '_blank')
},
getBdzt(type) {
// 0-未比对 1-已比对 2-比对中 3-已认定
let text = ''
switch (type) {
case '0':
text = '未比对'
break
case '1':
text = '已比对'
break
case '2':
text = '比对中'
break
case '3':
text = '已认定'
break
}
return text
},
},
created() {
},
......
......@@ -18,22 +18,79 @@
<span>{{ getZpwz(scope.row.hmywdm) }}</span>
</template>
</el-table-column>
<el-table-column
prop="bdzt"
label="比中状态">
<template slot-scope="scope">
<span>{{ getBdzt(scope.row.bdzt) }}</span>
</template>
</el-table-column>
<el-table-column
label="操作"
width="150">
<template slot-scope="scope">
<el-button @click="sendBdjg(scope.row)" type="text" size="small">发起比对</el-button>
<el-button v-if="scope.row.bdzt == '1' || scope.row.bdzt == '3'" type="text" size="small" @click="showBdjg(scope.row.bdrwbh)">比对结果</el-button>
</template>
</el-table-column>
</el-table>
<el-drawer
destroy-on-close
:with-header="false"
:visible.sync="table"
direction="rtl"
size="90%">
<right-content
:pageBs="pageBs"
pageASs="nonewAdd"
:header="header"
:cxFormData="cxFormData1"
:cxDefaultFormThead="cxDefaultFormThead1"
cxUrl="/Hmbzrw/selectRyJglist"
ref="rightContent1"
>
</right-content>
</el-drawer>
</div>
</template>
<script>
import rightContent from "@c/ptCxForm_components.vue";
import { post } from "@/utils/http.js";
import url from "@/api/base";
export default {
name: "hmbd",
components: {
rightContent
},
data() {
return {
table: false,
xxzjbh: '',
tableData: [],
Url: '/ythcjHm/selectOracleHmzpList',
pageBs: "dswtzxxlbxx",
header: "多生物特征信息",
Url: '/Hmbzrw/getOracleHmrwList',
Url2: '/Hmbzrw/updateHmbdDswById',
cxFormData1: {
xxzjbh:'',
page:'1',
limit:'10'
},
cxDefaultFormThead1: [
{label: "人员编号", prop: "asjxgrybh"},
{label: "姓名", prop: "xm"},
{label: "别名", prop: "bmch"},
{label: "证件类型", prop: "cyzjCyzjmc"},
{label: "证件号码", prop: "cyzjZjhm"},
{label: "性别", prop: "xbdmStr"},
{label: "出生日期", prop: "csrq"},
{label: "国籍", prop: "gjdmStr"},
{label: "民族", prop: "mzdmStr"},
{label: "籍贯", prop: "jgdmStr"},
{label: "政治面貌", prop: "zzmmdmStr"},
{label: "学历", prop: "xldmStr"},
],
loading: false
};
},
......@@ -52,6 +109,26 @@
this.loading = false
});
},
// 比对
sendBdjg(item) {
const param = {
ythrybh: this.rybh,
xxzjbh: item.xxzjbh
}
this.loading = true
post(`${url.alyIP}${this.Url2}`, param).then(
(res) => {
if (res.success) {
this.loading = false
this.getList()
}
})
},
showBdjg(xxzjbh) {
this.xxzjbh = xxzjbh
this.cxFormData1.xxzjbh = xxzjbh
this.table = true
},
getZpwz(type) {
// 0-左眼虹膜 1-右眼虹膜 9-未知
let text = ''
......@@ -68,6 +145,25 @@
}
return text
},
getBdzt(type) {
// 0-未比对 1-已比对 2-比对中 3-已认定
let text = ''
switch (type) {
case '0':
text = '未比对'
break
case '1':
text = '已比对'
break
case '2':
text = '比对中'
break
case '3':
text = '已认定'
break
}
return text
},
},
created() {
},
......
......@@ -60,7 +60,7 @@
activeName: 'first',
xxzjbh: '',
info:{},
table: false,
// table: false,
loading:true,
Url: '/rycj/selectOraclRyxxById',
Menu: [
......@@ -90,12 +90,12 @@
handleClick(tab, event) {
console.log(tab, event);
},
showBdjg() {
this.table = true
},
changeTable() {
this.table = false
}
// showBdjg() {
// this.table = true
// },
// changeTable() {
// this.table = false
// }
},
created() {
this.$store.commit("user/SET_Menu", this.Menu);
......
<template>
<div id="formCommonPage">
<!-- <div class="headerTitle">
<img src="@/assets/img/login/jinhui.png" alt="" /><span
>{{ headerTitle }}</span
>
</div> -->
<div class="formContent" style="margin-top: 20px">
<div style="margin: 0px auto; border-radius: 8px">
<div class="groupTitleBox">
......@@ -941,6 +947,7 @@ export default {
},
propTitle: String,
pageBs: String,
headerTitle: String,
},
data() {
return {
......@@ -1828,6 +1835,20 @@ export default {
$-header-bg: #1a81e1;
$-header-height: 60px;
$-header-fontSize: 18px;
.headerTitle {
height: 48px;
background: #0061F7;
font-size: 18px;
font-weight: bold;
line-height: 48px;
color: #FFFFFF;
padding: 0 17px;
img {
width: 36px;
margin-right: 5px;
}
}
.prive_picture {
z-index: 999;
background: rgba(0, 0, 0, 0.5);
......@@ -2561,4 +2582,5 @@ $-header-fontSize: 18px;
/deep/ .is-required .el-form-item__label {
color: red;
}
</style>
......@@ -6,6 +6,7 @@
@submit="submit"
@asjbhTq="asjbhTq(arguments)"
:propTitle="title"
:headerTitle="headerTitle"
></form-compontent>
<el-dialog title="研判组织用户管理" :visible.sync="dialogTableVisible1">
<div>
......@@ -185,6 +186,7 @@ export default {
},
data() {
return {
headerTitle: "新增合并研判",
tableLoading: true, //loading
tableDataLength: 0, //表格总数
currentPage1: 1, //表格页码
......
......@@ -5,6 +5,7 @@
:formLabelAligns="formLabelAlign"
@submit="submit"
@asjbhTq="asjbhTq(arguments)"
:headerTitle="headerTitle"
:propTitle="title"
></form-compontent>
</div>
......@@ -21,6 +22,7 @@ export default {
},
data() {
return {
headerTitle: "修改合并研判",
title: "合并研判采集",
propFormField: [
//基本信息
......
......@@ -52,6 +52,7 @@
<div @click="doQueryRlData()" class="searchButton">查询</div>
</el-col>
<el-col :span="6">
<span @click="print" class="backButton">导出</span>
<span
v-show="tableLayer.length > 0"
@click="goBack()"
......@@ -385,6 +386,9 @@ export default {
};
},
methods: {
print() {
window.print();
},
showDialog(dwcode, label) {
// let loading = this.$loading({
// lock: true,
......@@ -478,7 +482,6 @@ export default {
if (!!scope) {
this.formData.xsfbdw = scope.row.unitcode;
this.tableLayer.push(this.formData.xsfbdw);
} else {
this.tableLayer.push(this.formData.xsfbdw);
}
......
......@@ -19,6 +19,7 @@
</el-date-picker>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item
label="结束时间"
......@@ -36,6 +37,11 @@
</el-date-picker>
</el-form-item>
</el-col>
<el-col :span="6">
<div class="btn" style="float: right;">
<el-button icon="el-icon-download" @click="print">导出报告</el-button>
</div>
</el-col>
</el-form>
</div>
<div
......@@ -45,9 +51,7 @@
v-loading="loading"
style="height: "
></div>
<div id="table" v-show="type == 'table'">
</div>
<div id="table" v-show="type == 'table'"></div>
</div>
</template>
<script>
......@@ -167,6 +171,9 @@ export default {
};
},
methods: {
print() {
window.print();
},
startMyEcharts(pieD) {
var self = this;
// 基于准备好的dom,初始化echarts实例
......@@ -257,18 +264,17 @@ export default {
if (res.success && res.code == 200) {
console.log(res.data.result);
arr = res.data.result;
this.pieEchartsDate = []
this.pieEchartsDate = [];
arr.map((i) => {
if(i.count != 0) {
if (i.count != 0) {
this.pieEchartsDate.push({
name: i.name,
value: i.count,
})
name: i.name,
value: i.count,
});
}
})
});
console.log(this.pieEchartsDate);
this.startMyEcharts(this.pieEchartsDate);
}
});
},
......
......@@ -298,13 +298,13 @@
<div>
<slot name="listOperation"></slot>
<div
<!-- <div
class="flTtitle Add"
@click="adds"
v-if="pageBs == 'rwgl'"
>
<i class="el-icon-plus"></i> 新增
</div>
</div> -->
<el-button
type="primary"
size="mini"
......
......@@ -24,7 +24,8 @@
@registerDot="registerDot"
@nextCarry="nextCarry"
@edit="edit"
></right-content>
>
</right-content>
</div>
</template>
......
......@@ -149,7 +149,7 @@
Menu: [
{
id: "bdmbXxzjbh",
label: "现场DNA比对",
label: "人员DNA涉案倒查",
index: "wfqdzczl",
auth: "M0101",
className: "iconfont iconrizhi",
......
......@@ -127,7 +127,7 @@
Menu: [
{
id: "bdmbXxzjbh",
label: "足迹比中信息",
label: "人员足迹涉案倒查",
index: "wfqdzczl",
auth: "M0101",
className: "iconfont iconrizhi",
......
......@@ -9,9 +9,6 @@
:cxUrl="cxUrl"
ref="rightContent"
>
<template #btnGroup="scope">
<span class="hbyp" @click="sprops(scope.scope)">可视化分析</span>
</template>
</right-content>
</div>
</template>
......
......@@ -9,9 +9,6 @@
:cxUrl="cxUrl"
ref="rightContent"
>
<template #btnGroup="scope">
<span class="hbyp" @click="sprops(scope.scope)">可视化分析</span>
</template>
</right-content>
</div>
</template>
......
<template>
<div id="sjdqtj">
<el-button
type="primary"
size="mini"
......@@ -8,6 +9,13 @@
v-if="historyArr.length > 1 && type == 'map'"
>返回上层</el-button
>
<el-button
type="primary"
size="mini"
class="returnBtns"
@click="print"
>导出</el-button
>
<div
id="charts"
ref="charts"
......@@ -38,6 +46,9 @@ export default {
};
},
methods: {
print() {
window.print();
},
//初始化echarts以及添加点击事件
getCharts(x, data, rotate) {
let self = this;
......@@ -233,6 +244,12 @@ export default {
.returnBtn {
position: absolute;
top: 30px;
right: 108px;
z-index: 111;
}
.returnBtns {
position: absolute;
top: 30px;
right: 40px;
z-index: 111;
}
......
......@@ -21,8 +21,9 @@
@change="change"
>
</el-date-picker>
<div style="margin-bottom: 10px;" v-if="SJList.length>1 && SJcode !='' ">
<el-button size="mini" @click="back">上一级</el-button>
<div style="margin-bottom: 10px;">
<el-button v-if="SJList.length>1 && SJcode !='' " size="mini" @click="back">上一级</el-button>
<el-button size="mini" @click="print">导出</el-button>
</div>
<div id="charts" ref="charts" v-loading="loading"></div>
<div id="noDataText" v-if="!chartsShow">该单位没有统计数据</div>
......@@ -53,6 +54,9 @@ export default {
};
},
methods: {
print() {
window.print()
},
back(){
let self = this;
let mi = Array.from(new Set(self.SJList));
......
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