Commit da3e0a0e by yuhao

Merge branch 'dev_xzeq_xz' of http://39.99.224.27:9022/changchao/founder_vue into dev_xzeq_xz

parents ac70282c 0ec2c7d3
......@@ -39,10 +39,10 @@ if (
base.alyIP3 = "/xzxtzhyyreport/apialy";
base.alyIP4 = 'http://xzxt-zhyy.dsj.xz/naotu' // 西藏 脑图链接
base.alyIP5 = 'http://74.6.54.153:8003' // 画像工厂案
base.alyIP6 = 'http://89.0.23.203:9047' // 案件档案
base.alyIP6 = 'http://xzxt-zhyy.dsj.xz/xzxt' // 案件档案
base.alyIP7 = 'http://74.6.54.153:8006' // 脑图审批
base.alyIP9 = 'http://xzxt-zhyy.dsj.xz/skdsj' // 时空
base.alyIP10 = 'http://10.184.14.193:9001' // 案件侦办
base.alyIP10 = 'http://xzxt-zhyy.dsj.xz/ajzb' // 案件侦办
base.alyIP11 = 'http://89.0.4.20:8008' // 话单分析
base.alyIP12 = 'http://xzxt-zhyy.dsj.xz/skdsj' // 西藏 时空大数据
base.alyIP8 = 'http://xzxt-zhyy.dsj.xz/xzxtzhyyreport' // 西藏 案件标注
......
......@@ -49,6 +49,10 @@ export const delXsglbsh = params =>
post(`${base.alyIP}/xshb/delXsglbsh`, params);
// 1.2.2.1 获取线索信息详情
export const getXsByXsbhByLx = params =>
post(`${base.alyIP}/xshb/getXsByXsbhByLx`, params);
// 1.2.2.1 获取线索信息详情
export const getXsByXsbh = params =>
post(`${base.alyIP}/xshb/getXsByXsbh`, params);
......
......@@ -52,7 +52,10 @@ export const doFpNew = params =>
postform(`${base.alyIP}/zczl/doFpNew`, params);
//移交
export const doYjNew = params =>
postform(`${base.alyIP}/zczl/doYjNew`, params);
postform(`${base.alyIP}/zczl/doYjNew`, params);
//抄送
export const doCS = params =>
postform(`${base.alyIP}/zczl/makeCopyForOther`, params);
//指令回报修改或续报修改
export const getHbDetailByFpbh = params =>
post(`${base.alyIP}/zczl/getHbDetailByFpbh`, params);
......
......@@ -251,8 +251,10 @@ export default {
methods: {
ychyLink (type, asjbh) {
if (type == "ajzb") {
let path = `${this.$baseUrl.alyIP10}/jump?zjhm=${JSON.parse(sessionStorage.getItem("userInfo")).identitycard
}&path=/ajzb?id=${asjbh}`;
let userToken = sessionStorage.getItem('userToken')
let appToken = sessionStorage.getItem('appToken')
let path = `${this.$baseUrl.alyIP10}?zjhm=${JSON.parse(sessionStorage.getItem("userInfo")).identitycard
}&path=/ajzbDetail?id=${asjbh}&userToken=${userToken}&appToken=${appToken}`;
window.open(path, "_blank");
} else {
let path = `${this.$baseUrl.alyIP9}/#/JumpPage/admin/admin/${asjbh}`;
......
......@@ -319,7 +319,8 @@ export default {
if (boo) {
if (this.pages == "ajhx") {
//let path = `http://39.99.155.173:8003/queryAjdaxxs?asjbh=${this.form.zjhm}`;
let path = `${base.alyIP6}/queryAjdaxxs?asjbh=${this.form.zjhm}`;
let identitycard = JSON.parse(sessionStorage.getItem("userInfo")).identitycard;
let path = `${this.$baseUrl.alyIP6}/#/jump?path=/queryAjda&asjbh=${this.form.zjhm}&zjhm=${identitycard}`;
window.open(path, "_blank");
} else if (this.pages == "hxgc") {
//let path = `http://39.99.155.173:9002/#/rydaIndex/ryGl?zjhm=${this.form.asjbh}`;
......
......@@ -977,6 +977,7 @@
pageBs == 'xywspdzczl' ||
pageBs == 'queryDx' ||
pageBs == 'bxqjsdzczl' ||
pageBs == 'csgwdzczl' ||
pageBs == 'queryZjcl' ||
pageBs == 'queryJcgz' ||
pageBs == 'queryZjclLb' ||
......
......@@ -723,8 +723,8 @@ export default {
this.cxFormData.cbxxms = "";
},
goDetail(scope) {
debugger
let path = `${base.alyIP6}/queryAjdaxxs?asjbh=${scope.asjbh}`;
let identitycard = JSON.parse(sessionStorage.getItem("userInfo")).identitycard;
let path = `${this.$baseUrl.alyIP6}/#/jump?path=/queryAjda&asjbh=${scope.asjbh}&zjhm=${identitycard}`;
window.open(path, "_blank");
// this.$router.pushToTab({
// path: "/ajbzDetail",
......
......@@ -725,7 +725,8 @@ export default {
this.$forceUpdate();
},
goDetail(scope) {
let path = `${base.alyIP6}/queryAjdaxxs?asjbh=${scope.asjbh}`;
let identitycard = JSON.parse(sessionStorage.getItem("userInfo")).identitycard;
let path = `${this.$baseUrl.alyIP6}/#/jump?path=/queryAjda&asjbh=${scope.asjbh}&zjhm=${identitycard}`;
window.open(path, "_blank");
// this.$router.pushToTab({
// path: "ajbzDetail",
......
......@@ -607,6 +607,7 @@
pageBs != 'xxtkgzfl' &&
pageBs != 'djgzfxxsxx' &&
pageBs != 'bxqjsdzczl' &&
pageBs != 'csgwdzczl' &&
pageBs != 'queryXslb' &&
pageBs != 'queryWysp' &&
pageBs != 'queryQtypfx' &&
......@@ -1743,6 +1744,7 @@
pageBs == 'xywspdfkxx' ||
pageBs == 'queryDx' ||
pageBs == 'bxqjsdzczl' ||
pageBs == 'csgwdzczl' ||
pageBs == 'queryJcgz' ||
pageBs == 'queryBshhc' ||
pageBs == 'queryZjclLb' ||
......@@ -1783,7 +1785,8 @@
pageBs == 'transactionFlow' ||
pageBs == 'queryAjcc'||
pageBs == 'dswtzxxlbxx'||
pageBs == 'zdhdxxcjqk'
pageBs == 'zdhdxxcjqk'||
pageBs == 'cxyhz'
)
">
<template slot-scope="scope">
......@@ -5212,6 +5215,15 @@ export default {
},
deep: true,
},
"cxFormData.xslx": {
handler(val, old) {
debugger;
if (val != old) {
this.doQuery("yes");
}
},
deep: true,
},
listMode: {
handler (val) {
if (
......
......@@ -2,15 +2,15 @@
<!--左侧导航-->
<div>
<div class="headerTitle">
<img src="../assets/img/login/jinhui.png"
alt="" /><span>{{
<img src="../assets/img/login/jinhui.png" alt="" /><span>{{
topHeader
}}</span>
</div>
<div style="display: flex"
class="queryContent">
<div class="leftMenu"
:style="{ width: isCollapse == true ? '72px' : '240px' }">
<div style="display: flex" class="queryContent">
<div
class="leftMenu"
:style="{ width: isCollapse == true ? '72px' : '240px' }"
>
<el-scrollbar style="height: 100%">
<el-menu
@select="changeSidebar"
......@@ -22,7 +22,8 @@
active-text-color="#007AFF"
background-color="#ffffff"
text-color="rgba(90, 93, 103, 1)"
ref="menu">
ref="menu"
>
<div
class="menu_wrap"
v-for="item in leftMenus"
......@@ -33,26 +34,27 @@
:index="item.index"
v-if="item.hasChildren == false"
@click="goDetail(item)"
><i :class="item.className"></i>{{ item.label }}
><i :class="item.className"></i>{{ item.label }}
</el-menu-item>
<el-submenu
:index="item.index"
v-if="item.hasChildren == true"
>
<el-submenu :index="item.index" v-if="item.hasChildren == true">
<template slot="title">
<i :class="item.className"></i>
<span
slot="title"
style="color: #343a3f !important"
>{{ item.label }}</span>
<span slot="title" style="color: #343a3f !important">{{
item.label
}}</span>
</template>
<el-menu-item
:index="subitem.index"
v-for="(subitem, index) in item.children"
:key="index"
@click="goDetail(subitem)"
v-permission="subitem.roles">
<i class="iconfont iconquanxianjiesuo" v-show="subitem.disabled"></i>{{ subitem.label }}
v-permission="subitem.roles"
>
<i
class="iconfont iconquanxianjiesuo"
v-show="subitem.disabled"
></i
>{{ subitem.label }}
</el-menu-item>
</el-submenu>
</div>
......@@ -61,13 +63,17 @@
</div>
<div class="rightContent">
<div v-if="!$route.meta.isAdd">
<el-tabs v-model="activeName"
@tab-click="handleClick"
class="topMenu">
<el-tab-pane :label="item.label"
:name="item.id"
v-for="item in topMenus"
:key="item.id">
<el-tabs
v-model="activeName"
@tab-click="handleClick"
class="topMenu"
>
<el-tab-pane
:label="item.label"
:name="item.id"
v-for="item in topMenus"
:key="item.id"
>
</el-tab-pane>
</el-tabs>
</div>
......@@ -87,7 +93,7 @@ export default {
props: {
isCollapseP: Boolean,
},
data () {
data() {
return {
isOpenOnly: true,
isCollapse: this.isCollapseP,
......@@ -103,7 +109,7 @@ export default {
computed: {
...mapGetters(["topMenu", "Breadcrumbs", "leftMenu", "header"]),
},
created () {
created() {
this.navList = JSON.parse(sessionStorage.getItem("navList"));
this.topMenus = this.topMenu;
this.breadcrumbList = this.Breadcrumbs;
......@@ -115,24 +121,24 @@ export default {
});
},
watch: {
isCollapseP (val) {
isCollapseP(val) {
this.isCollapse = val;
},
topMenu (val) {
topMenu(val) {
this.topMenus = val;
this.activeName = val[0].id;
},
breadcrumbList (val) {
breadcrumbList(val) {
this.breadcrumbList = val;
},
leftMenu (val) {
leftMenu(val) {
this.leftMenus = val;
},
header (val) {
header(val) {
this.topHeader = val;
// this.header = val;
},
$route (val) {
$route(val) {
this.activeIndex = this.$route.name;
debugger;
let index = this.topMenus.findIndex((i) => i.id == val.name);
......@@ -142,7 +148,7 @@ export default {
},
},
methods: {
goDetail (item) {
goDetail(item) {
let Base64 = require("js-base64").Base64;
debugger;
if (item.id == "dwcx") {
......@@ -153,9 +159,11 @@ export default {
JSON.stringify(JSON.parse(sessionStorage.getItem("userInfo")))
)
);
let path = `${this.$baseUrl.alyIP14
}/#/jump?token=${base}&path=/jccxIndex&zjhm=${JSON.parse(sessionStorage.getItem("userInfo")).identitycard
}`;
let path = `${
this.$baseUrl.alyIP14
}/#/jump?token=${base}&path=/jccxIndex&zjhm=${
JSON.parse(sessionStorage.getItem("userInfo")).identitycard
}`;
console.log(path);
window.open(path, "_blank");
} else if (item.id == "cbypTxxxfx") {
......@@ -176,8 +184,10 @@ export default {
item.id == "zcajfl" ||
item.id == "zczbgctj"
) {
let path = `${this.$baseUrl.alyIP10}/jump?zjhm=${JSON.parse(sessionStorage.getItem("userInfo")).identitycard
}&path=/esAjzb/ajzbIndex`;
let userToken = sessionStorage.getItem('userToken')
let appToken = sessionStorage.getItem('appToken')
let path = `${this.$baseUrl.alyIP10}?zjhm=${JSON.parse(sessionStorage.getItem("userInfo")).identitycard
}&path=/ajzbIndex&userToken=${userToken}&appToken=${appToken}`;
window.open(path, "_blank");
} else if (item.id == "zdryGl") {
this.$router.pushToTab({
......@@ -194,6 +204,22 @@ export default {
});
// let jm = Base64.decode(account) // 解密
} else if (item.id == "queryQyyp") {
let identitycard = JSON.parse(
sessionStorage.getItem("userInfo")
).identitycard;
let key =
"maplogin" +
encrypt.creattimeBumderNYR(new Date()).split("-").join("");
let vi =
"map_vues" +
encrypt.creattimeBumderNYR(new Date()).split("-").join("");
let skjm = encrypt.skEncrypt(identitycard, key.trim(), vi.trim());
let path = `${this.$baseUrl.alyIP9}/#/jumplogin?idcard=${skjm}`;
window.open(path, "_blank");
} else if (item.id == "kjdzxxbd") {
let path = "http://xzxt-zhyy.dsj.xz/gps/#/home";
window.open(path, "_blank");
} else if (item.id == "dgjzhfx") {
let key =
"maplogin" +
encrypt.creattimeBumderNYR(new Date()).split("-").join("");
......@@ -205,10 +231,7 @@ export default {
key.trim(),
vi.trim()
);
let path = `${this.$baseUrl.alyIP9}/#/jumplogin?idcard=${skjm}`;
window.open(path, "_blank");
} else if (item.id == "kjdzxxbd") {
let path = "http://xzxt-zhyy.dsj.xz:9007/#/home";
let path = `${this.$baseUrl.alyIP9}/#/jumplogin?idcard=${skjm}&menuTop=gjfx&toType=gjfx`;
window.open(path, "_blank");
} else if (item.id == "queryYpzl") {
this.$router.pushToTab({
......@@ -239,7 +262,7 @@ export default {
this.$router.push(item.index);
}
},
navAuth () {
navAuth() {
var self = this;
if (self.navList.length > 0) {
self.leftMenu.forEach((item) => {
......@@ -269,21 +292,21 @@ export default {
});
}
},
handleClick (tab) {
handleClick(tab) {
this.activeName = tab.name;
this.$router.push(tab.name);
},
handleMenuOpen (key, keyPath) {
handleMenuOpen(key, keyPath) {
// if(key!=this.$route.name&&key.indexOf("basicServer")==0){
// this.$router.push("/"+key)
// }
},
handleMenuClose (key, keyPath) {
handleMenuClose(key, keyPath) {
// if(key!=this.$route.name&&key.indexOf("basicServer")==0){
// this.$router.push("/"+key)
// }
},
changeSidebar (index) {
changeSidebar(index) {
sessionStorage.setItem("routerPath", index);
},
},
......
......@@ -194,9 +194,10 @@ export default {
item.id == "zcajfl" ||
item.id == "zczbgctj"
) {
let path = `${this.$baseUrl.alyIP10}/jump?zjhm=${
JSON.parse(sessionStorage.getItem("userInfo")).identitycard
}&path=/esAjzb/ajzbIndex`;
let userToken = sessionStorage.getItem('userToken')
let appToken = sessionStorage.getItem('appToken')
let path = `${this.$baseUrl.alyIP10}?zjhm=${JSON.parse(sessionStorage.getItem("userInfo")).identitycard
}&path=/ajzbIndex&userToken=${userToken}&appToken=${appToken}`;
window.open(path, "_blank");
} else if (item.id == "zdryGl") {
this.$router.pushToTab({
......@@ -227,7 +228,7 @@ export default {
let path = `${this.$baseUrl.alyIP9}/#/jumplogin?idcard=${skjm}`;
window.open(path, "_blank");
} else if (item.id == "kjdzxxbd") {
let path = "http://xzxt-zhyy.dsj.xz:9007/#/home";
let path = "http://xzxt-zhyy.dsj.xz/gps/#/home";
window.open(path, "_blank");
} else if (item.id == "queryYpzl") {
this.$router.pushToTab({
......
......@@ -14,6 +14,22 @@ const menuLayouts = [
meta: {
title: '线索挖掘'
},
component: () => import("@/views/hbyprw/hbyprw/queryXswj.vue")
},
{
path: "/queryXsxxbc",
name: "queryXsxxbc",
meta: {
title: '线索信息补充'
},
component: () => import("@/views/hbyprw/hbyprw/queryXsxxbc.vue")
},
{
path: "/queryXswj",
name: "queryXswj",
meta: {
title: '线索挖掘'
},
component: () => import("@/views/hbyprw/xswj/xswj.vue")
},
{
......
......@@ -25,6 +25,14 @@ const menuLayouts = [
component: () => import("@/views/jcyjzxt/xsbks.vue")
},
{
path: "/mxyjgl",
name: "mxyjgl",
meta: {
title: '监测预警模型运行管理'
},
component: () => import("@/views/jcyjzxt/mxyjgl.vue")
},
{
path: "/kyfwbshlist",
name: "kyfwbshlist",
meta: {
......
......@@ -58,6 +58,14 @@ const menuLayouts = [
component: () => import("@/views/zczl/zczl/wsqfbdzczl.vue")
},
{
path: "/csgwdzczl",
name: "csgwdzczl",
meta: {
title: '抄送给我的侦查指令'
},
component: () => import("@/views/zczl/zczl/csgwdzczl.vue")
},
{
path: "/bxqjsdzczl",
name: "bxqjsdzczl",
meta: {
......
......@@ -9,9 +9,11 @@ let appToken = "";
arr.forEach((item) => {
if (item.includes("userToken=")) {
userToken = item.split("userToken=")[1];
sessionStorage.setItem('userToken', userToken)
}
if (item.includes("appToken=")) {
appToken = item.split("appToken=")[1];
sessionStorage.setItem('appToken', appToken)
}
});
// debugger
......
......@@ -811,8 +811,8 @@ export default {
},
methods: {
toInfor(scope) {
debugger;
let path = `${this.$baseUrl.alyIP6}/queryAjdaxxs?asjbh=${scope.asjbh}`;
let identitycard = JSON.parse(sessionStorage.getItem("userInfo")).identitycard;
let path = `${this.$baseUrl.alyIP6}/#/jump?path=/queryAjda&asjbh=${scope.asjbh}&zjhm=${identitycard}`;
window.open(path, "_blank");
},
checkempty() {
......
......@@ -50,6 +50,7 @@ export default {
draw: 1,
start: 1,
length: 10,
sfwqgxs: '',
// larqQssj: util.timeStampTurnTime(
// new Date(new Date().getFullYear() + "-01-01 00:00:00")
// ),
......@@ -192,19 +193,18 @@ export default {
placeholder: "请输入",
col: "3",
},
// {
// name: "是否为全国线索",
// id: "qgxs",
// type: "radio",
// value: "",
// placeholder: "",
// col: "3",
// radioData: [
// { label: "所有", val: "" },
// { label: "否", val: "0" },
// { label: "是", val: "1" },
// ],
// },
{
name: "是否全国线索",
id: "sfwqgxs",
type: "radio",
value: "",
placeholder: "",
col: "3",
radioData: [
{ label: "否", val: "0" },
{ label: "是", val: "1" },
],
},
{
name: "标识号类型",
id: "bshlx",
......
......@@ -47,8 +47,10 @@ export default {
},
methods: {
goDetail() {
let Base64 = require("js-base64").Base64;
let path = `${this.$baseUrl.alyIP11}/hdfx/hdfx/toIframe?drrZjhm=${this.form.zjhm}`;
let rxtoken = sessionStorage.getItem("rxtoken")
? sessionStorage.getItem("rxtoken").replace(/\+/g, "%2B")
: "";
let path = `http://xzxt-zhyy.dsj.xz/telephone/#/jump?path=/queryHdfx&token${rxtoken}`;
window.open(path, "_blank");
},
},
......
......@@ -409,7 +409,7 @@
width: 1160px;
"
>
<div style="padding: 13px 20px; border-bottom: 1px solid #e4e4e4">
<div style="padding: 13px 20px; border-bottom: 1px solid #e4e4e4" v-if="!$route.query.isXswj">
<span
style="
font-size: 18px;
......@@ -420,7 +420,7 @@
>线索信息补充
</span>
</div>
<div style="padding: 20px">
<div style="padding: 20px" v-if="!$route.query.isXswj">
<el-table
ref="multipleTable"
:data="gridDataXs"
......@@ -520,7 +520,7 @@
width: 1160px;
"
>
<div style="padding: 13px 20px; border-bottom: 1px solid #e4e4e4">
<div style="padding: 13px 20px; border-bottom: 1px solid #e4e4e4" v-if="!$route.query.isXxbc">
<span
style="
font-size: 18px;
......@@ -531,7 +531,7 @@
>线索挖掘</span
>
</div>
<div class="block" style="padding: 30px 50px 10px">
<div class="block" style="padding: 30px 50px 10px" v-if="!$route.query.isXxbc">
<span
v-for="item in gzList"
:key="item.id"
......@@ -1326,17 +1326,17 @@ export default {
{
label: "当前工作简要情况:",
prop: "dqgzJyqk",
col: "4",
col: "10",
},
{
label: "工作要求简要情况:",
prop: "gzyqJyqk",
col: "4",
col: "10",
},
{
label: "工作目标简要情况:",
prop: "gzmbJyqk",
col: "4",
col: "10",
},
{
label: "工作期限:",
......@@ -1401,7 +1401,7 @@ export default {
{
label: "退回原因:",
prop: "thyyJyqk",
col: "4",
col: "10",
},
{
label: "是否交接:",
......@@ -1416,17 +1416,17 @@ export default {
{
label: "交接原因:",
prop: "jjyyJyqk",
col: "4",
col: "10",
},
{
label: "交接时工作简要情况:",
prop: "jjsGzJyqk",
col: "4",
col: "10",
},
{
label: "交接后工作要求:",
prop: "jjhGzyqJyqk",
col: "4",
col: "10",
},
{
label: "前主办人姓名:",
......@@ -1446,7 +1446,7 @@ export default {
{
label: "办结简要情况:",
prop: "bjJyqk",
col: "4",
col: "10",
},
{
label: "是否专业研判:",
......@@ -1461,12 +1461,12 @@ export default {
{
label: "督办内容:",
prop: "dbnrJyqk",
col: "4",
col: "10",
},
// {
// label: "反馈结果:",
// prop: "fkjgJyqk",
// col: "4",
// col: "10",
// },
// {
// label: "反馈时间:",
......@@ -1539,7 +1539,7 @@ export default {
{
label: "简要案情:",
prop: "jyaq",
col: "4",
col: "10",
},
],
},
......
......@@ -620,6 +620,22 @@ export default {
],
},
{
id: "queryXsxxbc",
label: "线索信息补充",
newAuth: "M05",
index: "queryXsxxbc",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryXswj",
label: "线索挖掘",
newAuth: "M01",
index: "queryXswj",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryHcypzl",
label: "研判指令",
newAuth: "M05",
......@@ -1075,7 +1091,7 @@ export default {
.hbyps {
// width: 64px;
height: 24px;
padding:0 10px;
padding: 0 10px;
background: #ffffff;
border: 1px solid #007aff;
opacity: 1;
......
<template>
<div class="Content">
<right-content
:pageBs="pageBs"
:header="header"
:cxFormData="cxFormData"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
ref="rightContent"
@toInfor="toInfor"
>
<template #listOperation="scope">
<span class="hbyps" @click="exportExcel(scope.scope)">导出</span>
</template>
</right-content>
<!-- 督办合成研判任务 -->
<el-dialog
title="督办合成研判任务"
:visible.sync="dialogVisible"
width="40%"
center
@closed="closedDb"
>
<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.dbnrJyqk"
: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="addDb">确 定</el-button>
</span>
</el-dialog>
<!-- 反馈合成研判任务 -->
<el-dialog
title="反馈合成研判任务"
:visible.sync="dialogVisibleFk"
width="40%"
center
@closed="closedFk"
>
<el-form :inline="true" :model="examineInfoFk" 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="examineInfoFk.fkjgJyqk"
:autosize="{ minRows: 3 }"
style="width: 300px"
placeholder="审批意见"
></el-input>
</el-form-item>
</el-col>
<el-col :span="20" :offset="2">
<el-form-item label="附件:" style="width:100%">
<el-upload
class="upload-demo"
ref="upload"
action="/"
:on-change="handleChange"
:on-remove="handleRemove"
:file-list="fileList"
:auto-upload="false"
>
<el-button slot="trigger" size="small" type="primary"
>选取文件</el-button
>
</el-upload>
</el-form-item>
</el-col>
</el-row>
</el-form>
<span slot="footer" class="dialog-footer">
<el-button @click="dialogVisibleFk = false">取 消</el-button>
<el-button type="primary" @click="addFk">确 定</el-button>
</span>
</el-dialog>
<!-- 办结合成研判任务 -->
<el-dialog
title="办结合成研判任务"
:visible.sync="dialogVisibleBj"
width="40%"
center
@closed="closedBj"
>
<el-form :inline="true" :model="examineInfoBj" 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="examineInfoBj.fkjgJyqk"
: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="dialogVisibleBj = false">取 消</el-button>
<el-button type="primary" @click="addBj">确 定</el-button>
</span>
</el-dialog>
<!-- 认领合成研判任务 -->
<el-dialog
title="认领合成研判任务"
:visible.sync="dialogVisibleRl"
width="40%"
center
@closed="closedRl"
>
<el-form :inline="true" :model="examineInfoRl" class="demo-form-inline">
<el-row>
<el-col :span="20" :offset="2">
<el-form-item label="是否认领:">
<el-radio v-model="examineInfoRl.sfrlPdbz" label="1"
>认领</el-radio
>
<el-radio v-model="examineInfoRl.sfrlPdbz" label="2"
>退回</el-radio
>
</el-form-item>
</el-col>
<el-col :span="20" :offset="2">
<el-form-item style="width:100%">
<span
:class="rlTrue ? 'reds' : 'black'"
style="
margin: -20px 10px 5px 0px;
position: relative;
bottom: 46px;
"
>退回原因:
</span>
<el-input
type="textarea"
v-model="examineInfoRl.thyyJyqk"
:autosize="{ minRows: 3 }"
style="width: 300px"
placeholder="审批意见"
></el-input>
</el-form-item>
</el-col>
<el-col v-if="rlTrues" :span="20" :offset="2">
<span style="color: red; position: relative; top: -14px; left: 70px"
>退回原因不能为空</span
>
</el-col>
</el-row>
</el-form>
<span slot="footer" class="dialog-footer">
<el-button @click="dialogVisibleRl = false">取 消</el-button>
<el-button type="primary" @click="addRl">确 定</el-button>
</span>
</el-dialog>
<!-- 申请专业研判 -->
<el-dialog
title="申请专业研判"
:visible.sync="dialogVisibleSq"
width="40%"
center
@closed="closedRl"
>
<el-form :inline="true" :model="examineInfoSq" class="demo-form-inline">
<el-row>
<el-col :span="20" :offset="2">
<el-form-item label="是否快速审批:">
<el-radio v-model="examineInfoSq.sfksspPdbz" label="1"
></el-radio
>
<el-radio v-model="examineInfoSq.sfksspPdbz" label="0"
></el-radio
>
</el-form-item>
</el-col>
</el-row>
</el-form>
<span slot="footer" class="dialog-footer">
<el-button @click="dialogVisibleSq = false">取 消</el-button>
<el-button type="primary" @click="addSq">确 定</el-button>
</span>
</el-dialog>
<!-- 专业研判评估 -->
<el-dialog
title="专业研判评估"
:visible.sync="dialogVisibleYppg"
width="40%"
center
@closed="closedRl"
>
<el-form :inline="true" :model="examineInfoYppg" 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="examineInfoYppg.pgyj"
: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="dialogVisibleYppg = false">取 消</el-button>
<el-button type="primary" @click="addYppg">确 定</el-button>
</span>
</el-dialog>
</div>
</template>
<script>
import rightContent from "@c/ptCxForm_components.vue";
import { get, post, postform } from "@/utils/http.js";
import {
deleteHcyprw,
dbHcyprw,
fkHcyprw,
bjHcyprw,
rlHcyprw,
sqzyyp,
zyyppg,
} from "@/api/hbyp/hbyp.js";
export default {
name: "queryXswj",
components: {
rightContent,
},
data() {
return {
rlTrue: false,
rlTrues: false,
dialogVisible: false,
examineInfo: {
sfjjPdbz: "1",
dbnrJyqk: "",
xxzjbh: "",
},
dialogVisibleFk: false,
examineInfoFk: {
sffkPdbz: "1",
fkjgJyqk: "",
xxzjbh: "",
},
dialogVisibleBj: false,
examineInfoBj: {
sfbjPdbz: "1",
fkjgJyqk: "",
xxzjbh: "",
},
dialogVisibleRl: false,
examineInfoRl: {
thyyJyqk: "",
sfrlPdbz: "1",
xxzjbh: "",
},
dialogVisibleSq: false,
examineInfoSq: {
sfksspPdbz: "",
xxzjbh: "",
},
dialogVisibleYppg: false,
examineInfoYppg: {
pgyj: "",
xxzjbh: "",
},
header: "合成研判工作台",
pageBs: "zdhdxxcjqk",
cxFormData: {
limit: 10,
page: 1,
yprwfldm: "",
jzrqStart: "",
jzrqEnd: "",
sffpPdbz: "",
fpsjStart: "",
fpsjEnd: "",
jsrXm: "",
sfrlPdbz: "",
rlsjStart: "",
rlsjEnd: "",
zbrXm: "",
jjsjStart: "",
jjsjEnd: "",
sfbjPdbz: "",
bjsjStart: "",
bjsjEnd: "",
djsjStart: "",
djsjEnd: "",
sfdbPdbz: "",
sffkPdbz: "",
dbsjStart: "",
dbsjEnd: "",
fksjStart: "",
fksjEnd: "",
},
cxQueryField: [
{
name: "研判任务分类",
id: "yprwfldm",
type: "codeTreeDialog",
props: [], //字典弹框需要的字段
value: "",
col: "3",
codeOptions: [],
codeTree: "CODE_YPRWFLDM",
},
{
name: "截止日期",
id: "jzrqStart",
id2: "jzrqEnd",
type: "zdyDate",
value: "",
col: "3",
},
{
name: "是否分配",
id: "sffpPdbz",
type: "radio",
value: "1",
placeholder: "",
col: "3",
radioData: [
{ label: "否", val: "0" },
{ label: "是", val: "1" },
],
},
{
name: "分配时间",
id: "fpsjStart",
id2: "fpsjEnd",
type: "zdyDate",
value: "",
col: "3",
},
{
name: "接收人姓名",
id: "jsrXm",
type: "text",
value: "",
placeholder: "请输入",
col: "3",
},
{
name: "是否认领",
id: "sfrlPdbz",
type: "radio",
value: "1",
placeholder: "",
col: "3",
radioData: [
{ label: "未认领", val: "0" },
{ label: "认领", val: "1" },
{ label: "退回", val: "2" },
],
},
{
name: "认领时间",
id: "rlsjStart",
id2: "rlsjEnd",
type: "zdyDate",
value: "",
col: "3",
},
{
name: "主办人姓名",
id: "zbrXm",
type: "text",
value: "",
placeholder: "请输入",
col: "3",
},
{
name: "交接时间",
id: "jjsjStart",
id2: "jjsjEnd",
type: "zdyDate",
value: "",
col: "3",
},
{
name: "是否办结",
id: "sfbjPdbz",
type: "radio",
value: "1",
placeholder: "",
col: "3",
radioData: [
{ label: "否", val: "0" },
{ label: "是", val: "1" },
],
},
{
name: "办结时间",
id: "bjsjStart",
id2: "bjsjEnd",
type: "zdyDate",
value: "",
col: "3",
},
{
name: "登记时间",
id: "djsjStart",
id2: "djsjEnd",
type: "zdyDate",
value: "",
col: "3",
},
],
cxDefaultFormThead: [
{
label: "信息主键编号",
toInfor: true,
prop: "xxzjbh",
width: "250",
},
{
label: "研判任务分类",
prop: "yprwfldmStr",
width: "200",
},
{
label: "当前工作简要情况",
prop: "dqgzJyqk",
width: "200",
},
{
label: "工作要求简要情况",
prop: "gzyqJyqk",
width: "200",
},
{
label: "工作目标简要情况",
prop: "gzmbJyqk",
width: "200",
},
{
label: "工作期限",
prop: "gzsx",
width: "200",
},
{
label: "截止日期",
prop: "jzrq",
width: "200",
},
{
label: "是否专业研判",
prop: "sfzyypStr",
width: "200",
},
{
label: "是否快速审批",
prop: "sfksspStr1",
width: "200",
},
{
label: "主办人姓名",
prop: "zbrXm",
width: "200",
},
{
label: "主办人身份证号",
prop: "zbrGmsfhm",
width: "200",
},
{
label: "主办人用户组号",
prop: "zbrYhz",
width: "200",
},
{
label: "退回原因",
prop: "thyyJyqk",
width: "200",
},
{
label: "是否办结",
prop: "sfbjStr",
width: "200",
},
{
label: "办结时间",
prop: "bjsj",
width: "200",
},
{
label: "办结简要情况",
prop: "bjJyqk",
width: "200",
},
{
label: "登记时间",
prop: "dbsj",
width: "200",
},
],
cxUrl: "/hcyprw/queryListByParam",
Menu: [
// zylx:"asj",
{
id: "queryXswj",
label: "线索挖掘",
index: "queryXswj",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
],
selectArr: [],
revokeVisiable: false,
ckForm: {
file: "",
},
fileArr: [],
zdXxzjbh: "",
fileList: [],
xls: {},
};
},
created() {
this.$store.commit("user/SET_Menu", this.Menu);
},
methods: {
exportExcel(scope) {
var self = this;
let tHeader = [];
let filterVal = [];
let header = "合成研判";
let params = new FormData();
params.append("rows", "5000");
params.append("page", this.cxFormData.page);
params.append("yprwfldm", this.cxFormData.yprwfldm);
params.append("jzrqStart", this.cxFormData.jzrqStart);
params.append("jzrqEnd", this.cxFormData.jzrqEnd);
params.append("sffpPdbz", this.cxFormData.sffpPdbz);
params.append("fpsjStart", this.cxFormData.fpsjStart);
params.append("fpsjEnd", this.cxFormData.fpsjEnd);
params.append("jsrXm", this.cxFormData.jsrXm);
params.append("sfrlPdbz", this.cxFormData.sfrlPdbz);
params.append("rlsjStart", this.cxFormData.rlsjStart);
params.append("rlsjEnd", this.cxFormData.rlsjEnd);
params.append("zbrXm", this.cxFormData.zbrXm);
params.append("jjsjStart", this.cxFormData.jjsjStart);
params.append("jjsjEnd", this.cxFormData.jjsjEnd);
params.append("sfbjPdbz", this.cxFormData.sfbjPdbz);
params.append("bjsjStart", this.cxFormData.bjsjStart);
params.append("bjsjEnd", this.cxFormData.bjsjEnd);
params.append("djsjStart", this.cxFormData.djsjStart);
params.append("djsjEnd", this.cxFormData.djsjEnd);
self.cxDefaultFormThead.forEach((val) => {
tHeader.push(val.label);
filterVal.push(val.prop);
});
let loading = this.$loading({
lock: true,
text: "正在导出...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
post(`${this.$baseUrl.alyIP}${this.cxUrl}`, params).then((res) => {
debugger;
if (res.code === 200) {
require.ensure([], () => {
const { export_json_to_excel } = require("@/utils/Export2Excel");
const list = res.data.rows || res.data;
const data = self.formatJson(filterVal, list);
export_json_to_excel(tHeader, data, header);
});
loading.close();
}
});
},
formatJson(filterVal, jsonData) {
let arr = [];
jsonData.map((v) => {
let arr1 = [];
filterVal.map((j) => {
if (j.indexOf(",") != -1) {
let arr = j.split(",");
let data = "";
for (let i = 0; i <= arr.length - 1; i++) {
data += arr[i].split(":")[0] + ":" + v[arr[i].split(":")[1]];
}
arr1.push(data);
} else {
arr1.push(v[j]);
}
});
arr.push(arr1);
});
return arr;
},
handleChange(file, fileList) {
this.xls = file.raw;
},
handleRemove(file, fileList) {
console.log(file, fileList);
// fileList.forEach((item, index) => {
// if (file.raw.uid == item.uid) {
// fileList.splice(index, 1);
// }
// });
},
add() {
this.$router.pushToTab({
path: "/queryAdd",
});
},
// 督办
toDb(scope) {
this.$set(this.examineInfo, "xxzjbh", scope.row.xxzjbh);
this.dialogVisible = true;
},
closedDb() {
for (let key in this.examineInfo) {
this.$set(this.examineInfo, key, "");
}
},
addDb() {
dbHcyprw(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("保存失败");
}
});
},
toBj(scope) {
this.$set(this.examineInfoBj, "xxzjbh", scope.row.xxzjbh);
this.dialogVisibleBj = true;
},
closedBj() {
for (let key in this.examineInfoBj) {
this.$set(this.examineInfoBj, key, "");
}
},
addBj() {
bjHcyprw(this.examineInfoBj).then((res) => {
if (res.success && res.code == 200) {
this.$message.success("保存成功");
this.dialogVisibleBj = false;
this.$refs.rightContent.doQuery("yes");
} else {
this.$message.error("保存失败");
}
});
},
toRl(scope) {
this.$set(this.examineInfoRl, "xxzjbh", scope.row.xxzjbh);
this.dialogVisibleRl = true;
},
closedRl() {
for (let key in this.examineInfoRl) {
this.$set(this.examineInfoRl, key, "");
}
},
addRl() {
if (
this.examineInfoRl.sfrlPdbz == "2" &&
this.examineInfoRl.thyyJyqk == ""
) {
this.rlTrues = true;
this.$alert("请填写退回原因!", "提示", {
confirmButtonText: "确定",
type: "warning",
});
} else {
rlHcyprw(this.examineInfoRl).then((res) => {
if (res.success && res.code == 200) {
this.$message.success("保存成功");
this.dialogVisibleRl = false;
this.$refs.rightContent.doQuery("yes");
} else {
this.$message.error("保存失败");
}
});
}
},
toJj(scope) {
this.$router.pushToTab({
path: "/jjhcyp",
query: {
xxzjbh: scope.row.xxzjbh,
},
});
},
toFp(scope) {
this.$router.pushToTab({
path: "/fphcyp",
query: {
xxzjbh: scope.row.xxzjbh,
},
});
},
toFk(scope) {
this.$set(this.examineInfoFk, "xxzjbh", scope.row.xxzjbh);
this.dialogVisibleFk = true;
},
toSq(scope) {
this.$set(this.examineInfoSq, "xxzjbh", scope.row.xxzjbh);
this.dialogVisibleSq = true;
},
addSq() {
sqzyyp(this.examineInfoSq).then((res) => {
if (res.success && res.code == 200) {
this.$message.success("申请成功");
this.dialogVisibleSq = false;
this.$refs.rightContent.doQuery("yes");
} else {
this.$message.error("申请失败");
}
});
},
toYppg(scope) {
this.$set(this.examineInfoYppg, "xxzjbh", scope.row.xxzjbh);
this.dialogVisibleYppg = true;
},
addYppg() {
zyyppg(this.examineInfoYppg).then((res) => {
if (res.success && res.code == 200) {
this.$message.success("评估成功");
this.dialogVisibleYppg = false;
this.$refs.rightContent.doQuery("yes");
} else {
this.$message.error("评估失败");
}
});
},
closedFk() {
for (let key in this.examineInfoFk) {
this.$set(this.examineInfoFk, key, "");
}
},
addFk() {
fkHcyprw(this.examineInfoFk).then((res) => {
if (res.success && res.code == 200) {
this.$message.success("保存成功");
this.dialogVisibleFk = false;
this.$refs.rightContent.doQuery("yes");
} else {
this.$message.error("保存失败");
}
});
},
dele(scope) {
this.$confirm("此操作将永久删除该文件, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
deleteHcyprw({
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: "已取消删除",
});
});
},
edit(scope) {
this.$router.pushToTab({
path: "/queryXg",
query: {
xxzjbh: scope.row.xxzjbh,
},
});
},
toInfor(scope) {
this.$router.pushToTab({
path: "/detailHbyp",
query: {
xxzjbh: scope.xxzjbh,
isXswj: true
},
});
},
closed() {
this.fileArr = [];
},
selectionChange(scope) {
this.selectArr = scope;
},
submitCKD() {
if (this.fileArr.length <= 0) {
this.$message.warning("请选择文件");
} else {
console.log(this.fileArr, this.zdXxzjbh);
let params = new FormData();
params.append("zdxxzjbh", this.zdXxzjbh);
this.fileArr.forEach((i) => {
params.append("file", i.raw);
});
let loading = this.$loading({
lock: true,
text: "正在导入...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
excleImport(params).then((res) => {
if (res.code == 200 && res.success) {
this.$message.success("导入成功");
this.revokeVisiable = false;
this.$router.pushToTab("queryZdjyhd");
sessionStorage.setItem("routerPath", "queryZdjyhd");
setTimeout(() => {
this.$bus.$emit("routerPath");
}, 20);
} else {
this.$message.error("导入失败");
}
loading.close();
});
}
},
drzjhd() {
if (this.selectArr.length != 1) {
this.$message.error("请选择一条数据后操作");
} else {
this.zdXxzjbh = this.selectArr[0].xxzjbh;
this.revokeVisiable = true;
}
},
toCbyp(scoped) {
this.$router.pushToTab({
path: "/bshcb",
});
},
toXdzl(scoped) {
this.$router.pushToTab({
path: "/addsqfbzl",
query: {
type: "xdzl",
xsbh: scoped.row.xxzjbh,
xsType: "03",
module: "hcyp",
},
});
},
},
watch: {
"examineInfoRl.sfrlPdbz": {
handler: function (val, oldval) {
if (val == "2") {
this.rlTrue = true;
} else {
this.rlTrue = false;
this.rlTrues = false;
}
},
deep: true,
},
},
};
</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;
}
.reds {
color: red;
}
.black {
color: black;
}
.hbyps {
// width: 64px;
height: 24px;
padding:0 10px;
background: #ffffff;
border: 1px solid #007aff;
opacity: 1;
border-radius: 4px;
text-align: center;
align-items: center;
display: inline-block;
font-size: 12px !important;
font-weight: 400 !important;
color: #007aff !important;
cursor: pointer;
margin-left: 5px;
}
</style>
<template>
<div class="Content">
<right-content
:pageBs="pageBs"
:header="header"
:cxFormData="cxFormData"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
ref="rightContent"
@toInfor="toInfor"
>
<template #listOperation="scope">
<span class="hbyps" @click="exportExcel(scope.scope)">导出</span>
</template>
</right-content>
<!-- 督办合成研判任务 -->
<el-dialog
title="督办合成研判任务"
:visible.sync="dialogVisible"
width="40%"
center
@closed="closedDb"
>
<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.dbnrJyqk"
: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="addDb">确 定</el-button>
</span>
</el-dialog>
<!-- 反馈合成研判任务 -->
<el-dialog
title="反馈合成研判任务"
:visible.sync="dialogVisibleFk"
width="40%"
center
@closed="closedFk"
>
<el-form :inline="true" :model="examineInfoFk" 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="examineInfoFk.fkjgJyqk"
:autosize="{ minRows: 3 }"
style="width: 300px"
placeholder="审批意见"
></el-input>
</el-form-item>
</el-col>
<el-col :span="20" :offset="2">
<el-form-item label="附件:" style="width:100%">
<el-upload
class="upload-demo"
ref="upload"
action="/"
:on-change="handleChange"
:on-remove="handleRemove"
:file-list="fileList"
:auto-upload="false"
>
<el-button slot="trigger" size="small" type="primary"
>选取文件</el-button
>
</el-upload>
</el-form-item>
</el-col>
</el-row>
</el-form>
<span slot="footer" class="dialog-footer">
<el-button @click="dialogVisibleFk = false">取 消</el-button>
<el-button type="primary" @click="addFk">确 定</el-button>
</span>
</el-dialog>
<!-- 办结合成研判任务 -->
<el-dialog
title="办结合成研判任务"
:visible.sync="dialogVisibleBj"
width="40%"
center
@closed="closedBj"
>
<el-form :inline="true" :model="examineInfoBj" 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="examineInfoBj.fkjgJyqk"
: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="dialogVisibleBj = false">取 消</el-button>
<el-button type="primary" @click="addBj">确 定</el-button>
</span>
</el-dialog>
<!-- 认领合成研判任务 -->
<el-dialog
title="认领合成研判任务"
:visible.sync="dialogVisibleRl"
width="40%"
center
@closed="closedRl"
>
<el-form :inline="true" :model="examineInfoRl" class="demo-form-inline">
<el-row>
<el-col :span="20" :offset="2">
<el-form-item label="是否认领:">
<el-radio v-model="examineInfoRl.sfrlPdbz" label="1"
>认领</el-radio
>
<el-radio v-model="examineInfoRl.sfrlPdbz" label="2"
>退回</el-radio
>
</el-form-item>
</el-col>
<el-col :span="20" :offset="2">
<el-form-item style="width:100%">
<span
:class="rlTrue ? 'reds' : 'black'"
style="
margin: -20px 10px 5px 0px;
position: relative;
bottom: 46px;
"
>退回原因:
</span>
<el-input
type="textarea"
v-model="examineInfoRl.thyyJyqk"
:autosize="{ minRows: 3 }"
style="width: 300px"
placeholder="审批意见"
></el-input>
</el-form-item>
</el-col>
<el-col v-if="rlTrues" :span="20" :offset="2">
<span style="color: red; position: relative; top: -14px; left: 70px"
>退回原因不能为空</span
>
</el-col>
</el-row>
</el-form>
<span slot="footer" class="dialog-footer">
<el-button @click="dialogVisibleRl = false">取 消</el-button>
<el-button type="primary" @click="addRl">确 定</el-button>
</span>
</el-dialog>
<!-- 申请专业研判 -->
<el-dialog
title="申请专业研判"
:visible.sync="dialogVisibleSq"
width="40%"
center
@closed="closedRl"
>
<el-form :inline="true" :model="examineInfoSq" class="demo-form-inline">
<el-row>
<el-col :span="20" :offset="2">
<el-form-item label="是否快速审批:">
<el-radio v-model="examineInfoSq.sfksspPdbz" label="1"
></el-radio
>
<el-radio v-model="examineInfoSq.sfksspPdbz" label="0"
></el-radio
>
</el-form-item>
</el-col>
</el-row>
</el-form>
<span slot="footer" class="dialog-footer">
<el-button @click="dialogVisibleSq = false">取 消</el-button>
<el-button type="primary" @click="addSq">确 定</el-button>
</span>
</el-dialog>
<!-- 专业研判评估 -->
<el-dialog
title="专业研判评估"
:visible.sync="dialogVisibleYppg"
width="40%"
center
@closed="closedRl"
>
<el-form :inline="true" :model="examineInfoYppg" 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="examineInfoYppg.pgyj"
: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="dialogVisibleYppg = false">取 消</el-button>
<el-button type="primary" @click="addYppg">确 定</el-button>
</span>
</el-dialog>
</div>
</template>
<script>
import rightContent from "@c/ptCxForm_components.vue";
import { get, post, postform } from "@/utils/http.js";
import {
deleteHcyprw,
dbHcyprw,
fkHcyprw,
bjHcyprw,
rlHcyprw,
sqzyyp,
zyyppg,
} from "@/api/hbyp/hbyp.js";
export default {
name: "queryXsxxbc",
components: {
rightContent,
},
data() {
return {
rlTrue: false,
rlTrues: false,
dialogVisible: false,
examineInfo: {
sfjjPdbz: "1",
dbnrJyqk: "",
xxzjbh: "",
},
dialogVisibleFk: false,
examineInfoFk: {
sffkPdbz: "1",
fkjgJyqk: "",
xxzjbh: "",
},
dialogVisibleBj: false,
examineInfoBj: {
sfbjPdbz: "1",
fkjgJyqk: "",
xxzjbh: "",
},
dialogVisibleRl: false,
examineInfoRl: {
thyyJyqk: "",
sfrlPdbz: "1",
xxzjbh: "",
},
dialogVisibleSq: false,
examineInfoSq: {
sfksspPdbz: "",
xxzjbh: "",
},
dialogVisibleYppg: false,
examineInfoYppg: {
pgyj: "",
xxzjbh: "",
},
header: "合成研判工作台",
pageBs: "zdhdxxcjqk",
cxFormData: {
limit: 10,
page: 1,
yprwfldm: "",
jzrqStart: "",
jzrqEnd: "",
sffpPdbz: "",
fpsjStart: "",
fpsjEnd: "",
jsrXm: "",
sfrlPdbz: "",
rlsjStart: "",
rlsjEnd: "",
zbrXm: "",
jjsjStart: "",
jjsjEnd: "",
sfbjPdbz: "",
bjsjStart: "",
bjsjEnd: "",
djsjStart: "",
djsjEnd: "",
sfdbPdbz: "",
sffkPdbz: "",
dbsjStart: "",
dbsjEnd: "",
fksjStart: "",
fksjEnd: "",
},
cxQueryField: [
{
name: "研判任务分类",
id: "yprwfldm",
type: "codeTreeDialog",
props: [], //字典弹框需要的字段
value: "",
col: "3",
codeOptions: [],
codeTree: "CODE_YPRWFLDM",
},
{
name: "截止日期",
id: "jzrqStart",
id2: "jzrqEnd",
type: "zdyDate",
value: "",
col: "3",
},
{
name: "是否分配",
id: "sffpPdbz",
type: "radio",
value: "1",
placeholder: "",
col: "3",
radioData: [
{ label: "否", val: "0" },
{ label: "是", val: "1" },
],
},
{
name: "分配时间",
id: "fpsjStart",
id2: "fpsjEnd",
type: "zdyDate",
value: "",
col: "3",
},
{
name: "接收人姓名",
id: "jsrXm",
type: "text",
value: "",
placeholder: "请输入",
col: "3",
},
{
name: "是否认领",
id: "sfrlPdbz",
type: "radio",
value: "1",
placeholder: "",
col: "3",
radioData: [
{ label: "未认领", val: "0" },
{ label: "认领", val: "1" },
{ label: "退回", val: "2" },
],
},
{
name: "认领时间",
id: "rlsjStart",
id2: "rlsjEnd",
type: "zdyDate",
value: "",
col: "3",
},
{
name: "主办人姓名",
id: "zbrXm",
type: "text",
value: "",
placeholder: "请输入",
col: "3",
},
{
name: "交接时间",
id: "jjsjStart",
id2: "jjsjEnd",
type: "zdyDate",
value: "",
col: "3",
},
{
name: "是否办结",
id: "sfbjPdbz",
type: "radio",
value: "1",
placeholder: "",
col: "3",
radioData: [
{ label: "否", val: "0" },
{ label: "是", val: "1" },
],
},
{
name: "办结时间",
id: "bjsjStart",
id2: "bjsjEnd",
type: "zdyDate",
value: "",
col: "3",
},
{
name: "登记时间",
id: "djsjStart",
id2: "djsjEnd",
type: "zdyDate",
value: "",
col: "3",
},
],
cxDefaultFormThead: [
{
label: "信息主键编号",
toInfor: true,
prop: "xxzjbh",
width: "250",
},
{
label: "研判任务分类",
prop: "yprwfldmStr",
width: "200",
},
{
label: "当前工作简要情况",
prop: "dqgzJyqk",
width: "200",
},
{
label: "工作要求简要情况",
prop: "gzyqJyqk",
width: "200",
},
{
label: "工作目标简要情况",
prop: "gzmbJyqk",
width: "200",
},
{
label: "工作期限",
prop: "gzsx",
width: "200",
},
{
label: "截止日期",
prop: "jzrq",
width: "200",
},
{
label: "是否专业研判",
prop: "sfzyypStr",
width: "200",
},
{
label: "是否快速审批",
prop: "sfksspStr1",
width: "200",
},
{
label: "主办人姓名",
prop: "zbrXm",
width: "200",
},
{
label: "主办人身份证号",
prop: "zbrGmsfhm",
width: "200",
},
{
label: "主办人用户组号",
prop: "zbrYhz",
width: "200",
},
{
label: "退回原因",
prop: "thyyJyqk",
width: "200",
},
{
label: "是否办结",
prop: "sfbjStr",
width: "200",
},
{
label: "办结时间",
prop: "bjsj",
width: "200",
},
{
label: "办结简要情况",
prop: "bjJyqk",
width: "200",
},
{
label: "登记时间",
prop: "dbsj",
width: "200",
},
],
cxUrl: "/hcyprw/queryListByParam",
Menu: [
// zylx:"asj",
{
id: "queryXsxxbc",
label: "线索信息补充",
index: "queryXsxxbc",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
],
selectArr: [],
revokeVisiable: false,
ckForm: {
file: "",
},
fileArr: [],
zdXxzjbh: "",
fileList: [],
xls: {},
};
},
created() {
this.$store.commit("user/SET_Menu", this.Menu);
},
methods: {
exportExcel(scope) {
var self = this;
let tHeader = [];
let filterVal = [];
let header = "合成研判";
let params = new FormData();
params.append("rows", "5000");
params.append("page", this.cxFormData.page);
params.append("yprwfldm", this.cxFormData.yprwfldm);
params.append("jzrqStart", this.cxFormData.jzrqStart);
params.append("jzrqEnd", this.cxFormData.jzrqEnd);
params.append("sffpPdbz", this.cxFormData.sffpPdbz);
params.append("fpsjStart", this.cxFormData.fpsjStart);
params.append("fpsjEnd", this.cxFormData.fpsjEnd);
params.append("jsrXm", this.cxFormData.jsrXm);
params.append("sfrlPdbz", this.cxFormData.sfrlPdbz);
params.append("rlsjStart", this.cxFormData.rlsjStart);
params.append("rlsjEnd", this.cxFormData.rlsjEnd);
params.append("zbrXm", this.cxFormData.zbrXm);
params.append("jjsjStart", this.cxFormData.jjsjStart);
params.append("jjsjEnd", this.cxFormData.jjsjEnd);
params.append("sfbjPdbz", this.cxFormData.sfbjPdbz);
params.append("bjsjStart", this.cxFormData.bjsjStart);
params.append("bjsjEnd", this.cxFormData.bjsjEnd);
params.append("djsjStart", this.cxFormData.djsjStart);
params.append("djsjEnd", this.cxFormData.djsjEnd);
self.cxDefaultFormThead.forEach((val) => {
tHeader.push(val.label);
filterVal.push(val.prop);
});
let loading = this.$loading({
lock: true,
text: "正在导出...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
post(`${this.$baseUrl.alyIP}${this.cxUrl}`, params).then((res) => {
debugger;
if (res.code === 200) {
require.ensure([], () => {
const { export_json_to_excel } = require("@/utils/Export2Excel");
const list = res.data.rows || res.data;
const data = self.formatJson(filterVal, list);
export_json_to_excel(tHeader, data, header);
});
loading.close();
}
});
},
formatJson(filterVal, jsonData) {
let arr = [];
jsonData.map((v) => {
let arr1 = [];
filterVal.map((j) => {
if (j.indexOf(",") != -1) {
let arr = j.split(",");
let data = "";
for (let i = 0; i <= arr.length - 1; i++) {
data += arr[i].split(":")[0] + ":" + v[arr[i].split(":")[1]];
}
arr1.push(data);
} else {
arr1.push(v[j]);
}
});
arr.push(arr1);
});
return arr;
},
handleChange(file, fileList) {
this.xls = file.raw;
},
handleRemove(file, fileList) {
console.log(file, fileList);
// fileList.forEach((item, index) => {
// if (file.raw.uid == item.uid) {
// fileList.splice(index, 1);
// }
// });
},
add() {
this.$router.pushToTab({
path: "/queryAdd",
});
},
// 督办
toDb(scope) {
this.$set(this.examineInfo, "xxzjbh", scope.row.xxzjbh);
this.dialogVisible = true;
},
closedDb() {
for (let key in this.examineInfo) {
this.$set(this.examineInfo, key, "");
}
},
addDb() {
dbHcyprw(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("保存失败");
}
});
},
toBj(scope) {
this.$set(this.examineInfoBj, "xxzjbh", scope.row.xxzjbh);
this.dialogVisibleBj = true;
},
closedBj() {
for (let key in this.examineInfoBj) {
this.$set(this.examineInfoBj, key, "");
}
},
addBj() {
bjHcyprw(this.examineInfoBj).then((res) => {
if (res.success && res.code == 200) {
this.$message.success("保存成功");
this.dialogVisibleBj = false;
this.$refs.rightContent.doQuery("yes");
} else {
this.$message.error("保存失败");
}
});
},
toRl(scope) {
this.$set(this.examineInfoRl, "xxzjbh", scope.row.xxzjbh);
this.dialogVisibleRl = true;
},
closedRl() {
for (let key in this.examineInfoRl) {
this.$set(this.examineInfoRl, key, "");
}
},
addRl() {
if (
this.examineInfoRl.sfrlPdbz == "2" &&
this.examineInfoRl.thyyJyqk == ""
) {
this.rlTrues = true;
this.$alert("请填写退回原因!", "提示", {
confirmButtonText: "确定",
type: "warning",
});
} else {
rlHcyprw(this.examineInfoRl).then((res) => {
if (res.success && res.code == 200) {
this.$message.success("保存成功");
this.dialogVisibleRl = false;
this.$refs.rightContent.doQuery("yes");
} else {
this.$message.error("保存失败");
}
});
}
},
toJj(scope) {
this.$router.pushToTab({
path: "/jjhcyp",
query: {
xxzjbh: scope.row.xxzjbh,
},
});
},
toFp(scope) {
this.$router.pushToTab({
path: "/fphcyp",
query: {
xxzjbh: scope.row.xxzjbh,
},
});
},
toFk(scope) {
this.$set(this.examineInfoFk, "xxzjbh", scope.row.xxzjbh);
this.dialogVisibleFk = true;
},
toSq(scope) {
this.$set(this.examineInfoSq, "xxzjbh", scope.row.xxzjbh);
this.dialogVisibleSq = true;
},
addSq() {
sqzyyp(this.examineInfoSq).then((res) => {
if (res.success && res.code == 200) {
this.$message.success("申请成功");
this.dialogVisibleSq = false;
this.$refs.rightContent.doQuery("yes");
} else {
this.$message.error("申请失败");
}
});
},
toYppg(scope) {
this.$set(this.examineInfoYppg, "xxzjbh", scope.row.xxzjbh);
this.dialogVisibleYppg = true;
},
addYppg() {
zyyppg(this.examineInfoYppg).then((res) => {
if (res.success && res.code == 200) {
this.$message.success("评估成功");
this.dialogVisibleYppg = false;
this.$refs.rightContent.doQuery("yes");
} else {
this.$message.error("评估失败");
}
});
},
closedFk() {
for (let key in this.examineInfoFk) {
this.$set(this.examineInfoFk, key, "");
}
},
addFk() {
fkHcyprw(this.examineInfoFk).then((res) => {
if (res.success && res.code == 200) {
this.$message.success("保存成功");
this.dialogVisibleFk = false;
this.$refs.rightContent.doQuery("yes");
} else {
this.$message.error("保存失败");
}
});
},
dele(scope) {
this.$confirm("此操作将永久删除该文件, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
deleteHcyprw({
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: "已取消删除",
});
});
},
edit(scope) {
this.$router.pushToTab({
path: "/queryXg",
query: {
xxzjbh: scope.row.xxzjbh,
},
});
},
toInfor(scope) {
this.$router.pushToTab({
path: "/detailHbyp",
query: {
xxzjbh: scope.xxzjbh,
isXxbc: true
},
});
},
closed() {
this.fileArr = [];
},
selectionChange(scope) {
this.selectArr = scope;
},
submitCKD() {
if (this.fileArr.length <= 0) {
this.$message.warning("请选择文件");
} else {
console.log(this.fileArr, this.zdXxzjbh);
let params = new FormData();
params.append("zdxxzjbh", this.zdXxzjbh);
this.fileArr.forEach((i) => {
params.append("file", i.raw);
});
let loading = this.$loading({
lock: true,
text: "正在导入...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
excleImport(params).then((res) => {
if (res.code == 200 && res.success) {
this.$message.success("导入成功");
this.revokeVisiable = false;
this.$router.pushToTab("queryZdjyhd");
sessionStorage.setItem("routerPath", "queryZdjyhd");
setTimeout(() => {
this.$bus.$emit("routerPath");
}, 20);
} else {
this.$message.error("导入失败");
}
loading.close();
});
}
},
drzjhd() {
if (this.selectArr.length != 1) {
this.$message.error("请选择一条数据后操作");
} else {
this.zdXxzjbh = this.selectArr[0].xxzjbh;
this.revokeVisiable = true;
}
},
toCbyp(scoped) {
this.$router.pushToTab({
path: "/bshcb",
});
},
toXdzl(scoped) {
this.$router.pushToTab({
path: "/addsqfbzl",
query: {
type: "xdzl",
xsbh: scoped.row.xxzjbh,
xsType: "03",
module: "hcyp",
},
});
},
},
watch: {
"examineInfoRl.sfrlPdbz": {
handler: function (val, oldval) {
if (val == "2") {
this.rlTrue = true;
} else {
this.rlTrue = false;
this.rlTrues = false;
}
},
deep: true,
},
},
};
</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;
}
.reds {
color: red;
}
.black {
color: black;
}
.hbyps {
// width: 64px;
height: 24px;
padding:0 10px;
background: #ffffff;
border: 1px solid #007aff;
opacity: 1;
border-radius: 4px;
text-align: center;
align-items: center;
display: inline-block;
font-size: 12px !important;
font-weight: 400 !important;
color: #007aff !important;
cursor: pointer;
margin-left: 5px;
}
</style>
......@@ -30,7 +30,11 @@
</el-form-item> -->
<el-row>
<el-col :span="8">
<el-form-item label="统计时间:" label-width="140px" style="margin-bottom: 0">
<el-form-item
label="统计时间:"
label-width="140px"
style="margin-bottom: 0"
>
<el-date-picker
v-model="form.startDate"
type="date"
......@@ -73,138 +77,89 @@
<el-col :span="24">
<span class="flTtitle">信息列表</span>
<span class="info">{{ tableDataLength }}条信息</span>
<el-button v-if="dwList.length != 0 || yhType" style="margin-top: 13px;margin-left:15px" size="mini" @click="returnBtn"
>返回</el-button
>
</el-col>
<el-table
:header-cell-style="headStyle"
v-show="type === 1"
v-loading="tableLoading"
:data="tableData"
style="width: 100%">
<el-table-column
prop=""
label="单位"
width="200">
style="width: 100%"
>
<el-table-column prop="" label="单位" width="200">
<template slot-scope="scope">
<el-button v-if="tableData[scope.$index].dwmc != '合计'"
<el-button
v-if="tableData[scope.$index].dwmc != '合计'"
@click.native.prevent="resetQuery(tableData[scope.$index].dwdm)"
type="text">
{{tableData[scope.$index].dwmc}}
type="text"
>
{{ tableData[scope.$index].dwmc }}
</el-button>
<span v-else>
{{tableData[scope.$index].dwmc}}
{{ tableData[scope.$index].dwmc }}
</span>
</template>
</el-table-column>
<el-table-column
prop=""
label="用户组数"
width="200">
<el-table-column prop="" label="用户组数" width="200">
<template slot-scope="scope">
<el-button
v-if="tableData[scope.$index].yhzs > 0 && radio !== '1' && scope.$index != tableData.length - 1"
v-if="
tableData[scope.$index].yhzs > 0 &&
radio !== '1' &&
scope.$index != tableData.length - 1
"
@click.native.prevent="queryYhz(tableData[scope.$index].dwdm)"
type="text">
{{tableData[scope.$index].yhzs}}
type="text"
>
{{ tableData[scope.$index].yhzs }}
</el-button>
<span v-else>{{tableData[scope.$index].yhzs}}</span>
<span v-else>{{ tableData[scope.$index].yhzs }}</span>
</template>
</el-table-column>
<el-table-column
prop="pjrs"
label="平均人数"
width="200">
<el-table-column prop="pjrs" label="平均人数" width="200">
</el-table-column>
<el-table-column
prop="pjbjsj"
label="平均办结时间"
width="200">
<el-table-column prop="pjbjsj" label="平均办结时间" width="200">
</el-table-column>
<el-table-column label="案件任务数">
<el-table-column
prop="ajrls"
label="认领数"
width="200">
<el-table-column prop="ajrls" label="认领数" width="200">
</el-table-column>
<el-table-column
prop="asbjajrws"
label="按时办结数"
width="200">
<el-table-column prop="asbjajrws" label="按时办结数" width="200">
</el-table-column>
<el-table-column
prop="csbjajrws"
label="超时办结数"
width="200">
<el-table-column prop="csbjajrws" label="超时办结数" width="200">
</el-table-column>
<el-table-column
prop="ajrws"
label="任务总数"
width="200">
<el-table-column prop="ajrws" label="任务总数" width="200">
</el-table-column>
</el-table-column>
<el-table-column label="线索任务数">
<el-table-column
prop="xsrls"
label="认领数"
width="200">
<el-table-column prop="xsrls" label="认领数" width="200">
</el-table-column>
<el-table-column
prop="asbjxsrws"
label="按时办结数"
width="200">
<el-table-column prop="asbjxsrws" label="按时办结数" width="200">
</el-table-column>
<el-table-column
prop="csbjxsrws"
label="超时办结数"
width="200">
<el-table-column prop="csbjxsrws" label="超时办结数" width="200">
</el-table-column>
<el-table-column
prop="xsrws"
label="任务总数"
width="200">
<el-table-column prop="xsrws" label="任务总数" width="200">
</el-table-column>
</el-table-column>
<el-table-column label="专项任务数">
<el-table-column
prop="zxrls"
label="认领数"
width="200">
<el-table-column prop="zxrls" label="认领数" width="200">
</el-table-column>
<el-table-column
prop="asbjzxrws"
label="按时办结数"
width="200">
<el-table-column prop="asbjzxrws" label="按时办结数" width="200">
</el-table-column>
<el-table-column
prop="csbjzxrws"
label="超时办结数"
width="200">
<el-table-column prop="csbjzxrws" label="超时办结数" width="200">
</el-table-column>
<el-table-column
prop="zxrws"
label="任务总数"
width="200">
<el-table-column prop="zxrws" label="任务总数" width="200">
</el-table-column>
</el-table-column>
<el-table-column label="总数">
<el-table-column
prop="rls"
label="认领数"
width="200">
<el-table-column prop="rls" label="认领数" width="200">
</el-table-column>
<el-table-column
prop="asbjs"
label="按时办结数"
width="200">
<el-table-column prop="asbjs" label="按时办结数" width="200">
</el-table-column>
<el-table-column
prop="csbjs"
label="超时办结数"
width="200">
<el-table-column prop="csbjs" label="超时办结数" width="200">
</el-table-column>
<el-table-column
prop="rws"
label="任务总数"
width="200">
<el-table-column prop="rws" label="任务总数" width="200">
</el-table-column>
</el-table-column>
</el-table>
......@@ -214,29 +169,25 @@
v-show="type === 2"
v-loading="tableLoading"
:data="tableData"
style="width: 100%">
<el-table-column
prop="dwdm"
label="用户组号"
width="200">
style="width: 100%"
>
<el-table-column prop="dwdm" label="用户组号" width="200">
</el-table-column>
<el-table-column
prop="dwmc"
label="用户组名"
width="200">
<el-table-column prop="dwmc" label="用户组名" width="200">
</el-table-column>
<el-table-column
prop=""
label="人数"
width="200">
<el-table-column prop="" label="人数" width="200">
<template slot-scope="scope">
<el-button
v-if="tableData[scope.$index].rs > 0 && scope.$index != tableData.length - 1"
v-if="
tableData[scope.$index].rs > 0 &&
scope.$index != tableData.length - 1
"
@click.native.prevent="queryYh(tableData[scope.$index].dwdm)"
type="text">
{{tableData[scope.$index].rs}}
type="text"
>
{{ tableData[scope.$index].rs }}
</el-button>
<span v-else>{{tableData[scope.$index].rs}}</span>
<span v-else>{{ tableData[scope.$index].rs }}</span>
</template>
</el-table-column>
<!-- <el-table-column
......@@ -250,20 +201,11 @@
label="认领数"
width="200">
</el-table-column> -->
<el-table-column
prop="asbjajrws"
label="按时办结数"
width="200">
<el-table-column prop="asbjajrws" label="按时办结数" width="200">
</el-table-column>
<el-table-column
prop="csbjajrws"
label="超时办结数"
width="200">
<el-table-column prop="csbjajrws" label="超时办结数" width="200">
</el-table-column>
<el-table-column
prop="ajrws"
label="任务总数"
width="200">
<el-table-column prop="ajrws" label="任务总数" width="200">
</el-table-column>
</el-table-column>
<el-table-column label="线索任务数">
......@@ -272,20 +214,11 @@
label="认领数"
width="200">
</el-table-column> -->
<el-table-column
prop="asbjxsrws"
label="按时办结数"
width="200">
<el-table-column prop="asbjxsrws" label="按时办结数" width="200">
</el-table-column>
<el-table-column
prop="csbjxsrws"
label="超时办结数"
width="200">
<el-table-column prop="csbjxsrws" label="超时办结数" width="200">
</el-table-column>
<el-table-column
prop="xsrws"
label="任务总数"
width="200">
<el-table-column prop="xsrws" label="任务总数" width="200">
</el-table-column>
</el-table-column>
<el-table-column label="专项任务数">
......@@ -294,20 +227,11 @@
label="认领数"
width="200">
</el-table-column> -->
<el-table-column
prop="asbjzxrws"
label="按时办结数"
width="200">
<el-table-column prop="asbjzxrws" label="按时办结数" width="200">
</el-table-column>
<el-table-column
prop="csbjzxrws"
label="超时办结数"
width="200">
<el-table-column prop="csbjzxrws" label="超时办结数" width="200">
</el-table-column>
<el-table-column
prop="zxrws"
label="任务总数"
width="200">
<el-table-column prop="zxrws" label="任务总数" width="200">
</el-table-column>
</el-table-column>
<el-table-column label="总数">
......@@ -316,20 +240,11 @@
label="认领数"
width="200">
</el-table-column> -->
<el-table-column
prop="asbjs"
label="按时办结数"
width="200">
<el-table-column prop="asbjs" label="按时办结数" width="200">
</el-table-column>
<el-table-column
prop="csbjs"
label="超时办结数"
width="200">
<el-table-column prop="csbjs" label="超时办结数" width="200">
</el-table-column>
<el-table-column
prop="rws"
label="任务总数"
width="200">
<el-table-column prop="rws" label="任务总数" width="200">
</el-table-column>
</el-table-column>
</el-table>
......@@ -339,21 +254,12 @@
v-show="type === 3"
v-loading="tableLoading"
:data="tableData"
style="width: 100%">
<el-table-column
prop="xm"
label="姓名"
width="200">
style="width: 100%"
>
<el-table-column prop="xm" label="姓名" width="200"> </el-table-column>
<el-table-column prop="sfzh" label="身份证号" width="200">
</el-table-column>
<el-table-column
prop="sfzh"
label="身份证号"
width="200">
</el-table-column>
<el-table-column
prop="zbpjbjsj"
label="平均办结时间"
width="200">
<el-table-column prop="zbpjbjsj" label="平均办结时间" width="200">
</el-table-column>
<el-table-column label="案件任务数">
<!-- <el-table-column
......@@ -361,20 +267,11 @@
label="认领数"
width="200">
</el-table-column> -->
<el-table-column
prop="zbasbjajrws"
label="按时办结数"
width="200">
<el-table-column prop="zbasbjajrws" label="按时办结数" width="200">
</el-table-column>
<el-table-column
prop="zbcsbjajrws"
label="超时办结数"
width="200">
<el-table-column prop="zbcsbjajrws" label="超时办结数" width="200">
</el-table-column>
<el-table-column
prop="zbajrws"
label="任务总数"
width="200">
<el-table-column prop="zbajrws" label="任务总数" width="200">
</el-table-column>
</el-table-column>
<el-table-column label="线索任务数">
......@@ -383,20 +280,11 @@
label="认领数"
width="200">
</el-table-column> -->
<el-table-column
prop="zbasbjxsrws"
label="按时办结数"
width="200">
<el-table-column prop="zbasbjxsrws" label="按时办结数" width="200">
</el-table-column>
<el-table-column
prop="zbcsbjxsrws"
label="超时办结数"
width="200">
<el-table-column prop="zbcsbjxsrws" label="超时办结数" width="200">
</el-table-column>
<el-table-column
prop="zbxsrws"
label="任务总数"
width="200">
<el-table-column prop="zbxsrws" label="任务总数" width="200">
</el-table-column>
</el-table-column>
<el-table-column label="专项任务数">
......@@ -405,20 +293,11 @@
label="认领数"
width="200">
</el-table-column> -->
<el-table-column
prop="zbasbjzxrws"
label="按时办结数"
width="200">
<el-table-column prop="zbasbjzxrws" label="按时办结数" width="200">
</el-table-column>
<el-table-column
prop="zbcsbjzxrws"
label="超时办结数"
width="200">
<el-table-column prop="zbcsbjzxrws" label="超时办结数" width="200">
</el-table-column>
<el-table-column
prop="zbzxrws"
label="任务总数"
width="200">
<el-table-column prop="zbzxrws" label="任务总数" width="200">
</el-table-column>
</el-table-column>
<el-table-column label="总数">
......@@ -427,24 +306,14 @@
label="认领数"
width="200">
</el-table-column> -->
<el-table-column
prop="zbasbjs"
label="按时办结数"
width="200">
<el-table-column prop="zbasbjs" label="按时办结数" width="200">
</el-table-column>
<el-table-column
prop="zbcsbjs"
label="超时办结数"
width="200">
<el-table-column prop="zbcsbjs" label="超时办结数" width="200">
</el-table-column>
<el-table-column
prop="zbrws"
label="任务总数"
width="200">
<el-table-column prop="zbrws" label="任务总数" width="200">
</el-table-column>
</el-table-column>
</el-table>
</div>
</div>
</template>
......@@ -454,8 +323,7 @@ import { post } from "@/utils/http.js";
import url from "@/api/base";
export default {
name: "queryHbypTj",
components: {
},
components: {},
data() {
return {
header: "工作评估考核",
......@@ -468,15 +336,15 @@ export default {
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
}
},
],
tableData: [],
tableDataLength: '',
tableDataLength: "",
form: {
unitcode: '',
yhzh: '',
type: 'dw',
startDate: util.timeStampTurnTime(
unitcode: "",
yhzh: "",
type: "dw",
startDate: util.timeStampTurnTime(
new Date(new Date().getFullYear() + "-01-01 00:00:00")
),
endDate: util.timeStampTurnTimes(new Date()),
......@@ -484,49 +352,80 @@ export default {
cxUrl: "/hcyprw/getTjsj",
tableLoading: false,
type: 1,
radio: '2',
yhType: '',
yhUnitcode: '',
yhZzhh: '',
radio: "2",
yhType: "",
yhUnitcode: "",
yhZzhh: "",
returnList: [
{ type: 1, val: "" },
{ type: 2, val: "" },
],
dwList: [],
};
},
created() {
this.$store.commit("user/SET_Menu", this.Menu);
},
mounted() {
this.doQuery()
this.doQuery();
},
methods: {
returnBtn() {
if (this.dwList.length > 0) {
this.dwList.pop();
let index = this.dwList.length - 1;
this.yhUnitcode = this.dwList[index] ? this.dwList[index] : "";
this.form.unitcode = "";
this.doQuery();
} else {
let types = this.type - 1;
if (this.returnList[1].type == types) {
this.queryYhz(this.returnList[1].val);
this.$set(this.returnList[1], "val", "");
} else {
this.type = 1;
this.$set(this.returnList[0], "val", "");
this.yhType = "";
this.doQuery();
}
}
},
doQuery() {
debugger
if(Object.is(this.radio, '1')) {
this.form = {type: 'zyhhz', unitcode: '', yhzh: '', startDate: '', endDate: ''}
this.type = 1
if (Object.is(this.radio, "1")) {
this.form = {
type: "zyhhz",
unitcode: "",
yhzh: "",
startDate: "",
endDate: "",
};
debugger;
this.type = 1;
} else {
this.form.type = this.yhType ? this.yhType : 'dw'
this.form.type = this.yhType ? this.yhType : "dw";
// this.form.unitcode = this.yhUnitcode ? this.yhUnitcode : ''
this.form.unitcode = this.yhUnitcode ? this.yhUnitcode : this.form.unitcode
this.form.yhzh = this.yhZzhh ? this.yhZzhh : ''
this.form.unitcode = this.yhUnitcode
? this.yhUnitcode
: this.form.unitcode;
this.form.yhzh = this.yhZzhh ? this.yhZzhh : "";
}
this.showLoading()
let self = this
post(`${url.alyIP}${this.cxUrl}`, this.form).then(
(response) => {
if (response.success === true) {
if(response.data.dataList && response.data.dataList.length > 0) {
self.tableData = response.data.dataList;
console.log('self.tableData', self.tableData)
self.tableDataLength = response.data.dataList.length;
} else {
self.tableData = []
self.tableDataLength = ''
}
self.closeLoading();
this.showLoading();
let self = this;
post(`${url.alyIP}${this.cxUrl}`, this.form).then((response) => {
if (response.success === true) {
if (response.data.dataList && response.data.dataList.length > 0) {
self.tableData = response.data.dataList;
console.log("self.tableData", self.tableData);
self.tableDataLength = response.data.dataList.length;
} else {
self.closeLoading();
self.tableData = [];
self.tableDataLength = "";
}
self.closeLoading();
} else {
self.closeLoading();
}
);
});
},
closeLoading() {
this.tableLoading = false;
......@@ -535,58 +434,63 @@ export default {
this.tableLoading = true;
},
resetQuery(dwdm) {
debugger
this.form.unitcode = dwdm
this.doQuery()
this.form.unitcode = dwdm;
if (dwdm != "540000000000") {
this.dwList.push(dwdm);
this.dwList = [...new Set(this.dwList)];
this.doQuery();
}
},
clearData() {
this.form.startDate = ''
this.form.endDate = ''
this.form.unitcode = ''
this.form.yhzh = ''
this.form.type = 'dw'
this.type = 1
this.radio = '2'
this.doQuery()
this.form.startDate = "";
this.form.endDate = "";
this.form.unitcode = "";
this.form.yhzh = "";
this.form.type = "dw";
this.type = 1;
this.radio = "2";
this.doQuery();
},
queryYhz(daw) {
this.type = 2
this.form.type = 'yhz'
this.form.unitcode = daw
this.yhType = 'yhz'
this.yhUnitcode = daw
this.type = 2;
this.$set(this.returnList[1], "val", daw);
this.form.type = "yhz";
this.form.unitcode = daw;
this.yhType = "yhz";
this.yhUnitcode = daw;
this.doQuery()
this.doQuery();
},
queryYh(dwdm) {
this.type = 3
this.form.unitcode = ''
this.yhUnitcode = ''
this.form.type = 'yh'
this.yhZzhh = dwdm
this.form.yhzh = dwdm
this.yhType = 'yh'
this.doQuery()
this.type = 3;
this.form.unitcode = "";
this.yhUnitcode = "";
this.form.type = "yh";
this.yhZzhh = dwdm;
this.form.yhzh = dwdm;
this.yhType = "yh";
this.doQuery();
},
headStyle() {
return "text-align: center"
}
return "text-align: center";
},
},
};
</script>
<style scoped lang="scss">
.Content-tj{
.Content-tj {
padding: 20px;
.top, .bottom{
.top,
.bottom {
margin-bottom: 25px;
padding: 0 20px;
background: #fff;
overflow: hidden;
border-radius: 4px;
border: 1px solid #EAEAEA;
border: 1px solid #eaeaea;
box-shadow: none;
opacity: 1;
.flTtitle{
.flTtitle {
font-size: 15px;
font-weight: bold;
line-height: 21px;
......@@ -595,17 +499,17 @@ export default {
display: inline-block;
}
}
.top{
.zhi{
.top {
.zhi {
display: inline-block;
vertical-align: top;
margin: 0 8px;
}
.zdybtn{
.zdybtn {
width: 76px;
height: 32px;
background: #FFFFFF;
border: 1px solid #D9D9D9;
background: #ffffff;
border: 1px solid #d9d9d9;
opacity: 1;
border-radius: 4px;
line-height: 32px;
......@@ -614,14 +518,14 @@ export default {
cursor: pointer;
display: inline-block;
}
.btn{
.btn {
text-align: right;
margin-right: 30px;
margin-bottom: 15px;
}
}
.bottom{
.info{
.bottom {
.info {
font-size: 12px;
font-family: Source Han Sans CN;
font-weight: 400;
......@@ -630,10 +534,10 @@ export default {
}
}
}
.el-table .cell{
.el-table .cell {
text-align: center;
}
.el-date-editor{
.el-date-editor {
width: 140px !important;
}
</style>
<template>
<div class="Content">
<right-content
:pageBs="pageBs"
:header="header"
:cxFormData="cxFormData"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
@toInfor="toInfor"
ref="rightContent"
>
<template #btnGroup="scope">
<span
class="hbyp"
@click="toJGCX(scope.scope)"
>结果查询</span
>
</template>
</right-content>
<el-dialog title="撤控" :visible.sync="dialogTableVisible">
<el-form ref="form" :model="form" label-width="80px">
<el-form-item label="撤控原因: ">
<el-input type="textarea" v-model="form.ckyy"></el-input>
</el-form-item>
<el-form-item>
<el-button type="primary" @click="onSubmit">保存</el-button>
</el-form-item>
</el-form>
</el-dialog>
<!-- 布控结果登记 -->
<el-dialog title="布控结果登记" :visible.sync="dialogJgdj">
<div class="bljg">
<el-form ref="formJgdj" :model="formJgdj" label-width="80px">
<el-form-item label="结果描述:">
<el-input type="textarea" v-model="formJgdj.bkjgms"></el-input>
</el-form-item>
<el-form-item>
<el-button type="primary" @click="onSubmitBkjgms">保存</el-button>
</el-form-item>
</el-form>
</div>
</el-dialog>
</div>
</template>
<script>
import rightContent from "@c/ptCxForm_components.vue";
import {
backBkxx,
bkxxSp,
getTaskResult,
deleteBkxx,
bkxxTqsp,
bkxxDjjg,
bkxxChsp,
qxBackBkxx,
list,
} from "@/api/xshb/xsbk.js";
export default {
name: "xsbk",
components: {
rightContent,
},
data() {
return {
form: {
xxzjbh: "",
ckyy: "",
},
formJgdj: {
xxzjbh: "",
bkjgms: "",
},
dialogTableVisible: false,
dialogJgdj: false,
header: "监测预警信息汇集管理",
pageBs: "xsbk",
cxFormData: {
limit: 10,
page: 1,
xsbh: "",
bkdxLxdm: "",
bkdxHm: "",
sqrXm: "",
djsjStart: "",
djsjEnd: "",
queryType: "myBkxx",
mxList: [],
},
cxQueryField: [
{
name: "线索编号",
id: "xsbh",
type: "text",
value: "",
placeholder: "请输入",
col: "3",
},
{
name: "布控对象类型",
id: "bkdxLxdm",
type: "codeTreeDialog",
props: [], //字典弹框需要的字段
value: "",
col: "3",
codeOptions: [],
codeTree: "CODE_BKLXDM",
},
{
name: "布控模型",
id: "mxList",
type: "selectxxtkMultiple",
multiple: true,
props: [],
value: "",
col: "3",
selectData: [],
},
{
name: "布控对象号码",
id: "bkdxHm",
type: "text",
value: "",
placeholder: "请输入",
col: "3",
},
{
name: "申请人",
id: "sqrXm",
type: "text",
value: "",
placeholder: "请输入",
col: "3",
},
{
name: "申请时间",
id: "djsjStart",
id2: "djsjEnd",
type: "zdyDate",
value: "",
col: "3",
},
],
cxDefaultFormThead: [
// {
// label: "信息主键编号",
// prop: "xxzjbh",
// toInfor: true,
// width: "250",
// },
{
label: "布控对象号码",
prop: "bkdxHm",
toInfor: true,
width: "200",
},
{
label: "布控对象类型",
prop: "bkdxLxdmStr",
width: "200",
},
{
label: "布控状态",
prop: "bkztStr",
width: "200",
},
{
label: "布控要求",
prop: "bkyq",
width: "300",
},
{
label: "布控依据",
prop: "bkyj",
width: "300",
},
{
label: "申请人",
prop: "sqrXm",
width: "200",
},
{
label: "申请时间",
prop: "djsj",
width: "200",
},
],
cxUrl: "/xsbk/getYbkBkxxList",
Menu: [
{
id: "xsbk",
label: "监测预警信息汇集管理",
index: "xsbk",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
],
selectArr: [],
ckForm: {
file: "",
},
fileArr: [],
zdXxzjbh: "",
};
},
created() {
this.$store.commit("user/SET_Menu", this.Menu);
},
methods: {
listList(bkmxSyfwOld) {
list({
bkmxSyfw: bkmxSyfwOld,
}).then((res) => {
if (res.code == 200) {
let setValueList = [];
res.data.rows.forEach((item) => {
setValueList.push({
name: item.bkmxName,
value: item.xxzjbh,
});
});
this.cxQueryField.forEach((itemType) => {
if (
itemType.type == "selectxxtkMultiple" &&
itemType.id == "mxList"
) {
this.$set(itemType, "selectData", setValueList);
}
});
}
});
},
onSubmit() {
backBkxx(this.form).then((res) => {
if (res.success && res.code == 200) {
this.$message({
type: "success",
message: "撤控成功",
});
this.form.xxzjbh = "";
this.form.ckyy = "";
this.dialogTableVisible = false;
this.$refs.rightContent.doQuery("yes");
}
});
},
onSubmitBkjgms() {
bkxxDjjg(this.formJgdj).then((res) => {
if (res.success && res.code == 200) {
this.$message({
type: "success",
message: "结果登记成功",
});
this.formJgdj.xxzjbh = "";
this.formJgdj.bkjgms = "";
this.dialogJgdj = false;
this.$refs.rightContent.doQuery("yes");
} else {
this.$message({
type: "error",
message: "结果登记失败",
});
}
});
},
// 提请审批
tqsp(scope) {
this.$confirm("是否提请审批, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
bkxxTqsp({
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: "已取消提请审批",
});
});
},
// 撤回审批
chsp(scope) {
this.$confirm("是否撤回审批, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
bkxxChsp({
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: "已取消撤回审批",
});
});
},
/**
* @description 新增
*/
add() {
// debugger
// base 加密测试 encode 加密 decode 解密
// let jsonstr = {
// bkdxLxdm: '04',
// bkdxHm: '11111111111111111',
// bz: 'dz'
// }
// let json = JSON.stringify(jsonstr)
// let Base64 = require("js-base64").Base64;
// this.$router.pushToTab({
// path: "/adjustXsbks",
// query: {
// jsonstr: Base64.encode(json)
// },
// });
this.$router.pushToTab("adjustXsbks");
},
/**
* @description 详情
*/
toInfor(row) {
this.$router.pushToTab({
path: "/detailXsbks",
query: {
xxzjbh: row.xxzjbh,
},
});
},
/**
* @description 修改
*/
edit(scope) {
debugger;
this.$router.pushToTab({
path: "/adjustXsbks",
query: {
xxzjbh: scope.row.xxzjbh,
},
});
},
/**
* @description 撤控
*/
toCk(scope) {
this.$set(this.form, "xxzjbh", scope.row.xxzjbh);
this.dialogTableVisible = true;
// this.$confirm("是否撤控, 是否继续?", "提示", {
// confirmButtonText: "确定",
// cancelButtonText: "取消",
// type: "warning",
// })
// .then(() => {
// backBkxx({
// 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: "已取消撤控",
// });
// });
},
toqxCk(scope) {
this.$confirm("是否取消撤控, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
qxBackBkxx({
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: "已取消撤控",
});
});
},
/**
* @description 结果查询
*/
toJGCX(scope) {
debugger;
this.$router.pushToTab({
path: "/queryXsbkResultNew",
query: {
xxzjbh: scope.row.xxzjbh,
bkdxLxdm: scope.row.bkdxLxdm,
bkdxHm: scope.row.bkdxHm,
},
});
},
/**
* @description 研判
*/
toYp(scope) {
debugger;
var userInfo = JSON.parse(sessionStorage.getItem("userInfo"));
var idcard = userInfo.identitycard;
let type = "";
if (scope.row.bkdxLxdm == "01") {
type = "KySj";
} else if (scope.row.bkdxLxdm == "02") {
type = "KyQq";
} else if (scope.row.bkdxLxdm == "03") {
type = "KyWx";
} else if (scope.row.bkdxLxdm == "04") {
type = "KyRy";
} else if (scope.row.bkdxLxdm == "05") {
type = "KyJdc";
}
var params = {
type: type,
kybh: scope.row.bkdxHm,
userId: idcard,
username: userInfo.userName,
trueName: userInfo.userName,
identitycard: userInfo.identitycard,
unitcode: userInfo.unitcode,
unitname: userInfo.unitname,
};
this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params);
},
toDetail(url, PARAMS) {
var temp_form = document.createElement("form");
temp_form.action = url;
temp_form.target = "_blank";
temp_form.method = "post";
temp_form.style.display = "none";
for (var x in PARAMS) {
var opt = document.createElement("textarea");
opt.name = x;
opt.value = PARAMS[x];
temp_form.appendChild(opt);
}
document.body.appendChild(temp_form);
temp_form.submit();
},
/**
* @description 工作指令
*/
toGzzl(scope) {
debugger;
this.$router.pushToTab({
path: "/addsqfbzl",
query: {
type: "xdzl",
xsbh: scope.row.xxzjbh,
module: "xsbk",
xsType: "01",
},
});
},
/**
* @description 合成研判
*/
toHcyp(scope) {
debugger;
this.$router.pushToTab({
path: "/queryAdd",
});
},
/**
* @description 布控结果登记
*/
toBkjgdj(scope) {
this.$set(this.formJgdj, "xxzjbh", scope.row.xxzjbh);
this.dialogJgdj = true;
},
/**
* @description 审批
*/
toXXSP(scope) {
let loading = this.$loading({
lock: true,
text: "正在加载...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
backBkxx({
xxzjbh: scope.row.xxzjbh,
}).then((res) => {
if (res.success && res.code == 200) {
this.$alert("审批成功!", "提示", {
confirmButtonText: "确定",
type: "success",
});
loading.close();
} else {
this.$message({
type: "error",
message: res.message,
});
}
});
},
// 删除
dele(scope) {
this.$confirm("此操作将永久删除该文件, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
deleteBkxx({
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: "已取消删除",
});
});
},
},
mounted() {
this.listList("");
},
watch: {
"cxFormData.bkdxLxdm": {
handler(newVal, oldVal) {
let self = this;
debugger;
if (newVal) {
this.listList(newVal);
let isEqualN = JSON.stringify(newVal) === JSON.stringify(oldVal);
if (!isEqualN) {
self.$set(self.cxFormData, "mxList", []);
}
} else {
this.listList("");
self.$set(self.cxFormData, "mxList", []);
}
},
deep: true,
},
},
};
</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 {
width: 64px;
height: 24px;
background: #ffffff;
border: 1px solid #007aff;
opacity: 1;
border-radius: 4px;
text-align: center;
align-items: center;
display: inline-block;
font-size: 12px !important;
font-weight: 400 !important;
color: #007aff !important;
cursor: pointer;
}
</style>
......@@ -129,6 +129,14 @@
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "mxyjgl",
label: "监测预警模型运行管理",
newAuth: "M01",
index: "mxyjgl",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
],
Menu: [
{
......
......@@ -1056,15 +1056,9 @@ export default {
this.formData.limit = val;
},
toInforDa (scope) {
debugger;
// http://39.99.155.173:8003/doLogin?zjhm=142302198901012417
// http://39.99.155.173:8003/queryAjdaxxs?asjbh=A4419615400002020086063
// var userInfo = JSON.parse(sessionStorage.getItem("userInfo"));
// var idcard = userInfo.identitycard;
// let path = `${base.alyIP5}/doLogin?zjhm=${idcard}`;
// window.open(path, "_blank");
let paths = `${base.alyIP6}/queryAjdaxxs?asjbh=${scope.asjbh}`;
window.open(paths, "_blank");
let identitycard = JSON.parse(sessionStorage.getItem("userInfo")).identitycard;
let path = `${this.$baseUrl.alyIP6}/#/jump?path=/queryAjda&asjbh=${scope.asjbh}&zjhm=${identitycard}`;
window.open(path, "_blank");
},
},
watch: {
......
......@@ -397,7 +397,8 @@ export default {
methods: {
toInfor(scope, columnTitle) {
if (columnTitle.prop == "asjbh") {
let path = `${this.$baseUrl.alyIP6}/queryAjdaxxs?asjbh=${scope.asjbh}`;
let identitycard = JSON.parse(sessionStorage.getItem("userInfo")).identitycard;
let path = `${this.$baseUrl.alyIP6}/#/jump?path=/queryAjda&asjbh=${scope.asjbh}&zjhm=${identitycard}`;
window.open(path, "_blank");
} else {
window.open(
......
......@@ -173,7 +173,8 @@ export default {
methods: {
toInfor(scope, columnTitle) {
if (columnTitle.prop == "asjbh") {
let path = `${this.$baseUrl.alyIP6}/queryAjdaxxs?asjbh=${scope.asjbh}`;
let identitycard = JSON.parse(sessionStorage.getItem("userInfo")).identitycard;
let path = `${this.$baseUrl.alyIP6}/#/jump?path=/queryAjda&asjbh=${scope.asjbh}&zjhm=${identitycard}`;
window.open(path, "_blank");
} else {
window.open(
......
......@@ -381,7 +381,7 @@ export default {
},
dialogS: false,
dialogG: false,
xg: "",
xg: "yzzfzxs",
sendMessage: {
pageBs: "qyeryrlqbxsfs",
cxFormData: {
......@@ -637,6 +637,14 @@ export default {
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryQyyp",
label: "线索深挖",
newAuth: "M01",
index: "queryQyyp",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
// {
// id: "queryXshbZd",
// label: "阵地线索列表展示",
......@@ -689,15 +697,11 @@ export default {
},
methods: {
toInforDa(scope) {
debugger;
// http://39.99.155.173:8003/doLogin?zjhm=142302198901012417
// http://39.99.155.173:8003/queryAjdaxxs?asjbh=A4419615400002020086063
var userInfo = JSON.parse(sessionStorage.getItem("userInfo"));
var idcard = userInfo.identitycard;
let path = `${base.alyIP5}/doLogin?zjhm=${idcard}`;
window.open(path, "_blank");
let paths = `${base.alyIP6}/queryAjdaxxs?asjbh=${scope.asjbh}`;
window.open(paths, "_blank");
let identitycard = JSON.parse(sessionStorage.getItem("userInfo")).identitycard;
let path = `${this.$baseUrl.alyIP6}/#/jump?path=/queryAjda&asjbh=${scope.asjbh}&zjhm=${identitycard}`;
window.open(path, "_blank");
},
showDialogS(data) {
this.dialogS = true;
......@@ -716,7 +720,6 @@ export default {
getZdm() {
let self = this;
/*获取字典*/
// debugger;
self.cxQueryField.forEach((val) => {
if (val.type == "codeTree" || val.type == "codeTreeDialog") {
if (val.codeOptions.length == 0) {
......@@ -799,7 +802,6 @@ export default {
});
},
edit(scope) {
debugger;
this.$router.pushToTab({
path: "adjustRlqbxs",
query: { xxzjbh: scope.row.xxzjbh },
......@@ -815,7 +817,6 @@ export default {
}
},
toInfors(scope) {
debugger;
if (this.xg == "xg") {
this.$router.pushToTab({
path: "/djgzxs",
......@@ -832,12 +833,21 @@ export default {
xslx: "zdqb",
},
});
} else {
} else if (this.xg == "yzzfzxs") {
this.$router.pushToTab({
path: "/djgzxs",
query: {
xsbh: scope.row.xsbh,
xslx: "xshb"
},
});
} else {
this.$router.pushToTab({
path: "/djgzxs",
query: {
xsbh: scope.row.xsbh,
xslx: "xshb",
xslx: "xshbs",
xslxdm: this.cxFormData.xslx
},
});
}
......@@ -859,7 +869,6 @@ export default {
},
cxFormData: {
handler(val, old) {
debugger;
if (val.xslx == "1") {
var self = this;
self.cxUrl = "/rlqb/selectKyxs";
......@@ -981,7 +990,7 @@ export default {
this.getZdm();
} else if (val.xslx == "2") {
var self = this;
self.xg = "";
self.xg = "yzzfzxs";
self.cxUrl = "/xshb/getXsList";
var arreyTj = [
{
......@@ -1239,6 +1248,164 @@ export default {
this.$set(this.cxDefaultFormThead, indexs, items);
});
this.getZdm();
} else {
var self = this;
self.xg = "";
self.cxUrl = "/xshb/getXsListByLx";
var arreyTj = [
{
name: "线索类型",
id: "xslx",
type: "select",
value: val.xslx,
placeholder: "请选择",
col: "3",
selectData: [
{ value: "1", name: "人力情报线索" },
{ value: "2", name: "有组织犯罪线索" },
{ value: "3", name: "阵地关联线索" },
{ value: "4", name: "阵地控制线索" },
{ value: "5", name: "高危对象线索" },
{ value: "6", name: "发现群体线索" },
{ value: "7", name: "工作发现线索" },
{ value: "8", name: "监测预警线索" },
{ value: "9", name: "技术比对多身份线索" },
{ value: "10", name: "多次纳入视线人员线索" },
],
},
{
name: "线索名称",
id: "xsmc",
type: "text",
value: "",
placeholder: "请输入",
col: "3",
},
{
name: "线索状态",
id: "xsztdm",
type: "codeTreeDialog",
props: [], //字典弹框需要的字段
value: "",
col: "3",
codeOptions: [],
codeTree: "CODE_XSHBZT",
},
{
name: "涉及地区",
id: "sjdq",
type: "codeTreeDialog",
props: [], //字典弹框需要的字段
value: "",
col: "3",
codeOptions: [],
codeTree: "CODE_XZQH",
},
{
name: "举报人",
id: "jbrXm",
type: "text",
value: "",
placeholder: "请输入",
col: "3",
},
{
name: "嫌疑人",
id: "xyrXm",
type: "text",
value: "",
placeholder: "请输入",
col: "3",
},
{
name: "录入单位",
id: "xxdjdwGajgjgdm",
type: "codeTreeDialog",
props: [], //字典弹框需要的字段
value: "",
col: "3",
codeOptions: [],
codeTree: "CODE_UNIT",
},
{
name: "录入时间",
id: "djsjStart",
id2: "djsjEnd",
type: "zdyDate",
value: "",
col: "3",
},
];
var arrey = [
{
label: "线索名称",
prop: "xsmc",
width: "200",
},
{
label: "线索状态",
prop: "xsztdmStr",
width: "200",
},
{
label: "涉及地区",
prop: "sjdqStr",
width: "200",
},
{
label: "举报人姓名",
prop: "jbrXm",
width: "200",
},
{
label: "嫌疑人姓名",
prop: "xyrXm",
width: "200",
},
{
label: "办结结论",
prop: "bjjgdmStr",
width: "200",
},
{
label: "线索详情",
prop: "xsxq",
width: "200",
},
{
label: "录入时间",
prop: "djsj",
width: "200",
},
{
label: "录入单位",
prop: "xxdjdwGajgmc",
width: "200",
},
{
label: "关联案件",
prop: "sfyaj",
isShowDialog: true,
},
];
let lengtha = arreyTj.length - this.cxQueryField.length;
if (lengtha < 0) {
this.cxQueryField.splice(arreyTj.length);
}
let length = arrey.length - this.cxDefaultFormThead.length;
if (length < 0) {
this.cxDefaultFormThead.splice(arrey.length);
}
arreyTj.forEach((item, index) => {
this.$set(this.cxQueryField, index, {});
this.$set(this.cxQueryField, index, item);
});
arrey.forEach((items, indexs) => {
this.$set(this.cxDefaultFormThead, indexs, {});
this.$set(this.cxDefaultFormThead, indexs, items);
});
this.getZdm();
}
},
deep: true,
......
......@@ -339,15 +339,9 @@ export default {
});
},
toInforDa(scope) {
debugger;
// http://39.99.155.173:8003/doLogin?zjhm=142302198901012417
// http://39.99.155.173:8003/queryAjdaxxs?asjbh=A4419615400002020086063
var userInfo = JSON.parse(sessionStorage.getItem("userInfo"));
var idcard = userInfo.identitycard;
let path = `${base.alyIP5}/doLogin?zjhm=${idcard}`;
window.open(path, "_blank");
let paths = `${base.alyIP6}/queryAjdaxxs?asjbh=${scope.asjbh}`;
window.open(paths, "_blank");
let identitycard = JSON.parse(sessionStorage.getItem("userInfo")).identitycard;
let path = `${this.$baseUrl.alyIP6}/#/jump?path=/queryAjda&asjbh=${scope.asjbh}&zjhm=${identitycard}`;
window.open(path, "_blank");
},
dele(scope) {
debugger;
......
......@@ -625,15 +625,9 @@ export default {
},
methods: {
toInforDa(scope) {
debugger;
// http://39.99.155.173:8003/doLogin?zjhm=142302198901012417
// http://39.99.155.173:8003/queryAjdaxxs?asjbh=A4419615400002020086063
var userInfo = JSON.parse(sessionStorage.getItem("userInfo"));
var idcard = userInfo.identitycard;
let path = `${base.alyIP5}/doLogin?zjhm=${idcard}`;
window.open(path, "_blank");
let paths = `${base.alyIP6}/queryAjdaxxs?asjbh=${scope.asjbh}`;
window.open(paths, "_blank");
let identitycard = JSON.parse(sessionStorage.getItem("userInfo")).identitycard;
let path = `${this.$baseUrl.alyIP6}/#/jump?path=/queryAjda&asjbh=${scope.asjbh}&zjhm=${identitycard}`;
window.open(path, "_blank");
},
showDialogS(data) {
this.dialogS = true;
......
......@@ -852,7 +852,8 @@ export default {
toDa(scope) {
debugger;
if (scope.includes("A")) {
let path = `${this.$baseUrl.alyIP6}/queryAjdaxxs?asjbh=${scope}`;
let identitycard = JSON.parse(sessionStorage.getItem("userInfo")).identitycard;
let path = `${this.$baseUrl.alyIP6}/#/jump?path=/queryAjda&asjbh=${scope}&zjhm=${identitycard}`;
window.open(path, "_blank");
} else {
let base = encodeURIComponent(
......@@ -933,6 +934,12 @@ export default {
self.tableList = self.ajfaHeather;
} else if (this.typeMx == "0020") {
self.tableList = self.ajfaHeather;
} else if (this.typeMx == "0021") {
self.tableList = self.ldxxHeather;
} else if (this.typeMx == "0022" || '0023') {
self.tableList = self.saryHeather;
} else if (this.typeMx == "0024") {
self.tableList = self.ajfaHeather;
}
this.resultData = res.data.rows;
}
......
......@@ -30,7 +30,7 @@
</div>
</div>
<div style="margin-top: 70px">
<div class="add" v-if="xslx == 'xshb'">
<div class="add" v-if="xslx == 'xshb' || xslx == 'xshbs'">
<div class="contents">
<div>
<div class="title">线索基本信息</div>
......@@ -679,6 +679,7 @@
<script>
import {
getXsByXsbh,
getXsByXsbhByLx,
getZbzzList,
delZbzz,
getXsglbshList,
......@@ -1584,12 +1585,19 @@ export default {
this.rotate = true;
},
handleTitNav(item) {
debugger;
if (item.id == "xsxxbc") {
if (this.xslx == "rlqb") {
this.$router.pushToTab({
path: "/adjustRlqbxs",
});
} else if (this.xslx == "xshbs") {
this.$router.pushToTab({
path: "/xsxxbc",
query: {
xsbh: this.xsbh,
xslx: this.$route.query.xslxdm
},
});
} else {
this.$router.pushToTab({
path: "/xsxxbc",
......@@ -1706,19 +1714,36 @@ export default {
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
getXsByXsbh({
xsbh: this.xsbh,
}).then((res) => {
if (res.code == 200) {
this.xs.forEach((item) => {
item.content = res.data.xsxq.xs[item.id];
});
this.jbrList = res.data.xsxq.jbrList;
this.xyrList = res.data.xsxq.xyrList;
this.xsFj = res.data.xsxq.fjList;
loading.close();
}
});
if (this.$route.query.xslxdm) {
getXsByXsbhByLx({
xsbh: this.xsbh,
xslx: this.$route.query.xslxdm,
}).then((res) => {
if (res.code == 200) {
this.xs.forEach((item) => {
item.content = res.data.xsxq.xs[item.id];
});
this.jbrList = res.data.xsxq.jbrList;
this.xyrList = res.data.xsxq.xyrList;
this.xsFj = res.data.xsxq.fjList;
loading.close();
}
});
} else {
getXsByXsbh({
xsbh: this.xsbh,
}).then((res) => {
if (res.code == 200) {
this.xs.forEach((item) => {
item.content = res.data.xsxq.xs[item.id];
});
this.jbrList = res.data.xsxq.jbrList;
this.xyrList = res.data.xsxq.xyrList;
this.xsFj = res.data.xsxq.fjList;
loading.close();
}
});
}
},
getZbzzList() {
this.loadingZC = true;
......
......@@ -55,6 +55,7 @@ import {
getXyrxxByZjhm,
downXsfj,
getXsByXsbh,
getXsByXsbhByLx,
delXsgljbr,
delXsglxyr,
updateXs,
......@@ -474,303 +475,594 @@ export default {
getTqHxFksj() {
this.loadingFk = true;
var self = this;
getXsByXsbh({
xsbh: this.$route.query.xsbh,
}).then((res) => {
debugger;
// 线索反馈
this.loadingFk = false;
var result = res.data.xsxq.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 }];
});
if (this.$route.query.xslx) {
getXsByXsbhByLx({
xsbh: this.$route.query.xsbh,
xslx: this.$route.query.xslx
}).then((res) => {
// 线索反馈
this.loadingFk = false;
var result = res.data.xsxq.xs;
self.formField.forEach((item, i) => {
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, 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);
}
});
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.xsxq;
self.formField[4].childrenAsAdd.forEach((childrenIdem) => {
//有可添加子集的情况
// 嫌疑人信息1:
var result1 = res.data.xsxq;
self.formField[4].childrenAsAdd.forEach((childrenIdem) => {
//有可添加子集的情况
//遍历可配置化列表的子集
self.$set(self.formLabelAlign, childrenIdem.id, []);
var realChildrenData = result1["jbrList"];
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]);
//遍历可配置化列表的子集
self.$set(self.formLabelAlign, childrenIdem.id, []);
var realChildrenData = result1["jbrList"];
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];
}
} 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);
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]);
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[childrenIdem.id][childrenIndex],
self.formLabelAlign,
currentField.id,
codeArry
realChildrenItem[currentField.id]
);
//改变类型使级联控件重新加载
self.$set(currentField, "type", "lazyCodeTree2");
setTimeout(() => {
self.$set(currentField, "type", "lazyCodeTree");
}
}
});
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);
}
});
// 涉及案件
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
);
}, 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,
},
];
//改变类型使级联控件重新加载
self.$set(currentField, "type", "lazyCodeTree2");
setTimeout(() => {
self.$set(currentField, "type", "lazyCodeTree");
self.$set(
self.formLabelAlign[childrenIdem.id][childrenIndex],
currentField.id,
codeArry
);
}, 5);
})
.catch((err) => {});
self.$set(
self.formLabelAlign,
currentField.id,
realChildrenItem[currentField.id]
);
.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],
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.$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,
};
});
});
// 涉及案件
debugger;
var result1 = res.data.xsxq;
self.formField[5].childrenAsAdd.forEach((childrenIdem) => {
//有可添加子集的情况
} else {
getXsByXsbh({
xsbh: this.$route.query.xsbh,
}).then((res) => {
// 线索反馈
this.loadingFk = false;
var result = res.data.xsxq.xs;
self.formField.forEach((item, i) => {
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, 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]);
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:
var result1 = res.data.xsxq;
self.formField[4].childrenAsAdd.forEach((childrenIdem) => {
//有可添加子集的情况
//遍历可配置化列表的子集
self.$set(self.formLabelAlign, childrenIdem.id, []);
var realChildrenData = result1["jbrList"];
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];
}
} 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);
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]);
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[childrenIdem.id][childrenIndex],
self.formLabelAlign,
currentField.id,
codeArry
realChildrenItem[currentField.id]
);
//改变类型使级联控件重新加载
self.$set(currentField, "type", "lazyCodeTree2");
setTimeout(() => {
self.$set(currentField, "type", "lazyCodeTree");
}
}
});
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);
}
});
// 涉及案件
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
);
}, 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,
},
];
//改变类型使级联控件重新加载
self.$set(currentField, "type", "lazyCodeTree2");
setTimeout(() => {
self.$set(currentField, "type", "lazyCodeTree");
self.$set(
self.formLabelAlign[childrenIdem.id][childrenIndex],
currentField.id,
codeArry
);
}, 5);
})
.catch((err) => {});
self.$set(
self.formLabelAlign,
currentField.id,
realChildrenItem[currentField.id]
);
.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],
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.$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.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();
},
......
......@@ -1003,15 +1003,9 @@ export default {
});
},
toInforDa(scope) {
debugger;
// http://39.99.155.173:8003/doLogin?zjhm=142302198901012417
// http://39.99.155.173:8003/queryAjdaxxs?asjbh=A4419615400002020086063
var userInfo = JSON.parse(sessionStorage.getItem("userInfo"));
var idcard = userInfo.identitycard;
let path = `${base.alyIP5}/doLogin?zjhm=${idcard}`;
window.open(path, "_blank");
let paths = `${base.alyIP6}/queryAjdaxxs?asjbh=${scope.asjbh}`;
window.open(paths, "_blank");
let identitycard = JSON.parse(sessionStorage.getItem("userInfo")).identitycard;
let path = `${this.$baseUrl.alyIP6}/#/jump?path=/queryAjda&asjbh=${scope.asjbh}&zjhm=${identitycard}`;
window.open(path, "_blank");
},
showDialogS(data) {
this.dialogS = true;
......
......@@ -556,8 +556,6 @@ export default {
},
toInfor (scope) {
this.scopeYH = scope;
console.log(this.scopeYH.yhJb);
debugger;
var self = this;
self.cxUrl = "/yhz/getYhzYh";
var arreyTj = [
......@@ -992,7 +990,7 @@ export default {
</script>
<style>
.el-dialog {
/* max-height: 670px */
max-height: 600px
}
.el-dialog__body {
padding: 0px 15px !important;
......@@ -1092,12 +1090,6 @@ export default {
margin-right: 16px;
cursor: pointer;
}
.xzyhz {
:v-deep.el-dialog__body {
// height: 400px;
overflow-y: scroll;
}
}
#jjly {
:v-deep.el-form-item__label {
color: red;
......
<template>
<div style="height: 375px;">
<div>
<div class="Content paneDiv paneDiv2" style="border: 0px solid #eaeaea" v-if="isForm">
<div class="cxtjWrap">
<el-form
......
......@@ -339,15 +339,9 @@ export default {
});
},
toInforDa(scope) {
debugger;
// http://39.99.155.173:8003/doLogin?zjhm=142302198901012417
// http://39.99.155.173:8003/queryAjdaxxs?asjbh=A4419615400002020086063
var userInfo = JSON.parse(sessionStorage.getItem("userInfo"));
var idcard = userInfo.identitycard;
let path = `${base.alyIP5}/doLogin?zjhm=${idcard}`;
window.open(path, "_blank");
let paths = `${base.alyIP6}/queryAjdaxxs?asjbh=${scope.asjbh}`;
window.open(paths, "_blank");
let identitycard = JSON.parse(sessionStorage.getItem("userInfo")).identitycard;
let path = `${this.$baseUrl.alyIP6}/#/jump?path=/queryAjda&asjbh=${scope.asjbh}&zjhm=${identitycard}`;
window.open(path, "_blank");
},
dele(scope) {
debugger;
......
......@@ -207,9 +207,9 @@ export default {
},
methods: {
toInfor(scope) {
debugger;
let path = `${this.$baseUrl.alyIP6}/queryAjdaxxs?asjbh=${scope.asjbh}`;
window.open(path, "_blank");
let identitycard = JSON.parse(sessionStorage.getItem("userInfo")).identitycard;
let path = `${this.$baseUrl.alyIP6}/#/jump?path=/queryAjda&asjbh=${scope.asjbh}&zjhm=${identitycard}`;
window.open(path, "_blank");
},
/**
* @param obj.value 当前按钮的点击的值
......
......@@ -189,9 +189,9 @@ export default {
},
methods: {
toInfor(scope) {
debugger;
let path = `${this.$baseUrl.alyIP6}/queryAjdaxxs?asjbh=${scope.asjbh}`;
window.open(path, "_blank");
let identitycard = JSON.parse(sessionStorage.getItem("userInfo")).identitycard;
let path = `${this.$baseUrl.alyIP6}/#/jump?path=/queryAjda&asjbh=${scope.asjbh}&zjhm=${identitycard}`;
window.open(path, "_blank");
},
/**
* @param obj.value 当前按钮的点击的值
......
......@@ -204,9 +204,9 @@ export default {
},
methods: {
toInfor(scope) {
debugger;
let path = `${this.$baseUrl.alyIP6}/queryAjdaxxs?asjbh=${scope.asjbh}`;
window.open(path, "_blank");
let identitycard = JSON.parse(sessionStorage.getItem("userInfo")).identitycard;
let path = `${this.$baseUrl.alyIP6}/#/jump?path=/queryAjda&asjbh=${scope.asjbh}&zjhm=${identitycard}`;
window.open(path, "_blank");
},
/**
* @param obj.value 当前按钮的点击的值
......
......@@ -203,9 +203,9 @@ export default {
},
methods: {
toInfor(scope) {
debugger;
let path = `${this.$baseUrl.alyIP6}/queryAjdaxxs?asjbh=${scope.asjbh}`;
window.open(path, "_blank");
let identitycard = JSON.parse(sessionStorage.getItem("userInfo")).identitycard;
let path = `${this.$baseUrl.alyIP6}/#/jump?path=/queryAjda&asjbh=${scope.asjbh}&zjhm=${identitycard}`;
window.open(path, "_blank");
},
/**
* @param obj.value 当前按钮的点击的值
......
......@@ -69,6 +69,7 @@
<script>
import rightContent from "@c/ptCxForm_components.vue";
import { updateZh, updateRl, updateCzzh } from "@/api/zcxt/zwgl.js";
import base from "@/api/base"
export default {
name: "zcssqtwp",
components: {
......@@ -204,9 +205,9 @@ export default {
},
methods: {
toInfor(scope) {
debugger;
let path = `${this.$baseUrl.alyIP6}/queryAjdaxxs?asjbh=${scope.asjbh}`;
window.open(path, "_blank");
let identitycard = JSON.parse(sessionStorage.getItem("userInfo")).identitycard;
let path = `${this.$baseUrl.alyIP6}/#/jump?path=/queryAjda&asjbh=${scope.asjbh}&zjhm=${identitycard}`;
window.open(path, "_blank");
},
/**
* @param obj.value 当前按钮的点击的值
......
......@@ -201,9 +201,9 @@ export default {
},
methods: {
toInfor(scope) {
debugger;
let path = `${this.$baseUrl.alyIP6}/queryAjdaxxs?asjbh=${scope.asjbh}`;
window.open(path, "_blank");
let identitycard = JSON.parse(sessionStorage.getItem("userInfo")).identitycard;
let path = `${this.$baseUrl.alyIP6}/#/jump?path=/queryAjda&asjbh=${scope.asjbh}&zjhm=${identitycard}`;
window.open(path, "_blank");
},
/**
* @param obj.value 当前按钮的点击的值
......
......@@ -202,9 +202,9 @@ export default {
},
methods: {
toInfor(scope) {
debugger;
let path = `${this.$baseUrl.alyIP6}/queryAjdaxxs?asjbh=${scope.asjbh}`;
window.open(path, "_blank");
let identitycard = JSON.parse(sessionStorage.getItem("userInfo")).identitycard;
let path = `${this.$baseUrl.alyIP6}/#/jump?path=/queryAjda&asjbh=${scope.asjbh}&zjhm=${identitycard}`;
window.open(path, "_blank");
},
/**
* @param obj.value 当前按钮的点击的值
......
......@@ -391,9 +391,9 @@ export default {
},
methods: {
toInfor(scope) {
debugger;
let path = `${this.$baseUrl.alyIP6}/queryAjdaxxs?asjbh=${scope.asjbh}`;
window.open(path, "_blank");
let identitycard = JSON.parse(sessionStorage.getItem("userInfo")).identitycard;
let path = `${this.$baseUrl.alyIP6}/#/jump?path=/queryAjda&asjbh=${scope.asjbh}&zjhm=${identitycard}`;
window.open(path, "_blank");
},
/**
* @param obj.value 当前按钮的点击的值
......
......@@ -208,9 +208,9 @@ export default {
},
methods: {
toInfor(scope) {
debugger;
let path = `${this.$baseUrl.alyIP6}/queryAjdaxxs?asjbh=${scope.asjbh}`;
window.open(path, "_blank");
let identitycard = JSON.parse(sessionStorage.getItem("userInfo")).identitycard;
let path = `${this.$baseUrl.alyIP6}/#/jump?path=/queryAjda&asjbh=${scope.asjbh}&zjhm=${identitycard}`;
window.open(path, "_blank");
},
/**
* @param obj.value 当前按钮的点击的值
......
......@@ -77,6 +77,13 @@ export default {
disabled: false,
},
{
id: "csgwdzczl",
label: "抄送给我的工作指令",
index: "csgwdzczl",
className: "iconfont icongongnengfuwu",
disabled: false,
},
{
id: "bxqjsdzczl",
label: "本辖区接收的工作指令",
index: "bxqjsdzczl",
......
......@@ -65,6 +65,13 @@ export default {
disabled: false,
},
{
id: "csgwdzczl",
label: "抄送给我的工作指令",
index: "csgwdzczl",
className: "iconfont icongongnengfuwu",
disabled: false,
},
{
id: "bxqjsdzczl",
label: "本辖区接收的工作指令",
index: "bxqjsdzczl",
......
......@@ -146,6 +146,13 @@ export default {
disabled: false,
},
{
id: "csgwdzczl",
label: "抄送给我的工作指令",
index: "csgwdzczl",
className: "iconfont icongongnengfuwu",
disabled: false,
},
{
id: "bxqjsdzczl",
label: "本辖区接收的工作指令",
index: "bxqjsdzczl",
......
<template>
<div class="Content">
<right-content
:tableOperationWidth="tableOperationWidth"
:pageBs="pageBs"
:header="header"
:cxFormData="cxFormData"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
:transformFormTable="transformFormTable"
@add="add"
@edit="edit"
@dele="dele"
@toInfor="toInfor"
ref="rightContent"
>
<template #btnGroup="scope">
<el-button @click="edit(scope.scope)" type="text">修改</el-button>
<el-button @click="dele(scope.scope)" type="text">删除</el-button>
</template>
</right-content>
<el-drawer
size="80%"
:with-header="false"
:visible.sync="drawer">
<zczl infoType="4" v-if="drawer" :zczlbh="zczlbh" :fpbh="fpbh" :sub="sub"></zczl>
</el-drawer>
</div>
</template>
<script>
import rightContent from "@c/ptCxForm_components.vue";
import {deleteKyxsxx} from "@/api/rlqbxs.js";
import {spsftg} from "@/assets/js/transformFormTable.js";
import zczl from '@p/zczl/zczl/detailZczl.vue'
export default {
name: "csgwdzczl",
components: {
rightContent,zczl
},
data() {
return {
zczlbh:'',
fpbh:'',
sub:'CSXQ',
drawer: false,
tableOperation: true,
tableOperationWidth: 200,
transformFormTable: {spsftg},
header: "抄送给我的工作指令",
pageBs: "csgwdzczl",
cxFormData: {
zczlbh:"",
zlwh: "",
zllx: "",
fbsj_s: "",
fbsj_e: "",
zljsdwdm: "",
zlsy: "",
limit: 10,
page: 1,
},
cxQueryField: [
{
name: "指令文号",
id: "zlwh",
placeholder: "请输入",
type: "text",
value: "",
col: "3",
maxlength : 20
},
{
name: "指令类型",
id: "zllx",
type: "codeTreeDialog",
props: "checkEmpty",
value: "",
placeholder: "请选择",
col: "3",
codeOptions: [],
codeTree: "CODE_ZLLXDM",
},
{
name: "开始发布时间",
id: "fbsj_s",
placeholder: "请输入",
type: "datetime",
value: "",
col: "3",
},
{
name: "结束发布时间",
id: "fbsj_e",
type: "datetime",
value: "",
placeholder: "请选择",
col: "3",
},
{
name: "指令事由",
id: "zlsy",
placeholder: "请输入",
type: "text",
value: "",
col: "3",
maxlength : 30
},
],
cxDefaultFormThead: [
{
label: "工作指令编号",
prop: "zczlbh",
width:'300',
toInfor:true
},
{
label: "指令文号",
prop: "zlwh",
width:'300',
},
{
label: "指令事由",
prop: "zlsy",
},
{
label: "业务名称",
prop: "ywmc",
},
{
label: "指令类型",
prop: "zllxStr",
},
{
label: "工作要求",
prop: "gzyq",
},
{
label: "发布时间",
prop: "fbsj",
},
/* {
label: "回报期限",
prop: "hbqx",
},*/
{
label: "抄送人",
prop: "fprxm",
},
{
label: "抄送时间",
prop: "cssj",
},
],
cxUrl: "/zczl/getCopyToMeZczlList",
Menu: [
{
id: "csgwdzczl",
label: "抄送给我的工作指令",
index: "csgwdzczl",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
],
};
},
created() {
this.$store.commit("user/SET_Menu", this.Menu);
if (this.$route.query.zczlbh != null && this.$route.query.zczlbh != '') {
this.cxFormData.zczlbh = this.$route.query.zczlbh;
}
},
methods: {
add() {
this.$router.push("adjustRlqbxs");
},
edit(scope) {
this.$router.push({
path: "adjustRlqbxs",
query: {xxzjbh: scope.row.xxzjbh},
});
},
dele(scope) {
console.log(scope);
this.$confirm("此操作将永久删除该文件, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
deleteKyxsxx({
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: "已取消删除",
});
});
},
toInfor(scope) {
this.zczlbh = scope.zczlbh;
this.fpbh = scope.fpbh;
this.drawer = true;
},
},
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>
......@@ -4,6 +4,7 @@
<div v-if="sub==='FP'">指令分派</div>
<div v-if="sub==='HB'">指令回报</div>
<div v-if="sub==='YJ'">指令移交</div>
<div v-if="sub==='CS'">指令抄送</div>
<div v-if="sub==='SP'">指令审批</div>
<div v-if="sub==='QS'">指令签收</div>
<div v-if="sub==='PJ'">评价</div>
......@@ -97,7 +98,7 @@
<div v-if="sub==='SP'||sub==='HBSP'" class="SP subBox" style="margin-top: 30px;">
<el-form ref="form" :model="SPform" label-width="100px">
<el-form-item label="审批意见:">
<el-input type="textarea" v-model="SPform.spyj"></el-input>
<el-input type="textarea" v-model="SPform.spyj" maxlength="50" show-word-limit></el-input>
</el-form-item>
<el-divider></el-divider>
<el-form-item style="text-align: right">
......@@ -117,14 +118,27 @@
</div>
<div v-if="sub==='HBXG'" class="SP subBox" style="margin-top: 30px;">
<el-form ref="form" :model="SPform" label-width="100px">
<el-row>
<el-col :span="6">
<el-form-item label="指令主类:" v-if="info.zczlMainInfo.zllx != mainZllx.mainCode">
<span style="color: #1a81e1">{{ mainZllx.mainName }}</span>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="指令类型:">
<span style="color: #1a81e1">{{ info.zczlMainInfo.zllxStr }}</span>
</el-form-item>
</el-col>
</el-row>
<el-form-item label="回报内容:">
<el-input type="textarea" v-model="HBform.hbnr"></el-input>
<el-input type="textarea" v-model="HBform.hbnr" maxlength="300" show-word-limit></el-input>
</el-form-item>
<el-form-item label="附件信息" style="width:100%">
<el-upload
class="upload-demo"
action="#"
accept=".xls,.xlsx"
ref="upload"
:accept="fileAccept"
:on-change="fileOnchange"
:on-preview="handlePreview"
:on-remove="
......@@ -136,7 +150,7 @@
:http-request="() => {}"
:file-list="fileArr"
>
<el-button size="small" type="primary">选择上传</el-button>
<el-button size="small" type="primary" :title="'仅可上传'+fileAccept+'格式的文件'">选择上传</el-button>
</el-upload>
</el-form-item>
<el-divider></el-divider>
......@@ -147,14 +161,27 @@
</div>
<div v-if="sub==='XBXG'" class="SP subBox" style="margin-top: 30px;">
<el-form ref="form" :model="SPform" label-width="100px">
<el-form-item label="回报内容:">
<el-input type="textarea" v-model="HBform.hbnr"></el-input>
<el-row>
<el-col :span="6">
<el-form-item label="指令主类:" v-if="info.zczlMainInfo.zllx != mainZllx.mainCode">
<span style="color: #1a81e1">{{ mainZllx.mainName }}</span>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="指令类型:">
<span style="color: #1a81e1">{{ info.zczlMainInfo.zllxStr }}</span>
</el-form-item>
</el-col>
</el-row>
<el-form-item label="续报内容:">
<el-input type="textarea" v-model="HBform.hbnr" maxlength="300" show-word-limit></el-input>
</el-form-item>
<el-form-item label="附件信息" style="width:100%">
<el-upload
class="upload-demo"
action="#"
accept=".xls,.xlsx"
ref="upload"
:accept="fileAccept"
:on-change="fileOnchange"
:on-preview="handlePreview"
:on-remove="
......@@ -166,7 +193,7 @@
:http-request="() => {}"
:file-list="fileArr"
>
<el-button size="small" type="primary">选择上传</el-button>
<el-button size="small" type="primary" :title="'仅可上传'+fileAccept+'格式的文件'">选择上传</el-button>
</el-upload>
</el-form-item>
<el-divider></el-divider>
......@@ -177,15 +204,28 @@
</div>
<div v-if="sub==='HB'" class="SP subBox" style="margin-top: 30px;">
<el-form ref="form" :model="SPform" label-width="100px">
<el-row>
<el-col :span="6">
<el-form-item label="指令主类:" v-if="info.zczlMainInfo.zllx != mainZllx.mainCode">
<span style="color: #1a81e1">{{ mainZllx.mainName }}</span>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="指令类型:">
<span style="color: #1a81e1">{{ info.zczlMainInfo.zllxStr }}</span>
</el-form-item>
</el-col>
</el-row>
<el-form-item label="回报内容:">
<el-input type="textarea" v-model="HBform.hbnr"></el-input>
<el-input type="textarea" v-model="HBform.hbnr" maxlength="300" show-word-limit></el-input>
</el-form-item>
<el-form-item label="附件信息" style="width:100%">
<el-upload
class="upload-demo"
action="#"
accept=".xls,.xlsx"
:accept="fileAccept"
:on-change="fileOnchange"
ref="upload"
:on-remove="
(flie, fileList) => {
fileArr = fileList;
......@@ -195,7 +235,7 @@
:http-request="() => {}"
:file-list="fileArr"
>
<el-button size="small" type="primary">选择上传</el-button>
<el-button size="small" type="primary" :title="'仅可上传'+fileAccept+'格式的文件'">选择上传</el-button>
</el-upload>
</el-form-item>
<el-divider></el-divider>
......@@ -305,6 +345,31 @@
</el-form-item>
</el-form>
</div>
<div v-if="sub==='CS'" class="SP subBox" style="margin-top: 30px;">
<el-form ref="form" :model="CSForm" label-width="100px">
<el-form-item label="待抄送人:">
<el-button size="small" type="primary" @click="makeCopyDialog=true">选择接收人</el-button>
<ul>
<li v-for="item in CSForm.peopleName" :key="item" style="color: dodgerblue">
{{ item }}
</li>
</ul>
</el-form-item>
<el-form-item label="已抄送人:">
<ul>
<li v-for="item in acceptCsPeopleList" :key="item">
{{ item }}
</li>
</ul>
</el-form-item>
<el-divider></el-divider>
<el-form-item style="text-align: right">
<el-button @click="makeCopyToOther">确认</el-button>
</el-form-item>
</el-form>
</div>
<div v-if="sub==='FP'" class="SP subBox" style="margin-top: 30px;">
<el-form ref="form" :model="FPForm" label-width="100px">
<el-form-item label="接收单位" label-width="100px" style="width:500px">
......@@ -333,7 +398,7 @@
<el-input
type="textarea"
v-model="FPForm.fpgzyq"
style="width:500px"
style="width:500px" maxlength="300" show-word-limit
placeholder="请输入"
></el-input>
</el-form-item>
......@@ -396,7 +461,8 @@
</el-select>
</el-form-item>
<el-form-item label="评价内容:">
<el-input autosize :disabled="!PJSE" type="textarea" v-model="PJform.pjnr" style="width: 500px;"></el-input>
<el-input :disabled="!PJSE" :autosize="{ minRows: 2}" type="textarea" v-model="PJform.pjnr"
style="width: 500px;" maxlength="300" show-word-limit></el-input>
</el-form-item>
</el-form>
<div v-if="PJSE" style="text-align: right;margin-top: 20px;">
......@@ -405,6 +471,22 @@
</el-drawer>
<el-dialog title="人员列表" :visible.sync="makeCopyDialog" center>
<ul style="margin-top: 2%">
<li v-for="item in unitChilds" :key="item.peopleAccount">
<el-button v-if="CSForm.qsrjh.indexOf(item.peopleAccount)<0" type="info" @click="setCopyToList('1',item)">
{{ item.peopleName + ' ( ' + item.peopleAccount + ' )' }}
</el-button>
<el-button v-if="CSForm.qsrjh.indexOf(item.peopleAccount)>=0" type="primary" @click="setCopyToList('0',item)">
{{ item.peopleName + ' ( ' + item.peopleAccount + ' )' }}
</el-button>
</li>
</ul>
<span slot="footer" class="dialog-footer">
<el-button size="mini" @click="cancelMakeCopy">取 消</el-button>
<el-button size="mini" type="primary" @click="makeCopyDialog = false">确 定</el-button>
</span>
</el-dialog>
<el-dialog title="下级回报列表" :visible.sync="CKXQZT" width="80%">
<el-table :data="CKXQList" style="width: 100%">
<el-table-column prop="zczlbh" label="工作指令编号"></el-table-column>
......@@ -439,13 +521,13 @@ import {
getHbspInfo,
getAllHbInfoByFpbh,
doEvaluate,
getAllResponseFromMe
getAllResponseFromMe,
getAlreadyAcceptCsPeopleList
} from "@/api/zczl/zczl.js"
import SelectTreeDialog from "@c/treeCode_components.vue";
import axios from "@/utils/http.js"
import base from "@/api/base";
let id = 0;
export default {
name: "detailZczl",
components: {SelectTreeDialog},
......@@ -458,6 +540,7 @@ export default {
},
data() {
return {
fileAccept: '.xls,.xlsx',
CKXQZT: false,
CKXQList: [],
PJSE: true,
......@@ -485,6 +568,7 @@ export default {
}
},
FPTableData: false,
makeCopyDialog: false,
PJTableData: false,
tableData: [],
melist: [],
......@@ -508,6 +592,10 @@ export default {
YJForm: {
qsrjh: ''
},
CSForm: {
peopleName: [],
qsrjh: []
},
//分派
FPForm: {
qsrgajgdm: [],
......@@ -536,11 +624,16 @@ export default {
}],
unitChilds: [],
unitCode: [],
acceptCsPeopleList: [],
info: {
fpDetailList: [],
zczlMainInfo: {},
zlfjlist: []
},
mainZllx: {
mainCode: "",
mainName: ""
},
list: [],
};
},
......@@ -553,6 +646,22 @@ export default {
}
})
},
cancelMakeCopy() {
this.CSForm.qsrjh = [];
this.CSForm.peopleName = [];
this.makeCopyDialog = false;
},
setCopyToList(status, item) {
if (status == '0' && this.CSForm.qsrjh.indexOf(item.peopleAccount) >= 0) {
this.CSForm.qsrjh.splice(this.CSForm.qsrjh.indexOf(item.peopleAccount), 1);
this.CSForm.peopleName.splice(this.CSForm.qsrjh.indexOf(item.peopleAccount), 1);
}
if (status == '1' && this.CSForm.qsrjh.indexOf(item.peopleAccount) < 0) {
this.CSForm.qsrjh.push(item.peopleAccount);
this.CSForm.peopleName.push(item.peopleName + ' ( ' + item.peopleAccount + ' )');
}
},
downloadFile(row) {
let loading = this.$loading({
lock: true,
......@@ -709,7 +818,7 @@ export default {
}
for (let i = 0; i < list.length; i++) {
for (let j = 0; j < list.length; j++) {
if(list[i].unitCode == list[j].unitCode && list[i].peopleAccount != list[j].peopleAccount){
if (list[i].unitCode == list[j].unitCode && list[i].peopleAccount != list[j].peopleAccount) {
this.$message.warning("每个单位仅需指定一名接收人")
return;
}
......@@ -722,6 +831,33 @@ export default {
console.log(value);
},
fileOnchange(file, fileList) {
console.log(this.$refs.upload)
//校验文件格式
let check = true;
if (file.name.indexOf(".") < 0) {
check = false;
} else {
let fileType = file.name.substring(file.name.lastIndexOf('.'));
if (this.fileAccept.indexOf(fileType) < 0) {
check = false;
}
}
if (!check) {
for (let i = 0; i < this.$refs.upload.uploadFiles.length; i++) {
let refUpload = this.$refs.upload.uploadFiles[i];
let childFileName = refUpload.name;
if (childFileName == file.name) {
this.$alert("只能上传" + this.fileAccept + "格式的文件!", "提示", {
confirmButtonText: "确定",
type: "warning",
});
this.$refs.upload.uploadFiles.splice(i, 1);
return;
}
}
}
this.fileArr = fileList;
},
adopt(i) {
......@@ -745,7 +881,17 @@ export default {
}
this.$emit('post', params)
}
},//回报
},
makeCopyToOther() {
if (this.CSForm.qsrjh.length == 0) {
this.$message.warning("请先选择要抄送的警员");
return;
}
this.$emit('post', JSON.stringify(this.CSForm.qsrjh));
this.CSForm.qsrjh = [];
this.CSForm.peopleName = [];
},
//回报
basis(i) {
if (i) {
this.$emit('post', this.YJForm)
......@@ -761,6 +907,19 @@ export default {
this.$emit('post', this.FPForm)
},//分派
},
mounted() {
if (this.sub === 'CS') {
this.acceptCsPeopleList = [];
getAlreadyAcceptCsPeopleList({zczlbh: this.zczlbh}).then(res => {
if (res.data.unitChilds.length > 0) {
for (let i = 0; i < res.data.unitChilds.length; i++) {
let peopleShowName = res.data.unitChilds[i].peopleName + '(' + res.data.unitChilds[i].peopleAccount + ')';
this.acceptCsPeopleList.push(peopleShowName);
}
}
})
}
},
created() {
// this.$bus.$on('hbspParam',(val)=>{
// this.needApprovalResponse = []
......@@ -778,7 +937,17 @@ export default {
this.getJson()
getZczltoMeInfomation({zczlbh: this.zczlbh, infoType: this.infoType, fpbh: this.fpbh}).then(res => {
if (res.code === 200) {
this.info = res.data
this.info = res.data;
this.mainZllx.mainCode = this.info.zczlMainInfo.zllx.substring(0, 2) + '00';
axios.get(`JsonData/CODE_ZLLXDM.json`).then((response) => {
let allZllx = response.data.rows;
for (let i = 0; i < allZllx.length; i++) {
if (allZllx[i].id == this.mainZllx.mainCode) {
this.mainZllx.mainName = allZllx[i].label;
break;
}
}
})
}
this.mainLoading = false;
})
......@@ -810,6 +979,20 @@ export default {
}
})
}
if (this.sub === 'CS') {
getChildUnitAndPeople({onlyPeople: 1}).then(res => {
this.unitChilds = []
if (res.code == 200 && res.success) {
let list = res.data.unitChilds[0].childs;
let account = JSON.parse(sessionStorage.getItem('userInfo')).account
for (let i in list) {
if (list[i].isPeople == '1' && list[i].peopleAccount != account) {
this.unitChilds.push(list[i]);
}
}
}
})
}
if (this.sub === 'FP') {
getChildUnitAndPeople({onlyUnit: 1}).then(res => {
if (res.code == 200 && res.success) {
......
......@@ -32,24 +32,13 @@
:currentItem="GD.qsrgajgdm"
/>
</div>
<div class="jsdw">
<div style="display: inline-flex">
<span style="font-size: 14px; line-height: 41px">个人工作是否完成: </span>
<el-checkbox-group v-model="checkboxValue" style="margin-top: 3%">
<el-checkbox label="否" value="0" @change="checkBoxChange"></el-checkbox>
<el-checkbox label="是" value="1" @change="checkBoxChange"></el-checkbox>
</el-checkbox-group>
</div>
</div>
</div>
<div style="margin-bottom: 10px">
<el-button
v-if="SJList.length > 1 && SJcode != ''"
size="mini"
@click="back"
>上一级
</el-button
>上一级</el-button
>
<el-button type="primary" size="mini" @click="add">查询</el-button>
<el-button size="mini" @click="print">导出</el-button>
......@@ -59,17 +48,15 @@
</div>
</template>
<script>
import {getTjListPic} from "@/api/zczl/zczl.js";
import { getTjListPic } from "@/api/zczl/zczl.js";
import SelectTreeDialog from "@c/treeCode_components.vue";
export default {
name: "dwtjtb",
components: {SelectTreeDialog},
name: "detailZczl",
components: { SelectTreeDialog },
data() {
return {
value2: [],
chartsShow: true,
checkboxValue: [],
Menu: [
{
id: "dwtjtb",
......@@ -88,7 +75,7 @@ export default {
qsrgajgdm: [],
qsrjh: "",
fpgzyq: "",
qsrgajgdm: "",
},
GD: {
qsrgajgdm: {
......@@ -108,18 +95,6 @@ export default {
};
},
methods: {
checkBoxChange(val) {
if (val) {
if (this.checkboxValue.length == 2) {
let realValue = this.checkboxValue[1];
this.checkboxValue = [];
this.checkboxValue.push(realValue);
}
} else {
this.checkboxValue = [];
}
console.log(this.checkboxValue);
},
getJson() {
debugger;
let self = this;
......@@ -129,7 +104,6 @@ export default {
if (response.status == "200") {
debugger;
self.GD.qsrgajgdm.codeOptions = response.data.data.rows;
function liMap(ji) {
let mi;
let gd = "";
......@@ -382,9 +356,6 @@ export default {
params.fbsj_s = this.value2[0];
params.fbsj_e = this.value2[1];
}
if (this.checkboxValue.length > 0) {
params.gzzlwcqk = this.checkboxValue[0] == '是' ? '1' : '0';
}
getTjListPic(params).then((res) => {
if (res.success && res.code == 200) {
loading.close();
......@@ -509,20 +480,17 @@ export default {
<style lang="scss" scoped>
#dytj {
position: relative;
.app {
display: flex;
margin-top: 9px;
}
.jsdw {
display: flex;
margin: 0 0 0 20px;
}
.datetimerange {
margin-bottom: 10px;
:v-deep {
::v-deep {
.el-icon-time {
transform: translateY(-4px);
}
......@@ -539,7 +507,6 @@ export default {
transform: translateX(-50%);
font-size: 16px;
}
width: 100%;
height: calc(100% - 88px);
text-align: right;
......@@ -547,13 +514,11 @@ export default {
padding: 20px;
padding-top: 10px;
position: relative;
#charts {
background-color: #fff;
width: 100%;
height: 100%;
}
#table {
box-sizing: border-box;
padding-top: 1px !important;
......@@ -562,23 +527,19 @@ export default {
background-color: #fff;
padding: 20px;
}
.returnBtn {
position: absolute;
top: 30px;
right: 40px;
z-index: 111;
}
.tableTitle {
display: flex;
justify-content: space-between;
padding: 10px 10px;
> .tableLeft {
font-size: 16px;
font-weight: 600;
span {
&:last-of-type {
font-size: 14px;
......
<template>
<div class="Content">
<right-content
:transformFormTable="transformFormTable"
:tableOperationWidth="400"
:tableOperation="true"
:pageBs="pageBs"
:header="header"
:cxFormData="cxFormData"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
@qs="qs"
@toHb="toHb"
@toInfor="toInfor"
ref="rightContent"
:transformFormTable="transformFormTable"
:tableOperationWidth="400"
:tableOperation="true"
:pageBs="pageBs"
:header="header"
:cxFormData="cxFormData"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
@qs="qs"
@toHb="toHb"
@toInfor="toInfor"
ref="rightContent"
>
<template #btnGroup="scope">
<el-button
v-if="scope.scope.row.nfqs == '1'"
@click="qs(scope.scope)"
type="text"
>签收</el-button
v-if="scope.scope.row.nfqs == '1'"
@click="qs(scope.scope)"
type="text"
>签收
</el-button
>
<el-button
v-if="scope.scope.row.nfhb == '能'"
@click="toHb(scope.scope)"
type="text"
>回报</el-button
v-if="scope.scope.row.nfhb == '能'"
@click="toHb(scope.scope)"
type="text"
>回报
</el-button
>
<el-button
v-if="scope.scope.row.nfhbxg == '能'"
@click="toXG(scope.scope)"
type="text"
>回报修改</el-button
v-if="scope.scope.row.nfhbxg == '能'"
@click="toXG(scope.scope)"
type="text"
>回报修改
</el-button
>
<el-button
v-if="scope.scope.row.nfxbxg == '能'"
@click="toXG(scope.scope)"
type="text"
>续报修改</el-button
v-if="scope.scope.row.nfxbxg == '能'"
@click="toXG(scope.scope)"
type="text"
>续报修改
</el-button
>
<el-button
v-if="scope.scope.row.nfxb == '能'"
@click="toXb(scope.scope)"
type="text"
>续报</el-button
v-if="scope.scope.row.nfxb == '能'"
@click="toXb(scope.scope)"
type="text"
>续报
</el-button
>
<el-button
v-if="scope.scope.row.nffp == '能'"
@click="FenPai(scope.scope)"
type="text"
>分派</el-button
v-if="scope.scope.row.nffp == '能'"
@click="FenPai(scope.scope)"
type="text"
>分派
</el-button
>
<el-button
@click="YIJiao(scope.scope)"
v-if="scope.scope.row.nfqs != '1'"
type="text"
>移交</el-button
@click="YIJiao(scope.scope)"
v-if="scope.scope.row.nfqs != '1'"
type="text"
>移交
</el-button
>
<el-button
v-if="scope.scope.row.sfczhbxx == '存在'"
@click="PJ(scope.scope)"
type="text"
>评价</el-button
@click="zlcs(scope.scope)"
v-if="scope.scope.row.nfqs != '1'"
type="text"
>抄送
</el-button
>
<el-button
v-if="scope.scope.row.sfczhbxx == '存在'"
@click="PJ(scope.scope)"
type="text"
>评价
</el-button
>
</template>
</right-content>
......@@ -70,7 +85,7 @@
<el-form :inline="true" :model="lkForm" class="demo-form-inline">
<el-row>
<!-- <el-col :span="20" :offset="2" style="margin-top: 20px">
<el-form-item label="指令编号" style="width100%">
<el-form-item label="指令编号" style="width:100%">
<el-input
disabled
type="text"
......@@ -81,7 +96,7 @@
</el-form-item>
</el-col>
<el-col :span="20" :offset="2">
<el-form-item label="分派编号" style="width100%">
<el-form-item label="分派编号" style="width:100%">
<el-input
disabled
type="text"
......@@ -92,31 +107,33 @@
</el-form-item>
</el-col>-->
<el-col :span="20" :offset="2">
<el-form-item label="回报内容" style="width100%">
<el-form-item label="回报内容" style="width:100%">
<el-input
type="textarea"
v-model="lkForm.hbnr"
:autosize="{ minRows: 3 }"
style="width: 400px"
placeholder="请输入"
type="textarea"
v-model="lkForm.hbnr"
:autosize="{ minRows: 3 }"
style="width: 400px"
maxlength="500"
show-word-limit
placeholder="请输入"
></el-input>
</el-form-item>
</el-col>
<el-col :span="20" :offset="2">
<el-form-item label="附件信息" style="width100%">
<el-form-item label="附件信息" style="width:100%">
<el-upload
class="upload-demo"
action="#"
accept=".xls,.xlsx"
:on-change="fileOnchange"
:on-remove="
class="upload-demo"
action="#"
accept=".xls,.xlsx"
:on-change="fileOnchange"
:on-remove="
(flie, fileList) => {
fileArr = fileList;
}
"
:auto-upload="false"
:http-request="() => {}"
:file-list="fileArr"
:auto-upload="false"
:http-request="() => {}"
:file-list="fileArr"
>
<el-button size="small" type="primary">选择上传</el-button>
</el-upload>
......@@ -134,21 +151,21 @@
<el-row>
<el-col :span="20" :offset="1" class="JKS">
<el-form-item
label="接收单位"
label-width="100px"
style="width:500px"
label="接收单位"
label-width="100px"
style="width:500px"
>
<el-select
v-model="FPForm.qsrgajgdm"
placeholder="请选择"
multiple
style="width: 500px"
v-model="FPForm.qsrgajgdm"
placeholder="请选择"
multiple
style="width: 500px"
>
<el-option
v-for="item in unitCode"
:key="item.value"
:label="item.unitName + '(' + item.unitCode + ')'"
:value="item.unitCode"
v-for="item in unitCode"
:key="item.value"
:label="item.unitName + '(' + item.unitCode + ')'"
:value="item.unitCode"
>
</el-option>
</el-select>
......@@ -156,21 +173,21 @@
</el-col>
<el-col :span="20" :offset="1">
<el-form-item
label="移交人警号"
style="width:100%"
label-width="100px"
label="移交人警号"
style="width:100%"
label-width="100px"
>
<el-select
v-model="FPForm.qsrjh"
multiple
placeholder="请选择"
style="width: 400px"
v-model="FPForm.qsrjh"
multiple
placeholder="请选择"
style="width: 400px"
>
<el-option
v-for="item in unitChilds"
:key="item.value"
:label="item.peopleName + '(' + item.peopleAccount + ')'"
:value="item.unitCode + '|' + item.peopleAccount"
v-for="item in unitChilds"
:key="item.value"
:label="item.peopleName + '(' + item.peopleAccount + ')'"
:value="item.unitCode + '|' + item.peopleAccount"
>
</el-option>
</el-select>
......@@ -178,16 +195,18 @@
</el-col>
<el-col :span="20" :offset="1">
<el-form-item
label="工作要求"
label-width="100px"
style="width:100%"
prop="fpgzyq"
label="工作要求"
label-width="100px"
style="width:100%"
prop="fpgzyq"
>
<el-input
type="textarea"
v-model="FPForm.fpgzyq"
style="width: 300px"
placeholder="请输入"
type="textarea"
v-model="FPForm.fpgzyq"
style="width: 300px"
placeholder="请输入"
maxlength="100"
show-word-limit
></el-input>
</el-form-item>
</el-col>
......@@ -203,20 +222,20 @@
<el-row>
<el-col :span="20" :offset="1">
<el-form-item
label="移交人警号"
style="width:100%"
label-width="100px"
label="移交人警号"
style="width:100%"
label-width="100px"
>
<el-select
v-model="YJForm.qsrjh"
placeholder="请选择"
style="width: 400px"
v-model="YJForm.qsrjh"
placeholder="请选择"
style="width: 400px"
>
<el-option
v-for="item in unitChilds"
:key="item.value"
:label="item.peopleName + '(' + item.peopleAccount + ')'"
:value="item.peopleAccount"
v-for="item in unitChilds"
:key="item.value"
:label="item.peopleName + '(' + item.peopleAccount + ')'"
:value="item.peopleAccount"
>
</el-option>
</el-select>
......@@ -232,12 +251,12 @@
<el-drawer size="80%" :with-header="false" :visible.sync="drawer">
<zczl
infoType="3"
v-if="drawer"
@post="post"
:zczlbh="zczlbh"
:fpbh="fpbh"
:sub="sub"
infoType="3"
v-if="drawer"
@post="post"
:zczlbh="zczlbh"
:fpbh="fpbh"
:sub="sub"
></zczl>
</el-drawer>
</div>
......@@ -255,6 +274,7 @@ import {
editHbInfo,
doEvaluate,
queryLlys,
doCS
} from "@/api/zczl/zczl.js";
import {
zlqszt,
......@@ -285,7 +305,7 @@ export default {
drawer: false,
rules: {
fpgzyq: [
{ required: true, message: "请输入活动名称", trigger: "blur" },
{required: true, message: "请输入活动名称", trigger: "blur"},
],
},
unitCode: [],
......@@ -344,6 +364,7 @@ export default {
type: "text",
value: "",
col: "3",
maxlength : 20
},
{
name: "指令类型",
......@@ -374,6 +395,7 @@ export default {
type: "text",
value: "",
col: "3",
maxLength : 10
},
// {
// name: "指令接收时间",
......@@ -750,7 +772,7 @@ export default {
{
id: "zczl",
label: "工作指令流转",
roles: ["C0601", "admin",'A0000'],
roles: ["C0601", "admin", 'A0000'],
index: "zczl",
className: "iconfont icongongnengfuwu",
hasChildren: true,
......@@ -759,7 +781,7 @@ export default {
id: "wfzdzczl",
label: "我负责的工作指令",
index: "wfzdzczl",
className: "iconfont iconrizhi",
disabled: false,
},
......@@ -767,7 +789,7 @@ export default {
id: "wfqdzczl",
label: "我发起的工作指令",
index: "wfqdzczl",
className: "iconfont icongongnengfuwu",
disabled: false,
},
......@@ -775,7 +797,7 @@ export default {
id: "xywspdzczl",
label: "需要我审批的工作指令",
index: "xywspdzczl",
className: "iconfont icongongnengfuwu",
disabled: false,
},
......@@ -783,7 +805,14 @@ export default {
id: "xywspdfkxx",
label: "需要我审批的反馈信息",
index: "xywspdfkxx",
className: "iconfont icongongnengfuwu",
disabled: false,
},
{
id: "csgwdzczl",
label: "抄送给我的工作指令",
index: "csgwdzczl",
className: "iconfont icongongnengfuwu",
disabled: false,
},
......@@ -791,7 +820,7 @@ export default {
id: "bxqjsdzczl",
label: "本辖区接收的工作指令",
index: "bxqjsdzczl",
className: "iconfont icongongnengfuwu",
disabled: false,
},
......@@ -799,7 +828,7 @@ export default {
id: "zczltj",
label: "工作指令工作评估",
index: "zczltj",
className: "iconfont icongongnengfuwu",
disabled: false,
},
......@@ -807,7 +836,7 @@ export default {
id: "dwtjtb",
label: "单位统计",
index: "dwtjtb",
className: "iconfont icongongnengfuwu",
disabled: false,
},
......@@ -816,7 +845,7 @@ export default {
{
id: "xxgl",
label: "信息管理",
roles: ["C0602", "admin",'A0000'],
roles: ["C0602", "admin", 'A0000'],
index: "xxgl",
className: "iconfont icongongnengfuwu",
hasChildren: true,
......@@ -825,14 +854,14 @@ export default {
id: "llycx",
label: "联络员管理",
index: "llycx",
roles: ["C060201", "admin",'A0000'],
roles: ["C060201", "admin", 'A0000'],
className: "iconfont iconrizhi",
disabled: false,
},
{
id: "llygl",
label: "联络员查询",
roles: ["C060202", "admin",'A0000'],
roles: ["C060202", "admin", 'A0000'],
index: "llygl",
className: "iconfont icongongnengfuwu",
disabled: false,
......@@ -841,7 +870,7 @@ export default {
id: "sqqxgl",
label: "审批权限管理",
index: "sqqxgl",
roles: ["C060203", "admin",'A0000'],
roles: ["C060203", "admin", 'A0000'],
className: "iconfont icongongnengfuwu",
disabled: false,
},
......@@ -871,6 +900,11 @@ export default {
fpbh: "",
qsrjh: "",
},
CSForm: {
zczlbh: "",
fpbh: "",
qsrjh: "",
},
sfxb: "",
};
},
......@@ -939,24 +973,25 @@ export default {
}
});
}
if (this.sub === "CS") {
let t = new FormData();
t.append("zczlbh", this.CSForm.zczlbh);
t.append("fpbh", this.CSForm.fpbh);
t.append("qsrjh", params);
doCS(t).then((res) => {
if (res.code == 200 && res.message == 'success') {
this.$message.success(res.message);
this.drawer = false;
this.CSForm.qsrjh = "";
this.$refs.rightContent.doQuery("yes");
} else {
this.$message.warning(res.message);
this.drawer = false;
this.CSForm.qsrjh = "";
}
});
}
if (this.sub === "FP") {
let self = this;
// queryLlys({unitcodes: params.qsrgajgdm.toString()}).then((res) => {
// if (res.success && res.code == 200) {
// if (res.data && res.data.flag == "0") {
// this.$message.error("该单位没有联络员,不能发布指令");
// } else {
// let dwdm = params.get("zljsdwdm").split(",");
// let resDwdm = res.data.flag.split(",");
// self.$set(self.formLabelAlign, "zljsdwdm", resDwdm);
// if (dwdm.length !== resDwdm.length) {
// this.$message.warning("已自动过滤没有联络员的单位");
// }
// params.set("zljsdwdm", res.data.flag);
// self.zczlSubmit(params);
// }
// }
// });
let t = new FormData();
t.append("zczlbh", this.FPForm.zczlbh);
t.append("fpbh", this.FPForm.fpbh);
......@@ -1061,7 +1096,6 @@ export default {
},
submitLKD() {
let params = new FormData();
console.log(this.fileArr);
for (let key in this.lkForm) {
params.append(key, this.lkForm[key]);
}
......@@ -1076,7 +1110,6 @@ export default {
this.$refs.rightContent.doQuery("yes");
}
});
console.log(this.fileArr, this.lkForm);
},
FenPai(scope) {
let rows = scope.row;
......@@ -1116,6 +1149,17 @@ export default {
this.zczlbh = zczlbh;
this.fpbh = fpbh;
},
zlcs(scope) {
this.sub = "CS";
this.drawer = true;
let rows = scope.row;
let zczlbh = rows.zczlbh;
let fpbh = rows.fpbh;
this.CSForm.zczlbh = zczlbh;
this.CSForm.fpbh = fpbh;
this.zczlbh = zczlbh;
this.fpbh = fpbh;
},
PJ(scope) {
this.sub = "PJ";
this.drawer = true;
......@@ -1210,7 +1254,7 @@ export default {
<style scoped lang="scss">
@import "@/assets/styles/rightContent.scss";
.el-input :v-deep .el-input__inner {
.el-input ::v-deep .el-input__inner {
width: 300px;
}
......
......@@ -88,17 +88,17 @@ export default {
codeOptions: [],
codeTree: "CODE_ZLLXDM",
},
{
name: "业务类型",
id: "ywlx",
type: "codeTreeDialog",
props: "checkEmpty",
value: "",
placeholder: "请选择",
col: "3",
codeOptions: [],
codeTree: "CODE_ZCZL_MODULE",
},
// {
// name: "业务类型",
// id: "ywlx",
// type: "codeTreeDialog",
// props: "checkEmpty",
// value: "",
// placeholder: "请选择",
// col: "3",
// codeOptions: [],
// codeTree: "CODE_ZCZL_MODULE",
// },
{
name: "个人工作是否完成",
id: "gzzlwcqk",
......@@ -143,23 +143,23 @@ export default {
},
{
label: "回报数",
label: "反馈数",
prop: "hbs",
},
{
label: "超期回报数",
label: "超期反馈数",
prop: "cqhbs",
},
{
label: "未回报数",
label: "未反馈数",
prop: "whb",
},
{
label: "超期未回报数",
label: "超期未反馈数",
prop: "cqwhb",
},
{
label: "回报率",
label: "反馈率",
prop: "hbl",
},
......@@ -191,7 +191,10 @@ export default {
label: "不合格率",
prop: "bhgl",
},
{
label: "平均反馈时间(天)",
prop: "pjfksj",
},
// {
// label: "发布时间",
// prop: "fbsj",
......
......@@ -1129,7 +1129,7 @@ export default {
//console.log(JSON.stringify(this.picDataList))
this.picDataLoading = false;
window.open(
"http://xzxt-zhyy.dsj.xz:9007/#/home?data=" +
"http://xzxt-zhyy.dsj.xz/gps/#/home?data=" +
JSON.stringify(this.picDataList),
"_blank"
);
......
......@@ -121,9 +121,9 @@ export default {
},
methods: {
goAjda(scope) {
debugger;
let path = `${this.$baseUrl.alyIP6}/queryAjdaxxs?asjbh=${scope}`;
window.open(path, "_blank");
let identitycard = JSON.parse(sessionStorage.getItem("userInfo")).identitycard;
let path = `${this.$baseUrl.alyIP6}/#/jump?path=/queryAjda&asjbh=${scope.asjbh}&zjhm=${identitycard}`;
window.open(path, "_blank");
},
doQuery() {
let self = this;
......
......@@ -19,7 +19,6 @@
<span class="hbyp" @click="detailDelte(scope.scope)">删除</span>
<span class="hbyp" @click="goKsh(scope.scope)">可视化</span>
<span class="hbyp" @click="goNt(scope.scope)">脑图</span>
<!-- <span class="hbyp" @click="goSk(scope.scope)">时空</span> -->
</template>
</right-content>
</div>
......
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