Commit b5aa7f56 by gao_yingdong

关联案件

parent 621745cb
......@@ -1242,6 +1242,7 @@
pageBs == 'queryXshbs' ||
pageBs == 'queryRlqbxs' ||
pageBs == 'queryXshb' ||
pageBs == 'xxtkgzfl' ||
pageBs == 'queryZdcyryxx' ||
pageBs == 'adjustZdxxgl') &&
(!scope.row.sfyqgaj ||
......@@ -1257,6 +1258,7 @@
(pageBs == 'queryRlqbxs' ||
pageBs == 'queryXshbs' ||
pageBs == 'queryXshb' ||
pageBs == 'xxtkgzfl' ||
pageBs == 'queryZdcyryxx' ||
pageBs == 'adjustZdxxgl') &&
(!scope.row.sfysaj ||
......@@ -1273,6 +1275,7 @@
v-if="
(pageBs == 'queryRlqbxs' ||
pageBs == 'queryXshbs' ||
pageBs == 'xxtkgzfl' ||
pageBs == 'queryXshb' ||
pageBs == 'queryZdcyryxx' ||
pageBs == 'adjustZdxxgl') &&
......@@ -1288,6 +1291,7 @@
pageBs == 'queryXshbs' ||
pageBs == 'queryXshb' ||
pageBs == 'queryZdcyryxx' ||
pageBs == 'xxtkgzfl' ||
pageBs == 'adjustZdxxgl') &&
scope.row.sfysaj == '是'
"
......
......@@ -23,40 +23,23 @@
<span class="hbyp" @click="dele(scope.scope)">删除</span>
<span class="hbyp" @click="sendBk(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="newlyLK(scope.scope)">列控信息</span>
<span class="hbyp" @click="revokeLK(scope.scope)">撤控信息</span> -->
</template>
</right-content>
<el-dialog title="关联案件" :visible.sync="dialogS" width="55%">
<right-content
:pageBs="bshglajS.pageBs"
:cxFormData="bshglajS.cxFormData"
:cxQueryField="bshglajS.cxQueryField"
: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>
<table-xxtable
:pageTable="pageTable"
:qsxxzjbh="qsxxzjbh"
></table-xxtable>
</el-dialog>
<el-dialog title="关联案件" :visible.sync="dialogG" width="55%">
<right-content
: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>
<table-xxtable :pageTable="pageTable" :qgxxzjbh="qgxxzjbh"></table-xxtable>
</el-dialog>
<!-- 新增列控 -->
......@@ -153,12 +136,14 @@ import rightContent from "@c/ptCxForm_components.vue";
import formCompontent from "@c/form.vue";
import { deleteGzry, insertLkGzry, insertCkGzry } from "@/api/xxtk/gzry.js";
import SelectTreeDialog from "@c/treeCode_components.vue";
import tableXxtable from "./xxTable.vue";
export default {
name: "gzry",
components: {
rightContent,
formCompontent,
SelectTreeDialog,
tableXxtable,
},
data() {
return {
......@@ -238,6 +223,7 @@ export default {
},
dialogS: false,
dialogG: false,
qsxxzjbh: "",
examineInfo: {},
header: "刑嫌调控工作管理", //头部标题 (模块第一个页面需要)
pageBs: "xxtkgzfl", //页面名称
......@@ -420,7 +406,7 @@ export default {
},
{
label: "关联案件",
prop: "sfysaj",
prop: "sfyaj",
isShowDialog: true,
},
{
......@@ -861,6 +847,8 @@ export default {
},
],
formLabelAlignCK: {},
pageTable: "",
qgxxzjbh: "",
};
},
created() {
......@@ -938,7 +926,7 @@ export default {
});
},
newlyLK(xzgzrybh) {
debugger
debugger;
for (let key in this.lkForm) {
this.$set(this.lkForm, key, "");
}
......@@ -1026,6 +1014,9 @@ export default {
showDialogS(data) {
this.dialogS = true;
console.log(data);
debugger
this.qsxxzjbh = data.row.zjhm;
this.pageTable = "qs";
this.bshglajS.cxFormData.rlqbxxzjbh = data.row.xxzjbh;
// this.bshglajS.cxUrl = data.cxUrl;
// this.$refs.rightContentGl.doQuery("yes");
......@@ -1033,6 +1024,9 @@ export default {
showDialogG(data) {
this.dialogG = true;
console.log(data);
debugger;
this.qgxxzjbh = data.row.zjhm;
this.pageTable = "qg";
this.bshglajG.cxFormData.rlqbxxzjbh = data.row.xxzjbh;
// this.bshglajG.cxUrl = data.cxUrl;
// this.$refs.rightContentGl.doQuery("yes");
......@@ -1042,7 +1036,13 @@ export default {
console.log(scope);
this.$router.pushToTab({
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,7 +1050,12 @@ export default {
console.log(scope);
this.$router.pushToTab({
path: "/addsqfbzl",
query: { type: 'xdzl', glxxXxzjbh: scope.row.xzgzrybh, module: 'xxtk', xsType: 'ry' },
query: {
type: "xdzl",
glxxXxzjbh: scope.row.xzgzrybh,
module: "xxtk",
xsType: "ry",
},
});
},
//登记工作中可疑线索
......@@ -1058,7 +1063,12 @@ export default {
console.log(scope);
this.$router.pushToTab({
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) {
......
<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