Commit b5aa7f56 by gao_yingdong

关联案件

parent 621745cb
...@@ -1242,6 +1242,7 @@ ...@@ -1242,6 +1242,7 @@
pageBs == 'queryXshbs' || pageBs == 'queryXshbs' ||
pageBs == 'queryRlqbxs' || pageBs == 'queryRlqbxs' ||
pageBs == 'queryXshb' || pageBs == 'queryXshb' ||
pageBs == 'xxtkgzfl' ||
pageBs == 'queryZdcyryxx' || pageBs == 'queryZdcyryxx' ||
pageBs == 'adjustZdxxgl') && pageBs == 'adjustZdxxgl') &&
(!scope.row.sfyqgaj || (!scope.row.sfyqgaj ||
...@@ -1257,6 +1258,7 @@ ...@@ -1257,6 +1258,7 @@
(pageBs == 'queryRlqbxs' || (pageBs == 'queryRlqbxs' ||
pageBs == 'queryXshbs' || pageBs == 'queryXshbs' ||
pageBs == 'queryXshb' || pageBs == 'queryXshb' ||
pageBs == 'xxtkgzfl' ||
pageBs == 'queryZdcyryxx' || pageBs == 'queryZdcyryxx' ||
pageBs == 'adjustZdxxgl') && pageBs == 'adjustZdxxgl') &&
(!scope.row.sfysaj || (!scope.row.sfysaj ||
...@@ -1273,6 +1275,7 @@ ...@@ -1273,6 +1275,7 @@
v-if=" v-if="
(pageBs == 'queryRlqbxs' || (pageBs == 'queryRlqbxs' ||
pageBs == 'queryXshbs' || pageBs == 'queryXshbs' ||
pageBs == 'xxtkgzfl' ||
pageBs == 'queryXshb' || pageBs == 'queryXshb' ||
pageBs == 'queryZdcyryxx' || pageBs == 'queryZdcyryxx' ||
pageBs == 'adjustZdxxgl') && pageBs == 'adjustZdxxgl') &&
...@@ -1288,6 +1291,7 @@ ...@@ -1288,6 +1291,7 @@
pageBs == 'queryXshbs' || pageBs == 'queryXshbs' ||
pageBs == 'queryXshb' || pageBs == 'queryXshb' ||
pageBs == 'queryZdcyryxx' || pageBs == 'queryZdcyryxx' ||
pageBs == 'xxtkgzfl' ||
pageBs == 'adjustZdxxgl') && pageBs == 'adjustZdxxgl') &&
scope.row.sfysaj == '是' scope.row.sfysaj == '是'
" "
......
...@@ -23,40 +23,23 @@ ...@@ -23,40 +23,23 @@
<span class="hbyp" @click="dele(scope.scope)">删除</span> <span class="hbyp" @click="dele(scope.scope)">删除</span>
<span class="hbyp" @click="sendBk(scope.scope)">发起布控</span> <span class="hbyp" @click="sendBk(scope.scope)">发起布控</span>
<span class="hbyp" @click="lowdaZl(scope.scope)">下达指令</span> <span class="hbyp" @click="lowdaZl(scope.scope)">下达指令</span>
<span class="hbyp" @click="djgzzkyxs(scope.scope)">登记工作中可疑线索</span> <span class="hbyp" @click="djgzzkyxs(scope.scope)"
>登记工作中可疑线索</span
>
<span class="hbyp" @click="toNt(scope.scope)">研判信息</span> <span class="hbyp" @click="toNt(scope.scope)">研判信息</span>
<!-- <span class="hbyp" @click="newlyLK(scope.scope)">列控信息</span> <!-- <span class="hbyp" @click="newlyLK(scope.scope)">列控信息</span>
<span class="hbyp" @click="revokeLK(scope.scope)">撤控信息</span> --> <span class="hbyp" @click="revokeLK(scope.scope)">撤控信息</span> -->
</template> </template>
</right-content> </right-content>
<el-dialog title="关联案件" :visible.sync="dialogS" width="55%"> <el-dialog title="关联案件" :visible.sync="dialogS" width="55%">
<right-content <table-xxtable
:pageBs="bshglajS.pageBs" :pageTable="pageTable"
:cxFormData="bshglajS.cxFormData" :qsxxzjbh="qsxxzjbh"
:cxQueryField="bshglajS.cxQueryField" ></table-xxtable>
:cxDefaultFormThead="bshglajS.cxDefaultFormThead"
:cxUrl="bshglajS.cxUrl"
@toInforDa="toInforDa"
ref="rightContentGl"
></right-content>
<span slot="footer" class="dialog-footer">
<el-button @click="dialogS = false">关闭</el-button>
</span>
</el-dialog> </el-dialog>
<el-dialog title="关联案件" :visible.sync="dialogG" width="55%"> <el-dialog title="关联案件" :visible.sync="dialogG" width="55%">
<right-content <table-xxtable :pageTable="pageTable" :qgxxzjbh="qgxxzjbh"></table-xxtable>
:pageBs="bshglajG.pageBs"
:cxFormData="bshglajG.cxFormData"
:cxQueryField="bshglajG.cxQueryField"
:cxDefaultFormThead="bshglajG.cxDefaultFormThead"
:cxUrl="bshglajG.cxUrl"
@toInforDa="toInforDa"
ref="rightContentGl"
></right-content>
<span slot="footer" class="dialog-footer">
<el-button @click="dialogG = false">关闭</el-button>
</span>
</el-dialog> </el-dialog>
<!-- 新增列控 --> <!-- 新增列控 -->
...@@ -153,12 +136,14 @@ import rightContent from "@c/ptCxForm_components.vue"; ...@@ -153,12 +136,14 @@ import rightContent from "@c/ptCxForm_components.vue";
import formCompontent from "@c/form.vue"; import formCompontent from "@c/form.vue";
import { deleteGzry, insertLkGzry, insertCkGzry } from "@/api/xxtk/gzry.js"; import { deleteGzry, insertLkGzry, insertCkGzry } from "@/api/xxtk/gzry.js";
import SelectTreeDialog from "@c/treeCode_components.vue"; import SelectTreeDialog from "@c/treeCode_components.vue";
import tableXxtable from "./xxTable.vue";
export default { export default {
name: "gzry", name: "gzry",
components: { components: {
rightContent, rightContent,
formCompontent, formCompontent,
SelectTreeDialog, SelectTreeDialog,
tableXxtable,
}, },
data() { data() {
return { return {
...@@ -206,7 +191,7 @@ export default { ...@@ -206,7 +191,7 @@ export default {
limit: 5, limit: 5,
rlqbxxzjbh: "", rlqbxxzjbh: "",
}, },
cxQueryField: [], cxQueryField: [],
cxDefaultFormThead: [ cxDefaultFormThead: [
{ {
label: "案事件编号", label: "案事件编号",
...@@ -238,6 +223,7 @@ export default { ...@@ -238,6 +223,7 @@ export default {
}, },
dialogS: false, dialogS: false,
dialogG: false, dialogG: false,
qsxxzjbh: "",
examineInfo: {}, examineInfo: {},
header: "刑嫌调控工作管理", //头部标题 (模块第一个页面需要) header: "刑嫌调控工作管理", //头部标题 (模块第一个页面需要)
pageBs: "xxtkgzfl", //页面名称 pageBs: "xxtkgzfl", //页面名称
...@@ -420,7 +406,7 @@ export default { ...@@ -420,7 +406,7 @@ export default {
}, },
{ {
label: "关联案件", label: "关联案件",
prop: "sfysaj", prop: "sfyaj",
isShowDialog: true, isShowDialog: true,
}, },
{ {
...@@ -658,7 +644,7 @@ export default { ...@@ -658,7 +644,7 @@ export default {
// className: "iconfont iconfangwen", // className: "iconfont iconfangwen",
// disabled: false, // disabled: false,
// }, // },
{ {
id: "queryXxtkZdry", id: "queryXxtkZdry",
label: "重点人员信息管理", label: "重点人员信息管理",
index: "queryXxtkZdry", index: "queryXxtkZdry",
...@@ -861,6 +847,8 @@ export default { ...@@ -861,6 +847,8 @@ export default {
}, },
], ],
formLabelAlignCK: {}, formLabelAlignCK: {},
pageTable: "",
qgxxzjbh: "",
}; };
}, },
created() { created() {
...@@ -938,7 +926,7 @@ export default { ...@@ -938,7 +926,7 @@ export default {
}); });
}, },
newlyLK(xzgzrybh) { newlyLK(xzgzrybh) {
debugger debugger;
for (let key in this.lkForm) { for (let key in this.lkForm) {
this.$set(this.lkForm, key, ""); this.$set(this.lkForm, key, "");
} }
...@@ -1026,6 +1014,9 @@ export default { ...@@ -1026,6 +1014,9 @@ export default {
showDialogS(data) { showDialogS(data) {
this.dialogS = true; this.dialogS = true;
console.log(data); console.log(data);
debugger
this.qsxxzjbh = data.row.zjhm;
this.pageTable = "qs";
this.bshglajS.cxFormData.rlqbxxzjbh = data.row.xxzjbh; this.bshglajS.cxFormData.rlqbxxzjbh = data.row.xxzjbh;
// this.bshglajS.cxUrl = data.cxUrl; // this.bshglajS.cxUrl = data.cxUrl;
// this.$refs.rightContentGl.doQuery("yes"); // this.$refs.rightContentGl.doQuery("yes");
...@@ -1033,6 +1024,9 @@ export default { ...@@ -1033,6 +1024,9 @@ export default {
showDialogG(data) { showDialogG(data) {
this.dialogG = true; this.dialogG = true;
console.log(data); console.log(data);
debugger;
this.qgxxzjbh = data.row.zjhm;
this.pageTable = "qg";
this.bshglajG.cxFormData.rlqbxxzjbh = data.row.xxzjbh; this.bshglajG.cxFormData.rlqbxxzjbh = data.row.xxzjbh;
// this.bshglajG.cxUrl = data.cxUrl; // this.bshglajG.cxUrl = data.cxUrl;
// this.$refs.rightContentGl.doQuery("yes"); // this.$refs.rightContentGl.doQuery("yes");
...@@ -1042,7 +1036,13 @@ export default { ...@@ -1042,7 +1036,13 @@ export default {
console.log(scope); console.log(scope);
this.$router.pushToTab({ this.$router.pushToTab({
path: "/adjustXsbks", path: "/adjustXsbks",
query: { glxxlx: '0004', xzgzrybh: scope.row.xzgzrybh, bkdxLxdm: '04', bkdx_hm: scope.row.zjhm, glxxXxzjbh: scope.row.xzgzrybh }, query: {
glxxlx: "0004",
xzgzrybh: scope.row.xzgzrybh,
bkdxLxdm: "04",
bkdx_hm: scope.row.zjhm,
glxxXxzjbh: scope.row.xzgzrybh,
},
}); });
}, },
// 下达指令 // 下达指令
...@@ -1050,15 +1050,25 @@ export default { ...@@ -1050,15 +1050,25 @@ export default {
console.log(scope); console.log(scope);
this.$router.pushToTab({ this.$router.pushToTab({
path: "/addsqfbzl", path: "/addsqfbzl",
query: { type: 'xdzl', glxxXxzjbh: scope.row.xzgzrybh, module: 'xxtk', xsType: 'ry' }, query: {
type: "xdzl",
glxxXxzjbh: scope.row.xzgzrybh,
module: "xxtk",
xsType: "ry",
},
}); });
}, },
//登记工作中可疑线索 //登记工作中可疑线索
djgzzkyxs(scope) { djgzzkyxs(scope) {
console.log(scope); console.log(scope);
this.$router.pushToTab({ this.$router.pushToTab({
path: "/addGzzkyxs", path: "/addGzzkyxs",
query: { type: 'xdzl', glxxXxzjbh: scope.row.xzgzrybh, module: 'xxtk', xsType: 'ry' }, query: {
type: "xdzl",
glxxXxzjbh: scope.row.xzgzrybh,
module: "xxtk",
xsType: "ry",
},
}); });
}, },
toNt(scope) { toNt(scope) {
......
<template>
<div>
<el-table
ref="itemDataTable"
:data="tableData"
tooltip-effect="dark"
max-height="600"
style="margin: 0 auto"
width="100%"
size="small"
v-loading="loadingShow"
>
<el-table-column
align="center"
v-for="(columnTitle, index) in 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="
display: inline-block;
width: 100%;
text-align: right;
color: #3692c6;
font-weight: 600;
"
id="open"
v-show="
scope.row[columnTitle.prop] != '' &&
scope.row[columnTitle.prop] != null
"
>展开</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="
scope.row[columnTitle.prop] != '' &&
scope.row[columnTitle.prop] != null
"
>收起</a
>
</div>
</div>
<div v-else>
{{ scope.row[columnTitle.prop] }}
</div>
</template>
</el-table-column>
</el-table>
<el-pagination
background
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
:current-page.sync="currentPage"
:page-size="pagesize"
:page-sizes="[5, 10, 50, 100]"
layout="sizes,prev, pager, next"
:total="tableDataSLength"
>
</el-pagination>
</div>
</template>
<script>
import qs from "qs";
import Http from "@/utils/http.js";
export default {
props: {
qgxxzjbh: String,
pageTable: String,
qsxxzjbh: String,
},
data() {
return {
tableData: [],
cxDefaultFormThead: [],
loadingShow: false,
tableDataSLength: 0,
pagesize: 5,
currentPage: 1,
qgList: [
{
label: "案事件编号",
prop: "asjbh",
},
{
label: "案件名称",
prop: "ajmc",
},
{
label: "案件类别",
prop: "ajlbdm",
},
{
label: "立案日期",
prop: "larq",
},
{
label: "立案单位",
prop: "ladwGajgmc",
},
{
label: "简要案情",
prop: "jyaq",
},
],
qsList: [
{
label: "案事件编号",
prop: "asjbh",
},
{
label: "案件名称",
prop: "ajmc",
},
{
label: "案件类别",
prop: "ajlbdm",
},
{
label: "立案日期",
prop: "larq",
},
{
label: "立案单位",
prop: "ladwGajgmc",
},
{
label: "简要案情",
prop: "jyaq",
},
],
pageTables: this.pageTable,
};
},
methods: {
handleCurrentChange(val) {
this.currentPage = val;
this.getAjxxByZjhmList();
},
handleSizeChange(val) {
this.pagesize = val;
this.getAjxxByZjhmList();
},
getAjxxByZjhmList() {
let self = this;
debugger;
if (self.pageTables == "qg") {
self.cxDefaultFormThead = self.qgList;
} else {
self.cxDefaultFormThead = self.qsList;
}
self.loadingShow = true;
let json = {
limit: self.pagesize,
page: self.currentPage,
sgbzxx: self.pageTables == "qg" ? "guo" : "sheng",
zjhm: self.pageTables == "qg" ? self.qgxxzjbh : self.qsxxzjbh,
};
self.doQueryRequest(json).then((res) => {
if (res.code == 200) {
self.tableData = [...res.data.rows];
self.tableDataSLength = res.data.total;
self.loadingShow = false;
}
});
},
doQueryRequest(form, relurl) {
/*post方法*/
let currentUrl = this.$baseUrl.alyIP + "/zdryxx/getAjxxByZjhm";
return Http({
url: currentUrl,
data: qs.stringify(form),
method: "post",
headers: {
"blade-auth": sessionStorage.getItem("token"),
},
});
},
},
created() {
this.getAjxxByZjhmList();
},
};
</script>
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