Commit 48429e69 by lp784568205

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

parents d99dae86 db157735
......@@ -27,3 +27,12 @@ export const selectTbStJcyjgk = params =>
//列控预警更新
export const updateTbStJcyjgk = params =>
postform(`${base.alyIP2}/jcyj/updateTbStJcyjgk`, params);
//人员涉及案件信息
export const getAsjListByZjhm = params =>
postform(`${base.alyIP2}/qgasj/getAsjListByZjhm`, params);
//标识号涉案信息
export const getDzAjByBsh = params =>
postform(`${base.alyIP2}/qgasj/getDzAjByBsh`, params);
//同案人员信息
export const getTaryByZjhm = params =>
postform(`${base.alyIP2}/qgasj/getTaryByZjhm`, params);
......@@ -11,22 +11,47 @@
@edit="edit"
@dele="dele"
@add="add"
@selectionChange="selectionChange"
ref="rightContent"
>
<template #listOperation="scope">
<el-button @click="ajaf(scope.scope)" size="mini" >案件案发</el-button>
<el-button @click="sary(scope.scope)" size="mini" >涉案人员</el-button>
<el-button @click="toRouter('/path')" size="mini" >高危群体</el-button>
<el-button @click="toRouter('/path')" size="mini" >涉案电话</el-button>
<el-button @click="toRouter('/path')" size="mini" >异常资金流动</el-button>
</template>
<template #btnGroup="scope">
<el-button @click="dele(scope.scope)" type="text" >删除</el-button>
<el-button @click="dele(scope.scope)" type="text" >案件案发</el-button>
<el-button @click="dele(scope.scope)" type="text" >高危群体</el-button>
<el-button @click="dele(scope.scope)" type="text" >案件案发</el-button>
</template>
</right-content>
<el-dialog :visible.sync="getAsjListByZjhShow" width="80%" center>
<el-table :data="getAsjListByZjhmList" style="width: 100%">
<el-table-column prop="asjbh" label="案件编号" width="300"></el-table-column>
<el-table-column prop="ajmc" label="案件名称"></el-table-column>
<el-table-column prop="ajlbdmStr" label="案件类别"></el-table-column>
<el-table-column prop="afsj" label="案发时间"></el-table-column>
<el-table-column prop="ladwGajgjgdmStr" label="立案单位"></el-table-column>
<el-table-column prop="jyaq" label="简要案情"></el-table-column>
</el-table>
</el-dialog>
<el-dialog :visible.sync="getTaryByZjhmShow" width="80%" center>
<el-table :data="getTaryByZjhmList" style="width: 100%">
<el-table-column prop="xm" label="姓名" width="300"></el-table-column>
<el-table-column prop="xbdmStr" label="性别"></el-table-column>
<el-table-column prop="gmsfzh" label="身份证号码"></el-table-column>
<el-table-column prop="csrq" label="出生日期"></el-table-column>
<el-table-column prop="hjdzXzqhdmStr" label="户籍地区划"></el-table-column>
<el-table-column prop="lxdh" label="联系电话"></el-table-column>
</el-table>
</el-dialog>
</div>
</template>
<script>
import rightContent from "@c/ptCxForm_components.vue";
import {deleteTbStJcyjgk} from "@/api/jcyjzxt/hmd.js";
import {deleteTbStJcyjgk,getAsjListByZjhm,getDzAjByBsh,getTaryByZjhm} from "@/api/jcyjzxt/hmd.js";
export default {
name: "rlqbxsxx",
......@@ -35,6 +60,8 @@
},
data() {
return {
selectedId:[],
SJLYLIST:[],
tableOperationWidth: 200,
header: "列控预警信息列表",
pageBs: "lkyj",
......@@ -112,12 +139,80 @@
disabled: false,
},
],
getAsjListByZjhShow:false,
getAsjListByZjhmList:[],
getTaryByZjhmShow:false,
getTaryByZjhmList:[],
};
},
created() {
this.$store.commit("user/SET_Menu", this.Menu);
},
methods: {
ajaf(){
if(!this.selectedId.length){
this.$message.warning('请选择')
return
}
if(this.selectedId.length>1){
this.$message.warning('只能单选')
return
}
let paramas = new FormData();
console.log(this.SJLYLIST);
if(this.SJLYLIST[0] ==='01' || this.SJLYLIST[0] ==='03') {
paramas.append('zjhm',this.selectedId[0]);
getAsjListByZjhm(paramas).then(res=>{
if(res.code ===200){
this.getAsjListByZjhmList = res.data.rows;
this.getAsjListByZjhShow = true
}else {
this.$message.warning(res.message)
}
})
}
else {
paramas.append('bshm',this.selectedId[0])
getDzAjByBsh(paramas).then(res=>{
if(res.code ===200){
this.getAsjListByZjhmList = res.data.rows;
this.getAsjListByZjhShow = true
}else {
this.$message.warning(res.message)
}
})
}
},
sary(){
if(!this.selectedId.length){
this.$message.warning('请选择');
return
}
if(this.selectedId.length>1){
this.$message.warning('只能单选');
return
}
let paramas = new FormData();
/*getTaryByZjhm */
paramas.append('zjhm',this.selectedId[0]);
getTaryByZjhm(paramas).then(res=>{
if(res.code ===200){
this.getTaryByZjhmShow =true;
this.getTaryByZjhmList = res.data.rows;
}
})
},
selectionChange(row){
if(row.length>1){
this.$message.warning('只能单选')
return
};
this.selectedId = [row[0].yjxx];
this.SJLYLIST = [row[0].sjly];
},
select(row) {
console.log(row);
},
add(){
this.$router.push({
path:'/lkyjAdd'
......@@ -129,6 +224,23 @@
query: {xxzjbh: scope.row.xxzjbh},
});
},
toRouter(path){
if(!this.selectedId.length){
this.$message.warning('请选择');
return
}
if(this.selectedId.length>1){
this.$message.warning('只能单选');
return
}
let params = this.selectedId[0];
this.$router.push({
path:path,
query:{
sfz:params
}
})
},
dele(scope) {
this.$confirm("此操作将永久删除该文件, 是否继续?", "提示", {
confirmButtonText: "确定",
......@@ -147,6 +259,9 @@
});
this.$refs.rightContent.doQuery("yes");
}
else {
this.$message.error(res.message)
}
});
})
.catch(() => {
......@@ -161,6 +276,7 @@
},
mounted() {
},
watch:{}
};
</script>
<style>
......
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