Commit 3c053628 by liupeng

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

parents fb965016 61d1b2f4
......@@ -22,4 +22,4 @@ pnpm-debug.log*
*.sln
*.sw?
vue.config.js
\ No newline at end of file
vue.config.js
\ No newline at end of file
......@@ -23,6 +23,36 @@
"children":[]
},
{
"ids":"10027374",
"label":"扫黑办成员单位移交",
"codeType":"CODE_XSLY",
"text":"扫黑办成员单位移交",
"pId":null,
"id":"0202",
"isParent":false,
"children":[]
},
{
"ids":"10027375",
"label":"公安机关内部移交",
"codeType":"CODE_XSLY",
"text":"公安机关内部移交",
"pId":null,
"id":"0203",
"isParent":false,
"children":[]
},
{
"ids":"10027376",
"label":"上级部门下发",
"codeType":"CODE_XSLY",
"text":"上级部门下发",
"pId":null,
"id":"0204",
"isParent":false,
"children":[]
},
{
"ids":"1002734",
"label":"群众举报",
"codeType":"CODE_XSLY",
......@@ -33,6 +63,36 @@
"children":[]
},
{
"ids":"10027371",
"label":"群众来信",
"codeType":"CODE_XSLY",
"text":"群众来信",
"pId":null,
"id":"0301",
"isParent":false,
"children":[]
},
{
"ids":"10027372",
"label":"网络举报",
"codeType":"CODE_XSLY",
"text":"网络举报",
"pId":null,
"id":"0302",
"isParent":false,
"children":[]
},
{
"ids":"10027373",
"label":"群众来电",
"codeType":"CODE_XSLY",
"text":"群众来电",
"pId":null,
"id":"0303",
"isParent":false,
"children":[]
},
{
"ids":"1002735",
"label":"日常警情串并",
"codeType":"CODE_XSLY",
......@@ -61,6 +121,16 @@
"id":"0600",
"isParent":false,
"children":[]
},
{
"ids":"10027377",
"label":"人力情报反映",
"codeType":"CODE_XSLY",
"text":"人力情报反映",
"pId":null,
"id":"0700",
"isParent":false,
"children":[]
}
]
},
......
......@@ -28,3 +28,9 @@ export const queryByXxzjbh = params =>
postform(`${base.alyIP}/rxbz/queryByXxzjbh`, params);
export const updateRxbz = params =>
postform(`${base.alyIP}/rxbz/updateRxbz`, params);
export const insertZwbzjg = params =>
postform(`${base.alyIP}/zwbzhc/insertZwbzjg`, params);
export const saveZwbzrw = params =>
postform(`${base.alyIP}/Zwbzrw/saveZwbzrw`, params);
export const deleteZjcbrwById = params =>
post(`${base.alyIP}/Zwbzrw/deleteZjcbrwById`, params);
......@@ -41,3 +41,5 @@ export const deleteZjzpById = params =>
post(`${base.alyIP}/ythcjZj/deleteZjzpById`, params);
export const updateZjbzjg = params =>
postform(`${base.alyIP}/ZjZjbzxx/updateZjbzjg`, params);
export const saveZwbzrw = params =>
postform(`${base.alyIP}/Zwbzrw/saveZwbzrw`, params);
import { get, post, postform } from "@/utils/http.js";
import base from "@/api/base";
// 61.1.2新增案件关注
export const insertGxzz = params =>
post(`${base.alyIP}/shseaj/insertGxzz`, params);
// 61.新建团伙
export const insertThxx = params =>
postform(`${base.alyIP}/insertThxx`, params);
// 61.修改团伙
export const updateThxxjt = params =>
postform(`${base.alyIP}/updateThxxjt`, params);
// 1.4.2新增线索
export const insertShseXs = params =>
postform(`${base.alyIP}/insertShseXs`, params);
// 1.4.3删除线索
export const deleteShseXs = params =>
post(`${base.alyIP}/deleteShseXs`, params);
// 1.4.3回显线索
export const getShseXsXq = params =>
post(`${base.alyIP}/getShseXsXq`, params);
// 1.4.3修改线索
export const updateShseXs = params =>
postform(`${base.alyIP}/updateShseXs`, params);
// 11.4.2上报
export const updateXsSbxf = params =>
postform(`${base.alyIP}/updateXsSbxf`, params);
// 1.4.2新增线索反馈
export const insertXsFkxx = params =>
post(`${base.alyIP}/insertXsFkxx`, params);
// 1.4.2新增线索反馈
export const hbThajxyr = params =>
postform(`${base.alyIP}/hbThajxyr`, params);
// 1.3.1回显团伙
export const selectHxThAsjbh = params =>
post(`${base.alyIP}/selectHxThAsjbh`, params);
// 1.3.1 删除嫌疑人案件
export const deleteThxyrxx = params =>
post(`${base.alyIP}/deleteThxyrxx`, params);
// 1.3.1删除团伙相关案件
export const deleteThajxx = params =>
post(`${base.alyIP}/deleteThajxx`, params);
// 1.3.1删除团伙相关案件
export const cfThajxyr = params =>
postform(`${base.alyIP}/cfThajxyr`, params);
// 1.3.1删除团伙相关案件
export const deleteShseXsXyr = params =>
post(`${base.alyIP}/deleteShseXsXyr`, params);
// 1.5 团伙智能研判报告
export const getThZnypbg = params =>
post(`${base.alyIP}/getThZnypbg`, params);
\ No newline at end of file
/*
* @Author: your name
* @Date: 2021-11-29 15:08:18
* @LastEditTime: 2021-11-29 17:20:51
* @LastEditors: Please set LastEditors
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @FilePath: \founder_vue\src\api\xnpgbg.js
*/
import { get, post, postform } from "@/utils/http.js";
import base from "@/api/base";
//-----------单位效能评估
//获取单位业务效能评估情况
export const queryYwgzAll = params =>
post(`${base.alyIP}/ywgz/queryAll`, params);
//获取单位系统业务效能评估情况
export const queryDysDlrzAll = params =>
post(`${base.alyIP}/sysDlrz/queryAll`, params);
//-----------个人效能评估
//获取单位业务效能评估情况
export const queryYwgzAllByPerson = params =>
post(`${base.alyIP}/ywgz/queryAllByPerson`, params);
//获取单位系统业务效能评估情况
export const querySysDlrzAllByPerson = params =>
post(`${base.alyIP}/sysDlrz/queryAllByPerson`, params);
\ No newline at end of file
......@@ -407,7 +407,6 @@
pageBs != 'zcssjdc' &&
pageBs != 'zcssdy' &&
pageBs != 'queryShserhfx' &&
pageBs != 'queryXshb' &&
pageBs != 'queryQzlb' &&
pageBs != 'qyeryrlqbxsBJ' &&
pageBs != 'djajzb' &&
......@@ -618,12 +617,11 @@
</el-table>
</template>
</el-table-column>
<el-table-column align="center"
label="人像图片"
v-if="pageASs == 'bzxxRx'">
<el-table-column v-for="(y,p) in tableColumnDefinition" :key="p" align="center"
:label="y.label">
<template slot-scope="scope">
<div>
<el-image :preview-src-list="['data:image/jpeg;base64,'+scope.row.zpDzwjnr ]" :src="'data:image/jpeg;base64,'+scope.row.zpDzwjnr " lazy></el-image>
<el-image :preview-src-list="['data:image/jpeg;base64,'+scope.row[y.prop] ]" :src="'data:image/jpeg;base64,'+scope.row.zpDzwjnr " lazy></el-image>
</div>
</template>
</el-table-column>
......@@ -681,6 +679,7 @@
v-if="
pageBs == 'queryUser' ||
pageBs == 'queryRole' ||
pageBs == 'queryFzth' ||
pageBs == 'queryZdjyhd' ||
pageBs == 'zdxxgl' ||
pageBs == 'zdryGl' ||
......@@ -1061,6 +1060,7 @@
pageBs == 'queryXcystrCase' ||
pageBs == 'queryXcystrPeople' ||
pageBs == 'queryXcrx' ||
pageBs == 'queryFzth' ||
pageBs == 'queryXczj' ||
pageBs == 'shrzList' ||
pageBs == 'gnsyrzList' ||
......@@ -1454,7 +1454,7 @@
>活动轨迹</el-dropdown-item
>
<el-dropdown-item
@click.native="toXxdkInsert(scope, 'addBshgj')"
@click.native="toXxdkInsert(scope, 'addBshgj')"
>标识号轨迹</el-dropdown-item
>
<el-dropdown-item @click.native="toXxdkInsert(scope, 'addRyhd')"
......@@ -1558,7 +1558,7 @@
</template>
</el-table-column>
<el-table-column
v-if="pageASs == 'queryZj'"
v-if="pageASs == 'queryZj' || pageBs == 'queryFzth'"
:width="
pageBs == 'zdxxgl' || pageBs == 'gzrygl'
? '460'
......@@ -1840,6 +1840,10 @@ export default {
type: Array,
default: () => [],
}, //信息列表操作按钮
tableColumnDefinition: {
type: Array,
default: () => [],
}, //信息列表图片
tableData1: {
type: Array,
default: () => [],
......
<!--
* @Author: your name
* @Date: 2021-11-24 10:25:13
* @LastEditTime: 2021-11-24 16:52:22
* @LastEditTime: 2021-11-29 17:09:36
* @LastEditors: Please set LastEditors
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @FilePath: \刑侦二期(1)\founder_vue\src\components\searchCollapse.vue
......@@ -70,14 +70,20 @@ export default {
tableLoading: false,
header: this.headerTitle,
headerInfo: this.headerInfoTitle,
propdefaultFormThead: utils.deepClone(this.cxDefaultFormThead), //表格表头
tableList: utils.deepClone(this.tableData), //表格内容
};
},
watch:{
headerInfoTitle:{
handler(val){
console.log(val,'-------------------')
}
}
},
methods: {
tableRowClassName({ row, rowIndex }) {
console.log(rowIndex);
// console.log(rowIndex);
if (rowIndex % 2 != 0) {
return "success-row";
}
......@@ -90,6 +96,10 @@ export default {
// return "";
},
},
mounted(){
// console.log(this.tableData,'tableeeeeeeeee子组件')
// console.log(this.headerInfoTitle,'headerInfoTitleheaderInfoTitle子组件')
}
};
</script>
<style >
......
......@@ -36,6 +36,7 @@ import ajzbRoutes from "./modules/ajzb";
import dswtzxxRoutes from "./modules/dswtzxx";
import qgccjRoutes from "./modules/qgccj";
import ztypRoutes from "./modules/ztyp";
import shseRoutes from "./modules/shse";
import rlxnpgRoutes from "./modules/rlxnpg";
import zdxnpgRoutes from "./modules/zdxnpg";
import mxglRoutes from "./modules/mxgl";
......@@ -80,6 +81,7 @@ const mainRouters = [
zjclRoutes,
userAuthRoutes,
hbyprwRoutes,
shseRoutes,
ajxscxbdRoutes,
bjzycxRoutes,
ywgzxnpgRoutes,
......
......@@ -96,7 +96,7 @@ const menuLayouts = [
path: "/swtzxxgl",
name: "swtzxxgl",
meta: {
title: '声纹信息详情'
title: '生物特征信息管理'
},
component: () => import("@/views/dswtz/swxx/detailSwxx.vue")
},
......
......@@ -120,6 +120,22 @@ const menuLayouts = [
},
component: () => import("@/views/dswtzxx/bdjg/addRx.vue")
},
{
path: "/bdjgZw",
name: "bdjgZw",
meta: {
title: '人像比中信息'
},
component: () => import("@/views/dswtzxx/bdjg/zw.vue")
},
{
path: "/bdjgZwAdd",
name: "bdjgZwAdd",
meta: {
title: '人像比中信息'
},
component: () => import("@/views/dswtzxx/bdjg/addZw.vue")
},
];
export default {
......
......@@ -246,4 +246,20 @@ export default [
},
component: () => import("@/views/ztyp/ypEcharts.vue")
},
{
path: "/dwxnpgbg",
name: "dwxnpgbg",
meta: {
title: '单位效能评估报告'
},
component: () => import("@/views/sf/dwxnpgbg.vue")
},
{
path: "/grxnpgbg",
name: "grxnpgbg",
meta: {
title: '个人效能评估报告'
},
component: () => import("@/views/sf/grxnpgbg.vue")
},
]
\ No newline at end of file
......@@ -506,7 +506,30 @@ const menuLayouts = [
},
component: () => import("@/views/xshb/xshb/gzjlxz/xsxxbc.vue")
},
{
path: "/fzthxz",
name: "fzthxz",
meta: {
title: '犯罪团伙信息'
},
component: () => import("@/views/shse/fzth/fzthxz.vue")
},
{
path: "/cf",
name: "cf",
meta: {
title: '犯罪团伙信息'
},
component: () => import("@/views/shse/fzth/cf.vue")
},
{
path: "/xsxxxz",
name: "xsxxxz",
meta: {
title: '线索信息'
},
component: () => import("@/views/shse/shsexs/xsxxxz.vue")
},
]
export default menuLayouts
\ No newline at end of file
/*
* @Author: your name
* @Date: 2021-11-22 16:47:01
* @LastEditTime: 2021-11-24 10:17:14
* @LastEditTime: 2021-11-29 11:21:29
* @LastEditors: Please set LastEditors
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @FilePath: \刑侦二期(1)\founder_vue\src\router\modules\sf.js
......@@ -24,14 +24,6 @@ const menuLayouts = [
},
component: () => import("@/views/sf/sfmn.vue")
},
{
path: "/xnpgbg",
name: "xnpgbg",
meta: {
title: '效能评估报告'
},
component: () => import("@/views/sf/xnpgbg.vue")
},
]
export default {
path: "/right",
......
import menuLayout from "@/layout/menuLayout.vue";
const menuLayouts = [
{
path: "/queryShseaj",
name: "queryShseaj",
meta: {
title: '涉黑涉恶案件信息管理'
},
component: () => import("@/views/shse/shseaj/queryShseaj.vue")
},
{
path: "/queryShsery",
name: "queryShsery",
meta: {
title: '涉黑涉恶人员信息管理'
},
component: () => import("@/views/shse/shsery/queryShsery.vue")
},
{
path: "/queryFzth",
name: "queryFzth",
meta: {
title: '犯罪团伙信息管理'
},
component: () => import("@/views/shse/fzth/queryFzth.vue")
},
{
path: "/xq",
name: "xq",
meta: {
title: '犯罪团伙信息详情'
},
component: () => import("@/views/shse/fzth/xq.vue")
},
{
path: "/queryXsxx",
name: "queryXsxx",
meta: {
title: '涉黑涉恶线索信息管理'
},
component: () => import("@/views/shse/shsexs/queryXsxx.vue")
},
];
export default {
path: "/right",
component: menuLayout,
children: [...menuLayouts]
};
\ No newline at end of file
......@@ -214,10 +214,10 @@ export default {
col: "3",
},
{
label: "比中人公民身份号码:",
label: "比中人身份号码:",
prop: "bzrGmsfhm",
col: "3",
labelWidth: '150px'
labelWidth: '120px'
},
{
label: "比中人联系人电话:",
......
......@@ -26,6 +26,7 @@
import {deleteDnaById} from "@/api/dswtz/dnaxx";
import axios from "@/utils/http.js";
import base from "@/api/base";
import {leftMenus} from "@p/dswtzxx/index.js";
export default {
name: "lbxx",
components: {
......@@ -73,60 +74,7 @@
disabled: false,
},
],
leftMenus: [
{
id: "ryjbxx",
label: "人员基本信息",
newAuth: "M01",
index: "ryjbxx",
className: "iconfont icongongnengfuwu",
hasChildren: true,
children: [
{
id: "dswtzxxlbxx",
label: "人员信息列表",
index: "dswtzxxlbxx",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
],
},
{
id: "bzxx",
label: "比中信息维护",
newAuth: "M01",
index: "bzxx",
className: "iconfont icongongnengfuwu",
hasChildren: true,
children: [
{
id: "bzxxZw",
label: "指纹比中结果",
index: "bzxxZw",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
{
id: "bzxxDna",
label: "DNA比中结果",
index: "bzxxDna",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
{
id: "bzxxZj",
label: "足迹比中结果",
index: "bzxxZj",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
],
},
],
leftMenus: leftMenus,
};
},
created() {
......
......@@ -26,6 +26,7 @@
import {deleteSwById} from "@/api/dswtz/swxx";
import axios from "@/utils/http.js";
import base from "@/api/base";
import {leftMenus} from "@p/dswtzxx/index.js";
export default {
name: "lbxx",
components: {
......@@ -77,61 +78,7 @@
disabled: false,
},
],
leftMenus: [
//左侧导航(模块第一个页面需要)
{
id: "ryjbxx",
label: "人员基本信息",
newAuth: "M01",
index: "ryjbxx",
className: "iconfont icongongnengfuwu",
hasChildren: true,
children: [
{
id: "dswtzxxlbxx",
label: "人员信息列表",
index: "dswtzxxlbxx",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
],
},
{
id: "bzxx",
label: "比中信息维护",
newAuth: "M01",
index: "bzxx",
className: "iconfont icongongnengfuwu",
hasChildren: true,
children: [
{
id: "bzxxZw",
label: "指纹比中结果",
index: "bzxxZw",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
{
id: "bzxxDna",
label: "DNA比中结果",
index: "bzxxDna",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
{
id: "bzxxZj",
label: "足迹比中结果",
index: "bzxxZj",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
],
},
],
leftMenus: leftMenus,
};
},
created() {
......
......@@ -24,6 +24,7 @@
<script>
import rightContent from "@c/ptCxForm_components.vue";
import { deleteZjzpById } from "@/api/dswtzxx.js";
import {leftMenus} from "@p/dswtzxx/index.js";
export default {
name: "lbxx",
components: {
......@@ -94,61 +95,7 @@
disabled: false,
},
],
leftMenus: [
//左侧导航(模块第一个页面需要)
{
id: "ryjbxx",
label: "人员基本信息",
newAuth: "M01",
index: "ryjbxx",
className: "iconfont icongongnengfuwu",
hasChildren: true,
children: [
{
id: "dswtzxxlbxx",
label: "人员信息列表",
index: "dswtzxxlbxx",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
],
},
{
id: "ryjbxxbz",
label: "比中信息维护",
newAuth: "M01",
index: "ryjbxxbz",
className: "iconfont icongongnengfuwu",
hasChildren: true,
children: [
{
id: "bzxxZw",
label: "指纹比中结果",
index: "bzxxZw",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
{
id: "bzxxDna",
label: "DNA比中结果",
index: "bzxxDna",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
{
id: "bzxxZj",
label: "足迹比中结果",
index: "bzxxZj",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
],
},
],
leftMenus: leftMenus,
};
},
created() {
......
......@@ -37,6 +37,7 @@
<script>
import rightContent from "@c/ptCxForm_components.vue";
import { deleteRyxxById } from "@/api/dswtzxx.js";
import {leftMenus} from "@p/dswtzxx/index.js";
export default {
name: "lbxx",
components: {
......@@ -66,61 +67,7 @@
disabled: false,
},
],
leftMenus: [
//左侧导航(模块第一个页面需要)
{
id: "ryjbxx",
label: "人员基本信息",
newAuth: "M01",
index: "ryjbxx",
className: "iconfont icongongnengfuwu",
hasChildren: true,
children: [
{
id: "dswtzxxlbxx",
label: "人员信息列表",
index: "dswtzxxlbxx",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
],
},
{
id: "ryjbxxbz",
label: "比中信息维护",
newAuth: "M01",
index: "ryjbxxbz",
className: "iconfont icongongnengfuwu",
hasChildren: true,
children: [
{
id: "bzxxZw",
label: "指纹比中结果",
index: "bzxxZw",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
{
id: "bzxxDna",
label: "DNA比中结果",
index: "bzxxDna",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
{
id: "bzxxZj",
label: "足迹比中结果",
index: "bzxxZj",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
],
},
],
leftMenus:leftMenus,
};
},
created() {
......
<template>
<div >
<form-compontent
:formField="propFormField"
:formLabelAligns="formLabelAlign"
@submit="submit"
:propTitle="title"
@removePhoto="removePhoto"
pageBs="addsqfbzl"
ref="formCompontent"
:base64Transform="true"
:fileBase64="fileBase64"
@onBase64Transform="onBase64Transform"
>
</form-compontent>
</div>
</template>
<script>
import formCompontent from "@c/form.vue";
import { selectHmzpList} from "@/api/dswtz/hmxx.js";
import { saveZwbzrw } from "@/api/dswtz/bzxx";
export default {
name: "addryxx",
props:{
info:{}
},
components: {
formCompontent,
},
data() {
return {
loading: true,
fileBase64:{},
title: "添加指纹比中",
propFormField: [
{
title: "",
id: 1,
objStr: "",
index: 0,
data: [
{
name: "指纹图片:",
id: "file",
type: "photo",
value: "",
placeholder: "请输入",
col: "22",
},
],
},
],
formLabelAlign: {
file:''
},
type: "",
xxzjbh: "",
result: "",
removeFileXxzjbh: [],
};
},
methods: {
onBase64Transform(p){
this.fileBase64 = p
},
removePhoto(item) {
let loading = this.$loading({
lock: true,
text: "正在删除...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
let id= item.id
this.$set(this.formLabelAlign, id, '');
loading.close();
},
submit(params) {
let loading = this.$loading({
lock: true,
text: "正在保存...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
saveZwbzrw(params).then(res=>{
if(res.code){
loading.close()
this.$router.go(-1)
}
})
},
handleRemove(val) {
this.removeFileXxzjbh.push(val.xxzjbh);
},
getshuju() {
let loading = this.$loading({
lock: true,
text: "正在加载...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
var self = this;
let params = new FormData();
params.append("rybh", this.rybh);
selectHmzpList(params).then((res) => {
var result = res.data.rows[0];
if(res.data.rows.length){
this.$set(this.formLabelAlign, 'xm', res.data.rows[0]['xm']);
this.$set(this.formLabelAlign, 'gmsfhm', res.data.rows[0]['gmsfhm']);
for(let h of res.data.rows.values()){
let hmywdm = h.hmywdm;
let tg = "data:image/jpeg;base64,"+h.hmsj
if(hmywdm==='0'){
this.$set(this.formLabelAlign, 'hmsjLeft', tg);
}
else {
this.$set(this.formLabelAlign, 'hmsjRight', tg);
}
}
this.loading =false
}
if(res.data.rows.length){
this.result = result;
self.$set(self.formLabelAlign, "editing", true);
self.$forceUpdate();
}
setTimeout(() => {
loading.close();
}, 500);
});
},
},
created() {
if (this.$route.query.rybh) {
this.title = "添加指纹比中";
this.rybh = this.$route.query.rybh;
this.getshuju();
}
},
};
</script>
<style scoped lang="scss">
</style>
<template>
<div class="Content">
<right-content
:tableOperation="tableOperation"
:tableColumnDefinition="tableColumnDefinition"
:tableOperationWidth="tableOperationWidth"
:pageBs="pageBs"
pageASs="bzxxRx"
:header="header"
:cxFormData="cxFormData"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
@edit="edit"
@dele="dele"
@add="add"
@toInfor="toInfor"
ref="rightContent"
:transformFormTable="transformFormTable"
>
<template #customize="scope">
<el-button v-if="scope.scope.row.bdzt=='1'" @click="bjjg(scope.scope)" type="text">比对结果</el-button>
<el-button v-else type="text" disabled>未比对</el-button>
</template>
<template #btnGroup="scope">
<el-button @click="dele(scope.scope)" type="text">删除</el-button>
<el-button @click="rxbd(scope.scope)" type="text">人像比对</el-button>
<el-button v-if="scope.scope.row.bdzt=='比对结果'" @click="bjjg(scope.scope)" type="text">比对结果</el-button>
</template>
</right-content>
<el-drawer
:with-header="false"
:visible.sync="table"
direction="rtl"
size="90%">
<right-content
:tableOperation="tableOperation"
:tableOperationWidth="tableOperationWidth"
:pageBs="pageBs"
:header="header"
:cxFormData="cxFormData1"
:cxDefaultFormThead="cxDefaultFormThead1"
cxUrl="/Rxbzrw/selectJglist"
@edit="edit"
@dele="dele"
@add="add1"
@toInfor="toInfor"
ref="rightContent1"
>
<template #btnGroup="scope">
<el-button @click="dele1(scope.scope)" type="text">删除</el-button>
<el-button @click="edit1(scope.scope)" type="text">修改</el-button>
</template>
</right-content>
</el-drawer>
</div>
</template>
<script>
import rightContent from "@c/ptCxForm_components.vue";
import {leftMenus} from "@p/dswtzxx/index.js";
import { updateRxbdById,selectJglist,deleteRxbz,deleteZjcbrwById } from "@/api/dswtz/bzxx";
import { deleteRyzpById } from "@/api/dswtz/rxxx.js";
import {bdzt} from "@/assets/js/transformFormTable.js";
export default {
name: "lbxx",
components: {
rightContent,
},
data() {
return {
tableColumnDefinition:[
{label:'指纹图片', prop:'zpDzwjnr'}
],
transformFormTable: {bdzt},
table: false,
gridData: [],
tableOperation:true,
tableOperationWidth:200,
header: "指纹比中信息",
pageBs: "dswtzxxlbxx",
cxFormData: {
page:'1',
limit:'10'
},
cxFormData1: {
xxzjbh:'142302000000202111290031709643',
page:'1',
limit:'10'
},
cxQueryField: [
{
name: "文件名称",
id: "wjmc",
type: "text",
props: "checkEmpty",
value: "",
placeholder: "请输入",
col: "3",
},
],
cxDefaultFormThead: [
{label: "图片名称", prop: "zpDzwjbt"},
{label: "建立时间", prop: "zpJlsj"},
{label: "图片描述", prop: "xxlyms"},
{label: "比中状态", prop: "bdzt"},
{label: "登录姓名", prop: "xxdjryXm"},
],
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"},
{label: "相识度", prop: "similarity"},
],
// 需要转化table的显示
cxUrl: "/Zwbzrw/getRxrwList",
Menu: [
{
id: "bdmbXxzjbh",
label: "指纹比中信息",
index: "wfqdzczl",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
],
leftMenus: leftMenus,
xxzjbh:''
};
},
created() {
this.$store.commit("user/SET_Menu", this.Menu);
this.$store.commit("user/SET_Header", this.header);
this.$store.commit("user/SET_LeftMenu", this.leftMenus);
},
methods: {
RouteName(scope,m){
this.$router.push({
path: m,
query: { rybh: scope.row.rybh },
});
},
add(){
this.$router.push({
path: "bdjgZwAdd",
query: { rybh: this.$route.query.rybh},
});
},
add1(){
this.$router.push({
path: "bdjgZwAdd",
query: { glxxzjbh: this.xxzjbh},
});
},
edit(scope) {
this.$router.push({
path: "bzxxAddzj",
query: { xxzjbh: scope.row.xxzjbh },
});
},
edit1(scope) {
this.$router.push({
path: "bdjgAddRx",
query: { xxzjbh: scope.row.xxzjbh },
});
},
dele(scope) {
this.$confirm("此操作将永久删除该文件, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
deleteZjcbrwById({
xxzjbh: scope.row.xxzjbh,
}).then((res) => {
if (res.success && res.code == 200) {
this.$message({
type: "success",
message: "删除成功",
});
this.$refs.rightContent.doQuery("yes");
}
});
})
.catch(() => {
this.$message({
type: "info",
message: "已取消删除",
});
});
},
dele1(scope) {
this.$confirm("此操作将永久删除该文件, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
deleteRxbz({
xxzjbh: scope.row.xxzjbh,
}).then((res) => {
if (res.success && res.code == 200) {
this.$message({
type: "success",
message: "删除成功",
});
this.$refs.rightContent1.doQuery("yes");
}
});
})
.catch(() => {
this.$message({
type: "info",
message: "已取消删除",
});
});
},
toInfor(scope) {
this.table = true
let bdzt = scope.bdzt
let xxzjbh = scope.xxzjbh
if(bdzt =="1"){
selectJglist({xxzjbh}).then(res=>{
if(res.code ===200){
this.gridData = res.data.rows
}
})
}
},
bjjg(scope){
let row = scope.row
console.log(row);
this.table = true
let bdzt = row.bdzt
let xxzjbh = row.xxzjbh
this.xxzjbh = xxzjbh
if(bdzt =="比对结果"){
selectJglist({xxzjbh}).then(res=>{
if(res.code ===200){
this.gridData = res.data.rows
}
})
}
},
toSwtzxxgl(i){
this.$router.push({
path:'/swtzxxgl',
query:{rybh:i}
})
},
rxbd(scope){
let self = this
let xxzjbh = scope.row.xxzjbh;
let loading = this.$loading({
lock: true,
text: "正在比对...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
updateRxbdById({xxzjbh}).then(res=>{
if(res.code === 200){
setTimeout(function () {
self.$message.success(res.message)
loading.close()
},3e3)
}
else {
setTimeout(function () {
self.$message(res.message)
loading.close()
},3e3)
}
})
},
deleChildren(row){
console.log(row);
this.$confirm("此操作将永久删除该文件, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
deleteRyzpById({
xxzjbh: row.xxzjbh,
}).then((res) => {
if (res.success && res.code == 200) {
this.$message({
type: "success",
message: "删除成功",
});
this.$refs.rightContent.doQuery("yes");
}
});
})
.catch(() => {
this.$message({
type: "info",
message: "已取消删除",
});
});
},
toRyxxrxbj(row){
this.$router.push({
path:'/ryxxrxbj',
query:{rybh:row.asjxgrybh}
})
},
},
mounted() {},
};
</script>
<style>
.el-dialog__body {
padding: 10px 15px !important;
}
.rightContent .el-input__inner,
#formCommonPage .el-input__inner {
height: 32px;
line-height: 32px;
font-family: inherit;
}
.el-table__header-wrapper th,
.el-table__header-wrapper tr {
background: #f4f6f7;
}
.rightContent .el-input__icon,
#formCommonPage .el-input__icon,
.el-input__suffix-inner {
line-height: 36px;
}
.rightContent .el-range-separator {
position: relative;
top: -4px;
}
.rightContent .el-textarea__inner,
#formCommonPage .el-textarea__inner {
width: 100%;
font-family: inherit;
}
.rightContent .el-range-input,
#formCommonPage .el-range-input {
vertical-align: top;
}
.rightContent .el-date-editor .el-range__close-icon {
margin-top: -4px;
}
.rightContent .el-form-item__error {
left: calc(66% - 27px);
top: 12px;
}
.success-row {
background-color: #fbf9f4 !important;
}
.Content .el-input,
.Content .el-date-editor--daterange.el-input__inner {
width: 100% !important;
}
</style>
<style scoped lang="scss">
@import "@/assets/styles/rightContent.scss";
</style>
......@@ -26,6 +26,7 @@
<script>
import rightContent from "@c/ptCxForm_components.vue";
import { deleteDnabzjgById } from "@/api/dswtzxx.js";
import {leftMenus} from "@p/dswtzxx/index.js";
export default {
name: "lbxx",
components: {
......@@ -97,69 +98,7 @@
disabled: false,
},
],
leftMenus: [
//左侧导航(模块第一个页面需要)
{
id: "ryjbxx",
label: "人员基本信息",
newAuth: "M01",
index: "ryjbxx",
className: "iconfont icongongnengfuwu",
hasChildren: true,
children: [
{
id: "dswtzxxlbxx",
label: "人员信息列表",
index: "dswtzxxlbxx",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
],
},
{
id: "bzxx",
label: "比中信息维护",
newAuth: "M01",
index: "bzxx",
className: "iconfont icongongnengfuwu",
hasChildren: true,
children: [
{
id: "bzxxRx",
label: "人像比中信息",
index: "bzxxRx",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
{
id: "bzxxZw",
label: "指纹比中结果",
index: "bzxxZw",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
{
id: "bzxxDna",
label: "DNA比中结果",
index: "bzxxDna",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
{
id: "bzxxZj",
label: "足迹比中结果",
index: "bzxxZj",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
],
},
],
leftMenus:leftMenus,
};
},
created() {
......
......@@ -2,6 +2,7 @@
<div class="Content">
<right-content
:tableOperation="tableOperation"
:tableColumnDefinition="tableColumnDefinition"
:tableOperationWidth="tableOperationWidth"
:pageBs="pageBs"
pageASs="bzxxRx"
......@@ -63,6 +64,7 @@
import { deleteRxcbrwById,updateRxbdById,selectJglist,deleteRxbz } from "@/api/dswtz/bzxx";
import { deleteRyzpById } from "@/api/dswtz/rxxx.js";
import {bdzt} from "@/assets/js/transformFormTable.js";
import {leftMenus} from "@p/dswtzxx/index.js";
export default {
name: "lbxx",
components: {
......@@ -70,6 +72,9 @@
},
data() {
return {
tableColumnDefinition:[
{label:'人像图片', prop:'zpDzwjnr'}
],
transformFormTable: {bdzt},
table: false,
gridData: [],
......@@ -131,69 +136,7 @@
disabled: false,
},
],
leftMenus: [
//左侧导航(模块第一个页面需要)
{
id: "ryjbxx",
label: "人员基本信息",
newAuth: "M01",
index: "ryjbxx",
className: "iconfont icongongnengfuwu",
hasChildren: true,
children: [
{
id: "dswtzxxlbxx",
label: "人员信息列表",
index: "dswtzxxlbxx",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
],
},
{
id: "bzxx",
label: "比中信息维护",
newAuth: "M01",
index: "bzxx",
className: "iconfont icongongnengfuwu",
hasChildren: true,
children: [
{
id: "bzxxRx",
label: "人像比中信息",
index: "bzxxRx",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
{
id: "bzxxZw",
label: "指纹比中结果",
index: "bzxxZw",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
{
id: "bzxxDna",
label: "DNA比中结果",
index: "bzxxDna",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
{
id: "bzxxZj",
label: "足迹比中结果",
index: "bzxxZj",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
],
},
],
leftMenus: leftMenus,
xxzjbh:''
};
},
......
......@@ -26,6 +26,7 @@
<script>
import rightContent from "@c/ptCxForm_components.vue";
import { deleteZjbzjgById } from "@/api/dswtz/bzxx";
import {leftMenus} from "@p/dswtzxx/index.js";
export default {
name: "lbxx",
components: {
......@@ -98,69 +99,7 @@
disabled: false,
},
],
leftMenus: [
//左侧导航(模块第一个页面需要)
{
id: "ryjbxx",
label: "人员基本信息",
newAuth: "M01",
index: "ryjbxx",
className: "iconfont icongongnengfuwu",
hasChildren: true,
children: [
{
id: "dswtzxxlbxx",
label: "人员信息列表",
index: "dswtzxxlbxx",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
],
},
{
id: "bzxx",
label: "比中信息维护",
newAuth: "M01",
index: "bzxx",
className: "iconfont icongongnengfuwu",
hasChildren: true,
children: [
{
id: "bzxxRx",
label: "人像比中信息",
index: "bzxxRx",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
{
id: "bzxxZw",
label: "指纹比中结果",
index: "bzxxZw",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
{
id: "bzxxDna",
label: "DNA比中结果",
index: "bzxxDna",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
{
id: "bzxxZj",
label: "足迹比中结果",
index: "bzxxZj",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
],
},
],
leftMenus:leftMenus
};
},
created() {
......
......@@ -26,6 +26,7 @@
<script>
import rightContent from "@c/ptCxForm_components.vue";
import { deleteZwbzjgById } from "@/api/dswtz/bzxx";
import {leftMenus} from "@p/dswtzxx/index.js";
export default {
name: "lbxx",
components: {
......@@ -100,69 +101,7 @@
disabled: false,
},
],
leftMenus: [
//左侧导航(模块第一个页面需要)
{
id: "ryjbxx",
label: "人员基本信息",
newAuth: "M01",
index: "ryjbxx",
className: "iconfont icongongnengfuwu",
hasChildren: true,
children: [
{
id: "dswtzxxlbxx",
label: "人员信息列表",
index: "dswtzxxlbxx",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
],
},
{
id: "bzxx",
label: "比中信息维护",
newAuth: "M01",
index: "bzxx",
className: "iconfont icongongnengfuwu",
hasChildren: true,
children: [
{
id: "bzxxRx",
label: "人像比中信息",
index: "bzxxRx",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
{
id: "bzxxZw",
label: "指纹比中结果",
index: "bzxxZw",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
{
id: "bzxxDna",
label: "DNA比中结果",
index: "bzxxDna",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
{
id: "bzxxZj",
label: "足迹比中结果",
index: "bzxxZj",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
],
},
],
leftMenus:leftMenus
};
},
created() {
......
const leftMenus = [
//左侧导航(模块第一个页面需要)
{
id: "ryjbxx",
label: "人员基本信息",
newAuth: "M01",
index: "ryjbxx",
className: "iconfont icongongnengfuwu",
hasChildren: true,
children: [
{
id: "dswtzxxlbxx",
label: "人员信息列表",
index: "dswtzxxlbxx",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
],
},
{
id: "bzxx",
label: "比中信息维护",
newAuth: "M01",
index: "bzxx",
className: "iconfont icongongnengfuwu",
hasChildren: true,
children: [
{
id: "bzxxRx",
label: "人像比中信息",
index: "bzxxRx",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
{
id: "bdjgZw",
label: "指纹比中结果",
index: "bdjgZw",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
{
id: "bzxxDna",
label: "DNA比中结果",
index: "bzxxDna",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
{
id: "bzxxZj",
label: "足迹比中结果",
index: "bzxxZj",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
],
},
]
export {leftMenus}
......@@ -26,6 +26,7 @@
<script>
import rightContent from "@c/ptCxForm_components.vue";
import { deleteRyxxById } from "@/api/dswtzxx.js";
import {leftMenus} from "@p/dswtzxx/index.js";
export default {
name: "lbxx",
components: {
......@@ -148,69 +149,7 @@
disabled: false,
},
],
leftMenus: [
//左侧导航(模块第一个页面需要)
{
id: "ryjbxx",
label: "人员基本信息",
newAuth: "M01",
index: "ryjbxx",
className: "iconfont icongongnengfuwu",
hasChildren: true,
children: [
{
id: "dswtzxxlbxx",
label: "人员信息列表",
index: "dswtzxxlbxx",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
],
},
{
id: "ryjbxxbz",
label: "比中信息维护",
newAuth: "M01",
index: "ryjbxxbz",
className: "iconfont icongongnengfuwu",
hasChildren: true,
children: [
{
id: "bzxxRx",
label: "人像比中信息",
index: "bzxxRx",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
{
id: "bzxxZw",
label: "指纹比中结果",
index: "bzxxZw",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
{
id: "bzxxDna",
label: "DNA比中结果",
index: "bzxxDna",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
{
id: "bzxxZj",
label: "足迹比中结果",
index: "bzxxZj",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
],
},
],
leftMenus: leftMenus,
};
},
created() {
......
......@@ -14,8 +14,7 @@
<script>
import formCompontent from "@c/form.vue";
import { insertRyxx,selectRyxxById, selectRyzpList, updateRyxx} from "@/api/dswtzxx.js"
import { selectRyxxById, updateRyxx} from "@/api/dswtzxx.js"
export default {
name: "addryxx",
components: {
......
......@@ -79,7 +79,7 @@ export default {
],
cxQueryField: [
{
title: "合并研判信息",
// title: "合并研判信息",
id: 1,
objStr: "", //对象中的对应字段
data: [
......@@ -96,17 +96,17 @@ export default {
{
label: "当前工作简要情况:",
prop: "dqgzJyqk",
col: "3",
col: "4",
},
{
label: "工作要求简要情况:",
prop: "gzyqJyqk",
col: "3",
col: "4",
},
{
label: "工作目标简要情况:",
prop: "gzmbJyqk",
col: "3",
col: "4",
},
{
label: "工作期限:",
......@@ -171,7 +171,7 @@ export default {
{
label: "退回原因:",
prop: "thyyJyqk",
col: "3",
col: "4",
},
{
label: "是否交接:",
......@@ -179,24 +179,24 @@ export default {
col: "3",
},
{
label: "交接原因:",
prop: "jjyyJyqk",
col: "3",
},
{
label: "交接时间:",
prop: "jjsj",
col: "3",
},
{
label: "交接原因:",
prop: "jjyyJyqk",
col: "4",
},
{
label: "交接时工作简要情况:",
prop: "jjsGzJyqk",
col: "3",
col: "4",
},
{
label: "交接后工作要求:",
prop: "jjhGzyqJyqk",
col: "3",
col: "4",
},
{
label: "前主办人姓名:",
......@@ -216,7 +216,7 @@ export default {
{
label: "办结简要情况:",
prop: "bjJyqk",
col: "3",
col: "4",
},
{
label: "是否专业研判:",
......@@ -231,12 +231,12 @@ export default {
{
label: "督办内容:",
prop: "dbnrJyqk",
col: "3",
col: "4",
},
{
label: "反馈结果:",
prop: "fkjgJyqk",
col: "3",
col: "4",
},
{
label: "反馈时间:",
......@@ -301,4 +301,14 @@ export default {
};
</script>
<style scoped lang="scss">
/deep/.col4 {
display: flex;
padding: 5px 0;
span.label {
font-size: 15px;
color: #363636;
font-weight: bold;
width: 150px !important;
}
}
</style>
......@@ -27,7 +27,7 @@
"
>督办列表</span
>
<div class="quan">{{db}}</div>
<div class="quan">{{ db }}</div>
</div>
<div
class="block"
......@@ -67,7 +67,7 @@
"
>反馈列表</span
>
<div class="quan">{{fk}}</div>
<div class="quan">{{ fk }}</div>
</div>
<div
class="block"
......@@ -103,8 +103,8 @@ export default {
},
data() {
return {
fk:'1',
db:'1',
fk: "1",
db: "1",
loadingTime: false,
activitiesDb: [
// {
......@@ -132,7 +132,7 @@ export default {
activitiesFk: [],
cxQueryField: [
{
title: "合并研判产品信息",
// title: "合并研判产品信息",
id: 1,
objStr: "", //对象中的对应字段
data: [
......@@ -149,17 +149,17 @@ export default {
{
label: "当前工作简要情况:",
prop: "dqgzJyqk",
col: "3",
col: "4",
},
{
label: "工作要求简要情况:",
prop: "gzyqJyqk",
col: "3",
col: "4",
},
{
label: "工作目标简要情况:",
prop: "gzmbJyqk",
col: "3",
col: "4",
},
{
label: "工作期限:",
......@@ -179,7 +179,7 @@ export default {
{
label: "办结简要情况:",
prop: "bjJyqk",
col: "3",
col: "4",
},
],
},
......@@ -197,8 +197,8 @@ export default {
}).then((res) => {
this.activitiesDb = res.data.dbList;
this.activitiesFk = res.data.fkList;
this.db = res.data.dbCount
this.fk = res.data.fkCount
this.db = res.data.dbCount;
this.fk = res.data.fkCount;
});
},
getInfor() {
......@@ -237,4 +237,14 @@ export default {
margin-right: 86%;
color: #fff;
}
/deep/.col4 {
display: flex;
padding: 5px 0;
span.label {
font-size: 15px;
color: #363636;
font-weight: bold;
width: 150px !important;
}
}
</style>
......@@ -5,7 +5,7 @@
<span class="flTtitle">查询条件</span>
</el-col>
<el-form>
<el-form-item label="统计时间:">
<el-form-item label="统计时间:" label-width="140px">
<el-date-picker
v-model="form.startDate"
type="date"
......
......@@ -116,7 +116,7 @@
<el-pagination
background
@current-change="handleCurrentChange"
:page-sizes="[10, 20, 50, 100]"
:page-sizes="[10]"
:page-size="10"
layout="sizes, prev, pager, next"
:total="tableDataLength">
......@@ -217,18 +217,23 @@ export default {
xxzjbh: b,
sffb : a
}
updateFbzt(form).then((res) => {
if (res.success && res.code == 200) {
this.$alert("更新成功!", "提示", {
confirmButtonText: "确定",
type: "success",
callback: () => {
this.doQuery()
},
const msg = a ? '是否确认发布' : '是否确认下线'
this.$confirm(msg, "提示", { type: "warning" })
.then((_) => {
updateFbzt(form).then((res) => {
if (res.success && res.code == 200) {
this.$alert("更新成功!", "提示", {
confirmButtonText: "确定",
type: "success",
callback: () => {
this.doQuery()
},
})
} else {
}
})
} else {
}
})
})
.catch((_) => {});
}
}
};
......
......@@ -106,7 +106,7 @@
<el-pagination
background
@current-change="handleCurrentChange"
:page-sizes="[10, 20, 50, 100]"
:page-sizes="[10]"
:page-size="10"
layout="sizes, prev, pager, next"
:total="tableDataLength">
......
<template>
<div class="Content-mxgl" v-loading="pageLoding">
<div class="Content-mxgl">
<div>
<el-form ref="ruleForm" :model="ruleForm" :rules="rules" class="demo-ruleForm">
<el-row :gutter="20">
......@@ -48,7 +48,7 @@
<div v-for="(item, index) in srmxList" :key="index">
<el-row :gutter="20">
<el-col :span="8">
<el-form-item label="参数名称:">
<el-form-item :label="'参数名称' + `${index+1}`">
<el-input
v-model="item.mxsrCsmc"
placeholder="请输入参数名称"
......@@ -87,7 +87,7 @@
<div v-for="(item, index) in scmxList" :key="'ind-' + index">
<el-row :gutter="20">
<el-col :span="8">
<el-form-item label="参数名称:">
<el-form-item :label="'参数名称' + `${index+1}`">
<el-input
v-model="item.mxscCsmc"
placeholder="请输入参数名称"
......@@ -134,7 +134,7 @@
</el-row>
</el-form>
</div>
<div class="btn"><el-button type="primary" size="medium" @click="submitForm('ruleForm')">保存</el-button></div>
<div class="btn"><el-button type="primary" size="medium" @click="submitForm('ruleForm')" :loading="pageLoading">保存</el-button></div>
<el-dialog title="指挥人员列表" :visible.sync="dialogTableVisible">
<el-table :data="gridData" @selection-change="handleSelectionChange">>
<el-table-column
......@@ -148,7 +148,7 @@
</el-table>
<span slot="footer" class="dialog-footer">
<el-button @click="dialogTableVisible = false">取 消</el-button>
<el-button type="primary" @click="toSure">确 定</el-button>
<el-button type="primary" @click="toSure" :loading="loading">确 定</el-button>
</span>
</el-dialog>
</div>
......@@ -168,7 +168,8 @@ export default {
header: "辅助决策",
pageBs: "mxgl",
dialogTableVisible: false,
pageLoding: false,
loading: false,
pageLoading: false,
checkList: [],
gridData: [],
multipleSelection: [],
......@@ -374,7 +375,7 @@ export default {
this.srmxList.push(obj)
},
addScmx() {
let obj = { mxscCsmc: '', mxscCslx: '1', mxscCsms: '' }
let obj = { mxscCsmc: '', mxscCslx: 'JSON', mxscCsms: '' }
this.scmxList.push(obj)
},
subtractSrmx(index) {
......@@ -416,6 +417,7 @@ export default {
formdata.append("cyyw",form.cyyw);
this.$refs[formName].validate((valid) => {
if (valid) {
this.pageLoading = true
insertTbYwMxclzx(formdata).then((res) => {
if (res.success && res.code == 200) {
this.$alert("保存成功!", "提示", {
......@@ -427,8 +429,13 @@ export default {
})
} else {
}
this.pageLoading = false
})
} else {
this.$alert("请填写必填字段!", "提示", {
confirmButtonText: "确定",
type: "warning",
});
return false
}
});
......@@ -476,17 +483,18 @@ export default {
} else {
msg = '系统消息发送成功'
}
this.$message({
message: msg,
type: 'success'
})
} else {
msg="发送成功"
}
this.loading = true
setTimeout(()=> {
this.$message({
message: '发送成功',
message: msg,
type: 'success'
})
}
this.dialogTableVisible = false
this.loading = false
this.dialogTableVisible = false
},2000)
}
}
};
......
<!--
* @Author: your name
* @Date: 2021-11-24 10:16:47
* @LastEditTime: 2021-11-30 10:40:46
* @LastEditors: Please set LastEditors
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @FilePath: \刑侦二期(1)\founder_vue\src\views\sf\xnpgbg.vue
-->
<template>
<div style=" width: 1200px; margin:0 auto;">
<div class="min">
<el-form :inline="true"
:model="cxFormData"
ref="cxFormData"
class="demo-form-inline"
>
<el-form-item label="开始时间:">
<el-date-picker
v-model="cxFormData.kssj"
type="month"
suffix-icon="el-icon-date"
value-format="yyyy-MM"
placeholder="选择日期">
</el-date-picker>
</el-form-item>
<el-form-item label="结束时间:">
<el-date-picker
v-model="cxFormData.jssj"
type="month"
suffix-icon="el-icon-date"
value-format="yyyy-MM"
placeholder="选择日期">
</el-date-picker>
</el-form-item>
<el-form-item label="受理单位:">
<select-tree-dialog
placeholder="请选择"
sendId="unitcode"
:formData="cxFormData"
:currentItem="currentItem"
/>
</el-form-item>
</el-form>
</div>
<div class="xnbox">
<div class="bgbox">
<div class="bg">
<span><img :src="header" alt="" /></span>
<span class="xnbg">单位工作效能评估报告</span>
</div>
<div class="btn">
<el-button icon="el-icon-download">导出报告</el-button>
</div>
</div>
<div style="padding: 0 10px;">
<div class="title">单位效能评估报告</div>
<!-- 柱状图 -->
<div class="htitle">
<span class="hfont">单位业务效能评估情况</span>
</div>
<div class="Info">{{ headerInfo1 }}</div>
<div class="echars">
<div id="barMain" style="width: 100%; height: 400px"></div>
</div>
<div style="margin-top: 20px">
<el-table
id="ajzbQuery"
v-loading="tableLoading"
element-loading-text="拼命加载中"
ref="itsmDataTable"
:data="tableBarData"
tooltip-effect="dark"
max-height="450"
width="100%"
size="small"
:header-cell-style="{ background: '#F0F0F1' }"
>
<el-table-column
v-for="columnTitle in cxDefaultFormThead"
:prop="columnTitle.prop"
:key="columnTitle.label"
:label="columnTitle.label"
:width="columnTitle.width"
>
</el-table-column>
</el-table>
</div>
<!-- 折线图 -->
<div style="margin-top: 40px; margin-bottom: 40px;height:100%;">
<div class="htitle">
<span class="hfont">单位系统业务效能评估情况</span>
</div>
<div class="Info"> {{ headerInfo2 }} </div>
<div class="echars">
<div id="lineMain" style="width: 100%; height: 400px"></div>
</div>
<div style="margin-top: 20px">
<el-table
id="ajzbQuery"
v-loading="tableLoading"
element-loading-text="拼命加载中"
ref="itsmDataTable"
:data="tableLineData"
tooltip-effect="dark"
max-height="450"
width="100%"
size="small"
:header-cell-style="{ background: '#F0F0F1' }"
>
<el-table-column
v-for="columnTitle in cxDefaultFormThead2"
:prop="columnTitle.prop"
:key="columnTitle.label"
:label="columnTitle.label"
:width="columnTitle.width"
>
</el-table-column>
</el-table>
</div>
</div>
</div>
</div>
</div>
</template>
<script>
import SelectTreeDialog from "@c/treeCode_components.vue";
import SearchCollapse from "@c/searchCollapse.vue";
import {
queryYwgzAll,
queryDysDlrzAll,
} from "@/api/xnpgbg.js";
export default {
name:"dwxnpgbg",
components: {
SearchCollapse,
SelectTreeDialog,
},
data() {
return {
tableLoading:false,
cxFormData:{
unitcode:"",
kssj:"",
jssj:"",
},
currentItem:{
id:'unitcode',
props: [],
value: "",
codeOptions: [],
codeTree: 'CODE_UNIT'
},
header: require("../../assets/xnpgbg/header.png"),
headerInfo1:"",
headerInfo2:"",
headerTitle2: "系统使用情况",
Menu: [
{
id: "dwxnpgbg",
label: "单位效能评估报告",
index: "ywxnpgbg",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
],
cxDefaultFormThead: [
{
label: "辖区单位",
prop: "name",
width: "auto",
},
{
label: "立案数",
prop: "las",
width: "auto",
},
{
label: "立案采集率",
prop: "lal",
width: "auto",
},
{
label: "侦察环节采集率",
prop: "zchjcjv",
width: "auto",
},
{
label: "侦察终结案件数",
prop: "zczjs",
width: "auto",
},
{
label: "侦察终结率",
prop: "zczjl",
width: "auto",
},
],
tableBarData: [],
tableLineData: [],
cxDefaultFormThead2: [
{
label: "单位名称",
prop: "name",
width: "auto",
},
{
label: "刑嫌调控",
prop: "xxtk",
width: "auto",
},
{
label: "工作指令",
prop: "gzzl",
width: "auto",
},
{
label: "人力情报",
prop: "rlqb",
width: "auto",
},
{
label: "阵地管控",
prop: "zdgk",
width: "auto",
},
{
label: "组织犯罪",
prop: "zzfz",
width: "auto",
},
{
label: "发起次数",
prop: "fqcs",
width: "auto",
},
],
};
},
created() {
this.$store.commit("user/SET_Menu", this.Menu);
},
methods:{
/**
* @description 绘制柱状图
*/
startMyEcharts1(hData,zData) {
// 基于准备好的dom,初始化echarts实例
let barCharts = this.$echarts.init(document.getElementById('barMain'));
barCharts.setOption({
title: {
text: "辖区工作情况分析",
},
color: ["#FFC36D"],
tooltip: {
trigger: "axis",
axisPointer: {
type: "shadow",
},
},
xAxis: [
{
type: "category",
data:hData,
//设置字体倾斜
axisLabel: {
interval: 0,
rotate: 45,
//倾斜度 -90 至 90 默认为0
textStyle: {
fontSize:10,
color: "#000000"
}
},
axisTick: {
show: false,
},
axisLine: {
show: false,
},
splitLine: {
show: false,
lineStyle: {
type: "dashed",
color: "#113d5e",
},
},
},
],
yAxis: [
{
min: 0, //y轴的最小值
max: 100, //y轴最大值
interval: 20, //值之间的间隔
type: "value",
axisLine: {
show: false,
},
axisTick: {
show: false,
},
splitLine: {
show: true,
lineStyle: {
type: "dashed",
},
},
},
],
series: [
{
name: "总数",
type: "bar",
barWidth: "60%",
data: zData,
// barWidth: 30, //柱图宽度
},
],
});
},
startMyEcharts2(hData,zData) {
// 基于准备好的dom,初始化echarts实例
let lineCharts = this.$echarts.init(document.getElementById('lineMain'));
lineCharts.setOption({
title: {
text: "系统使用情况分析",
},
color: ["#0061F7"],
xAxis: {
type: "category",
data: hData,
//设置字体倾斜
axisLabel: {
interval: 0,
rotate: 45,
//倾斜度 -90 至 90 默认为0
textStyle: {
fontSize:10,
color: "#000000"
}
},
axisTick: {
show: false,
},
axisLine: {
show: false,
},
splitLine: {
show: false,
lineStyle: {
type: "dashed",
color: "#113d5e",
},
},
},
yAxis: {
type: "value",
min: 0, //y轴的最小值
max: 10000, //y轴最大值
interval: 2000, //值之间的间隔
axisLine: {
show: false,
},
axisTick: {
show: false,
},
splitLine: {
show: true,
lineStyle: {
type: "dashed",
},
},
},
series: [
{
name: "发起次数",
type: "line",
stack: "Total",
data: zData,
},
],
tooltip: {
trigger: "axis",
},
});
},
/**
* @description 获取表格数据
*/
doQueryYwData(){
var self = this;
let cxFormDataCopy = JSON.parse(JSON.stringify(self.cxFormData))
queryYwgzAll(cxFormDataCopy).then((res)=>{
console.log(res,'resrerer')
if (res.success && res.code == 200) {
let hData1 = []
let zData1 = []
if(res.data.rows.length>0){
res.data.rows.forEach((el,index)=>{
hData1.push(el.name)
zData1.push(el.total+index+1)
})
this.startMyEcharts1(hData1,zData1)
self.headerInfo1 = `${self.cxFormData.kssj}${self.cxFormData.jssj}${res.data.rows[0].name}单位共接受案事件${res.data.rows[0].jsasjs}起,
处理立案${res.data.rows[0].las}起,处理案件侦查XXX起;侦查终结案事件${res.data.rows[0].zczjs}起。立案信息采集率为${res.data.rows[0].lal}、立案侦查终结率为${res.data.rows[0].zczjl}`
}
self.tableBarData = res.data.rows
}
})
},
doQueryXtData(){
var self = this;
let cxFormDataCopy = JSON.parse(JSON.stringify(self.cxFormData))
queryDysDlrzAll(cxFormDataCopy).then((res)=>{
console.log(res,'ressdsfsdfsd')
if (res.success && res.code == 200) {
let hData1 = []
let zData1 = []
if(res.data.rows.length>0){
res.data.rows.forEach((el,index)=>{
hData1.push(el.name)
zData1.push(el.fqcs)
})
this.startMyEcharts2(hData1,zData1)
self.headerInfo2 =
`${self.cxFormData.kssj}${self.cxFormData.jssj}
${res.data.rows[0].name}单位刑嫌调控${res.data.rows[0].xxtk}次,工作指令${res.data.rows[0].gzzl}次、
人力情报${res.data.rows[0].rlqb}起,阵地管控${res.data.rows[0].zdgk}起、处理组织犯罪${res.data.rows[0].zzfz}起、发起次数${res.data.rows[0].fqcs}`
}
self.tableLineData = res.data.rows
}
})
}
},
mounted() {
this.cxFormData.kssj = new Date().getFullYear() +'-01';
this.cxFormData.jssj = new Date().getFullYear() +'-12';
this.doQueryYwData()
this.doQueryXtData()
},
watch:{
cxFormData:{
handler(value){
console.log(value,'valueuefhaush')
this.doQueryYwData()
this.doQueryXtData()
},
deep:true,
},
}
};
</script>
<style lang="scss" scoped>
.title {
font-size: 28px;
font-family: Source Han Sans CN;
font-weight: bold;
line-height: 48px;
color: #1f212c;
opacity: 1;
margin: 38px 0 38px 0px;
}
.el-button {
padding: 12px 16px;
margin-right: 0px !important;
}
.xnbox {
width: 98%;
// height: 1808px;
background: #ffffff;
border: 1px solid #e4e4e4;
opacity: 1;
border-radius: 8px;
// margin-top: 72px;
margin-left: 20px;
margin-right: 20px;
box-sizing: border-box;
padding-right: 100px;
.bgbox {
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid #e2e2e2;
margin: 0px 20px 0 20px;
}
.bg {
height: 64px;
background: rgba(255, 255, 255, 0);
// border: 1px solid #e2e2e2;
border-radius: 8px 8px 0px 0px;
display: flex;
align-items: center;
box-sizing: border-box;
img {
width: 24px;
height: 24px;
}
.xnbg {
margin-left: 14px;
font-size: 18px;
font-family: Source Han Sans CN;
font-weight: 400;
line-height: 31px;
color: #1f212c;
opacity: 1;
}
.btn /deep/ {
margin-right: 20px !important;
}
}
}
.min /deep/ {
height: 72px;
display: flex;
align-items: center;
padding: 0 20px;
.el-date-editor.el-input,
.el-date-editor.el-input__inner {
width: 120px;
height: 32px;
}
.zhi {
margin: 0 8px;
font-size: 12px;
font-family: Microsoft YaHei;
font-weight: 400;
line-height: 16px;
color: #c7cbd3;
opacity: 1;
}
.sele {
.el-select {
width: 96px;
height: 32px;
margin-left: 26px;
}
}
.police {
.el-select {
width: 200px;
height: 32px;
margin-left: 8px;
}
}
}
.demo-form-inline{
padding-top: 30px;
}
.zdybtn{
width: 76px;
height: 32px;
// background: #FFFFFF;
border: 1px solid #D9D9D9;
opacity: 1;
border-radius: 4px;
line-height: 32px;
text-align: center;
margin-left: 12px;
cursor: pointer;
}
.htitle {
background: linear-gradient(90deg, #e1e1e1 0%, #ffffff 100%);
opacity: 1;
height: 40px;
display: flex;
align-items: center;
.hfont {
margin-left: 20px;
font-size: 18px;
font-family: Source Han Sans CN;
font-weight: bold;
line-height: 31px;
color: #363636;
opacity: 1;
}
}
.Info {
font-size: 16px;
font-family: Source Han Sans CN;
font-weight: 400;
line-height: 28px;
color: #595e6c;
opacity: 1;
text-indent: 2em;
margin: 20px;
}
.echars {
height: 400px;
// background: pink;
}
.demo-form-inline{
padding-top: 10px;
}
/deep/.el-form-item{
margin-bottom: 0 !important;
}
</style>
<!--
* @Author: your name
* @Date: 2021-11-29 17:12:15
* @LastEditTime: 2021-11-30 10:46:52
* @LastEditors: Please set LastEditors
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @FilePath: \founder_vue\src\views\sf\grxnpgbg.vue
-->
<template>
<div style=" width: 1200px; margin:0 auto;">
<div class="min">
<el-form :inline="true"
:model="cxFormData"
ref="cxFormData"
:rules="rules"
class="demo-form-inline"
>
<el-form-item label="开始时间:">
<el-date-picker
v-model="cxFormData.kssj"
type="month"
suffix-icon="el-icon-date"
value-format="yyyy-MM"
placeholder="选择日期">
</el-date-picker>
</el-form-item>
<el-form-item label="结束时间:">
<el-date-picker
v-model="cxFormData.jssj"
type="month"
suffix-icon="el-icon-date"
value-format="yyyy-MM"
placeholder="选择日期"
>
</el-date-picker>
</el-form-item>
<el-form-item label="身份证号码:" prop="sfhm">
<el-input
v-model="cxFormData.sfhm"
placeholder="请输入身份证号码"
@blur="sfBlur"
></el-input>
</el-form-item>
</el-form>
</div>
<div class="xnbox">
<div class="bgbox">
<div class="bg">
<span><img :src="header" alt="" /></span>
<span class="xnbg">效能评估报告</span>
</div>
<div class="btn">
<el-button icon="el-icon-download">导出报告</el-button>
</div>
</div>
<div style="padding:0 10px;">
<div class="title">个人效能评估报告</div>
<!-- 柱状图 -->
<div class="htitle">
<span class="hfont">个人业务效能评估情况</span>
</div>
<div class="Info">{{ headerInfo1 }}</div>
<div class="echars">
<div id="barMain" style="width: 100%; height: 400px"></div>
</div>
<div style="margin-top: 20px">
<el-table
id="ajzbQuery"
v-loading="tableLoading"
element-loading-text="拼命加载中"
ref="itsmDataTable"
:data="tableBarData"
tooltip-effect="dark"
max-height="450"
width="100%"
size="small"
:header-cell-style="{ background: '#F0F0F1' }"
>
<el-table-column
v-for="columnTitle in cxDefaultFormThead"
:prop="columnTitle.prop"
:key="columnTitle.label"
:label="columnTitle.label"
:width="columnTitle.width"
>
</el-table-column>
</el-table>
</div>
<!-- 折线图 -->
<div style="margin-top: 40px; margin-bottom: 40px">
<div class="htitle">
<span class="hfont">个人系统业务效能评估情况</span>
</div>
<div class="Info"> {{ headerInfo2 }} </div>
<div class="echars">
<div id="lineMain" style="width: 100%; height: 400px"></div>
</div>
<div style="margin-top: 20px">
<el-table
id="ajzbQuery"
v-loading="tableLoading"
element-loading-text="拼命加载中"
ref="itsmDataTable"
:data="tableLineData"
tooltip-effect="dark"
max-height="450"
width="100%"
size="small"
:header-cell-style="{ background: '#F0F0F1' }"
>
<el-table-column
v-for="columnTitle in cxDefaultFormThead2"
:prop="columnTitle.prop"
:key="columnTitle.label"
:label="columnTitle.label"
:width="columnTitle.width"
>
</el-table-column>
</el-table>
</div>
</div>
</div>
</div>
</div>
</template>
<script>
import {
queryYwgzAllByPerson,
querySysDlrzAllByPerson,
} from "@/api/xnpgbg.js";
export default {
name:'grxnpgbg',
components: {
},
data() {
return {
cxFormData:{
sfhm:"",
kssj:"",
jssj:"",
},
tableLoading: false,
tableBarData:[],
headerInfo1:"",
tableLineData:[],
header: require("../../assets/xnpgbg/header.png"),
headerInfo2:"",
headerTitle2: "系统使用情况",
Menu: [
{
id: "grxnpgbg",
label: "个人效能评估报告",
index: "xnpgbg",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
],
cxDefaultFormThead: [
{
label: "身份号码",
prop: "sfhm",
width: "auto",
},
{
label: "月份",
prop: "month",
width: "auto",
},
{
label: "立案采集率",
prop: "lal",
width: "auto",
},
{
label: "侦察环节采集率",
prop: "zchjcjv",
width: "auto",
},
{
label: "侦察终结案件数",
prop: "zczjs",
width: "auto",
},
{
label: "侦察终结率",
prop: "zczjl",
width: "auto",
},
],
tableData: [],
cxDefaultFormThead2: [
{
label: "身份证号",
prop: "sfhm",
width: "auto",
},
{
label: "月份",
prop: "month",
width: "auto",
},
{
label: "刑嫌调控",
prop: "xxtk",
width: "auto",
},
{
label: "工作指令",
prop: "gzzl",
width: "auto",
},
{
label: "人力情报",
prop: "rlqb",
width: "auto",
},
{
label: "阵地管控",
prop: "zdgk",
width: "auto",
},
{
label: "组织犯罪",
prop: "zzfz",
width: "auto",
},
{
label: "发起次数",
prop: "fqcs",
width: "auto",
},
],
tableData2: [
{
xtgn: "系统名称",
sycs: "100",
lacjl: "50%",
zchjcjv: "23%",
zczjajs: "88",
zczjl: "8.58%",
},
{
xtgn: "系统名称",
sycs: "100",
lacjl: "50%",
zchjcjv: "23%",
zczjajs: "88",
zczjl: "8.58%",
},
{
xtgn: "系统名称",
sycs: "100",
lacjl: "50%",
zchjcjv: "23%",
zczjajs: "88",
zczjl: "8.58%",
},
{
xtgn: "系统名称",
sycs: "100",
lacjl: "50%",
zchjcjv: "23%",
zczjajs: "88",
zczjl: "8.58%",
},
{
xtgn: "系统名称",
sycs: "100",
lacjl: "50%",
zchjcjv: "23%",
zczjajs: "88",
zczjl: "8.58%",
},
],
rules:{
sfhm:this.$rules.emptyAbleIdentityBT,
}
};
},
created() {
this.$store.commit("user/SET_Menu", this.Menu);
},
methods:{
/**
* @description 绘制柱状图
*/
startMyEcharts1(hData=[],zData=[]) {
// 基于准备好的dom,初始化echarts实例
let barCharts = this.$echarts.init(document.getElementById('barMain'));
barCharts.setOption({
title: {
text: "个人工作情况分析",
},
color: ["#FFC36D"],
tooltip: {
trigger: "axis",
axisPointer: {
type: "shadow",
},
},
xAxis: [
{
type: "category",
data: hData,
//设置字体倾斜
axisLabel: {
interval: 0,
rotate: 45,
//倾斜度 -90 至 90 默认为0
textStyle: {
fontSize:10,
color: "#000000"
}
},
axisTick: {
show: false,
},
axisLine: {
show: false,
},
splitLine: {
show: false,
lineStyle: {
type: "dashed",
color: "#113d5e",
},
},
},
],
yAxis: [
{
min: 0, //y轴的最小值
max: 100, //y轴最大值
interval: 20, //值之间的间隔
type: "value",
axisLine: {
show: false,
},
axisTick: {
show: false,
},
splitLine: {
show: true,
lineStyle: {
type: "dashed",
},
},
},
],
series: [
{
name: "总数",
type: "bar",
barWidth: "60%",
data: zData,
barWidth: 30, //柱图宽度
},
],
});
},
startMyEcharts2(hData=[],zData=[]) {
// 基于准备好的dom,初始化echarts实例
let lineCharts = this.$echarts.init(document.getElementById('lineMain'));
lineCharts.setOption({
title: {
text: "系统使用情况分析",
},
color: ["#0061F7"],
xAxis: {
type: "category",
data: hData,
//设置字体倾斜
axisLabel: {
interval: 0,
rotate: 45,
//倾斜度 -90 至 90 默认为0
textStyle: {
fontSize:10,
color: "#000000"
}
},
axisTick: {
show: false,
},
axisLine: {
show: false,
},
splitLine: {
show: false,
lineStyle: {
type: "dashed",
color: "#113d5e",
},
},
},
yAxis: {
type: "value",
min: 0, //y轴的最小值
max: 10000, //y轴最大值
interval: 2000, //值之间的间隔
axisLine: {
show: false,
},
axisTick: {
show: false,
},
splitLine: {
show: true,
lineStyle: {
type: "dashed",
},
},
},
series: [
{
name: "发起次数",
type: "line",
stack: "Total",
data: zData,
},
],
tooltip: {
trigger: "axis",
},
});
},
doQueryYwData(){
var self = this;
queryYwgzAllByPerson({
sfhm:"",
kssj:"2018-01",
jssj:"2021-12",
}).then((res)=>{
if (res.success && res.code == 200) {
let hData1 = []
let zData1 = []
if(res.data.rows.length>0){
res.data.rows.forEach((el)=>{
hData1.push(el.month)
zData1.push(el.total)
})
this.startMyEcharts1(hData1,zData1)
self.headerInfo1 = `${self.cxFormData.kssj}${self.cxFormData.jssj}${res.data.rows[0].sfhm}共接受案事件${res.data.rows[0].jsasjs}起,
处理立案${res.data.rows[0].las}起,处理案件侦查XXX起;侦查终结案事件${res.data.rows[0].zczjs}起。立案信息采集率为XX%、立案侦查终结率为${res.data.rows[0].zczjl}`
}
self.tableBarData = res.data.rows
}
})
},
doQueryXtData(){
var self = this;
let cxFormDataCopy = JSON.parse(JSON.stringify(self.cxFormData))
querySysDlrzAllByPerson(cxFormDataCopy).then((res)=>{
console.log(res,'ressdsfsdfsd')
if (res.success && res.code == 200) {
let hData1 = []
let zData1 = []
let arr = res.data.rows || res.data.message
if(arr.length>0 ){
res.data.message || res.data.rows.forEach((el)=>{
hData1.push(el.month)
zData1.push(el.fqcs)
})
this.startMyEcharts2(hData1,zData1)
self.headerInfo2 = `${self.cxFormData.kssj}${self.cxFormData.jssj}
${res.data.rows[0].sfhm}刑嫌调控${res.data.rows[0].xxtk}次,工作指令${res.data.rows[0].gzzl}次、
人力情报${res.data.rows[0].rlqb}起,阵地管控${res.data.rows[0].zdgk}起、处理组织犯罪${res.data.rows[0].zzfz}起、发起次数${res.data.rows[0].fqcs}`
}
self.tableLineData = res.data.rows
}
})
},
/**
* @descript 身份证失去焦点查询
*
*/
sfBlur(value){
this.$refs["cxFormData"].validate((valid) => {
if (valid) {
this.doQueryYwData()
this.doQueryXtData()
}else {
return false;
}
})
}
},
mounted() {
this.cxFormData.kssj = new Date().getFullYear() +'-01';
this.cxFormData.jssj = new Date().getFullYear() +'-12';
this.doQueryYwData()
this.doQueryXtData()
},
watch:{
"cxFormData.kssj":{
handler(val){
this.doQueryYwData()
this.doQueryXtData()
}
},
"cxFormData.jssj":{
handler(val){
this.doQueryYwData()
this.doQueryXtData()
}
},
}
};
</script>
<style lang="scss" scoped>
// .el-icon-search {
// background: red;
// font-size: 16px;
// background-size: cover;
// }
// .el-icon-search:before {
// content: "替";
// font-size: 16px;
// }
.title {
font-size: 28px;
font-family: Source Han Sans CN;
font-weight: bold;
line-height: 48px;
color: #1f212c;
opacity: 1;
margin: 38px 0 38px 0px;
}
.el-button {
padding: 12px 16px;
margin-right: 0px !important;
}
.xnbox {
width: 98%;
// height: 1808px;
background: #ffffff;
border: 1px solid #e4e4e4;
opacity: 1;
border-radius: 8px;
// margin-top: 72px;
margin-left: 20px;
margin-right: 20px;
box-sizing: border-box;
padding-right: 100px;
.bgbox {
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid #e2e2e2;
margin: 0px 20px 0 20px;
}
.bg {
height: 64px;
background: rgba(255, 255, 255, 0);
// border: 1px solid #e2e2e2;
border-radius: 8px 8px 0px 0px;
display: flex;
align-items: center;
box-sizing: border-box;
img {
width: 24px;
height: 24px;
}
.xnbg {
margin-left: 14px;
font-size: 18px;
font-family: Source Han Sans CN;
font-weight: 400;
line-height: 31px;
color: #1f212c;
opacity: 1;
}
.btn /deep/ {
margin-right: 20px !important;
//修改icon
.el-button {
}
}
}
}
.min /deep/ {
height: 72px;
display: flex;
align-items: center;
padding: 0 20px;
.el-date-editor.el-input,
.el-date-editor.el-input__inner {
width: 120px;
height: 32px;
}
.zhi {
margin: 0 8px;
font-size: 12px;
font-family: Microsoft YaHei;
font-weight: 400;
line-height: 16px;
color: #c7cbd3;
opacity: 1;
}
.sele {
.el-select {
width: 96px;
height: 32px;
margin-left: 26px;
}
}
.police {
.el-select {
width: 200px;
height: 32px;
margin-left: 8px;
}
}
}
.htitle {
background: linear-gradient(90deg, #e1e1e1 0%, #ffffff 100%);
opacity: 1;
height: 40px;
display: flex;
align-items: center;
.hfont {
margin-left: 20px;
font-size: 18px;
font-family: Source Han Sans CN;
font-weight: bold;
line-height: 31px;
color: #363636;
opacity: 1;
}
}
.Info {
font-size: 16px;
font-family: Source Han Sans CN;
font-weight: 400;
line-height: 28px;
color: #595e6c;
opacity: 1;
text-indent: 2em;
margin: 20px;
}
.echars {
height: 400px;
// background: pink;
}
.demo-form-inline{
padding-top: 10px;
}
/deep/.el-form-item{
margin-bottom: 0 !important;
}
</style>
......@@ -85,7 +85,7 @@
<el-pagination
background
@current-change="handleCurrentChange"
:page-sizes="[10, 20, 50, 100]"
:page-sizes="[10]"
:page-size="10"
layout="sizes, prev, pager, next"
:total="tableDataLength">
......@@ -251,7 +251,7 @@ export default {
xxzjbh: b,
sffb : a
}
const msg = a ? '是否确认下线' : '是否确认发布'
const msg = a ? '是否确认发布' : '是否确认下线'
this.$confirm(msg, "提示", { type: "warning" })
.then((_) => {
updateWjcsfFbzt(form).then((res) => {
......
......@@ -109,9 +109,6 @@ export default {
},
created() {
this.$store.commit("user/SET_Menu", this.Menu);
// this.$store.commit("user/SET_LeftMenu", this.leftMenus);
// this.$store.commit("user/SET_Header", this.header);
// this.cxListForm = JSON.parse(sessionStorage.getItem("cxListForm"));
},
mounted() {
this.doQuery()
......@@ -139,6 +136,7 @@ export default {
this.centerDialogVisible = true;
},
sendCs(sfcs, idx) {
console.log(idx)
this.num = idx
this.loading = true
const param = {
......
<!--
* @Author: your name
* @Date: 2021-11-24 10:16:47
* @LastEditTime: 2021-11-25 14:34:12
* @LastEditors: Please set LastEditors
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @FilePath: \刑侦二期(1)\founder_vue\src\views\sf\xnpgbg.vue
-->
<template>
<div>
<div class="min">
<el-date-picker v-model="monValue1" type="month" placeholder="选择日期">
</el-date-picker>
<span class="zhi"></span>
<el-date-picker v-model="monValue2" type="month" placeholder="选择日期">
</el-date-picker>
<!-- <div class="setMin">
<el-date-picker v-model="monValue1" type="month" placeholder="选择月">
</el-date-picker>
<el-date-picker v-model="monValue2" type="month" placeholder="选择月">
</el-date-picker>
</div> -->
<div class="sele">
<el-select v-model="selectValue" placeholder="请选择">
<el-option
v-for="item in options"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</el-select>
</div>
<div class="police">
<el-select v-model="selectValuePolice" placeholder="请选择">
<el-option
v-for="item in optionsPolice"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</el-select>
</div>
</div>
<div class="xnbox">
<div class="bgbox">
<div class="bg">
<span><img :src="header" alt="" /></span>
<span class="xnbg">效能评估报告</span>
</div>
<div class="btn">
<!-- <el-button> <i class="el-icon-download"></i>导出报告</el-button> -->
<el-button icon="el-icon-download">导出报告</el-button>
</div>
</div>
<div style="padding-left: 40px; padding-right: 40px">
<div class="title">XXX效能评估报告</div>
<!-- 柱状图 -->
<div>
<search-collapse
:cxDefaultFormThead="cxDefaultFormThead"
:tableData="tableData"
:headerTitle="headerTitle"
:headerInfoTitle="headerInfo"
>
<template v-slot:echars>
<div id="main" style="width: 100%; height: 256px"></div>
</template>
</search-collapse>
</div>
<!-- 折线图 -->
<div style="margin-top: 40px; margin-bottom: 40px">
<search-collapse
:cxDefaultFormThead="cxDefaultFormThead2"
:tableData="tableData2"
:headerTitle="headerTitle2"
:headerInfoTitle="headerInfo2"
>
<template v-slot:echars>
<div id="main2" style="width: 100%; height: 256px"></div>
</template>
</search-collapse>
</div>
</div>
</div>
</div>
</template>
<script>
import SearchCollapse from "@c/searchCollapse.vue";
export default {
components: {
SearchCollapse,
},
data() {
return {
monValue1: "",
monValue2: "",
header: require("../../assets/xnpgbg/header.png"),
value1: "",
value2: "",
headerInfo:
" 2020-01至2021-12,XXX单位共接受案事件XXX起,处理立案XXX起,处理案件侦查XXX起;侦查终结案事件XXX起。立案信息采集率为XX%、立案侦查终结率为XX%2020-01至2021-12,XXX单位共接受案事件XXX起,处理立案XXX起,处理案件侦查XXX起;侦查终结案事件XXX起。立案信息采集率为XX%、立案侦查终结率为XX%",
headerTitle: "业务工作情况",
headerInfo2:
" 2020-01至2021-12,XXX单位共访问刑侦系统服务XXXXX次,日均访问量XXX次。使用刑侦系统处理案件XXX起,其中处理立案信息XXX起、处理案件侦查信息XXX起。2020-01至2021-12,XXX单位共访问刑侦系统服务XXXXX次,日均访问量XXX次。使用刑侦系统处理案件XXX起,其中处理立案信息XXX起、处理案件侦查信息XXX起。",
headerTitle2: "系统使用情况",
Menu: [
{
id: "xnpgbg",
label: "效能评估报告",
index: "xnpgbg",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
],
cxDefaultFormThead: [
{
label: "辖区单位",
prop: "xqdw",
width: "auto",
},
{
label: "立案数",
prop: "las",
width: "auto",
},
{
label: "立案采集率",
prop: "lacjl",
width: "auto",
},
{
label: "侦察环节采集率",
prop: "zchjcjv",
width: "auto",
},
{
label: "侦察终结案件数",
prop: "zczjajs",
width: "auto",
},
{
label: "侦察终结率",
prop: "zczjl",
width: "auto",
},
],
tableData: [
{
xqdw: "单位名称",
las: "100",
lacjl: "50%",
zchjcjv: "23%",
zczjajs: "88",
zczjl: "8.58%",
},
{
xqdw: "单位名称",
las: "100",
lacjl: "50%",
zchjcjv: "23%",
zczjajs: "88",
zczjl: "8.58%",
},
{
xqdw: "单位名称",
las: "100",
lacjl: "50%",
zchjcjv: "23%",
zczjajs: "88",
zczjl: "8.58%",
},
{
xqdw: "单位名称",
las: "100",
lacjl: "50%",
zchjcjv: "23%",
zczjajs: "88",
zczjl: "8.58%",
},
{
xqdw: "单位名称",
las: "100",
lacjl: "50%",
zchjcjv: "23%",
zczjajs: "88",
zczjl: "8.58%",
},
],
cxDefaultFormThead2: [
{
label: "系统功能",
prop: "xtgn",
width: "auto",
},
{
label: "使用次数 ",
prop: "sycs",
width: "auto",
},
{
label: "立案采集率",
prop: "lacjl",
width: "auto",
},
{
label: "侦察环节采集率",
prop: "zchjcjv",
width: "auto",
},
{
label: "侦察终结案件数",
prop: "zczjajs",
width: "auto",
},
{
label: "侦察终结率",
prop: "zczjl",
width: "auto",
},
],
tableData2: [
{
xtgn: "系统名称",
sycs: "100",
lacjl: "50%",
zchjcjv: "23%",
zczjajs: "88",
zczjl: "8.58%",
},
{
xtgn: "系统名称",
sycs: "100",
lacjl: "50%",
zchjcjv: "23%",
zczjajs: "88",
zczjl: "8.58%",
},
{
xtgn: "系统名称",
sycs: "100",
lacjl: "50%",
zchjcjv: "23%",
zczjajs: "88",
zczjl: "8.58%",
},
{
xtgn: "系统名称",
sycs: "100",
lacjl: "50%",
zchjcjv: "23%",
zczjajs: "88",
zczjl: "8.58%",
},
{
xtgn: "系统名称",
sycs: "100",
lacjl: "50%",
zchjcjv: "23%",
zczjajs: "88",
zczjl: "8.58%",
},
],
optionsPolice: [
{
value: "1",
label: "海口市公安局",
},
{
value: "2",
label: "海口市公安局2",
},
],
selectValuePolice: "1",
options: [
{
value: "单位",
label: "单位",
},
{
value: "单位2",
label: "单位2",
},
],
selectValue: "单位",
};
},
created() {
this.$store.commit("user/SET_Menu", this.Menu);
// this.$store.commit("user/SET_LeftMenu", this.leftMenus);
// this.$store.commit("user/SET_Header", this.header);
// this.cxListForm = JSON.parse(sessionStorage.getItem("cxListForm"));
},
mounted() {
// let keyNode = document.querySelector(".el-date-editor");
// let iNode = document.createElement("i");
// iNode.setAttribute("class", "el-icon-date"); // el-icon-bottom
// keyNode.appendChild(iNode);
// iNode.style.position = "absolute";
// iNode.style.top = "13px";
// iNode.style.right = "32px";
//柱形图
var chartDom = document.getElementById("main");
var myChart = this.$echarts.init(chartDom);
var option;
option = {
title: {
text: "辖区工作情况分析",
},
color: ["#FFC36D"],
tooltip: {
trigger: "axis",
axisPointer: {
type: "shadow",
},
},
grid: {
left: "3%",
right: "4%",
bottom: "3%",
containLabel: true,
},
xAxis: [
{
type: "category",
data: [
"单位名称1",
"单位名称2",
"单位名称3",
"单位名称4",
"单位名称5",
"单位名称6",
"单位名称7",
],
axisTick: {
show: false,
},
axisLine: {
show: false,
},
splitLine: {
show: false,
lineStyle: {
type: "dashed",
color: "#113d5e",
},
},
},
],
yAxis: [
{
min: 0, //y轴的最小值
max: 100, //y轴最大值
interval: 20, //值之间的间隔
type: "value",
axisLine: {
show: false,
},
axisTick: {
show: false,
},
splitLine: {
show: true,
lineStyle: {
type: "dashed",
},
},
},
],
series: [
{
name: "Direct",
type: "bar",
barWidth: "60%",
data: [10, 52, 50, 84, 22, 33, 98],
barWidth: 30, //柱图宽度
},
],
};
option && myChart.setOption(option);
//自适应
window.addEventListener("resize", () => {
myChart.resize();
});
// 折线图
var chartDom2 = document.getElementById("main2");
var myChart2 = this.$echarts.init(chartDom2);
var option2;
option2 = {
title: {
text: "系统使用情况分析",
},
color: ["#0061F7"],
xAxis: {
type: "category",
data: [
"2020-01",
"2020-02",
"2020-03",
"2020-04",
"2020-05",
"2020-06",
"2020-07",
"2020-08",
],
axisTick: {
show: false,
},
axisLine: {
show: false,
},
splitLine: {
show: false,
lineStyle: {
type: "dashed",
color: "#113d5e",
},
},
},
yAxis: {
type: "value",
min: 0, //y轴的最小值
max: 10000, //y轴最大值
interval: 2000, //值之间的间隔
axisLine: {
show: false,
},
axisTick: {
show: false,
},
splitLine: {
show: true,
lineStyle: {
type: "dashed",
},
},
},
series: [
{
name: "Email",
type: "line",
stack: "Total",
data: [7820, 9132, 3101, 7134, 6590, 8230, 9210, 9988],
},
],
tooltip: {
trigger: "axis",
},
};
option2 && myChart2.setOption(option2);
//自适应
window.addEventListener("resize", () => {
myChart2.resize();
});
},
};
</script>
<style lang="scss" scoped>
// .el-icon-search {
// background: red;
// font-size: 16px;
// background-size: cover;
// }
// .el-icon-search:before {
// content: "替";
// font-size: 16px;
// }
.title {
font-size: 28px;
font-family: Source Han Sans CN;
font-weight: bold;
line-height: 48px;
color: #1f212c;
opacity: 1;
margin: 38px 0 38px 0px;
}
.el-button {
padding: 12px 16px;
margin-right: 0px !important;
}
.xnbox {
width: 98%;
// height: 1808px;
background: #ffffff;
border: 1px solid #e4e4e4;
opacity: 1;
border-radius: 8px;
// margin-top: 72px;
margin-left: 20px;
margin-right: 20px;
box-sizing: border-box;
padding-right: 100px;
.bgbox {
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid #e2e2e2;
margin: 0px 20px 0 20px;
}
.bg {
height: 64px;
background: rgba(255, 255, 255, 0);
// border: 1px solid #e2e2e2;
border-radius: 8px 8px 0px 0px;
display: flex;
align-items: center;
box-sizing: border-box;
img {
width: 24px;
height: 24px;
}
.xnbg {
margin-left: 14px;
font-size: 18px;
font-family: Source Han Sans CN;
font-weight: 400;
line-height: 31px;
color: #1f212c;
opacity: 1;
}
.btn /deep/ {
margin-right: 20px !important;
//修改icon
.el-button {
}
}
}
}
.min /deep/ {
height: 72px;
display: flex;
align-items: center;
padding: 0 20px;
.el-date-editor.el-input,
.el-date-editor.el-input__inner {
width: 120px;
height: 32px;
}
.zhi {
margin: 0 8px;
font-size: 12px;
font-family: Microsoft YaHei;
font-weight: 400;
line-height: 16px;
color: #c7cbd3;
opacity: 1;
}
.sele {
.el-select {
width: 96px;
height: 32px;
margin-left: 26px;
}
}
.police {
.el-select {
width: 200px;
height: 32px;
margin-left: 8px;
}
}
}
</style>
<template>
<div
ref="zlXq"
class="xsfk"
element-loading-text="正在加载......"
v-loading="loadingFk"
>
<div
style="
position: fixed;
width: 100%;
z-index: 99;
height: 48px;
background: #0061f7;
font-size: 18px;
font-weight: bold;
line-height: 48px;
color: #ffffff;
padding: 0 17px;
"
>
<img
style="width: 36px; margin-left: 10px"
src="~@/assets/img/login/jinhui.png"
alt=""
/>
{{ headerTitle }}
</div>
<div class="form">
<div id="ccontrnt">
<div class="cont">
<div>
<span class="z">团伙信息</span>
</div>
<el-form
:model="ruleForm"
:rules="rules"
ref="ruleForm"
label-width="100px"
class="demo-ruleForm"
>
<el-form-item label="团伙头目:" prop="thtm">
<el-input v-model="ruleForm.thtm"></el-input>
</el-form-item>
<el-form-item label="团伙名称:" prop="thmc">
<el-input v-model="ruleForm.thmc"></el-input>
</el-form-item>
</el-form>
<div>
<div style="margin-bottom: 20px">
<span class="z"> 案件列表 </span>
</div>
<div>
<el-table
ref="multipleTable"
:data="tableData"
tooltip-effect="dark"
style="width: 100%"
border
@selection-change="handleSelectionChange"
>
<el-table-column type="selection" width="55"> </el-table-column>
<el-table-column
align="center"
v-for="(item, index) in tableDataList"
:key="index"
:label="item.label"
:prop="item.prop"
>
</el-table-column>
</el-table>
</div>
<div style="margin: 20px 0px 30px">
<span class="z"> 嫌疑人列表 </span>
</div>
<div>
<el-table
ref="multipleTable"
:data="tableData1"
tooltip-effect="dark"
style="width: 100%"
border
@selection-change="handleSelectionChange1"
>
<el-table-column type="selection" width="55"> </el-table-column>
<el-table-column
align="center"
v-for="(item, index) in tableDataList1"
:key="index"
:label="item.label"
:prop="item.prop"
>
</el-table-column>
</el-table>
</div>
<div class="qrcf">
<el-button
type="info"
icon="el-icon-document-remove"
@click="submit"
style="background: #fe9200; border: #fe9200"
id="caiji"
>确认拆分</el-button
>
</div>
</div>
</div>
</div>
</div>
</div>
</template>
<script>
import { selectHxThAsjbh, cfThajxyr } from "@/api/shse/shse.js";
import queryRwbdjsVue from "../../xsjsdb/queryRwbdjs.vue";
export default {
name: "xshc",
components: {},
data() {
return {
aj: [],
xyr: [],
headerTitle: "团伙拆分",
loadingFk: false,
ruleForm: {
thtm: "",
thmc: "",
},
rules: {
thtm: [{ required: true, message: "请输入团伙头目", trigger: "blur" }],
thmc: [{ required: true, message: "请输入团伙名称", trigger: "blur" }],
},
tableData: [],
tableDataList: [
{
label: "案事件编号",
prop: "asjbh",
},
{
label: "案件名称",
prop: "ajmc",
},
{
label: "立案单位",
prop: "ladwdm",
},
{
label: "案件类别",
prop: "ajlbdm",
},
{
label: "立案日期",
prop: "larq",
},
],
tableData1: [],
tableDataList1: [
{
label: "姓名",
prop: "xm",
},
{
label: "证件号码",
prop: "zjhm",
},
{
label: "户籍地",
prop: "hjddm",
},
],
};
},
created() {
this.getselectHxThAsjbh();
},
methods: {
getselectHxThAsjbh() {
this.loadingFk = true;
selectHxThAsjbh({
asjbh: this.$route.query.asjbh,
}).then((res) => {
if (res.code == 200) {
this.tableData = res.data.rows.tjaj;
this.tableData1 = res.data.rows.tjxyr;
this.loadingFk = false;
}
});
},
handleSelectionChange(row) {
this.aj = row;
},
handleSelectionChange1(row) {
this.xyr = row;
},
submit() {
this.$refs.ruleForm.validate((valid) => {
if (valid) {
if (this.aj.length > 0 && this.xyr.length > 0) {
let params = new FormData();
params.append("th.thtm", this.ruleForm.thtm);
params.append("th.thmc", this.ruleForm.thmc);
this.loadingFk = true;
this.aj.forEach((item, index) => {
this.tableDataList.forEach((items) => {
params.append(
"aj" + "[" + index + "]" + "." + items.prop,
item[items.prop]
);
});
});
this.xyr.forEach((item, index) => {
this.tableDataList1.forEach((items) => {
params.append(
"xyr" + "[" + index + "]" + "." + items.prop,
item[items.prop]
);
});
});
cfThajxyr(params).then((res) => {
if (res.code == 200) {
this.$alert("拆分成功!", "提示!", {
confirmButtonText: "确定",
type: "success",
callback: () => {
this.loadingFk = false;
this.$router.push({
path: "/queryShseaj",
});
},
});
}
});
} else {
this.$alert("请选择一条嫌疑人和案件!", "提示", {
confirmButtonText: "确定",
type: "warning",
});
}
} else {
setTimeout(() => {
this.$alert("请填写必填字段!", "提示", {
confirmButtonText: "确定",
type: "warning",
});
return false;
}, 100);
}
});
},
},
watch: {},
};
</script>
<style lang="scss" scoped>
.xsfk {
/deep/.el-loading-spinner {
// top: 72%;
// margin-top: -21px;
// width: 100%;
// text-align: center;
// position: absolute;
position: fixed;
top: 50%;
}
// background-image: url(../../assets/img/bj.png);
background-repeat: no-repeat;
background-attachment: scroll;
max-height: 100%;
overflow-y: scroll;
/deep/.el-loading-mask {
height: 249%;
position: absolute;
z-index: 2000;
background-color: rgba(255, 255, 255, 0.9);
margin: 0;
top: 0;
right: 0;
bottom: 0;
left: 0;
transition: opacity 0.3s;
}
}
.form {
margin-top: 85px;
/deep/ .formContent .allForm {
margin: 0 !important;
}
/deep/ .itemtextarea .el-textarea__inner {
width: 800px;
}
/deep/ #formCommonPage .formContent .childrenAsAdd .addContent {
width: 1000px;
margin-left: 140px;
margin-top: 0px;
margin-bottom: 16px !important;
padding-top: 10px;
}
/deep/ #formCommonPage .formContent .addChildBtn .el-button {
width: 1000px;
}
/deep/ #formCommonPage .formContent .addChildBtn {
margin-top: 0 !important;
}
/deep/ #formCommonPage .formContent {
padding-left: 15px;
}
}
.det /deep/ #xsDet .xs_main .content .xs .xs_xq .xs_xq_wrap .xs_xq_contents {
&:nth-child(5) {
width: 600px;
}
}
.det /deep/ #xsDet .xs_main .content .xs .xs_xq {
padding-left: 35px;
}
.det
/deep/
#xsDet
.xs_main
.content
.xs
.xs_xq
.xs_xq_wrap
.xs_xq_contents
.xs_xq_content {
width: 250px;
}
.det
/deep/
#xsDet
.xs_main
.content
.xs
.xs_xq
.xs_xq_wrap
.xs_xq_contents
.xs_xq_name {
width: 118px;
}
.det /deep/ #xsDet .xs_main .content .xs .xs_xq .xs_xq_wrap {
width: 1280px;
}
.det /deep/ #xsDet .xs_main .content .xs .xs_form .name {
width: 118px;
min-width: 118px;
}
.det /deep/ #xsDet .xs_main .content .xs .xs_fj .fj_title {
width: 118px;
min-width: 118px;
}
.det /deep/ #xsDet .xs_main .content {
margin-left: 7px;
}
.hcfksh {
width: 1400px;
margin: 10px auto;
box-shadow: 0px 1px 2px rgba($color: #000000, $alpha: 0.2);
padding: 20px;
background: #fff;
color: #8c97a0;
.content_item {
.name {
color: $base-color;
}
.ba_radio {
display: flex;
}
}
}
</style>
<style lang="scss" scoped>
// .xshc /deep/ #xsDet .xs_main {
// margin-left: 7px;
// }
.form /deep/ .childrenAsAdd {
.addName {
width: 110px !important;
}
}
/deep/.el-button {
margin-right: -19px !important;
}
/deep/.el-dialog__header {
background: #0081f7 !important;
}
/deep/.el-dialog {
position: relative;
margin: 0 auto 50px;
border-radius: 2px;
box-sizing: border-box;
width: 50%;
}
.cf {
float: right;
/* right: 20%; */
margin-right: 17%;
margin-top: 0.5%;
border: 1px solid #0061f7;
width: 40px;
text-align: center;
color: #0061f7;
}
#ccontrnt {
width: 1268px;
// height: 500px;
margin: 50px auto 0;
background: #fff;
.cont {
padding: 20px 30px;
}
.z {
color: #0061f7;
font-size: 14px;
font-weight: bold;
}
.el-form-item {
width: 500px;
}
form.el-form.demo-ruleForm {
display: flex;
}
.qrcf {
margin: 20px 0 0 50px;
}
}
</style>
<template>
<div
ref="zlXq"
class="xsfk"
element-loading-text="正在加载......"
v-loading="loadingFk"
>
<div
style="
position: fixed;
width: 100%;
z-index: 99;
height: 48px;
background: #0061f7;
font-size: 18px;
font-weight: bold;
line-height: 48px;
color: #ffffff;
padding: 0 17px;
"
>
<img
style="width: 36px; margin-left: 10px"
src="~@/assets/img/login/jinhui.png"
alt=""
/>
{{ headerTitle }}
</div>
<div class="form">
<div @click="cf" class="cf">
<span>拆分</span>
</div>
<fj-sc
:xxzjbh="xxzjbh"
:shsexsbh="shsexsbh"
:jshcxxzjbh="jshcxxzjbh"
:formField="formField"
:formLabelAlign="formLabelAlign"
:propSt="st"
:rule="rules"
:propxsTitle="title"
:propBottonType="bottonType"
:url="url"
@hxShuju="ajHx(arguments)"
@xyrIdentity="xyrIdentity(arguments)"
@ajbhHx="ajbhHx"
@deleteObj="deleteObj"
@submit="callSubmit"
:autowidth="autowidth"
>
</fj-sc>
<el-dialog
title="推荐团伙"
:visible.sync="dialogVisible"
width="60%"
center
>
<div style="margin-top: 20px">
<el-tabs v-model="activeName" type="card" @tab-click="handleClick">
<el-tab-pane label="案件列表" name="first">
<div>
<el-table
center
@selection-change="handleSelectionChange"
:data="ajList"
stripe
border
>
<el-table-column type="selection" width="55">
</el-table-column>
<el-table-column
v-for="(columnTitle, index) in ajTableList"
:key="index"
:label="columnTitle.label"
:width="columnTitle.width"
:prop="columnTitle.prop"
align="center"
>
</el-table-column>
</el-table>
</div>
</el-tab-pane>
<el-tab-pane label="嫌疑人列表" name="second">
<div>
<el-table
center
@selection-change="handleSelectionChange1"
:data="xyrList"
stripe
border
>
<el-table-column type="selection" width="55">
</el-table-column>
<el-table-column
v-for="(columnTitle, index) in xyrTableList"
:key="index"
:label="columnTitle.label"
:width="columnTitle.width"
:prop="columnTitle.prop"
align="center"
>
</el-table-column>
</el-table>
</div>
</el-tab-pane>
</el-tabs>
</div>
<div style="padding: 20px 0">
<el-button type="primary" class="hbbtn" @click="handleHb"
>确认</el-button
>
</div>
</el-dialog>
</div>
</div>
</template>
<script>
import {
insertThxx,
selectHxThAsjbh,
updateThxxjt,
deleteThajxx,
deleteThxyrxx,
} from "@/api/shse/shse.js";
import FjSc from "@/views/xshb/xshb/gzjlxz/fksc.vue";
export default {
name: "xshc",
components: {
FjSc,
},
data() {
return {
aj: [],
xyr: [],
ajList: [],
xyrList: [],
ajTableList: [
{
label: "案事件编号",
prop: "asjbh",
},
{
label: "案件名称",
prop: "ajmc",
},
{
label: "立案单位",
prop: "ladwdm",
},
{
label: "案件类别",
prop: "ajlbdm",
},
{
label: "立案日期",
prop: "larq",
},
],
xyrTableList: [
{
label: "姓名",
prop: "xm",
},
{
label: "证件号码",
prop: "zjhm",
},
{
label: "户籍地",
prop: "hjddm",
},
],
activeName: "first",
dialogVisible: false,
url: this.$route.query.fkid,
loadingFk: false,
headerTitle: "犯罪团伙新增",
title: "犯罪团伙信息",
autowidth: "1268px",
xsly: "",
codeData: [],
xmDetail: {},
xxzjbh: "",
shsexsbh: "",
ajXxzjbh: "",
result: {
xyrResult: [],
jbrResult: [],
gzryResult: [],
xdzl: [],
bjbrResult: [],
tgrResult: [],
tbrResult: [],
},
xsly: "",
xslyCode: "",
rules: {},
formField: [
{
name: "团伙头目:",
id: "thtm",
prop: "checkEmpty",
type: "text",
value: "",
placeholder: "请输入",
col: "2",
},
{
name: "团伙名称:",
id: "thmc",
prop: "checkEmpty",
type: "text",
value: "",
placeholder: "请输入",
col: "2",
},
{
childrenAsAdd: [
{
name: "案件信息:",
id: "aj",
list: [
{
name: [
{
name: "案事件编号:",
id: "asjbh",
type: "text",
value: "",
prop: "checkEmpty",
placeholder: "请输入",
col: "2",
},
{
name: "案件名称:",
id: "ajmc",
type: "text",
value: "",
// prop: "checkEmpty",
placeholder: "请输入",
col: "2",
},
{
name: "立案单位:",
id: "ladwdm",
type: "codeTree",
codeOptions: [],
codeTree: "QGCODE_UNIT",
value: "",
placeholder: "请选择",
col: "2",
},
{
name: "案件类别:",
id: "ajlbdm",
type: "codeTree",
codeOptions: [],
codeTree: "CODE_AJLB",
value: "",
placeholder: "请选择",
col: "2",
},
{
name: "立案日期:",
id: "larq",
type: "date",
value: "",
placeholder: "请选择",
col: "2",
},
],
},
],
iconClass: "el-icon-delete",
},
],
},
{
childrenAsAdd: [
{
name: "嫌疑人信息:",
id: "xyr",
list: [
{
name: [
{
name: "姓名:",
id: "xm",
type: "text",
prop: "checkEmpty",
value: "",
placeholder: "请输入姓名",
col: "2",
},
{
name: "证件号码:",
id: "zjhm",
type: "text",
// prop: "checkEmpty",
value: "",
placeholder: "请输入姓名",
col: "2",
},
{
name: "户籍地:",
id: "hjddm",
type: "codeTree",
codeOptions: [],
codeTree: "CODE_XZQH",
value: "",
placeholder: "请选择",
col: "2",
},
],
},
],
iconClass: "el-icon-delete",
},
],
},
// {
// name: '核查报告电子文档:',
// id: 'hcbgDzwd',
// fileId: 'hcbgDzwd',
// type: 'file',
// value: '0',
// placeholder: '',
// col: '1',
// requestUrl: 'http://39.99.224.27:8006/xsHcfkSp/xsHcfk',
// fileList: []
// },
// {
// name: '四长签字扫描件:',
// id: 'szqzySmj',
// fileId: 'szqzySmj',
// type: 'file',
// value: '0',
// placeholder: '',
// col: '1',
// requestUrl: 'http://39.99.224.27:8006/xsHcfkSp/xsHcfk',
// fileList: []
// },
// {
// name: "附件上传:",
// id: "qtFj",
// fileId: "qtFj",
// type: "file",
// value: "",
// placeholder: "",
// col: "1",
// requestUrl: "/flwsFj/tbstasjflwsCj/save",
// fileList: [],
// },
],
formLabelAlign: {},
st: "th",
bottonType: "fk",
loading: true,
xszxx: [],
isParent: "",
jshcxxzjbh: this.$route.query.jshcxxzjbh,
sftj: "",
thbh: "",
};
},
created() {
// if (this.$route.query.xsbh) {
// this.getTqHxFksj();
// }
this.getselectHxThAsjbh1();
},
methods: {
handleClick(tab, event) {
console.log(tab, event);
},
cf() {
this.$router.push({
path: "/cf",
query: {
asjbh: this.$route.query.asjbh,
},
});
},
deleteObj(obj) {
var self = this;
debugger;
self.formField.forEach((val) => {
if (val.childrenAsAdd) {
val.childrenAsAdd.forEach((val2) => {
if (val2.id == "aj") {
deleteThajxx({
xxzjbh: obj.xxzjbh,
}).then((res) => {
if (res.code == "200") {
self.formField.forEach((val) => {
if (val.childrenAsAdd) {
val.childrenAsAdd.forEach((val2) => {
self.formLabelAlign[val2.id].forEach((val3, index) => {
console.log(index);
if (val3 == obj) {
debugger;
self.formLabelAlign[val2.id].splice(
// val2.list.indexOf(val3),
index,
1
);
// this.$message.success("删除成功");
this.$alert("删除成功!", "提示", {
confirmButtonText: "确定",
type: "success",
callback: () => {
// this.$router.go(0)
// self.formLabelAlign[val2.id].splice(
// // val2.list.indexOf(val3),
// index,
// 1
// )
},
});
}
});
});
}
});
}
});
} else if (val2.id == "xyr") {
deleteThxyrxx({
xxzjbh: obj.xxzjbh,
}).then((res) => {
if (res.code == "200") {
self.formField.forEach((val) => {
if (val.childrenAsAdd) {
val.childrenAsAdd.forEach((val2) => {
self.formLabelAlign[val2.id].forEach((val3, index) => {
console.log(index);
if (val3 == obj) {
debugger;
self.formLabelAlign[val2.id].splice(
// val2.list.indexOf(val3),
index,
1
);
// this.$message.success("删除成功");
this.$alert("删除成功!", "提示", {
confirmButtonText: "确定",
type: "success",
callback: () => {
// this.$router.go(0)
// self.formLabelAlign[val2.id].splice(
// // val2.list.indexOf(val3),
// index,
// 1
// )
},
});
}
});
});
}
});
}
});
}
});
}
});
},
handleSelectionChange(row) {
this.aj = row;
},
handleSelectionChange1(row) {
this.xyr = row;
},
getselectHxThAsjbh1() {
selectHxThAsjbh({
asjbh: this.$route.query.asjbh,
}).then((res) => {
this.sftj = res.data.rows.sftj;
if (res.data.rows.sftj == "0") {
this.getselectHxThAsjbh();
} else {
this.dialogVisible = true;
this.ajList = res.data.rows.tjaj;
this.xyrList = res.data.rows.tjxyr;
}
});
},
handleHb() {
this.$confirm("是否进行新增, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
this.dialogVisible = false;
})
.catch(() => {
this.$router.push({
path: "/queryShseaj",
});
});
},
// 提取反馈的回显
getselectHxThAsjbh() {
this.loadingFk = true;
var self = this;
selectHxThAsjbh({
asjbh: this.$route.query.asjbh,
}).then((res) => {
this.thbh = res.data.rows.th.thbh;
debugger;
// 线索反馈
this.loadingFk = false;
var result = res.data.rows.th;
self.formField.forEach((item, i) => {
var fieldVale = result[item.id];
debugger;
if (item.type == "codeTree") {
debugger;
axios.get(`JsonData/${item.codeTree}.json`).then((codRes) => {
let value = self.queryTree(codRes.data.data.rows, fieldVale)[0];
item.codeOptions = [{ id: fieldVale, name: value }];
});
self.$set(self.formLabelAlign, item.id, fieldVale);
} else if (item.type == "date") {
// var singleObject = {}
// singleObject[key] = new Date(realChildrenItem[key]);
self.$set(self.formLabelAlign, item.id, new Date(fieldVale));
} else {
self.$set(self.formLabelAlign, item.id, fieldVale);
}
});
// 嫌疑人信息1:
debugger;
var result1 = res.data.rows;
self.formField[2].childrenAsAdd.forEach((childrenIdem) => {
//有可添加子集的情况
//遍历可配置化列表的子集
self.$set(self.formLabelAlign, childrenIdem.id, []);
var realChildrenData = result1["tjaj"];
if (realChildrenData && realChildrenData.length > 0) {
realChildrenData.forEach((realChildrenItem, childrenIndex) => {
var singleObject = {};
var dateFields = [];
var lazyLoadCodeFields = [];
if (
childrenIdem.list &&
childrenIdem.list.length > 0 &&
childrenIdem.list[0].name
) {
dateFields = childrenIdem.list[0].name.filter((fieldItem) => {
return fieldItem.type == "date";
});
dateFields = dateFields.map((fieldItem) => {
return fieldItem.id;
});
lazyLoadCodeFields = childrenIdem.list[0].name.filter(
(fieldItem) => {
return fieldItem.type == "lazyCodeTree";
}
);
lazyLoadCodeFields = dateFields.map((fieldItem) => {
return fieldItem.id;
});
}
for (var key in realChildrenItem) {
if (dateFields.indexOf(key) >= 0) {
//过滤时间
if (realChildrenItem[key]) {
singleObject[key] = new Date(realChildrenItem[key]);
}
} else if (lazyLoadCodeFields.indexOf(key) >= 0) {
} else {
singleObject[key] = realChildrenItem[key];
}
}
childrenIdem.list[0].name.forEach((currentField) => {
if (currentField.type == "lazyCodeTree") {
queryCodeByType({
type: currentField.codeTree,
id: realChildrenItem[currentField.id],
grade: "prev",
})
.then((codRes) => {
var codeArry = [];
var realCodeResult = [];
for (var j = 0; j < codRes.data.length; j++) {
var singleRow = codRes.data[j];
if (singleRow.children) {
codeArry.push(singleRow.id);
self.getChildrenCode(codeArry, singleRow);
}
}
codeArry.push(realChildrenItem[currentField.id]);
self.$set(
self.formLabelAlign[childrenIdem.id][childrenIndex],
currentField.id,
codeArry
);
//改变类型使级联控件重新加载
self.$set(currentField, "type", "lazyCodeTree2");
setTimeout(() => {
self.$set(currentField, "type", "lazyCodeTree");
self.$set(
self.formLabelAlign[childrenIdem.id][childrenIndex],
currentField.id,
codeArry
);
}, 5);
})
.catch((err) => {
// console.log(err);
});
} else if (currentField.type == "codeTree") {
//self.$set(self.formLabelAlign, fieldItem.id, fieldVale);
if (realChildrenItem[currentField.id]) {
axios
.get(`JsonData/${currentField.codeTree}.json`)
.then((codRes) => {
let value = this.queryTree(
codRes.data.data.rows,
realChildrenItem[currentField.id]
)[0];
currentField.codeOptions = [
{
id: realChildrenItem[currentField.id],
name: value,
},
];
})
.catch((err) => {});
self.$set(
self.formLabelAlign,
currentField.id,
realChildrenItem[currentField.id]
);
}
}
});
self.$set(
self.formLabelAlign[childrenIdem.id],
childrenIndex,
singleObject
);
debugger;
});
} else {
var singleObject = {};
childrenIdem.list[0].name.forEach((val4) => {
if (
(val4.multiple == true && val4.type == "code") ||
val4.type == "lazyCodeTree"
) {
singleObject[val4.id] = [];
} else {
singleObject[val4.id] = "";
}
});
self.$set(self.formLabelAlign[childrenIdem.id], 0, singleObject);
}
});
// 涉及案件
debugger;
var result1 = res.data.rows;
self.formField[3].childrenAsAdd.forEach((childrenIdem) => {
//有可添加子集的情况
//遍历可配置化列表的子集
self.$set(self.formLabelAlign, childrenIdem.id, []);
var realChildrenData = result1["tjxyr"];
if (realChildrenData && realChildrenData.length > 0) {
realChildrenData.forEach((realChildrenItem, childrenIndex) => {
var singleObject = {};
var dateFields = [];
var lazyLoadCodeFields = [];
if (
childrenIdem.list &&
childrenIdem.list.length > 0 &&
childrenIdem.list[0].name
) {
dateFields = childrenIdem.list[0].name.filter((fieldItem) => {
return fieldItem.type == "date";
});
dateFields = dateFields.map((fieldItem) => {
return fieldItem.id;
});
lazyLoadCodeFields = childrenIdem.list[0].name.filter(
(fieldItem) => {
return fieldItem.type == "lazyCodeTree";
}
);
lazyLoadCodeFields = dateFields.map((fieldItem) => {
return fieldItem.id;
});
}
for (var key in realChildrenItem) {
if (dateFields.indexOf(key) >= 0) {
//过滤时间
if (realChildrenItem[key]) {
singleObject[key] = new Date(realChildrenItem[key]);
}
} else if (lazyLoadCodeFields.indexOf(key) >= 0) {
} else {
singleObject[key] = realChildrenItem[key];
}
}
childrenIdem.list[0].name.forEach((currentField) => {
if (currentField.type == "lazyCodeTree") {
queryCodeByType({
type: currentField.codeTree,
id: realChildrenItem[currentField.id],
grade: "prev",
})
.then((codRes) => {
var codeArry = [];
var realCodeResult = [];
for (var j = 0; j < codRes.data.length; j++) {
var singleRow = codRes.data[j];
if (singleRow.children) {
codeArry.push(singleRow.id);
self.getChildrenCode(codeArry, singleRow);
}
}
codeArry.push(realChildrenItem[currentField.id]);
self.$set(
self.formLabelAlign[childrenIdem.id][childrenIndex],
currentField.id,
codeArry
);
//改变类型使级联控件重新加载
self.$set(currentField, "type", "lazyCodeTree2");
setTimeout(() => {
self.$set(currentField, "type", "lazyCodeTree");
self.$set(
self.formLabelAlign[childrenIdem.id][childrenIndex],
currentField.id,
codeArry
);
}, 5);
})
.catch((err) => {
// console.log(err);
});
} else if (currentField.type == "codeTree") {
//self.$set(self.formLabelAlign, fieldItem.id, fieldVale);
if (realChildrenItem[currentField.id]) {
axios
.get(`JsonData/${currentField.codeTree}.json`)
.then((codRes) => {
let value = this.queryTree(
codRes.data.data.rows,
realChildrenItem[currentField.id]
)[0];
currentField.codeOptions = [
{
id: realChildrenItem[currentField.id],
name: value,
},
];
})
.catch((err) => {});
self.$set(
self.formLabelAlign,
currentField.id,
realChildrenItem[currentField.id]
);
}
}
});
self.$set(
self.formLabelAlign[childrenIdem.id],
childrenIndex,
singleObject
);
debugger;
});
} else {
var singleObject = {};
childrenIdem.list[0].name.forEach((val4) => {
if (
(val4.multiple == true && val4.type == "code") ||
val4.type == "lazyCodeTree"
) {
singleObject[val4.id] = [];
} else {
singleObject[val4.id] = "";
}
});
self.$set(self.formLabelAlign[childrenIdem.id], 0, singleObject);
}
});
// self.formLabelAlign["qtFj"] = [];
// res.data.xsxq.fjList.forEach((item, index) => {
// self.formLabelAlign["qtFj"][index] = {
// name: item.xsfjDzwjmc,
// url: item.xsfjDzwjnr,
// xxzjbh: item.xxzjbh,
// };
// });
});
self.$set(self.formLabelAlign, "editing", true);
self.$forceUpdate();
},
//案件回显
ajHx(content) {
var self = this;
debugger;
getAjxxByAsjbh({
asjbh: content[0],
}).then((res) => {
var result = res.data.asj;
self.formField[2].childrenAsAdd[0].list[0].name.forEach((item) => {
var fieldVale = result[item.id];
self.$set(
self.formLabelAlign.asjList[content[1]],
item.id,
fieldVale
);
});
var result = res.data.asj;
self.formField[2].childrenAsAdd[0].list[0].name.forEach((item) => {
var fieldVale = result[item.id];
if (item.type == "codeTree") {
axios.get(`JsonData/${item.codeTree}.json`).then((codRes) => {
let value = self.queryTree(codRes.data.data.rows, fieldVale)[0];
item.codeOptions = [{ id: fieldVale, name: value }];
});
self.$set(
self.formLabelAlign.asjList[content[1]],
item.id,
fieldVale
);
} else if (item.type == "date") {
debugger;
// var singleObject = {}
// singleObject[key] = new Date(realChildrenItem[key]);
if (fieldVale == null) {
self.$set(self.formLabelAlign.asjList[content[1]], item.id, "");
} else {
self.$set(
self.formLabelAlign.asjList[content[1]],
item.id,
new Date(fieldVale)
);
}
} else {
// singleObject[key] = new Date(realChildrenItem[key]);
if (fieldVale == null) {
self.$set(self.formLabelAlign.asjList[content[1]], item.id, "");
} else {
self.$set(
self.formLabelAlign.asjList[content[1]],
item.id,
fieldVale
);
}
}
});
});
},
// 嫌疑人提取回显
xyrIdentity(content) {
debugger;
this.loadingFk = true;
var self = this;
this.loading = true;
getXyrxxByZjhm({
gmsfzh: content[0],
}).then((res) => {
// 嫌疑人信息1
var result = res.data.xyr;
self.formField[5].childrenAsAdd[0].list[0].name.forEach((item) => {
var fieldVale = result[item.id];
self.$set(
self.formLabelAlign.xyrList[content[1]],
item.id,
fieldVale
);
});
var result = res.data.xyr;
self.formField[5].childrenAsAdd[0].list[0].name.forEach((item) => {
var fieldVale = result[item.id];
if (item.type == "codeTree") {
axios.get(`JsonData/${item.codeTree}.json`).then((codRes) => {
let value = self.queryTree(codRes.data.data.rows, fieldVale)[0];
item.codeOptions = [{ id: fieldVale, name: value }];
});
self.$set(
self.formLabelAlign.xyrList[content[1]],
item.id,
fieldVale
);
} else if (item.type == "date") {
debugger;
// var singleObject = {}
// singleObject[key] = new Date(realChildrenItem[key]);
if (fieldVale == null) {
self.$set(self.formLabelAlign.xyrList[content[1]], item.id, "");
} else {
self.$set(
self.formLabelAlign.xyrList[content[1]],
item.id,
new Date(fieldVale)
);
}
} else {
// singleObject[key] = new Date(realChildrenItem[key]);
if (fieldVale == null) {
self.$set(self.formLabelAlign.xyrList[content[1]], item.id, "");
} else {
self.$set(
self.formLabelAlign.xyrList[content[1]],
item.id,
fieldVale
);
}
}
});
this.loadingFk = false;
this.loading = false;
});
},
// 案件编号回显
ajbhHx(content) {
var self = this;
this.loadingFk = true;
this.loading = true;
debugger;
getAjAndXyrByAsjbh({
asjbh: content,
}).then((res) => {
debugger;
var result1 = res.data;
self.formField[5].childrenAsAdd.forEach((childrenIdem) => {
//有可添加子集的情况
//遍历可配置化列表的子集
self.$set(self.formLabelAlign, childrenIdem.id, []);
var realChildrenData = result1["laList"];
if (realChildrenData && realChildrenData.length > 0) {
realChildrenData.forEach((realChildrenItem, childrenIndex) => {
var singleObject = {};
var dateFields = [];
var lazyLoadCodeFields = [];
if (
childrenIdem.list &&
childrenIdem.list.length > 0 &&
childrenIdem.list[0].name
) {
dateFields = childrenIdem.list[0].name.filter((fieldItem) => {
return fieldItem.type == "date";
});
dateFields = dateFields.map((fieldItem) => {
return fieldItem.id;
});
lazyLoadCodeFields = childrenIdem.list[0].name.filter(
(fieldItem) => {
return fieldItem.type == "lazyCodeTree";
}
);
lazyLoadCodeFields = dateFields.map((fieldItem) => {
return fieldItem.id;
});
}
for (var key in realChildrenItem) {
if (dateFields.indexOf(key) >= 0) {
//过滤时间
if (realChildrenItem[key]) {
singleObject[key] = new Date(realChildrenItem[key]);
}
} else if (lazyLoadCodeFields.indexOf(key) >= 0) {
} else {
singleObject[key] = realChildrenItem[key];
}
}
childrenIdem.list[0].name.forEach((currentField) => {
if (currentField.type == "lazyCodeTree") {
queryCodeByType({
type: currentField.codeTree,
id: realChildrenItem[currentField.id],
grade: "prev",
})
.then((codRes) => {
var codeArry = [];
var realCodeResult = [];
for (var j = 0; j < codRes.data.length; j++) {
var singleRow = codRes.data[j];
if (singleRow.children) {
codeArry.push(singleRow.id);
self.getChildrenCode(codeArry, singleRow);
}
}
codeArry.push(realChildrenItem[currentField.id]);
self.$set(
self.formLabelAlign[childrenIdem.id][childrenIndex],
currentField.id,
codeArry
);
//改变类型使级联控件重新加载
self.$set(currentField, "type", "lazyCodeTree2");
setTimeout(() => {
self.$set(currentField, "type", "lazyCodeTree");
self.$set(
self.formLabelAlign[childrenIdem.id][childrenIndex],
currentField.id,
codeArry
);
}, 5);
})
.catch((err) => {
// console.log(err);
});
} else if (currentField.type == "codeTree") {
//self.$set(self.formLabelAlign, fieldItem.id, fieldVale);
if (realChildrenItem[currentField.id]) {
axios
.get(`JsonData/${currentField.codeTree}.json`)
.then((codRes) => {
let value = this.queryTree(
codRes.data.data.rows,
realChildrenItem[currentField.id]
)[0];
currentField.codeOptions = [
{
id: realChildrenItem[currentField.id],
name: value,
},
];
})
.catch((err) => {});
self.$set(
self.formLabelAlign,
currentField.id,
realChildrenItem[currentField.id]
);
}
}
});
self.$set(
self.formLabelAlign[childrenIdem.id],
childrenIndex,
singleObject
);
debugger;
});
} else {
var singleObject = {};
childrenIdem.list[0].name.forEach((val4) => {
if (
(val4.multiple == true && val4.type == "code") ||
val4.type == "lazyCodeTree"
) {
singleObject[val4.id] = [];
} else {
singleObject[val4.id] = "";
}
});
self.$set(self.formLabelAlign[childrenIdem.id], 0, singleObject);
}
this.loadingFk = false;
this.loading = false;
});
// 嫌疑人信息1:
debugger;
var result1 = res.data;
self.formField[6].childrenAsAdd.forEach((childrenIdem) => {
//有可添加子集的情况
//遍历可配置化列表的子集
self.$set(self.formLabelAlign, childrenIdem.id, []);
var realChildrenData = result1["xyrList"];
if (realChildrenData && realChildrenData.length > 0) {
realChildrenData.forEach((realChildrenItem, childrenIndex) => {
var singleObject = {};
var dateFields = [];
var lazyLoadCodeFields = [];
if (
childrenIdem.list &&
childrenIdem.list.length > 0 &&
childrenIdem.list[0].name
) {
dateFields = childrenIdem.list[0].name.filter((fieldItem) => {
return fieldItem.type == "date";
});
dateFields = dateFields.map((fieldItem) => {
return fieldItem.id;
});
lazyLoadCodeFields = childrenIdem.list[0].name.filter(
(fieldItem) => {
return fieldItem.type == "lazyCodeTree";
}
);
lazyLoadCodeFields = dateFields.map((fieldItem) => {
return fieldItem.id;
});
}
for (var key in realChildrenItem) {
if (dateFields.indexOf(key) >= 0) {
//过滤时间
if (realChildrenItem[key]) {
singleObject[key] = new Date(realChildrenItem[key]);
}
} else if (lazyLoadCodeFields.indexOf(key) >= 0) {
} else {
singleObject[key] = realChildrenItem[key];
}
}
childrenIdem.list[0].name.forEach((currentField) => {
if (currentField.type == "lazyCodeTree") {
queryCodeByType({
type: currentField.codeTree,
id: realChildrenItem[currentField.id],
grade: "prev",
})
.then((codRes) => {
var codeArry = [];
var realCodeResult = [];
for (var j = 0; j < codRes.data.length; j++) {
var singleRow = codRes.data[j];
if (singleRow.children) {
codeArry.push(singleRow.id);
self.getChildrenCode(codeArry, singleRow);
}
}
codeArry.push(realChildrenItem[currentField.id]);
self.$set(
self.formLabelAlign[childrenIdem.id][childrenIndex],
currentField.id,
codeArry
);
//改变类型使级联控件重新加载
self.$set(currentField, "type", "lazyCodeTree2");
setTimeout(() => {
self.$set(currentField, "type", "lazyCodeTree");
self.$set(
self.formLabelAlign[childrenIdem.id][childrenIndex],
currentField.id,
codeArry
);
}, 5);
})
.catch((err) => {
// console.log(err);
});
} else if (currentField.type == "codeTree") {
//self.$set(self.formLabelAlign, fieldItem.id, fieldVale);
if (realChildrenItem[currentField.id]) {
axios
.get(`JsonData/${currentField.codeTree}.json`)
.then((codRes) => {
let value = this.queryTree(
codRes.data.data.rows,
realChildrenItem[currentField.id]
)[0];
currentField.codeOptions = [
{
id: realChildrenItem[currentField.id],
name: value,
},
];
})
.catch((err) => {});
self.$set(
self.formLabelAlign,
currentField.id,
realChildrenItem[currentField.id]
);
}
}
});
self.$set(
self.formLabelAlign[childrenIdem.id],
childrenIndex,
singleObject
);
debugger;
});
} else {
var singleObject = {};
childrenIdem.list[0].name.forEach((val4) => {
if (
(val4.multiple == true && val4.type == "code") ||
val4.type == "lazyCodeTree"
) {
singleObject[val4.id] = [];
} else {
singleObject[val4.id] = "";
}
});
self.$set(self.formLabelAlign[childrenIdem.id], 0, singleObject);
}
});
});
},
// 搜索树状数据中的 ID
queryTree(tree, id) {
debugger;
const tmp = []; // 路径数组
const FindPos = (sourceTree, sourceId) => {
if (sourceTree.id == sourceId) {
tmp.push(sourceTree.label);
return;
} else {
if (sourceTree.children && sourceTree.children.length != 0) {
sourceTree.children.forEach((item) => {
if (item.id === sourceId) {
// 寻找到指定的元素节点
tmp.push(item.label);
FindPos(tree, sourceTree.id); // 继续寻找上层元素的位置
} else {
// 当前继续寻找别的子项
FindPos(item, sourceId);
}
});
}
}
};
tree.forEach((item2) => {
FindPos(item2, id);
});
return tmp.reverse();
},
//获取子线索信息
getXsJbxxs() {
getXsJbxxsByPid({
pid: this.shsexsbh,
}).then((res) => {
var obj = {};
res.data.xsxxList.forEach((item) => {
obj.xsname = item.shsexsmc;
obj.lrrname = item.xxdjryXm;
obj.lrsj = item.djsj;
obj.shsexsbh = item.shsexsbh;
this.xszxx.push(obj);
obj = {};
});
});
},
//初始化表单
initFields() {
var self = this;
for (var i = 0; i < this.formField.length; i++) {
//遍历可配置化数组
if (this.formField[i].prop) {
this.rules[this.formField[i].id] =
this.$rules[this.formField[i].prop];
//如果有规则的话 拿到全局的规则 规则是一个数组,数组里是对象 将规则复制到所绑定的对象那个中去,然后每一项绑定对象
}
}
},
getCode() {
axios
.get(`JsonData/CODE_SHCE_SJHYLYDM.json`)
.then((res) => {
this.codeData = res.data.data.rows;
})
.catch((err) => {
console.log(err);
});
},
//提交
callSubmit(params, fileLists) {
debugger;
this.loadingFk = true;
this.loading = true;
if (this.sftj == "0") {
this.updateThxxjt(params);
} else {
this.insertThxx(params);
}
},
insertThxx(params) {
if (this.aj.length > 0) {
this.aj.forEach((item, index) => {
this.ajTableList.forEach((items) => {
let indexaj = index + 1;
params.append(
"aj" + "[" + indexaj + "]" + "." + items.prop,
item[items.prop]
);
});
});
}
if (this.xyr.length > 0) {
this.xyr.forEach((item, index) => {
this.xyrTableList.forEach((items) => {
let indexxyr = index + 1;
params.append(
"xyr" + "[" + indexxyr + "]" + "." + items.prop,
item[items.prop]
);
});
});
}
insertThxx(params).then((res) => {
if (res.code == "200") {
this.$alert("提交成功!", "提示", {
confirmButtonText: "确定",
type: "success",
callback: () => {
debugger;
this.loading = false;
this.loadingFk = false;
this.$router.push({
path: "/queryShseaj",
});
},
});
}
});
},
updateThxxjt(params) {
debugger;
params.append("th.thbh", this.thbh);
updateThxxjt(params).then((res) => {
if (res.code == "200") {
this.$alert("提交成功!", "提示", {
confirmButtonText: "确定",
type: "success",
callback: () => {
debugger;
this.loading = false;
this.loadingFk = false;
this.$router.push({
path: "/queryShseaj",
});
},
});
}
});
},
//指令详情信息查询
getZlxx() {
var self = this;
getZlxqAllByBh({
xxzjbh: this.xxzjbh,
}).then((res) => {
self.xsList[0].xstz = res.data.zlxq;
});
},
//获取线索信息
getAjDetail() {
var self = this;
getShsexsXq({
shsexsbh: self.shsexsbh,
page: 1,
rows: 5,
}).then((res) => {
// if (res.data.xs.sfbjPdbz == '是') {
// self.xsList[1].vShow = true
// self.getXsbjFj()
// self.xsList[1].xsxx.forEach(item => {
// item.content = res.data.xs[item.id]
// })
// }
self.xsList[0].xsxx.forEach((item) => {
item.content = res.data.xs[item.id];
});
self.xsly = res.data.xs.shsexslydm;
self.isParent = res.data.xs.isparent;
if (self.xsly == "群众来信" || self.xsly == "群众来电") {
self.xslyCode == "1";
}
setTimeout(() => {
self.loading = false;
}, 100);
});
},
getDetails(res, i) {
var self = this;
self.xsList[0].xsss[i].page.total = res.data.total;
var obj = {};
var key = "";
var value = "";
res.data.rows.forEach((item) => {
self.xsList[0].xsss[i].tableList.forEach((subItem) => {
obj[subItem.prop] = item[subItem.prop];
});
self.xsList[0].xsss[i].shuju.push(obj);
obj = {};
});
},
//嫌疑人信息
getXyrDetail() {
var self = this;
getXsglxyrList({
shsexsbh: this.shsexsbh,
page: self.xsList[0].xsss[0].page.currentPage,
rows: self.xsList[0].xsss[0].page.pageSize,
}).then((res) => {
if (self.xslyCode == "1") {
self.getDetails(res, 5);
self.result.bjbrResult = res.data.rows;
self.xsList[0].xsss[5].type = "show";
self.xsList[0].xsss[0].type = "";
} else {
self.getDetails(res, 0);
self.result.xyrResult = res.data.rows;
self.xsList[0].xsss[0].type = "show";
self.xsList[0].xsss[5].type = "";
}
});
self.xsList[0].xsss[0].shuju = [];
},
//举报人信息
getJbrDetail() {
var self = this;
getXsgljbrList({
shsexsbh: this.shsexsbh,
page: self.xsList[0].xsss[1].page.currentPage,
rows: self.xsList[0].xsss[1].page.pageSize,
}).then((res) => {
if (res.data.rows[0].jbrxm) {
self.getDetails(res, 1);
self.result.jbrResult = res.data.rows;
self.xsList[0].xsss[1].type = "show";
self.xsList[0].xsss[3].type = "";
self.xsList[0].xsss[4].type = "";
} else if (res.data.rows[0].tbrxm) {
self.getDetails(res, 3);
self.result.jbrResult = res.data.rows;
self.xsList[0].xsss[3].type = "show";
self.xsList[0].xsss[4].type = "";
self.xsList[0].xsss[1].type = "";
} else if (res.data.rows[0].xstgrbm) {
self.getDetails(res, 4);
self.result.tgrResult = res.data.rows;
self.xsList[0].xsss[4].type = "show";
self.xsList[0].xsss[1].type = "";
self.xsList[0].xsss[3].type = "";
}
});
self.xsList[0].xsss[1].shuju = [];
},
//公职人员信息
getGzryDetail() {
var self = this;
getSjgzryList({
shsexsbh: this.shsexsbh,
page: self.xsList[0].xsss[2].page.currentPage,
rows: 5,
}).then((res) => {
self.getDetails(res, 2);
self.result.gzryResult = res.data.rows;
if (res.data.rows[0].gzryXm) {
self.xsList[0].xsss[2].type = "show";
} else {
self.xsList[0].xsss[2].type = "";
}
});
self.xsList[0].xsss[2].shuju = [];
},
getXsFj() {
var self = this;
getXsfjByXsbh({
shsexsbh: self.shsexsbh,
}).then((res) => {
var obj = {};
var key = "";
var value = "";
res.data.rows.forEach((item) => {
obj.fjName = item.xsfjDzwjmc;
obj.xxzjbh = item.xxzjbh;
obj.type = "no";
self.xsList[0].xsFj.default.push(obj);
obj = {};
});
});
},
},
watch: {
// 'formLabelAlign.hcjgdm': {
// handler: function (val, oldval) {
// debugger
// console.log(val)
// if (val == '02' || val == '03') {
// this.rules['hcfkglxyr.xm'] = this.$rules.checkEmpty
// this.rules['hcfkglxyr.gmsfzh'] = this.$rules.checkEmpty
// this.rules['asjbh'] = this.$rules.checkEmpty
// // this.$set(this.rules, 'hcfkglxyr.xm', this.$rules.checkEmpty)
// // this.$set(this.rules, 'hcfkglxyr.gmsfzh', this.$rules.checkEmpty)
// // this.rules.hcfkglxyr.xm = this.$rules.checkEmpty
// // this.rules.hcfkglxyr.gmsfzh = this.$rules.checkEmpty
// this.initFields()
// } else {
// this.rules['hcfkglxyr.xm'] = null
// this.rules['asjbh'] = null
// this.rules['hcfkglxyr.gmsfzh'] = null
// // this.$set(this.rules, 'hcfkglxyr.xm', '')
// // this.$set(this.rules, 'hcfkglxyr.gmsfzh', '')
// this.$forceUpdate()
// }
// },
// deep: true
// },
// formLabelAlign: {
// handler: function (val, oldval) {
// console.log(val)
// if (this.$route.query.fkid) {
// this.rules['hcjgdm'] = this.$rules.checkEmpty
// this.rules['sjhyly'] = this.$rules.checkEmpty
// this.rules['fknrJyqk'] = this.$rules.checkEmpty
// this.initFields()
// } else {
// this.rules['hcjgdm'] = null
// this.rules['sjhyly'] = null
// this.rules['fknrJyqk'] = null
// this.$forceUpdate()
// }
// if (val.hcjgdm == '04') {
// this.rules['sjhyly'] = null
// this.rules['fknrJyqk'] = null
// }
// },
// deep: true
// }
},
};
</script>
<style lang="scss" scoped>
.xsfk {
/deep/.el-loading-spinner {
// top: 72%;
// margin-top: -21px;
// width: 100%;
// text-align: center;
// position: absolute;
position: fixed;
top: 50%;
}
// background-image: url(../../assets/img/bj.png);
background-repeat: no-repeat;
background-attachment: scroll;
max-height: 100%;
overflow-y: scroll;
/deep/.el-loading-mask {
height: 249%;
position: absolute;
z-index: 2000;
background-color: rgba(255, 255, 255, 0.9);
margin: 0;
top: 0;
right: 0;
bottom: 0;
left: 0;
transition: opacity 0.3s;
}
}
.form {
margin-top: 85px;
/deep/ .formContent .allForm {
margin: 0 !important;
}
/deep/ .itemtextarea .el-textarea__inner {
width: 800px;
}
/deep/ #formCommonPage .formContent .childrenAsAdd .addContent {
width: 1000px;
margin-left: 140px;
margin-top: 0px;
margin-bottom: 16px !important;
padding-top: 10px;
}
/deep/ #formCommonPage .formContent .addChildBtn .el-button {
width: 1000px;
}
/deep/ #formCommonPage .formContent .addChildBtn {
margin-top: 0 !important;
}
/deep/ #formCommonPage .formContent {
padding-left: 15px;
}
}
.det /deep/ #xsDet .xs_main .content .xs .xs_xq .xs_xq_wrap .xs_xq_contents {
&:nth-child(5) {
width: 600px;
}
}
.det /deep/ #xsDet .xs_main .content .xs .xs_xq {
padding-left: 35px;
}
.det
/deep/
#xsDet
.xs_main
.content
.xs
.xs_xq
.xs_xq_wrap
.xs_xq_contents
.xs_xq_content {
width: 250px;
}
.det
/deep/
#xsDet
.xs_main
.content
.xs
.xs_xq
.xs_xq_wrap
.xs_xq_contents
.xs_xq_name {
width: 118px;
}
.det /deep/ #xsDet .xs_main .content .xs .xs_xq .xs_xq_wrap {
width: 1280px;
}
.det /deep/ #xsDet .xs_main .content .xs .xs_form .name {
width: 118px;
min-width: 118px;
}
.det /deep/ #xsDet .xs_main .content .xs .xs_fj .fj_title {
width: 118px;
min-width: 118px;
}
.det /deep/ #xsDet .xs_main .content {
margin-left: 7px;
}
.hcfksh {
width: 1400px;
margin: 10px auto;
box-shadow: 0px 1px 2px rgba($color: #000000, $alpha: 0.2);
padding: 20px;
background: #fff;
color: #8c97a0;
.content_item {
.name {
color: $base-color;
}
.ba_radio {
display: flex;
}
}
}
</style>
<style lang="scss" scoped>
// .xshc /deep/ #xsDet .xs_main {
// margin-left: 7px;
// }
.form /deep/ .childrenAsAdd {
.addName {
width: 110px !important;
}
}
/deep/.el-button {
margin-right: -19px !important;
}
/deep/.el-dialog__header {
background: #ffffff !important;
}
/deep/.el-dialog {
position: relative;
margin: 0 auto 50px;
border-radius: 2px;
box-sizing: border-box;
width: 50%;
}
.cf {
float: right;
/* right: 20%; */
margin-right: 17%;
margin-top: 0.5%;
border: 1px solid #0061f7;
width: 40px;
text-align: center;
color: #0061f7;
}
</style>
<template>
<div class="Content">
<right-content
:pageBs="pageBs"
:header="header"
:cxFormData="cxFormData"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
@selectionChange="selectionChange"
ref="rightContent"
>
<template #listOperation="scope">
<span class="hbyps" @click="toHb(scope.scope)">合并</span>
</template>
<template #btnGroup="scope">
<span class="hbyp" @click="thxq(scope.scope)">团伙详情</span>
</template>
</right-content>
<el-dialog
title="待合并团伙"
:visible.sync="dialogVisible"
width="40%"
center
>
<div>
<el-table center :data="xsShuju" stripe border max-height="400">
<!-- <el-table-column
v-for="(columnTitle, index) in xsTableList.filter(
(itemsss, index) => {
return index < xsTableList.length - 4;
}
)"
:key="columnTitle.label"
:label="columnTitle.label"
> -->
<el-table-column
v-for="(columnTitle, index) in xsTableList"
:key="index"
:label="columnTitle.label"
:width="columnTitle.width"
:prop="columnTitle.prop"
>
<template slot-scope="scope" v-if="columnTitle.prop == 'sfzth'">
<el-radio-group v-model="scope.row.sfzth">
<!-- :disabled="scope.row.disabled" -->
<el-radio :label="1"></el-radio>
<el-radio :label="0"></el-radio>
</el-radio-group>
<!-- <i
v-show="!scope.row.disabled"
@click="removerow(scope.row)"
class="el-icon-remove-outline"
style="
color: red;
font-size: 16px;
margin-left: 10px;
cursor: pointer;
"
></i> -->
</template>
</el-table-column>
</el-table>
<el-button
style="float: right; margin: 10px"
type="primary"
class="hbbtn"
@click="handleHb"
>确认合并</el-button
>
</div>
</el-dialog>
</div>
</template>
<script>
import rightContent from "@c/ptCxForm_components.vue";
import { hbThajxyr } from "@/api/shse/shse.js";
export default {
name: "queryHbyp",
components: {
rightContent,
},
data() {
return {
xsTableList: [
{
label: "团伙编号",
prop: "thbh",
width: "200",
},
{
label: "团伙名称",
width: "200",
prop: "thmc",
},
{
label: "团伙头目",
width: "145",
prop: "thtm",
},
{
label: "是否主团伙",
prop: "sfzth",
width: "200",
},
],
sfzth: "",
dialogVisible: false,
xsShuju: [],
header: "涉黑涉恶案件侦查",
pageBs: "queryFzth",
cxFormData: {
limit: 10,
page: 1,
thbh: "",
thmc: "",
thtm: "",
},
cxQueryField: [
{
name: "团伙编号",
id: "thbh",
type: "text",
value: "",
placeholder: "请输入",
col: "3",
},
{
name: "团伙名称",
id: "thmc",
type: "text",
value: "",
placeholder: "请输入",
col: "3",
},
{
name: "团伙头目",
id: "thtm",
type: "text",
value: "",
placeholder: "请输入",
col: "3",
},
],
cxDefaultFormThead: [
{
label: "团伙编号",
// toInfor: true,
prop: "thbh",
// width: "250",
},
{
label: "团伙名称",
prop: "thmc",
// width: "200",
},
{
label: "团伙头目",
prop: "thtm",
// width: "200",
},
],
cxUrl: "/selectThzhxx",
Menu: [
// zylx:"asj",
{
id: "queryFzth",
label: "犯罪团伙信息管理",
index: "queryFzth",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
],
selectArr: [],
revokeVisiable: false,
ckForm: {
file: "",
},
fileArr: [],
zdXxzjbh: "",
};
},
created() {
this.$store.commit("user/SET_Menu", this.Menu);
},
methods: {
toCf(scope) {
debugger
},
selectionChange(row) {
debugger;
this.xsShuju = row;
},
// add() {
// this.$router.push({
// path: '/fzthxz'
// })
// },
toHb(scope) {
if (this.xsShuju.length > 1) {
this.dialogVisible = true;
} else {
this.$alert("请选择两条合并的线索", "提示!", {
confirmButtonText: "确定",
type: "warning",
callback: () => {},
});
}
},
// 确认合并
handleHb() {
let params = new FormData();
this.xsShuju.forEach((item, index) => {
params.append("th" + "[" + index + "]" + ".thbh", item.thbh);
params.append("th" + "[" + index + "]" + ".sfzth", item.sfzth);
});
hbThajxyr(params).then((res) => {
if (res.code == 200) {
this.dialogVisible = false;
this.$message.success("合并成功");
this.$refs.rightContent.doQuery("yes");
this.xsShuju = [];
} else {
this.$message.error("合并失败");
}
});
},
thxq(scope) {
debugger
this.$router.push({
path: '/xq',
query: {
thbh: scope.row.thbh
}
})
},
},
};
</script>
<style>
.el-dialog__body {
padding: 10px 15px !important;
}
.rightContent .el-input__inner,
#formCommonPage .el-input__inner {
height: 32px;
line-height: 32px;
font-family: inherit;
}
.el-table__header-wrapper th,
.el-table__header-wrapper tr {
background: #f4f6f7;
}
.rightContent .el-input__icon,
#formCommonPage .el-input__icon,
.el-input__suffix-inner {
line-height: 36px;
}
.rightContent .el-range-separator {
position: relative;
top: -4px;
}
.rightContent .el-textarea__inner,
#formCommonPage .el-textarea__inner {
width: 100%;
font-family: inherit;
}
.rightContent .el-range-input,
#formCommonPage .el-range-input {
vertical-align: top;
}
.rightContent .el-date-editor .el-range__close-icon {
margin-top: -4px;
}
.rightContent .el-form-item__error {
left: calc(66% - 27px);
top: 12px;
}
.success-row {
background-color: #fbf9f4 !important;
}
.Content .el-input,
.Content .el-date-editor--daterange.el-input__inner {
width: 100% !important;
}
</style>
<style scoped lang="scss">
.el-form-item {
margin: 15px 0 20px 0;
}
.red {
color: red;
}
.black {
color: black;
}
@import "@/assets/styles/rightContent.scss";
.hbyp {
font-size: 14px;
font-family: Source Han Sans CN;
font-weight: 400;
line-height: 22px;
color: #007aff;
margin-right: 16px;
cursor: pointer;
}
.hbyps {
font-size: 14px;
font-family: Source Han Sans CN;
font-weight: 400;
line-height: 22px;
color: #007aff;
margin-right: 16px;
cursor: pointer;
display: inline-block;
width: 60px;
border: 1px solid;
line-height: 28px;
text-align: center;
}
</style>
<!--
* @Author: your name
* @Date: 2021-08-31 09:52:33
* @LastEditTime: 2021-10-13 10:30:23
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\views\hnksh\ceshi.vue
-->
<template>
<div class="Content" id="hmxsDetail">
<right-content
:cxQueryField="cxQueryField"
:pageObject="pageObject"
labelWidth="140px"
title="犯罪团伙详情"
>
</right-content>
</div>
</template>
<script>
import rightContent from "@c/PersonInfor.vue";
import {getThZnypbg} from '@/api/shse/shse.js'
import axios from "@/utils/http.js";
export default {
name: "queryAj",
components: {
rightContent,
},
data() {
return {
cxQueryField: [
{
title: "团伙信息", //如果不分小模块就删除title
id: 1,
objStr: "th", //对象中的对应字段
data: [
{
label: "团伙头目:",
prop: "thtm",
col: "3",
},
{
label: "团伙名称:",
prop: "thmc",
col: "3",
},
],
},
{
title: "案件信息",
id: 2,
objStr: "aj",
applyType: "list", //如果是集合加上这个
data: [
{
label: "案事件编号:",
prop: "asjbh",
col: "3",
},
{
label: "案件名称:",
prop: "ajmc",
col: "3",
},
{
label: "立案单位:",
prop: "ladwdm",
col: "3",
},
{
label: "案件类别:",
prop: "ajlbdm",
col: "3",
},
{
label: "立案日期:",
prop: "larq",
col: "3",
},
],
},
{
title: "嫌疑人信息",
id: 3,
objStr: "xyr",
applyType: "list", //如果是集合加上这个
data: [
{
label: "姓名:",
prop: "xm",
col: "3",
},
{
label: "证件号码:",
prop: "zjhm",
col: "3",
},
{
label: "户籍地:",
prop: "hjddm",
col: "3",
},
],
},
],
defaultProps: {
parent: "parentId", // 父级唯一标识
value: "id", // 唯一标识
label: "label", // 标签显示
children: "children", // 子级
},
breadcrumbList: [
{
name: "刑嫌列控管理",
to: "/queryGzry",
isActive: false,
},
{
name: "人员涉案",
to: "/queryCase",
isActive: false,
},
{
name: "人员涉案详情",
to: "/detailCase",
isActive: true,
},
],
pageObject: {},
xxzjbh: "",
};
},
mounted() {},
methods: {
getInfor() {
let loading = this.$loading({
lock: true,
text: "正在加载...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
let _this = this;
getThZnypbg({
thbh: _this.xxzjbh,
}).then((res) => {
loading.close();
var result = res.data.rows;
this.pageObject = result;
});
},
},
created() {
// this.$store.commit("user/SET_Breadcrumb", this.breadcrumbList);
this.xxzjbh = this.$route.query.thbh;
this.getInfor();
},
};
</script>
<style scoped lang="scss">
</style>
<template>
<div class="Content">
<right-content
:pageBs="pageBs"
:header="header"
:cxFormData="cxFormData"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
ref="rightContent"
>
<template #listOperation="scope">
<span class="hbyps" @click="getAjlb(scope.scope)">案件列表</span>
<span class="hbyps" @click="getWdgzlb(scope.scope)">我的关注列表</span>
</template>
<template #btnGroup="scope">
<span class="hbyp" @click="toGz(scope.scope)">
<i class="el-icon-plus"></i> 关注</span
>
<span class="hbyp" @click="toNt(scope.scope)">
<i class="el-icon-plus"></i> 脑图</span
>
</template>
</right-content>
</div>
</template>
<script>
import rightContent from "@c/ptCxForm_components.vue";
import { insertGxzz } from "@/api/shse/shse.js";
export default {
name: "queryHbyp",
components: {
rightContent,
},
data() {
return {
header: "涉黑涉恶案件侦查",
pageBs: "queryShseaj",
cxFormData: {
limit: 10,
page: 1,
asjbh: "",
ajlbdm: "",
larqkssj: "",
larqjssj: "",
},
cxQueryField: [
{
name: "案事件编号",
id: "asjbh",
type: "text",
value: "",
placeholder: "请输入",
col: "3",
},
{
name: "案件类别",
id: "ajlbdm",
type: "codeTreeDialog",
codeTree: "CODE_AJLB_MIS",
codeOptions: [],
value: "",
placeholder: "请选择",
col: "3",
},
{
name: "立案时间",
id: "larqkssj",
id2: "larqjssj",
type: "zdyDate",
value: "",
col: "3",
},
],
cxDefaultFormThead: [
{
label: "案事件编号",
// toInfor: true,
prop: "asjbh",
width: "250",
},
{
label: "案件名称",
prop: "ajmc",
width: "200",
},
{
label: "接警编号",
prop: "jjbh",
width: "200",
},
{
label: "发现时间",
prop: "fxasjsj",
width: "200",
},
{
label: "现场勘验编号",
prop: "xckybh",
width: "200",
},
{
label: "案事件来源",
prop: "asjlydmStr",
width: "200",
},
],
cxUrl: "/shseaj/selectAjxx",
Menu: [
// zylx:"asj",
{
id: "queryShseaj",
label: "案事件信息管理",
index: "queryShseaj",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
],
leftMenus: [
//左侧导航(模块第一个页面需要)
{
id: "queryShseaj",
label: "案件信息管理",
newAuth: "M01",
index: "queryShseaj",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryShsery",
label: "人员信息管理",
newAuth: "M02",
index: "queryShsery",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryFzth",
label: "犯罪团伙信息管理",
newAuth: "M03",
index: "queryFzth",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryXsxx",
label: "线索信息管理",
newAuth: "M04",
index: "queryXsxx",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
],
selectArr: [],
revokeVisiable: false,
ckForm: {
file: "",
},
fileArr: [],
zdXxzjbh: "",
};
},
created() {
this.$store.commit("user/SET_Menu", this.Menu);
this.$store.commit("user/SET_LeftMenu", this.leftMenus);
this.$store.commit("user/SET_Header", this.header);
},
methods: {
getAjlb() {
var self = this;
self.cxUrl = "/shseaj/selectAjxx";
// this.$refs.rightContent.doQuery("yes");
},
getWdgzlb() {
var self = this;
self.cxUrl = "/shseaj/selectWgzKyxs";
// this.$refs.rightContent.doQuery("yes");
},
toGz(scope) {
this.$confirm("是否关注此案件, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
insertGxzz({
asjbh: scope.row.asjbh,
}).then((res) => {
if (res.success && res.code == 200) {
this.$message({
type: "success",
message: "关注成功",
});
this.$refs.rightContent.doQuery("yes");
}
});
})
.catch(() => {
this.$message({
type: "info",
message: "已取消关注",
});
});
},
toNt(scope) {
debugger
let cook = JSON.parse(sessionStorage.getItem("userInfo"));
let paths = `http://39.99.155.173:8003/doLogin?zjhm=${cook.identitycard}`;
window.open(paths, "_blank");
let path = `http://39.99.155.173:8003/queryAjdaxxs?asjbh=${scope.row.asjbh}`;
window.open(path, "_blank");
},
},
};
</script>
<style>
.el-dialog__body {
padding: 10px 15px !important;
}
.rightContent .el-input__inner,
#formCommonPage .el-input__inner {
height: 32px;
line-height: 32px;
font-family: inherit;
}
.el-table__header-wrapper th,
.el-table__header-wrapper tr {
background: #f4f6f7;
}
.rightContent .el-input__icon,
#formCommonPage .el-input__icon,
.el-input__suffix-inner {
line-height: 36px;
}
.rightContent .el-range-separator {
position: relative;
top: -4px;
}
.rightContent .el-textarea__inner,
#formCommonPage .el-textarea__inner {
width: 100%;
font-family: inherit;
}
.rightContent .el-range-input,
#formCommonPage .el-range-input {
vertical-align: top;
}
.rightContent .el-date-editor .el-range__close-icon {
margin-top: -4px;
}
.rightContent .el-form-item__error {
left: calc(66% - 27px);
top: 12px;
}
.success-row {
background-color: #fbf9f4 !important;
}
.Content .el-input,
.Content .el-date-editor--daterange.el-input__inner {
width: 100% !important;
}
</style>
<style scoped lang="scss">
.el-form-item {
margin: 15px 0 20px 0;
}
.red {
color: red;
}
.black {
color: black;
}
@import "@/assets/styles/rightContent.scss";
.hbyp {
font-size: 14px;
font-family: Source Han Sans CN;
font-weight: 400;
line-height: 22px;
color: #007aff;
margin-right: 16px;
cursor: pointer;
}
.hbyps {
font-size: 14px;
font-family: Source Han Sans CN;
font-weight: 400;
line-height: 22px;
color: #007aff;
margin-right: 16px;
cursor: pointer;
display: inline-block;
width: 87px;
border: 1px solid;
line-height: 28px;
text-align: center;
}
</style>
<template>
<div class="Content">
<right-content
:pageBs="pageBs"
:header="header"
:cxFormData="cxFormData"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
ref="rightContent"
>
</right-content>
</div>
</template>
<script>
import rightContent from "@c/ptCxForm_components.vue";
export default {
name: "queryHbyp",
components: {
rightContent,
},
data() {
return {
header: "涉黑涉恶案件侦查",
pageBs: "queryShsery",
cxFormData: {
limit: 10,
page: 1,
asjbh: "",
zhfzxyrXm: "",
zhfzxyrCyzjZjhm: "",
},
cxQueryField: [
{
name: "案事件编号",
id: "asjbh",
type: "text",
value: "",
placeholder: "请输入",
col: "3",
},
{
name: "姓名",
id: "zhfzxyrXm",
type: "text",
value: "",
placeholder: "请输入",
col: "3",
},
{
name: "证件号码",
id: "zhfzxyrCyzjZjhm",
type: "text",
value: "",
placeholder: "请输入",
col: "3",
},
],
cxDefaultFormThead: [
{
label: "案事件编号",
// toInfor: true,
prop: "asjbh",
width: "250",
},
{
label: "姓名",
prop: "zhfzxyrXm",
width: "200",
},
{
label: "证件号码",
prop: "zhfzxyrCyzjZjhm",
width: "200",
},
{
label: "抓捕日期",
prop: "zhrq",
width: "200",
},
{
label: "性别",
prop: "zhfzxyrXbdm",
width: "200",
},
{
label: "国籍",
prop: "zhfzxyrGjdm",
width: "200",
},
{
label: "民族",
prop: "zhfzxyrMzdm",
width: "200",
},
],
cxUrl: "/selectAjxyr",
Menu: [
// zylx:"asj",
{
id: "queryShsery",
label: "人员信息管理",
index: "queryShsery",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
],
selectArr: [],
revokeVisiable: false,
ckForm: {
file: "",
},
fileArr: [],
zdXxzjbh: "",
};
},
created() {
this.$store.commit("user/SET_Menu", this.Menu);
},
methods: {},
};
</script>
<style>
.el-dialog__body {
padding: 10px 15px !important;
}
.rightContent .el-input__inner,
#formCommonPage .el-input__inner {
height: 32px;
line-height: 32px;
font-family: inherit;
}
.el-table__header-wrapper th,
.el-table__header-wrapper tr {
background: #f4f6f7;
}
.rightContent .el-input__icon,
#formCommonPage .el-input__icon,
.el-input__suffix-inner {
line-height: 36px;
}
.rightContent .el-range-separator {
position: relative;
top: -4px;
}
.rightContent .el-textarea__inner,
#formCommonPage .el-textarea__inner {
width: 100%;
font-family: inherit;
}
.rightContent .el-range-input,
#formCommonPage .el-range-input {
vertical-align: top;
}
.rightContent .el-date-editor .el-range__close-icon {
margin-top: -4px;
}
.rightContent .el-form-item__error {
left: calc(66% - 27px);
top: 12px;
}
.success-row {
background-color: #fbf9f4 !important;
}
.Content .el-input,
.Content .el-date-editor--daterange.el-input__inner {
width: 100% !important;
}
</style>
<style scoped lang="scss">
.el-form-item {
margin: 15px 0 20px 0;
}
.red {
color: red;
}
.black {
color: black;
}
@import "@/assets/styles/rightContent.scss";
.hbyp {
font-size: 14px;
font-family: Source Han Sans CN;
font-weight: 400;
line-height: 22px;
color: #007aff;
margin-right: 16px;
cursor: pointer;
}
</style>
<template>
<div class="Content">
<right-content
:pageBs="pageBs"
:header="header"
:cxFormData="cxFormData"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
@add="add"
@selectionChange="selectionChange"
ref="rightContent"
>
<template #listOperation="scope">
<span class="hbyps" @click="toSb(scope.scope)">上报</span>
</template>
<template #btnGroup="scope">
<span class="hbyp" @click="xsFk(scope.scope)">线索反馈</span>
<span class="hbyp" @click="toXg(scope.scope)">修改</span>
<span class="hbyp" @click="toDelete(scope.scope)">删除</span>
</template>
</right-content>
<el-dialog
title="线索反馈"
:visible.sync="dialogVisible"
width="40%"
center
>
<el-form :inline="true" :model="examineInfo" class="demo-form-inline">
<el-row>
<el-col :span="20" :offset="2">
<el-form-item label="反馈详情:" style="width:100%">
<el-input
type="textarea"
v-model="examineInfo.fkxy"
:autosize="{ minRows: 3 }"
style="width: 300px"
placeholder="反馈意见"
></el-input>
</el-form-item>
</el-col>
</el-row>
</el-form>
<span slot="footer" class="dialog-footer">
<el-button @click="dialogVisible = false">取 消</el-button>
<el-button type="primary" @click="addFkxq">确 定</el-button>
</span>
</el-dialog>
</div>
</template>
<script>
import rightContent from "@c/ptCxForm_components.vue";
import { deleteShseXs, updateXsSbxf, insertXsFkxx } from "@/api/shse/shse.js";
export default {
name: "queryHbyp",
components: {
rightContent,
},
data() {
return {
dialogVisible: false,
examineInfo: {
fkxy: "",
},
slect: [],
header: "涉黑涉恶案件侦查",
pageBs: "queryXsxx",
cxFormData: {
limit: 10,
page: 1,
shsexsbh: "",
shsexsmc: "",
sfsb: "",
},
cxQueryField: [
{
name: "线索编号",
id: "shsexsbh",
type: "text",
value: "",
placeholder: "请输入",
col: "3",
},
{
name: "线索名称",
id: "shsexsmc",
type: "text",
value: "",
placeholder: "请输入",
col: "3",
},
{
name: "是否上报",
id: "sfsb",
type: "radio",
value: "1",
placeholder: "",
col: "3",
radioData: [
{ label: "否", val: "0" },
{ label: "是", val: "1" },
],
},
],
cxDefaultFormThead: [
// {
// label: "信息主键编号",
// toInfor: true,
// prop: "xxzjbh",
// width: "250",
// },
{
label: "线索编号",
prop: "shsexsbh",
},
{
label: "线索名称",
prop: "shsexsmc",
},
{
label: "关联案事件",
prop: "gzyqJyqk",
},
{
label: "涉及地区",
prop: "shsesjdq",
},
{
label: "涉及行业领域名称",
prop: "shsexssjhylymc",
},
],
cxUrl: "//selectXsList",
Menu: [
// zylx:"asj",
{
id: "queryXsxx",
label: "线索信息管理",
index: "queryXsxx",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
],
selectArr: [],
revokeVisiable: false,
ckForm: {
file: "",
},
fileArr: [],
zdXxzjbh: "",
};
},
created() {
this.$store.commit("user/SET_Menu", this.Menu);
},
methods: {
xsFk(csope) {
this.$set(this.examineInfo, "shsexsbh", csope.row.shsexsbh);
this.dialogVisible = true;
},
addFkxq() {
insertXsFkxx(this.examineInfo).then((res) => {
if (res.success && res.code == 200) {
this.$message.success("保存成功");
this.dialogVisible = false;
this.$refs.rightContent.doQuery("yes");
} else {
this.$message.error("保存失败");
}
});
},
add() {
this.$router.push({
path: "/xsxxxz",
});
},
toDelete(scope) {
this.$confirm("此操作将永久删除该文件, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
deleteShseXs({
shsexsbh: scope.row.shsexsbh,
}).then((res) => {
if (res.success && res.code == 200) {
this.$message({
type: "success",
message: "删除成功",
});
this.$refs.rightContent.doQuery("yes");
}
});
})
.catch(() => {
this.$message({
type: "info",
message: "已取消删除",
});
});
},
toXg(scope) {
this.$router.push({
path: "/xsxxxz",
query: {
shsexsbh: scope.row.shsexsbh,
},
});
},
selectionChange(row) {
debugger;
this.slect = row;
},
toSb(scope) {
let params = new FormData();
params.append("sbxfbz", "sb");
this.slect.forEach((item, index) => {
params.append("shsexsbhlist" + "[" + index + "]", item.shsexsbh);
});
this.$confirm("是否确定上报, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
updateXsSbxf(params).then((res) => {
if (res.success && res.code == 200) {
this.$message({
type: "success",
message: "上报成功",
});
this.$refs.rightContent.doQuery("yes");
}
});
})
.catch(() => {
this.$message({
type: "info",
message: "已取消上报",
});
});
},
},
};
</script>
<style>
.el-dialog__body {
padding: 10px 15px !important;
}
.rightContent .el-input__inner,
#formCommonPage .el-input__inner {
height: 32px;
line-height: 32px;
font-family: inherit;
}
.el-table__header-wrapper th,
.el-table__header-wrapper tr {
background: #f4f6f7;
}
.rightContent .el-input__icon,
#formCommonPage .el-input__icon,
.el-input__suffix-inner {
line-height: 36px;
}
.rightContent .el-range-separator {
position: relative;
top: -4px;
}
.rightContent .el-textarea__inner,
#formCommonPage .el-textarea__inner {
width: 100%;
font-family: inherit;
}
.rightContent .el-range-input,
#formCommonPage .el-range-input {
vertical-align: top;
}
.rightContent .el-date-editor .el-range__close-icon {
margin-top: -4px;
}
.rightContent .el-form-item__error {
left: calc(66% - 27px);
top: 12px;
}
.success-row {
background-color: #fbf9f4 !important;
}
.Content .el-input,
.Content .el-date-editor--daterange.el-input__inner {
width: 100% !important;
}
</style>
<style scoped lang="scss">
.el-form-item {
margin: 15px 0 20px 0;
}
.red {
color: red;
}
.black {
color: black;
}
@import "@/assets/styles/rightContent.scss";
.hbyp {
font-size: 14px;
font-family: Source Han Sans CN;
font-weight: 400;
line-height: 22px;
color: #007aff;
margin-right: 16px;
cursor: pointer;
}
.hbyps {
font-size: 14px;
font-family: Source Han Sans CN;
font-weight: 400;
color: #007aff;
margin-right: 16px;
cursor: pointer;
display: inline-block;
border-radius: 4px;
width: 59px;
border: 1px solid;
line-height: 25px;
text-align: center;
}
</style>
<template>
<div
ref="zlXq"
class="xsfk"
element-loading-text="正在加载......"
v-loading="loadingFk"
>
<div
style="
position: fixed;
width: 100%;
z-index: 99;
height: 48px;
background: #0061f7;
font-size: 18px;
font-weight: bold;
line-height: 48px;
color: #ffffff;
padding: 0 17px;
"
>
<img
style="width: 36px; margin-left: 10px"
src="~@/assets/img/login/jinhui.png"
alt=""
/>
{{ headerTitle }}
</div>
<div class="form">
<fj-sc
:xxzjbh="xxzjbh"
:shsexsbh="shsexsbh"
:jshcxxzjbh="jshcxxzjbh"
:formField="formField"
:formLabelAlign="formLabelAlign"
:propSt="st"
:rule="rules"
:propxsTitle="title"
:propBottonType="bottonType"
:url="url"
@hxShuju="ajHx(arguments)"
@xyrIdentity="xyrIdentity(arguments)"
@ajbhHx="ajbhHx"
@deleteObj="deleteObj"
@submit="callSubmit"
:autowidth="autowidth"
></fj-sc>
</div>
</div>
</template>
<script>
import {
insertShseXs,
getShseXsXq,
updateShseXs,
deleteShseXsXyr,
} from "@/api/shse/shse.js";
import FjSc from "@/views/xshb/xshb/gzjlxz/fksc.vue";
export default {
name: "xshc",
components: {
FjSc,
},
data() {
return {
url: this.$route.query.fkid,
loadingFk: false,
headerTitle: "线索新增",
title: "线索信息",
autowidth: "1268px",
xsly: "",
codeData: [],
xmDetail: {},
xxzjbh: "",
shsexsbh: "",
ajXxzjbh: "",
result: {
xyrResult: [],
jbrResult: [],
gzryResult: [],
xdzl: [],
bjbrResult: [],
tgrResult: [],
tbrResult: [],
},
xsly: "",
xslyCode: "",
rules: {},
formField: [
{
name: "线索名称:",
id: "shsexsmc",
// prop: "checkEmpty",
type: "text",
value: "",
placeholder: "请输入",
col: "2",
},
{
name: "线索来源:",
id: "shsexslydm",
// prop: "xbdm",
type: "codeTree",
codeOptions: [],
codeTree: "CODE_XSLY",
value: "",
placeholder: "请选择",
col: "2",
},
{
name: "涉及地区:",
id: "shsesjdq",
// prop: "xbdm",
type: "codeTree",
codeOptions: [],
codeTree: "CODE_XZQH",
value: "",
placeholder: "请选择",
col: "2",
},
{
name: "是否公职人员:",
id: "shsegzryPdbz",
// prop: "xbdm",
type: "codeTree",
codeOptions: [],
codeTree: "CODE_IF",
value: "",
placeholder: "请选择",
col: "2",
},
{
name: "涉及行业领域:",
id: "shsexssjhylydm",
// prop: "xbdm",
type: "codeTree",
codeOptions: [],
codeTree: "CODE_SJHYLY",
value: "",
placeholder: "请选择",
col: "2",
},
{
name: "线索详情:",
id: "shsexsxq",
// prop: "checkEmpty",
type: "textarea",
value: "",
placeholder: "请输入案件编号",
col: "textarea",
},
{
name: "案事件编号:",
id: "asjbh",
// prop: "checkEmpty",
type: "text",
value: "",
placeholder: "请输入案件编号",
col: "2",
},
{
childrenAsAdd: [
{
name: "嫌疑人信息:",
id: "xyr",
list: [
{
name: [
{
name: "姓名:",
id: "xm",
prop: "checkEmpty",
type: "text",
value: "",
placeholder: "请输入姓名",
col: "2",
},
{
name: "性别:",
id: "xbdm",
// prop: "xbdm",
type: "codeTree",
codeOptions: [],
codeTree: "CODE_XB",
value: "",
placeholder: "请选择性别",
col: "2",
},
{
name: "身份证号:",
id: "gmsfzh",
// prop: 'emptyAbleIdentity',
type: "textxx",
value: "",
placeholder: "请输入身份证号",
col: "2",
// append: true
},
{
name: "出生日期:",
id: "csrq",
// prop: "csrq",
type: "date",
value: "",
placeholder: "请选择出生日期",
col: "2",
},
{
name: "联系电话:",
id: "lxdh",
// prop: 'emptyAbleIphone',
// prop: "lxdh",
type: "text",
value: "",
placeholder: "请输入联系电话",
col: "2",
},
{
name: "民族:",
id: "mzdm",
// prop: "mzdm",
type: "codeTree",
codeOptions: [],
codeTree: "CODE_MZ",
value: "",
placeholder: "请选择民族",
col: "2",
},
{
name: "通讯地址:",
id: "txdz",
// prop: "txdz",
type: "text",
value: "",
placeholder: "请输入通讯地址",
col: "2",
},
{
name: "国籍:",
id: "gjdm",
// prop: "gjdm",
type: "codeTree",
codeOptions: [],
codeTree: "CODE_GJ",
value: "",
placeholder: "请选择国籍",
col: "2",
},
{
name: "户籍地详址:",
id: "hjdzDzmc",
// prop: "hjdzDzmc",
type: "text",
value: "",
placeholder: "请输入户籍地详址",
col: "2",
},
{
name: "户籍地区划:",
id: "hjdzXzqhdm",
// prop: "hjdzXzqhdm",
type: "codeTree",
codeOptions: [],
codeTree: "CODE_XZQH",
value: "",
placeholder: "请选择户籍地区划",
col: "2",
},
{
name: "现住址详址:",
id: "xzzDzmc",
// prop: "xzzDzmc",
type: "text",
value: "",
placeholder: "请输入现住址详址",
col: "2",
},
{
name: "现住址区划:",
id: "xzzXzqhdm",
// prop: "xzzXzqhdm",
type: "codeTree",
codeOptions: [],
codeTree: "CODE_XZQH",
value: "",
placeholder: "请输入现住址区划",
col: "2",
},
{
name: "境外住址详址:",
id: "jwzzDzmc",
// prop: "jwzzDzmc",
type: "text",
value: "",
placeholder: "请输入境外住址详址",
col: "2",
},
{
name: "境外住址区划:",
id: "jwzzGjhdqdm",
// prop: "jwzzGjhdqdm",
type: "codeTree",
codeOptions: [],
codeTree: "CODE_GJ",
value: "",
placeholder: "请选择境外住址区划",
col: "2",
},
{
name: "政治面貌:",
id: "zzmmdm",
// prop: "zzmmdm",
type: "codeTree",
codeOptions: [],
codeTree: "CODE_ZZMM",
value: "",
placeholder: "请选择政治面貌",
col: "2",
},
{
name: "政治身份:",
id: "zzsfdm",
// prop: "zzsfdm",
type: "codeTree",
codeOptions: [],
codeTree: "CODE_SHCE_ZZSFDM",
value: "",
placeholder: "请选择政治身份",
col: "2",
},
],
},
],
iconClass: "el-icon-delete",
},
],
},
// {
// childrenAsAdd: [
// {
// name: "嫌疑人信息:",
// id: "xyr",
// list: [
// {
// name: [
// {
// name: "姓名:",
// id: "xm",
// type: "text",
// // prop: "checkEmpty",
// value: "",
// placeholder: "请输入姓名",
// col: "2",
// },
// {
// name: "证件号码:",
// id: "zjhm",
// type: "text",
// // prop: "checkEmpty",
// value: "",
// placeholder: "请输入姓名",
// col: "2",
// },
// {
// name: "户籍地:",
// id: "hjddm",
// type: "codeTree",
// codeOptions: [],
// codeTree: "CODE_XZQH",
// value: "",
// placeholder: "请选择",
// col: "2",
// },
// ],
// },
// ],
// iconClass: "el-icon-delete",
// },
// ],
// },
// {
// name: '核查报告电子文档:',
// id: 'hcbgDzwd',
// fileId: 'hcbgDzwd',
// type: 'file',
// value: '0',
// placeholder: '',
// col: '1',
// requestUrl: 'http://39.99.224.27:8006/xsHcfkSp/xsHcfk',
// fileList: []
// },
// {
// name: '四长签字扫描件:',
// id: 'szqzySmj',
// fileId: 'szqzySmj',
// type: 'file',
// value: '0',
// placeholder: '',
// col: '1',
// requestUrl: 'http://39.99.224.27:8006/xsHcfkSp/xsHcfk',
// fileList: []
// },
// {
// name: "附件上传:",
// id: "qtFj",
// fileId: "qtFj",
// type: "file",
// value: "",
// placeholder: "",
// col: "1",
// requestUrl: "/flwsFj/tbstasjflwsCj/save",
// fileList: [],
// },
],
formLabelAlign: {},
st: "xs",
bottonType: "fk",
loading: true,
xszxx: [],
isParent: "",
jshcxxzjbh: this.$route.query.jshcxxzjbh,
};
},
created() {
if (this.$route.query.shsexsbh) {
this.headerTitle = "线索修改";
this.getTqHxFksj();
}
},
methods: {
deleteObj(obj) {
var self = this
deleteShseXsXyr({
xxzjbh: obj.xxzjbh,
}).then((res) => {
if (res.code == "200") {
self.formField.forEach((val) => {
if (val.childrenAsAdd) {
val.childrenAsAdd.forEach((val2) => {
self.formLabelAlign[val2.id].forEach((val3, index) => {
console.log(index);
if (val3 == obj) {
debugger;
self.formLabelAlign[val2.id].splice(
// val2.list.indexOf(val3),
index,
1
);
// this.$message.success("删除成功");
this.$alert("删除成功!", "提示", {
confirmButtonText: "确定",
type: "success",
callback: () => {
// this.$router.go(0)
// self.formLabelAlign[val2.id].splice(
// // val2.list.indexOf(val3),
// index,
// 1
// )
},
});
}
});
});
}
});
}
});
},
// 提取反馈的回显
getTqHxFksj() {
this.loadingFk = true;
var self = this;
getShseXsXq({
shsexsbh: this.$route.query.shsexsbh,
}).then((res) => {
debugger;
// 线索反馈
this.loadingFk = false;
var result = res.data.rows.xs;
self.formField.forEach((item, i) => {
var fieldVale = result[item.id];
debugger;
if (item.type == "codeTree") {
debugger;
axios.get(`JsonData/${item.codeTree}.json`).then((codRes) => {
let value = self.queryTree(codRes.data.data.rows, fieldVale)[0];
item.codeOptions = [{ id: fieldVale, name: value }];
});
self.$set(self.formLabelAlign, item.id, fieldVale);
} else if (item.type == "date") {
// var singleObject = {}
// singleObject[key] = new Date(realChildrenItem[key]);
self.$set(self.formLabelAlign, item.id, new Date(fieldVale));
} else {
self.$set(self.formLabelAlign, item.id, fieldVale);
}
});
// 嫌疑人信息1:
debugger;
var result1 = res.data.rows;
self.formField[7].childrenAsAdd.forEach((childrenIdem) => {
//有可添加子集的情况
//遍历可配置化列表的子集
self.$set(self.formLabelAlign, childrenIdem.id, []);
var realChildrenData = result1["xyr"];
if (realChildrenData && realChildrenData.length > 0) {
realChildrenData.forEach((realChildrenItem, childrenIndex) => {
var singleObject = {};
var dateFields = [];
var lazyLoadCodeFields = [];
if (
childrenIdem.list &&
childrenIdem.list.length > 0 &&
childrenIdem.list[0].name
) {
dateFields = childrenIdem.list[0].name.filter((fieldItem) => {
return fieldItem.type == "date";
});
dateFields = dateFields.map((fieldItem) => {
return fieldItem.id;
});
lazyLoadCodeFields = childrenIdem.list[0].name.filter(
(fieldItem) => {
return fieldItem.type == "lazyCodeTree";
}
);
lazyLoadCodeFields = dateFields.map((fieldItem) => {
return fieldItem.id;
});
}
for (var key in realChildrenItem) {
if (dateFields.indexOf(key) >= 0) {
//过滤时间
if (realChildrenItem[key]) {
singleObject[key] = new Date(realChildrenItem[key]);
}
} else if (lazyLoadCodeFields.indexOf(key) >= 0) {
} else {
singleObject[key] = realChildrenItem[key];
}
}
childrenIdem.list[0].name.forEach((currentField) => {
if (currentField.type == "lazyCodeTree") {
queryCodeByType({
type: currentField.codeTree,
id: realChildrenItem[currentField.id],
grade: "prev",
})
.then((codRes) => {
var codeArry = [];
var realCodeResult = [];
for (var j = 0; j < codRes.data.length; j++) {
var singleRow = codRes.data[j];
if (singleRow.children) {
codeArry.push(singleRow.id);
self.getChildrenCode(codeArry, singleRow);
}
}
codeArry.push(realChildrenItem[currentField.id]);
self.$set(
self.formLabelAlign[childrenIdem.id][childrenIndex],
currentField.id,
codeArry
);
//改变类型使级联控件重新加载
self.$set(currentField, "type", "lazyCodeTree2");
setTimeout(() => {
self.$set(currentField, "type", "lazyCodeTree");
self.$set(
self.formLabelAlign[childrenIdem.id][childrenIndex],
currentField.id,
codeArry
);
}, 5);
})
.catch((err) => {
// console.log(err);
});
} else if (currentField.type == "codeTree") {
//self.$set(self.formLabelAlign, fieldItem.id, fieldVale);
if (realChildrenItem[currentField.id]) {
axios
.get(`JsonData/${currentField.codeTree}.json`)
.then((codRes) => {
let value = this.queryTree(
codRes.data.data.rows,
realChildrenItem[currentField.id]
)[0];
currentField.codeOptions = [
{
id: realChildrenItem[currentField.id],
name: value,
},
];
})
.catch((err) => {});
self.$set(
self.formLabelAlign,
currentField.id,
realChildrenItem[currentField.id]
);
}
}
});
self.$set(
self.formLabelAlign[childrenIdem.id],
childrenIndex,
singleObject
);
debugger;
});
} else {
var singleObject = {};
childrenIdem.list[0].name.forEach((val4) => {
if (
(val4.multiple == true && val4.type == "code") ||
val4.type == "lazyCodeTree"
) {
singleObject[val4.id] = [];
} else {
singleObject[val4.id] = "";
}
});
self.$set(self.formLabelAlign[childrenIdem.id], 0, singleObject);
}
});
// 涉及案件
// debugger;
// var result1 = res.data.xsxq;
// self.formField[5].childrenAsAdd.forEach((childrenIdem) => {
// //有可添加子集的情况
// //遍历可配置化列表的子集
// self.$set(self.formLabelAlign, childrenIdem.id, []);
// var realChildrenData = result1["xyrList"];
// if (realChildrenData && realChildrenData.length > 0) {
// realChildrenData.forEach((realChildrenItem, childrenIndex) => {
// var singleObject = {};
// var dateFields = [];
// var lazyLoadCodeFields = [];
// if (
// childrenIdem.list &&
// childrenIdem.list.length > 0 &&
// childrenIdem.list[0].name
// ) {
// dateFields = childrenIdem.list[0].name.filter((fieldItem) => {
// return fieldItem.type == "date";
// });
// dateFields = dateFields.map((fieldItem) => {
// return fieldItem.id;
// });
// lazyLoadCodeFields = childrenIdem.list[0].name.filter(
// (fieldItem) => {
// return fieldItem.type == "lazyCodeTree";
// }
// );
// lazyLoadCodeFields = dateFields.map((fieldItem) => {
// return fieldItem.id;
// });
// }
// for (var key in realChildrenItem) {
// if (dateFields.indexOf(key) >= 0) {
// //过滤时间
// if (realChildrenItem[key]) {
// singleObject[key] = new Date(realChildrenItem[key]);
// }
// } else if (lazyLoadCodeFields.indexOf(key) >= 0) {
// } else {
// singleObject[key] = realChildrenItem[key];
// }
// }
// childrenIdem.list[0].name.forEach((currentField) => {
// if (currentField.type == "lazyCodeTree") {
// queryCodeByType({
// type: currentField.codeTree,
// id: realChildrenItem[currentField.id],
// grade: "prev",
// })
// .then((codRes) => {
// var codeArry = [];
// var realCodeResult = [];
// for (var j = 0; j < codRes.data.length; j++) {
// var singleRow = codRes.data[j];
// if (singleRow.children) {
// codeArry.push(singleRow.id);
// self.getChildrenCode(codeArry, singleRow);
// }
// }
// codeArry.push(realChildrenItem[currentField.id]);
// self.$set(
// self.formLabelAlign[childrenIdem.id][childrenIndex],
// currentField.id,
// codeArry
// );
// //改变类型使级联控件重新加载
// self.$set(currentField, "type", "lazyCodeTree2");
// setTimeout(() => {
// self.$set(currentField, "type", "lazyCodeTree");
// self.$set(
// self.formLabelAlign[childrenIdem.id][childrenIndex],
// currentField.id,
// codeArry
// );
// }, 5);
// })
// .catch((err) => {
// // console.log(err);
// });
// } else if (currentField.type == "codeTree") {
// //self.$set(self.formLabelAlign, fieldItem.id, fieldVale);
// if (realChildrenItem[currentField.id]) {
// axios
// .get(`JsonData/${currentField.codeTree}.json`)
// .then((codRes) => {
// let value = this.queryTree(
// codRes.data.data.rows,
// realChildrenItem[currentField.id]
// )[0];
// currentField.codeOptions = [
// {
// id: realChildrenItem[currentField.id],
// name: value,
// },
// ];
// })
// .catch((err) => {});
// self.$set(
// self.formLabelAlign,
// currentField.id,
// realChildrenItem[currentField.id]
// );
// }
// }
// });
// self.$set(
// self.formLabelAlign[childrenIdem.id],
// childrenIndex,
// singleObject
// );
// debugger;
// });
// } else {
// var singleObject = {};
// childrenIdem.list[0].name.forEach((val4) => {
// if (
// (val4.multiple == true && val4.type == "code") ||
// val4.type == "lazyCodeTree"
// ) {
// singleObject[val4.id] = [];
// } else {
// singleObject[val4.id] = "";
// }
// });
// self.$set(self.formLabelAlign[childrenIdem.id], 0, singleObject);
// }
// });
// self.formLabelAlign["qtFj"] = [];
// res.data.xsxq.fjList.forEach((item, index) => {
// self.formLabelAlign["qtFj"][index] = {
// name: item.xsfjDzwjmc,
// url: item.xsfjDzwjnr,
// xxzjbh: item.xxzjbh,
// };
// });
});
self.$set(self.formLabelAlign, "editing", true);
self.$forceUpdate();
},
//案件回显
ajHx(content) {
var self = this;
debugger;
getAjxxByAsjbh({
asjbh: content[0],
}).then((res) => {
var result = res.data.asj;
self.formField[2].childrenAsAdd[0].list[0].name.forEach((item) => {
var fieldVale = result[item.id];
self.$set(
self.formLabelAlign.asjList[content[1]],
item.id,
fieldVale
);
});
var result = res.data.asj;
self.formField[2].childrenAsAdd[0].list[0].name.forEach((item) => {
var fieldVale = result[item.id];
if (item.type == "codeTree") {
axios.get(`JsonData/${item.codeTree}.json`).then((codRes) => {
let value = self.queryTree(codRes.data.data.rows, fieldVale)[0];
item.codeOptions = [{ id: fieldVale, name: value }];
});
self.$set(
self.formLabelAlign.asjList[content[1]],
item.id,
fieldVale
);
} else if (item.type == "date") {
debugger;
// var singleObject = {}
// singleObject[key] = new Date(realChildrenItem[key]);
if (fieldVale == null) {
self.$set(self.formLabelAlign.asjList[content[1]], item.id, "");
} else {
self.$set(
self.formLabelAlign.asjList[content[1]],
item.id,
new Date(fieldVale)
);
}
} else {
// singleObject[key] = new Date(realChildrenItem[key]);
if (fieldVale == null) {
self.$set(self.formLabelAlign.asjList[content[1]], item.id, "");
} else {
self.$set(
self.formLabelAlign.asjList[content[1]],
item.id,
fieldVale
);
}
}
});
});
},
// 嫌疑人提取回显
xyrIdentity(content) {
debugger;
this.loadingFk = true;
var self = this;
this.loading = true;
getXyrxxByZjhm({
gmsfzh: content[0],
}).then((res) => {
// 嫌疑人信息1
var result = res.data.xyr;
self.formField[5].childrenAsAdd[0].list[0].name.forEach((item) => {
var fieldVale = result[item.id];
self.$set(
self.formLabelAlign.xyrList[content[1]],
item.id,
fieldVale
);
});
var result = res.data.xyr;
self.formField[5].childrenAsAdd[0].list[0].name.forEach((item) => {
var fieldVale = result[item.id];
if (item.type == "codeTree") {
axios.get(`JsonData/${item.codeTree}.json`).then((codRes) => {
let value = self.queryTree(codRes.data.data.rows, fieldVale)[0];
item.codeOptions = [{ id: fieldVale, name: value }];
});
self.$set(
self.formLabelAlign.xyrList[content[1]],
item.id,
fieldVale
);
} else if (item.type == "date") {
debugger;
// var singleObject = {}
// singleObject[key] = new Date(realChildrenItem[key]);
if (fieldVale == null) {
self.$set(self.formLabelAlign.xyrList[content[1]], item.id, "");
} else {
self.$set(
self.formLabelAlign.xyrList[content[1]],
item.id,
new Date(fieldVale)
);
}
} else {
// singleObject[key] = new Date(realChildrenItem[key]);
if (fieldVale == null) {
self.$set(self.formLabelAlign.xyrList[content[1]], item.id, "");
} else {
self.$set(
self.formLabelAlign.xyrList[content[1]],
item.id,
fieldVale
);
}
}
});
this.loadingFk = false;
this.loading = false;
});
},
// 案件编号回显
ajbhHx(content) {
var self = this;
this.loadingFk = true;
this.loading = true;
debugger;
getAjAndXyrByAsjbh({
asjbh: content,
}).then((res) => {
debugger;
var result1 = res.data;
self.formField[5].childrenAsAdd.forEach((childrenIdem) => {
//有可添加子集的情况
//遍历可配置化列表的子集
self.$set(self.formLabelAlign, childrenIdem.id, []);
var realChildrenData = result1["laList"];
if (realChildrenData && realChildrenData.length > 0) {
realChildrenData.forEach((realChildrenItem, childrenIndex) => {
var singleObject = {};
var dateFields = [];
var lazyLoadCodeFields = [];
if (
childrenIdem.list &&
childrenIdem.list.length > 0 &&
childrenIdem.list[0].name
) {
dateFields = childrenIdem.list[0].name.filter((fieldItem) => {
return fieldItem.type == "date";
});
dateFields = dateFields.map((fieldItem) => {
return fieldItem.id;
});
lazyLoadCodeFields = childrenIdem.list[0].name.filter(
(fieldItem) => {
return fieldItem.type == "lazyCodeTree";
}
);
lazyLoadCodeFields = dateFields.map((fieldItem) => {
return fieldItem.id;
});
}
for (var key in realChildrenItem) {
if (dateFields.indexOf(key) >= 0) {
//过滤时间
if (realChildrenItem[key]) {
singleObject[key] = new Date(realChildrenItem[key]);
}
} else if (lazyLoadCodeFields.indexOf(key) >= 0) {
} else {
singleObject[key] = realChildrenItem[key];
}
}
childrenIdem.list[0].name.forEach((currentField) => {
if (currentField.type == "lazyCodeTree") {
queryCodeByType({
type: currentField.codeTree,
id: realChildrenItem[currentField.id],
grade: "prev",
})
.then((codRes) => {
var codeArry = [];
var realCodeResult = [];
for (var j = 0; j < codRes.data.length; j++) {
var singleRow = codRes.data[j];
if (singleRow.children) {
codeArry.push(singleRow.id);
self.getChildrenCode(codeArry, singleRow);
}
}
codeArry.push(realChildrenItem[currentField.id]);
self.$set(
self.formLabelAlign[childrenIdem.id][childrenIndex],
currentField.id,
codeArry
);
//改变类型使级联控件重新加载
self.$set(currentField, "type", "lazyCodeTree2");
setTimeout(() => {
self.$set(currentField, "type", "lazyCodeTree");
self.$set(
self.formLabelAlign[childrenIdem.id][childrenIndex],
currentField.id,
codeArry
);
}, 5);
})
.catch((err) => {
// console.log(err);
});
} else if (currentField.type == "codeTree") {
//self.$set(self.formLabelAlign, fieldItem.id, fieldVale);
if (realChildrenItem[currentField.id]) {
axios
.get(`JsonData/${currentField.codeTree}.json`)
.then((codRes) => {
let value = this.queryTree(
codRes.data.data.rows,
realChildrenItem[currentField.id]
)[0];
currentField.codeOptions = [
{
id: realChildrenItem[currentField.id],
name: value,
},
];
})
.catch((err) => {});
self.$set(
self.formLabelAlign,
currentField.id,
realChildrenItem[currentField.id]
);
}
}
});
self.$set(
self.formLabelAlign[childrenIdem.id],
childrenIndex,
singleObject
);
debugger;
});
} else {
var singleObject = {};
childrenIdem.list[0].name.forEach((val4) => {
if (
(val4.multiple == true && val4.type == "code") ||
val4.type == "lazyCodeTree"
) {
singleObject[val4.id] = [];
} else {
singleObject[val4.id] = "";
}
});
self.$set(self.formLabelAlign[childrenIdem.id], 0, singleObject);
}
this.loadingFk = false;
this.loading = false;
});
// 嫌疑人信息1:
debugger;
var result1 = res.data;
self.formField[6].childrenAsAdd.forEach((childrenIdem) => {
//有可添加子集的情况
//遍历可配置化列表的子集
self.$set(self.formLabelAlign, childrenIdem.id, []);
var realChildrenData = result1["xyrList"];
if (realChildrenData && realChildrenData.length > 0) {
realChildrenData.forEach((realChildrenItem, childrenIndex) => {
var singleObject = {};
var dateFields = [];
var lazyLoadCodeFields = [];
if (
childrenIdem.list &&
childrenIdem.list.length > 0 &&
childrenIdem.list[0].name
) {
dateFields = childrenIdem.list[0].name.filter((fieldItem) => {
return fieldItem.type == "date";
});
dateFields = dateFields.map((fieldItem) => {
return fieldItem.id;
});
lazyLoadCodeFields = childrenIdem.list[0].name.filter(
(fieldItem) => {
return fieldItem.type == "lazyCodeTree";
}
);
lazyLoadCodeFields = dateFields.map((fieldItem) => {
return fieldItem.id;
});
}
for (var key in realChildrenItem) {
if (dateFields.indexOf(key) >= 0) {
//过滤时间
if (realChildrenItem[key]) {
singleObject[key] = new Date(realChildrenItem[key]);
}
} else if (lazyLoadCodeFields.indexOf(key) >= 0) {
} else {
singleObject[key] = realChildrenItem[key];
}
}
childrenIdem.list[0].name.forEach((currentField) => {
if (currentField.type == "lazyCodeTree") {
queryCodeByType({
type: currentField.codeTree,
id: realChildrenItem[currentField.id],
grade: "prev",
})
.then((codRes) => {
var codeArry = [];
var realCodeResult = [];
for (var j = 0; j < codRes.data.length; j++) {
var singleRow = codRes.data[j];
if (singleRow.children) {
codeArry.push(singleRow.id);
self.getChildrenCode(codeArry, singleRow);
}
}
codeArry.push(realChildrenItem[currentField.id]);
self.$set(
self.formLabelAlign[childrenIdem.id][childrenIndex],
currentField.id,
codeArry
);
//改变类型使级联控件重新加载
self.$set(currentField, "type", "lazyCodeTree2");
setTimeout(() => {
self.$set(currentField, "type", "lazyCodeTree");
self.$set(
self.formLabelAlign[childrenIdem.id][childrenIndex],
currentField.id,
codeArry
);
}, 5);
})
.catch((err) => {
// console.log(err);
});
} else if (currentField.type == "codeTree") {
//self.$set(self.formLabelAlign, fieldItem.id, fieldVale);
if (realChildrenItem[currentField.id]) {
axios
.get(`JsonData/${currentField.codeTree}.json`)
.then((codRes) => {
let value = this.queryTree(
codRes.data.data.rows,
realChildrenItem[currentField.id]
)[0];
currentField.codeOptions = [
{
id: realChildrenItem[currentField.id],
name: value,
},
];
})
.catch((err) => {});
self.$set(
self.formLabelAlign,
currentField.id,
realChildrenItem[currentField.id]
);
}
}
});
self.$set(
self.formLabelAlign[childrenIdem.id],
childrenIndex,
singleObject
);
debugger;
});
} else {
var singleObject = {};
childrenIdem.list[0].name.forEach((val4) => {
if (
(val4.multiple == true && val4.type == "code") ||
val4.type == "lazyCodeTree"
) {
singleObject[val4.id] = [];
} else {
singleObject[val4.id] = "";
}
});
self.$set(self.formLabelAlign[childrenIdem.id], 0, singleObject);
}
});
});
},
// 搜索树状数据中的 ID
queryTree(tree, id) {
debugger;
const tmp = []; // 路径数组
const FindPos = (sourceTree, sourceId) => {
if (sourceTree.id == sourceId) {
tmp.push(sourceTree.label);
return;
} else {
if (sourceTree.children && sourceTree.children.length != 0) {
sourceTree.children.forEach((item) => {
if (item.id === sourceId) {
// 寻找到指定的元素节点
tmp.push(item.label);
FindPos(tree, sourceTree.id); // 继续寻找上层元素的位置
} else {
// 当前继续寻找别的子项
FindPos(item, sourceId);
}
});
}
}
};
tree.forEach((item2) => {
FindPos(item2, id);
});
return tmp.reverse();
},
//获取子线索信息
getXsJbxxs() {
getXsJbxxsByPid({
pid: this.shsexsbh,
}).then((res) => {
var obj = {};
res.data.xsxxList.forEach((item) => {
obj.xsname = item.shsexsmc;
obj.lrrname = item.xxdjryXm;
obj.lrsj = item.djsj;
obj.shsexsbh = item.shsexsbh;
this.xszxx.push(obj);
obj = {};
});
});
},
//初始化表单
initFields() {
var self = this;
for (var i = 0; i < this.formField.length; i++) {
//遍历可配置化数组
if (this.formField[i].prop) {
this.rules[this.formField[i].id] =
this.$rules[this.formField[i].prop];
//如果有规则的话 拿到全局的规则 规则是一个数组,数组里是对象 将规则复制到所绑定的对象那个中去,然后每一项绑定对象
}
}
},
getCode() {
axios
.get(`JsonData/CODE_SHCE_SJHYLYDM.json`)
.then((res) => {
this.codeData = res.data.data.rows;
})
.catch((err) => {
console.log(err);
});
},
//提交
callSubmit(params, fileLists) {
debugger;
this.loadingFk = true;
this.loading = true;
if (this.$route.query.shsexsbh) {
this.updateShseXs(params);
} else {
this.insertShseXs(params);
}
// params.append("xs.xsbh", this.$route.query.xsbh);
// updateXs(params).then((res) => {
// if (res.code == "200") {
// this.$alert("提交成功!", "提示", {
// confirmButtonText: "确定",
// type: "success",
// callback: () => {
// debugger
// this.loading = false;
// this.loadingFk = false;
// this.$router.go(-1)
// // window.opener.location.reload();
// // window.close();
// },
// });
// }
// });
},
insertShseXs(params) {
insertShseXs(params).then((res) => {
if (res.code == "200") {
this.$alert("提交成功!", "提示", {
confirmButtonText: "确定",
type: "success",
callback: () => {
debugger;
this.loading = false;
this.loadingFk = false;
this.$router.go(-1);
},
});
}
});
},
updateShseXs(params) {
params.append("xs.shsexsbh", this.$route.query.shsexsbh);
updateShseXs(params).then((res) => {
if (res.code == "200") {
this.$alert("提交成功!", "提示", {
confirmButtonText: "确定",
type: "success",
callback: () => {
debugger;
this.loading = false;
this.loadingFk = false;
this.$router.go(-1);
},
});
}
});
},
//指令详情信息查询
getZlxx() {
var self = this;
getZlxqAllByBh({
xxzjbh: this.xxzjbh,
}).then((res) => {
self.xsList[0].xstz = res.data.zlxq;
});
},
//获取线索信息
getAjDetail() {
var self = this;
getShsexsXq({
shsexsbh: self.shsexsbh,
page: 1,
rows: 5,
}).then((res) => {
// if (res.data.xs.sfbjPdbz == '是') {
// self.xsList[1].vShow = true
// self.getXsbjFj()
// self.xsList[1].xsxx.forEach(item => {
// item.content = res.data.xs[item.id]
// })
// }
self.xsList[0].xsxx.forEach((item) => {
item.content = res.data.xs[item.id];
});
self.xsly = res.data.xs.shsexslydm;
self.isParent = res.data.xs.isparent;
if (self.xsly == "群众来信" || self.xsly == "群众来电") {
self.xslyCode == "1";
}
setTimeout(() => {
self.loading = false;
}, 100);
});
},
getDetails(res, i) {
var self = this;
self.xsList[0].xsss[i].page.total = res.data.total;
var obj = {};
var key = "";
var value = "";
res.data.rows.forEach((item) => {
self.xsList[0].xsss[i].tableList.forEach((subItem) => {
obj[subItem.prop] = item[subItem.prop];
});
self.xsList[0].xsss[i].shuju.push(obj);
obj = {};
});
},
//嫌疑人信息
getXyrDetail() {
var self = this;
getXsglxyrList({
shsexsbh: this.shsexsbh,
page: self.xsList[0].xsss[0].page.currentPage,
rows: self.xsList[0].xsss[0].page.pageSize,
}).then((res) => {
if (self.xslyCode == "1") {
self.getDetails(res, 5);
self.result.bjbrResult = res.data.rows;
self.xsList[0].xsss[5].type = "show";
self.xsList[0].xsss[0].type = "";
} else {
self.getDetails(res, 0);
self.result.xyrResult = res.data.rows;
self.xsList[0].xsss[0].type = "show";
self.xsList[0].xsss[5].type = "";
}
});
self.xsList[0].xsss[0].shuju = [];
},
//举报人信息
getJbrDetail() {
var self = this;
getXsgljbrList({
shsexsbh: this.shsexsbh,
page: self.xsList[0].xsss[1].page.currentPage,
rows: self.xsList[0].xsss[1].page.pageSize,
}).then((res) => {
if (res.data.rows[0].jbrxm) {
self.getDetails(res, 1);
self.result.jbrResult = res.data.rows;
self.xsList[0].xsss[1].type = "show";
self.xsList[0].xsss[3].type = "";
self.xsList[0].xsss[4].type = "";
} else if (res.data.rows[0].tbrxm) {
self.getDetails(res, 3);
self.result.jbrResult = res.data.rows;
self.xsList[0].xsss[3].type = "show";
self.xsList[0].xsss[4].type = "";
self.xsList[0].xsss[1].type = "";
} else if (res.data.rows[0].xstgrbm) {
self.getDetails(res, 4);
self.result.tgrResult = res.data.rows;
self.xsList[0].xsss[4].type = "show";
self.xsList[0].xsss[1].type = "";
self.xsList[0].xsss[3].type = "";
}
});
self.xsList[0].xsss[1].shuju = [];
},
//公职人员信息
getGzryDetail() {
var self = this;
getSjgzryList({
shsexsbh: this.shsexsbh,
page: self.xsList[0].xsss[2].page.currentPage,
rows: 5,
}).then((res) => {
self.getDetails(res, 2);
self.result.gzryResult = res.data.rows;
if (res.data.rows[0].gzryXm) {
self.xsList[0].xsss[2].type = "show";
} else {
self.xsList[0].xsss[2].type = "";
}
});
self.xsList[0].xsss[2].shuju = [];
},
getXsFj() {
var self = this;
getXsfjByXsbh({
shsexsbh: self.shsexsbh,
}).then((res) => {
var obj = {};
var key = "";
var value = "";
res.data.rows.forEach((item) => {
obj.fjName = item.xsfjDzwjmc;
obj.xxzjbh = item.xxzjbh;
obj.type = "no";
self.xsList[0].xsFj.default.push(obj);
obj = {};
});
});
},
},
watch: {
// 'formLabelAlign.hcjgdm': {
// handler: function (val, oldval) {
// debugger
// console.log(val)
// if (val == '02' || val == '03') {
// this.rules['hcfkglxyr.xm'] = this.$rules.checkEmpty
// this.rules['hcfkglxyr.gmsfzh'] = this.$rules.checkEmpty
// this.rules['asjbh'] = this.$rules.checkEmpty
// // this.$set(this.rules, 'hcfkglxyr.xm', this.$rules.checkEmpty)
// // this.$set(this.rules, 'hcfkglxyr.gmsfzh', this.$rules.checkEmpty)
// // this.rules.hcfkglxyr.xm = this.$rules.checkEmpty
// // this.rules.hcfkglxyr.gmsfzh = this.$rules.checkEmpty
// this.initFields()
// } else {
// this.rules['hcfkglxyr.xm'] = null
// this.rules['asjbh'] = null
// this.rules['hcfkglxyr.gmsfzh'] = null
// // this.$set(this.rules, 'hcfkglxyr.xm', '')
// // this.$set(this.rules, 'hcfkglxyr.gmsfzh', '')
// this.$forceUpdate()
// }
// },
// deep: true
// },
// formLabelAlign: {
// handler: function (val, oldval) {
// console.log(val)
// if (this.$route.query.fkid) {
// this.rules['hcjgdm'] = this.$rules.checkEmpty
// this.rules['sjhyly'] = this.$rules.checkEmpty
// this.rules['fknrJyqk'] = this.$rules.checkEmpty
// this.initFields()
// } else {
// this.rules['hcjgdm'] = null
// this.rules['sjhyly'] = null
// this.rules['fknrJyqk'] = null
// this.$forceUpdate()
// }
// if (val.hcjgdm == '04') {
// this.rules['sjhyly'] = null
// this.rules['fknrJyqk'] = null
// }
// },
// deep: true
// }
},
};
</script>
<style lang="scss" scoped>
.xsfk {
/deep/.el-loading-spinner {
// top: 72%;
// margin-top: -21px;
// width: 100%;
// text-align: center;
// position: absolute;
position: fixed;
top: 50%;
}
// background-image: url(../../assets/img/bj.png);
background-repeat: no-repeat;
background-attachment: scroll;
max-height: 100%;
overflow-y: scroll;
/deep/.el-loading-mask {
height: 249%;
position: absolute;
z-index: 2000;
background-color: rgba(255, 255, 255, 0.9);
margin: 0;
top: 0;
right: 0;
bottom: 0;
left: 0;
transition: opacity 0.3s;
}
}
.form {
margin-top: 85px;
/deep/ .formContent .allForm {
margin: 0 !important;
}
/deep/ .itemtextarea .el-textarea__inner {
width: 800px;
}
/deep/ #formCommonPage .formContent .childrenAsAdd .addContent {
width: 1000px;
margin-left: 140px;
margin-top: 0px;
margin-bottom: 16px !important;
padding-top: 10px;
}
/deep/ #formCommonPage .formContent .addChildBtn .el-button {
width: 1000px;
}
/deep/ #formCommonPage .formContent .addChildBtn {
margin-top: 0 !important;
}
/deep/ #formCommonPage .formContent {
padding-left: 15px;
}
}
.det /deep/ #xsDet .xs_main .content .xs .xs_xq .xs_xq_wrap .xs_xq_contents {
&:nth-child(5) {
width: 600px;
}
}
.det /deep/ #xsDet .xs_main .content .xs .xs_xq {
padding-left: 35px;
}
.det
/deep/
#xsDet
.xs_main
.content
.xs
.xs_xq
.xs_xq_wrap
.xs_xq_contents
.xs_xq_content {
width: 250px;
}
.det
/deep/
#xsDet
.xs_main
.content
.xs
.xs_xq
.xs_xq_wrap
.xs_xq_contents
.xs_xq_name {
width: 118px;
}
.det /deep/ #xsDet .xs_main .content .xs .xs_xq .xs_xq_wrap {
width: 1280px;
}
.det /deep/ #xsDet .xs_main .content .xs .xs_form .name {
width: 118px;
min-width: 118px;
}
.det /deep/ #xsDet .xs_main .content .xs .xs_fj .fj_title {
width: 118px;
min-width: 118px;
}
.det /deep/ #xsDet .xs_main .content {
margin-left: 7px;
}
.hcfksh {
width: 1400px;
margin: 10px auto;
box-shadow: 0px 1px 2px rgba($color: #000000, $alpha: 0.2);
padding: 20px;
background: #fff;
color: #8c97a0;
.content_item {
.name {
color: $base-color;
}
.ba_radio {
display: flex;
}
}
}
</style>
<style lang="scss" scoped>
// .xshc /deep/ #xsDet .xs_main {
// margin-left: 7px;
// }
.form /deep/ .childrenAsAdd {
.addName {
width: 110px !important;
}
}
/deep/.el-button {
margin-right: -19px !important;
}
/deep/.el-dialog__header {
background: #0081f7 !important;
}
/deep/.el-dialog {
position: relative;
margin: 0 auto 50px;
border-radius: 2px;
box-sizing: border-box;
width: 50%;
}
</style>
......@@ -7,14 +7,11 @@
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
@add="add"
ref="rightContent"
>
<template #btnGroup="scope">
<span
class="hbyp"
@click="toInfor(scope.scope)"
>线索侦办</span
>
<template #btnGroup="scope">
<span class="hbyp" @click="toInfor(scope.scope)">线索侦办</span>
</template>
</right-content>
</div>
......@@ -189,33 +186,7 @@ export default {
disabled: false,
},
],
leftMenus: [
//左侧导航(模块第一个页面需要)
{
id: "queryXshb",
label: "线索信息汇集整合",
newAuth: "M01",
index: "queryXshb",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
// {
// id: "djgzxs",
// label: "线索核办",
// newAuth: "M01",
// index: "djgzxs",
// className: "iconfont icongongnengfuwu",
// hasChildren: false,
// },
{
id: "xsbk",
label: "线索布控",
index: "xsbk",
auth: "M01",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
],
selectArr: [],
revokeVisiable: false,
ckForm: {
......@@ -227,10 +198,15 @@ export default {
},
created() {
this.$store.commit("user/SET_Menu", this.Menu);
this.$store.commit("user/SET_LeftMenu", this.leftMenus);
this.$store.commit("user/SET_Header", this.header);
// this.$store.commit("user/SET_LeftMenu", this.leftMenus);
// this.$store.commit("user/SET_Header", this.header);
},
methods: {
add() {
this.$router.push({
path: "/djgz",
});
},
toInfor(scope) {
this.$router.push({
path: "/djgzxs",
......@@ -239,7 +215,6 @@ export default {
},
});
},
},
watch: {},
};
......
......@@ -787,6 +787,7 @@
<i
:class="'zdyicon ' + item2.iconClass"
@click="deleteObj(reakData)"
v-if="realIndex != 0"
></i>
<el-form-item
v-for="item4 in item3.name"
......
......@@ -386,91 +386,89 @@ export default {
},
methods: {
deleteObj(obj) {
debugger
var self = this
self.formField[4].childrenAsAdd.forEach((item) => {
console.log(item);
self.scId = item.id;
});
self.formField[5].childrenAsAdd.forEach((item) => {
console.log(item);
self.scId = item.id;
});
if (self.scId == "jbrList") {
delXsgljbr({
xxzjbh: obj.xxzjbh,
}).then((res) => {
if (res.code == "200") {
self.formField.forEach((val) => {
if (val.childrenAsAdd) {
val.childrenAsAdd.forEach((val2) => {
self.formLabelAlign[val2.id].forEach((val3, index) => {
console.log(index);
if (val3 == obj) {
debugger;
self.formLabelAlign[val2.id].splice(
// val2.list.indexOf(val3),
index,
1
);
// this.$message.success("删除成功");
this.$alert("删除成功!", "提示", {
confirmButtonText: "确定",
type: "success",
callback: () => {
// this.$router.go(0)
// self.formLabelAlign[val2.id].splice(
// // val2.list.indexOf(val3),
// index,
// 1
// )
},
debugger;
var self = this;
self.formField.forEach((val) => {
if (val.childrenAsAdd) {
val.childrenAsAdd.forEach((val2) => {
if (val2.id == "jbrList") {
delXsgljbr({
xxzjbh: obj.xxzjbh,
}).then((res) => {
if (res.code == "200") {
self.formField.forEach((val) => {
if (val.childrenAsAdd) {
val.childrenAsAdd.forEach((val2) => {
self.formLabelAlign[val2.id].forEach((val3, index) => {
console.log(index);
if (val3 == obj) {
debugger;
self.formLabelAlign[val2.id].splice(
// val2.list.indexOf(val3),
index,
1
);
// this.$message.success("删除成功");
this.$alert("删除成功!", "提示", {
confirmButtonText: "确定",
type: "success",
callback: () => {
// this.$router.go(0)
// self.formLabelAlign[val2.id].splice(
// // val2.list.indexOf(val3),
// index,
// 1
// )
},
});
}
});
});
}
});
});
}
});
}
});
} else if (self.scId == "xyrList") {
delXsglxyr({
xxzjbh: obj.xxzjbh,
}).then((res) => {
if (res.code == "200") {
self.formField.forEach((val) => {
if (val.childrenAsAdd) {
val.childrenAsAdd.forEach((val2) => {
self.formLabelAlign[val2.id].forEach((val3, index) => {
console.log(index);
if (val3 == obj) {
debugger;
self.formLabelAlign[val2.id].splice(
// val2.list.indexOf(val3),
index,
1
);
// this.$message.success("删除成功");
this.$alert("删除成功!", "提示", {
confirmButtonText: "确定",
type: "success",
callback: () => {
// this.$router.go(0)
// self.formLabelAlign[val2.id].splice(
// // val2.list.indexOf(val3),
// index,
// 1
// )
},
}
});
} else if (val2.id == "xyrList") {
delXsglxyr({
xxzjbh: obj.xxzjbh,
}).then((res) => {
if (res.code == "200") {
self.formField.forEach((val) => {
if (val.childrenAsAdd) {
val.childrenAsAdd.forEach((val2) => {
self.formLabelAlign[val2.id].forEach((val3, index) => {
console.log(index);
if (val3 == obj) {
debugger;
self.formLabelAlign[val2.id].splice(
// val2.list.indexOf(val3),
index,
1
);
// this.$message.success("删除成功");
this.$alert("删除成功!", "提示", {
confirmButtonText: "确定",
type: "success",
callback: () => {
// this.$router.go(0)
// self.formLabelAlign[val2.id].splice(
// // val2.list.indexOf(val3),
// index,
// 1
// )
},
});
}
});
});
}
});
});
}
});
}
});
}
}
});
}
});
}
});
},
// 提取反馈的回显
getTqHxFksj() {
......@@ -1254,10 +1252,10 @@ export default {
confirmButtonText: "确定",
type: "success",
callback: () => {
debugger
debugger;
this.loading = false;
this.loadingFk = false;
this.$router.go(-1)
this.$router.go(-1);
// window.opener.location.reload();
// window.close();
......
......@@ -156,7 +156,7 @@ export default {
},
],
leftMenus: [
{
{
id: "queryThxs",
label: "有组织犯罪线索研判",
newAuth: "M01",
......@@ -165,14 +165,14 @@ export default {
hasChildren: false,
},
{
id: "queryThxs",
id: "queryXshb",
label: "有组织犯罪线索管理",
newAuth: "M01",
index: "queryThxs",
index: "queryXshb",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
{
id: "thxsTj",
label: "有组织犯罪线索工作统计",
newAuth: "M01",
......@@ -206,6 +206,14 @@ export default {
},
],
},
{
id: "xsbk",
label: "线索布控",
index: "xsbk",
auth: "M01",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
],
};
},
......
......@@ -100,9 +100,8 @@ export default {
ywlx: "",
fbsj_s: "",
fbsj_e: "",
ywbh: "",
zljsdwdm: "",
spsftg: "",
ywmc: "",
zlsfqs: "",
zlsffp: "",
zlsfhb: "",
limit: 10,
......@@ -156,14 +155,14 @@ export default {
col: "3",
},
{
name: "业务编号",
id: "ywbh",
name: "业务名称",
id: "ywmc",
placeholder: "请输入",
type: "text",
value: "",
col: "3",
},
{
/*{
name: "指令接收单位",
id: "zljsdwdm",
type: "codeTreeDialog",
......@@ -173,10 +172,10 @@ export default {
col: "3",
codeOptions: [],
codeTree: "CODE_UNIT",
},
},*/
{
name: "审批是否通过",
id: "spsftg",
name: "签收状态",
id: "zlsfqs",
type: "select",
selectData: [
{
......@@ -184,17 +183,13 @@ export default {
value: "",
},
{
name: "待审批",
value: "2",
name: "未签收",
value: "0",
},
{
name: "通过",
name: "已签收",
value: "1",
},
{
name: "未通过",
value: "0",
},
}
],
props: "checkEmpty",
value: "",
......@@ -202,7 +197,7 @@ export default {
col: "3",
},
{
name: "指令是否分派",
name: "指令分派状态",
id: "zlsffp",
type: "select",
selectData: [
......@@ -211,13 +206,13 @@ export default {
value: "",
},
{
name: "已分派",
value: "1",
},
{
name: "未分派",
value: "0",
},
{
name: "已分派",
value: "1",
},
],
props: "checkEmpty",
value: "",
......@@ -225,22 +220,22 @@ export default {
col: "3",
},
{
name: "指令是否回报",
name: "回报状态回报",
id: "zlsfhb",
type: "select",
selectData: [
{
name: "全部",
value: "",
},
{
name: "已回报",
value: "1",
value: "99",
},
{
name: "未回报",
value: "0",
},
{
name: "已回报",
value: "1",
},
],
props: "checkEmpty",
value: "",
......@@ -249,43 +244,47 @@ export default {
},
],
cxDefaultFormThead: [
{
/*{
label: "能否回报",
prop: "nfhb",
},
{
/*table默认得表头*/
},*/
/*{
/!*table默认得表头*!/
label: "业务名称",
prop: "ywmc",
},
{
label: "指令回报个数",
prop: "zlhbcs",
},
},*/
{
label: "回报期限",
prop: "hbqx",
label: "指令文号",
prop: "zlwh",
},
{
/*{
label: "能否续报",
prop: "nfxb",
},
{
label: "指令签收个数",
prop: "zlqsgs",
},
},*/
{
label: "指令签收状态",
prop: "zlqszt",
},
{
label: "指令回报状态",
prop: "zlhbzt",
},
{
label: "业务类型",
prop: "ywlxStr",
},
/* {
label: "分派编号",
prop: "fpbh",
},*/
},
{
label: "能否回报修改",
prop: "nfhbxg",
......@@ -301,27 +300,28 @@ export default {
{
label: "能否分派",
prop: "nffp",
},
},*/
{
label: "指令类型",
prop: "zllxStr",
},
{
/*{
label: "续报评价等级",
prop: "xbpjdj",
},*/
{
label: "回报期限",
prop: "hbqx",
},
{
label: "指令回报状态",
prop: "zlhbzt",
label: "发布时间",
prop: "fbsj",
},
{
label: "指令分派个数",
prop: "zlfpgs",
},
{
label: "指令文号",
prop: "zlwh",
},
{
label: "工作指令编号",
prop: "zczlbh",
......@@ -330,16 +330,16 @@ export default {
label: "工作要求",
prop: "gzyq",
},
{
/*{
label: "是否存在回报信息",
prop: "sfczhbxx",
},
},*/
{
label: "指令分派单位",
prop: "zlfpdwHtml",
},
],
cxUrl: "/zczl/getMyResponsibleInstructions",
cxUrl: "/zczl/getZczlList",
Menu: [
{
id: "wfzdzczl",
......
......@@ -59,8 +59,6 @@ module.exports = {
proxy: {
"/apialy": {
target: "http://39.99.155.173:9022/", //西藏: https://155.1.33.10:20010/ 阿里云:http://39.99.155.173:9022
// target: "http://192.168.1.104:8762/",
// ws: true,
changeOrigin: true,
// secure: false,
......@@ -84,6 +82,14 @@ module.exports = {
"^/apiAjzbXzGaw": "/"
}
},
"/apiAjzb": {
target: "http://39.99.224.27:8001/", //统一的请求头部每次修改都要重启才会生效西藏:()
ws: true,
changeOrigin: true,
pathRewrite: {
"^/apiAjzb": "/"
}
},
},
},
css: {
......
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