Commit 1d52c192 by yuhao

修改系列团伙线索

parent 9ab2ed16
......@@ -508,6 +508,9 @@ export default {
this.thbh = this.$route.query.thbh;
this.queryDbList();
this.queryFzxyrList();
if (this.$route.query.type == 2) {
this.title = "系列团伙案件线索";
}
// if (this.$route.query.glxxXxzjbh) {
// this.glxxXxzjbh = this.$route.query.glxxXxzjbh;
// }
......
......@@ -4,7 +4,7 @@
<right-content :cxQueryField="cxQueryField"
:pageObject="pageObject"
labelWidth="140px"
title="犯罪团伙详情">
:title="title">
</right-content>
<!-- 团伙关联个案信息 -->
<div style="
......@@ -280,6 +280,7 @@ export default {
},
data () {
return {
title: '犯罪团伙详情',
gridDataYpbgList: [],
tableLoadingYpbgList: false,
ypbgLists: [
......@@ -768,6 +769,9 @@ export default {
},
},
created () {
if (this.$route.query.type == 2) {
this.title = "系列团伙案件线索";
}
this.xxzjbh = this.$route.query.xxzjbh;
this.getCchshzztjbList();
this.getLaShseListShow();
......
<template>
<div>
<form-compontent
:pageBs="pageBs"
:formField="formField"
:formLabelAligns="formLabelAlign"
@submit="submit"
:propTitle="title"
@messageTq="messageTq(arguments)"
@queryDatas="queryDatas(arguments)"
@showDatas="showDatas(arguments)"
:propQuery="propQuery"
>
<form-compontent :pageBs="pageBs"
:formField="formField"
:formLabelAligns="formLabelAlign"
@submit="submit"
:propTitle="title"
@messageTq="messageTq(arguments)"
@queryDatas="queryDatas(arguments)"
@showDatas="showDatas(arguments)"
:propQuery="propQuery">
</form-compontent>
<el-dialog title="发送信息" :visible.sync="dialogVisiableM" width="43%">
<el-table
element-loading-text="拼命加载中"
ref="itemDataTable"
:data="propQuery"
tooltip-effect="dark"
max-height="600"
style="margin: 0 auto"
width="100%"
size="small"
>
<el-table-column
align="center"
v-for="(columnTitle, index) in messageGet.cxDefaultFormThead"
:key="index"
:label="columnTitle.label"
width="200"
:prop="columnTitle.prop"
>
<el-dialog title="发送信息"
:visible.sync="dialogVisiableM"
width="43%">
<el-table element-loading-text="拼命加载中"
ref="itemDataTable"
:data="propQuery"
tooltip-effect="dark"
max-height="600"
style="margin: 0 auto"
width="100%"
size="small">
<el-table-column align="center"
v-for="(columnTitle, index) in messageGet.cxDefaultFormThead"
:key="index"
:label="columnTitle.label"
width="200"
:prop="columnTitle.prop">
<template slot-scope="scope">
<div v-if="columnTitle.prop == 'jyaq'">
<div class="ajxq_s">
<span class="none" v-html="scope.row[columnTitle.prop]"></span
><a
href="javascript:void(0);"
onclick='javascript:this.parentNode.style.display="none";this.parentNode.nextSibling.style.display="block"'
style="
<span class="none"
v-html="scope.row[columnTitle.prop]"></span><a href="javascript:void(0);"
onclick='javascript:this.parentNode.style.display="none";this.parentNode.nextSibling.style.display="block"'
style="
display: inline-block;
width: 100%;
text-align: right;
color: #3692c6;
font-weight: 600;
"
id="open"
v-show="
id="open"
v-show="
scope.row[columnTitle.prop] != '' &&
scope.row[columnTitle.prop] != null
"
>展开</a
>
">展开</a>
</div>
<div class="ajxq_n" style="display: none">
<span
style="display: block"
v-html="scope.row[columnTitle.prop]"
></span
><a
href="javascript:void(0);"
onclick='javascript:this.parentNode.style.display="none";this.parentNode.previousSibling.style.display="block"'
style="float: right; color: #3692c6; font-weight: 600"
id="stop"
v-show="
<div class="ajxq_n"
style="display: none">
<span style="display: block"
v-html="scope.row[columnTitle.prop]"></span><a href="javascript:void(0);"
onclick='javascript:this.parentNode.style.display="none";this.parentNode.previousSibling.style.display="block"'
style="float: right; color: #3692c6; font-weight: 600"
id="stop"
v-show="
scope.row[columnTitle.prop] != '' &&
scope.row[columnTitle.prop] != null
"
>收起</a
>
">收起</a>
</div>
</div>
<div v-else>
......@@ -78,7 +66,8 @@
</template>
</el-table-column>
</el-table>
<span slot="footer" class="dialog-footer">
<span slot="footer"
class="dialog-footer">
<el-button @click="dialogVisiableM = false">关闭</el-button>
</span>
</el-dialog>
......@@ -95,7 +84,7 @@ export default {
components: {
formCompontent,
},
data() {
data () {
return {
title: "新增阵地线索信息",
pageBs: "adjustZdxsxx",
......@@ -126,6 +115,15 @@ export default {
col: "18",
},
{
name: "案件编号:",
id: "ajbh",
type: "text",
value: "",
placeholder: "请输入",
prop: "checkEmpty",
col: "2",
},
{
name: "线索类型:",
id: "zdxsrlqbxs",
type: "setValue",
......@@ -138,6 +136,10 @@ export default {
label: "人力情报线索",
value: "2",
},
{
label: "团队线索",
value: "3",
},
],
value: "",
placeholder: "请输入",
......@@ -225,7 +227,7 @@ export default {
};
},
methods: {
submit(params) {
submit (params) {
console.log(params);
let loading = this.$loading({
lock: true,
......@@ -233,13 +235,16 @@ export default {
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
if (this.$route.query.type == 2) {
params.append("xslx", '09');
}
if (!this.xxzjbh) {
this.addSubmit(params, loading);
} else {
this.editSubmit(params, loading);
}
},
getshuju() {
getshuju () {
var self = this;
let loading = this.$loading({
lock: true,
......@@ -247,9 +252,13 @@ export default {
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
getZdxsByxxzjbh({
let params = {
xxzjbh: this.xxzjbh,
}).then((res) => {
}
if (this.$route.query.type == 2) {
params.xslx = '09'
}
getZdxsByxxzjbh(params).then((res) => {
var result = res.data.rows;
self.formField.forEach((i, iIndex) => {
console.log(i);
......@@ -283,7 +292,7 @@ export default {
loading.close();
}, 1000);
},
addSubmit(params, loading) {
addSubmit (params, loading) {
params.append("tbXwZdxsxx.glzdxxzjbh", this.glzdxxzjbh);
// params.append("tbXwZdxsxx.zdxxzjbh", this.glzdxxzjbh);
insertZdxsxx(params).then((res) => {
......@@ -306,7 +315,7 @@ export default {
}
});
},
editSubmit(params, loading) {
editSubmit (params, loading) {
params.append("tbXwZdxsxx.xxzjbh", this.xxzjbh);
updateZdxsxx(params).then((res) => {
if (res.success && res.code == 200) {
......@@ -324,7 +333,7 @@ export default {
}
});
},
messageTq(item) {
messageTq (item) {
debugger;
let self = this;
getZdjyhdryTqByZjhm({
......@@ -365,7 +374,7 @@ export default {
}
});
},
queryDatas(item) {
queryDatas (item) {
console.log(item);
if (item[0] != "" && item[0] != undefined) {
var params = new FormData();
......@@ -381,19 +390,26 @@ export default {
return;
}
},
showDatas(item) {
showDatas (item) {
console.log(item);
this.dialogVisiableM = true;
},
},
created() {
created () {
if (this.$route.query.glzdxxzjbh) {
this.glzdxxzjbh = this.$route.query.glzdxxzjbh;
}
if (this.$route.query.xxzjbh) {
this.formField[0].data = this.formField[0].data.filter(item => item.id != 'ajbh')
this.xxzjbh = this.$route.query.xxzjbh;
this.title = "修改阵地线索信息";
if (this.$route.query.type == 2) {
this.title = "系列团伙案件线索";
}
this.getshuju();
} else if (this.$route.query.type == 2) {
this.title = "系列团伙案件线索";
}
},
};
......
......@@ -221,6 +221,47 @@
</right-content>
</div>
</el-card>
<!-- 系列团伙案件线索 -->
<el-card class="box-card"
style="width: 1150px; margin: -50px auto 70px"
v-if="!!this.xxzjbh && this.xxzjbh != ''">
<div slot="header"
class="clearfix">
<span>系列团伙案件线索</span>
<el-button style="float: right; padding: 3px 0"
type="text"
v-show="!showTh"
@click="showTh = true">展开</el-button>
<el-button style="float: right; padding: 3px 0"
type="text"
v-show="showTh"
@click="showTh = false">收起</el-button>
</div>
<div class="text item"
v-show="showTh">
<right-content :pageBs="pageBs"
:cxFormData="cxFormDataTh"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormTheadTh"
:cxUrl="cxUrlXS"
ref="rightContentXS"
@toInfor="toInforXS">
<template #listOperation="scope">
<span class="hbyps"
@click="addTh(scope.scope)">
<i class="el-icon-plus"></i>新增</span>
</template>
<template #btnGroup="scope">
<span class="hbyp"
@click="editTh(scope.scope)">修改</span>
<span class="hbyp"
@click="deleXS(scope.scope)">删除</span>
<span class="hbyp"
@click="TOHBXS(scope.scope)">线索核办</span>
</template>
</right-content>
</div>
</el-card>
<el-dialog title="关联案件"
:visible.sync="dialogA"
width="64%">
......@@ -646,6 +687,7 @@ export default {
showBK: false,
showXS: false,
showGW: false,
showTh: false,
pageBs: "adjustZdxxgl",
pageASs: "adjustZdxxgl",
cxFormDataCY: {
......@@ -678,6 +720,12 @@ export default {
page: 1,
glzdxxzjbh: this.xxzjbh,
},
cxFormDataTh: {
limit: 10,
page: 1,
glzdxxzjbh: this.xxzjbh,
zdxsrlqbxs: '3',
},
cxQueryField: [],
cxDefaultFormTheadCY: [
{
......@@ -877,6 +925,26 @@ export default {
width: "150px",
prop: "djsj",
},],
cxDefaultFormTheadTh: [
{
label: "阵地线索名称",
prop: "qbxsmc",
toInfor: true,
},
{
label: "情报线索内容",
prop: "qbxsnr",
},
{
label: "线索类型",
prop: "zdxsrlqbxs",
},
{
label: "关联案件",
prop: "sfyaj",
isShowDialog: true,
},
],
//tab标签页
activeName: "first",
......@@ -1278,6 +1346,15 @@ export default {
path: "/addGwqt",
});
},
addTh () {
this.$router.pushToTab({
path: "/adjustZdxsxx",
query: {
glzdxxzjbh: this.xxzjbh,
type: 2,
}
});
},
editXS (data) {
this.$router.pushToTab({
path: "/adjustZdxsxx",
......@@ -1286,6 +1363,15 @@ export default {
},
});
},
editTh (data) {
this.$router.pushToTab({
path: "/adjustZdxsxx",
query: {
xxzjbh: data.row.xxzjbh,
type: 2,
},
});
},
deleXS (scope) {
this.$confirm("此操作将永久删除该文件, 是否继续?", "提示", {
confirmButtonText: "确定",
......@@ -1332,6 +1418,15 @@ export default {
},
});
},
toInforTh (scope) {
this.$router.pushToTab({
path: "/zdxsxxDetail",
query: {
xxzjbh: scope.xxzjbh,
type: '2',
},
});
},
//标签方法
handleClick (tab, event) {
// console.log(tab, event);
......
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