Commit c9e593ea by xue_wengang

档案修改

parent aa693009
......@@ -9,8 +9,8 @@ let base = {
// ztptURL: "http://26.120.5.129:8006", //通辽
ztptURL: "http://26.3.13.120:8088",
codeUrl: "",
BaseURL: "/apiAjzbXzGaw", //基础查询页得ip
rzURL: "/apiXzxtXzGaw", //刑专二期得(日志)ip
BaseURL: "/apiAjzb", //基础查询页得ip
rzURL: "/apiAjzb", //刑专二期得(日志)ip
cadaURL:'/cadaURL',
// bigwfwurl: "",
// bigservicesurl: "",
......
......@@ -35,7 +35,7 @@
vertical-align: top;
}
.right{
display: inline-block;width:calc(100% - 300px);vertical-align: top;
display: inline-block;width:100% ;vertical-align: top;
.con-wrap{
background: #FFFFFF;
border: 1px solid #DCDCDC;
......
......@@ -700,6 +700,22 @@ export default [
title: "取证"
}
},
{
path: "dswtz",
name: "dswtz",
component: () => import("@/views/ryda/dswtz.vue"),
meta: {
title: "多生物特征"
}
},
{
path: "ypbg",
name: "ypbg",
component: () => import("@/views/ryda/ypbg.vue"),
meta: {
title: "研判报告"
}
},
]
},
{
......
......@@ -204,17 +204,17 @@ let jccxAjxxDefaultFormField = {
codeTree: 'CODE_AJXZ',
value: '',
col: '3'
},
{
name: '细案类别',
id: 'ajxlb',
type: 'codeTreeDialog', //字典弹框
props: [], //字典弹框需要的字段
codeOptions: [],
codeTree: 'CODE_AJXLB',
value: '',
col: '3'
},
},
{
name: '细案类别',
id: 'ajxlb',
type: 'codeTreeDialog', //字典弹框
props: [], //字典弹框需要的字段
codeOptions: [],
codeTree: 'CODE_AJXLB',
value: '',
col: '3'
},
{
name: '案件名称',
id: 'ajmc',
......@@ -738,17 +738,17 @@ let jccxAjxxFormField = {
codeTree: 'CODE_AJXZ',
value: '',
col: '3'
},
{
name: '细案类别',
id: 'ajxlb',
type: 'codeTreeDialog', //字典弹框
props: [], //字典弹框需要的字段
codeOptions: [],
codeTree: 'CODE_AJXLB',
value: '',
col: '3'
},
},
{
name: '细案类别',
id: 'ajxlb',
type: 'codeTreeDialog', //字典弹框
props: [], //字典弹框需要的字段
codeOptions: [],
codeTree: 'CODE_AJXLB',
value: '',
col: '3'
},
{
name: '案件名称',
id: 'ajmc',
......@@ -4268,17 +4268,17 @@ let dwcxAjxxDefaultFormField = {
codeTree: 'CODE_AJXZ',
value: '',
col: '3'
},
{
name: '细案类别',
id: 'ajxlb',
type: 'codeTreeDialog', //字典弹框
props: [], //字典弹框需要的字段
codeOptions: [],
codeTree: 'CODE_AJXLB',
value: '',
col: '3'
},
},
{
name: '细案类别',
id: 'ajxlb',
type: 'codeTreeDialog', //字典弹框
props: [], //字典弹框需要的字段
codeOptions: [],
codeTree: 'CODE_AJXLB',
value: '',
col: '3'
},
{
name: '案件性质',
id: 'zatzJyqk',
......@@ -5064,17 +5064,17 @@ let dwcxAjxxFormField = {
codeTree: 'CODE_AJXZ',
value: '',
col: '3'
},
{
name: '细案类别',
id: 'ajxlb',
type: 'codeTreeDialog', //字典弹框
props: [], //字典弹框需要的字段
codeOptions: [],
codeTree: 'CODE_AJXLB',
value: '',
col: '3'
},
},
{
name: '细案类别',
id: 'ajxlb',
type: 'codeTreeDialog', //字典弹框
props: [], //字典弹框需要的字段
codeOptions: [],
codeTree: 'CODE_AJXLB',
value: '',
col: '3'
},
{
name: '案件性质',
id: 'zatzJyqk',
......@@ -12255,36 +12255,48 @@ let rydaPropLeftMenu = [
index: '5',
className: ''
},
{
id: 'ryFwDwDz',
label: '房屋/单位/地址',
index: '6',
className: ''
},
// {
// id: 'ryFwDwDz',
// label: '房屋/单位/地址',
// index: '6',
// className: ''
// },
{
id: 'ryClCz',
label: '车辆/船只',
index: '7',
index: '6',
className: ''
},
{
id: 'ryDhZd',
label: '电话/终端',
index: '8',
index: '7',
className: ''
},
{
id: 'ryJstx',
label: '即时通讯',
index: '9',
index: '8',
className: ''
},
{
id: 'ryHlw',
label: '互联网',
index: '9',
className: ''
},
{
id: 'dswtz',
label: '多生物特征',
index: '10',
className: ''
}
},
{
id: 'ypbg',
label: '研判报告',
index: '11',
className: ''
},
/*{
id: "ryQz",
label: "取证",
......
<template>
<div class="Content">
<div class="nameContent">
<span class="spanOne">时间范围:</span>
<span
class="span"
@click="sjDjCx(item.id)"
v-for="(item, index) in sjfw"
:key="index"
>
{{ item.name }}
</span>
<el-date-picker
v-if="queryZdy"
v-model="value"
type="daterange"
align="right"
unlink-panels
range-separator="至"
start-placeholder="开始日期"
value-format="yyyy-MM-dd HH:mm:ss"
end-placeholder="结束日期"
>
</el-date-picker>
<div class="con">
<!-- <div class="left">
<div style="margin: 15px">
<el-input
size="small"
placeholder="输入关键词查找"
suffix-icon="el-icon-search"
v-model="filterText"
>
</el-input>
</div>
<div style="margin: 15px">
<el-tree
class="filter-tree"
:data="data"
:props="defaultProps"
default-expand-all
:filter-node-method="filterNode"
ref="tree"
>
<span class="custom-tree-node" slot-scope="{ node }">
<span>{{ node.label }}</span>
</span>
</el-tree>
</div>
</div> -->
<div class="right">
<!-- 警情 -->
<div style="margin-top: 39px">
<table-component
:DefaultAjFormThead="jqFormThead"
:propQueryData="jqQueryData"
:cxUrl="jqCxUrl"
:cxType="jqCxType"
:jbcjbxxThear="jqThear"
:page="pageJq"
ref="rightContent"
></table-component>
</div>
<!-- 案事件 -->
<div style="margin-top: 39px">
<table-component
:DefaultAjFormThead="carwzFormThead"
:propQueryData="carwzQueryData"
:cxUrl="carwzCxUrl"
:cxType="carwzCxType"
:jbcjbxxThear="jbcjbxxThear"
:page="page"
ref="rightContents"
></table-component>
</div>
</div>
</div>
</div>
</div>
</template>
<script>
import tableComponent from "@c/qxda_compontents.vue";
export default {
components: {
tableComponent,
},
data() {
return {
queryZdy: false,
value: "",
sjfw: [
{
name: "近一月",
id: "jyr",
},
{
name: "近三月",
id: "jsy",
},
{
name: "近半年",
id: "jbn",
},
{
name: "近一年",
id: "jyn",
},
{
name: "近三年",
id: "jsn",
},
{
name: "近五年",
id: "jwn",
},
{
name: "自定义",
id: "zdy",
},
],
data: [
{
id: 1,
label: "车辆轨迹",
num: "2",
children: [
{
id: 2,
label: "卡口通过车辆信息",
num: "1",
},
],
},
// {
// id: 2,
// label: "物品关系",
// num: "0",
// children: [
// {
// id: 5,
// label: "关联物品",
// num: "0",
// },
// ],
// },
],
filterText: "",
defaultProps: {
children: "children",
label: "label",
},
// 卡口
carwzFormThead: [
{
label: "案件名称",
width: "150",
prop: "ajmc",
},
{
label: "案事件编号",
width: "220",
prop: "asjbh",
},
{
label: "立案单位",
width: "220",
prop: "ladwGajgmc",
},
{
label: "案事件发生开始时间",
width: "220",
prop: "asjfssjAsjfskssj",
},
{
label: "侦查阶段",
width: "220",
prop: "zcjddmStr",
},
{
label: "案件类别",
width: "220",
prop: "ajlbdmStr",
},
{
label: "案事件发生地点",
prop: "asjfsddXzqhdmStr",
},
{
label: "损失价值",
width: "220",
prop: "ssjzrmby",
},
],
carwzQueryData: {
hphm: this.$route.query["cphm"],
kssj: "",
jssj: "",
zdsyn: "",
page: 1,
limit: 5,
},
carwzCxUrl: "/cldaApi/getAsjByHphm",
jbcjbxxThear: "案件信息",
carwzCxType: "thjl",
page: "asj",
// 警情
jqFormThead: [
{
label: "受理单位",
prop: "jjdwStr",
},
{
label: "警情编号",
prop: "jjdbh",
},
{
label: "报警时间",
prop: "bjsj",
},
{
label: "报警内容",
prop: "bjnr",
},
{
label: "警情类别",
prop: "bjlbdmStr",
},
{
label: "案件类别",
prop: "ajlbdmStr",
},
],
jqQueryData: {
hphm: this.$route.query["cphm"],
kssj: "",
jssj: "",
zdsyn: "",
page: 1,
limit: 5,
},
jqCxUrl: "/cldaApi/getJjxxByHphm",
jqThear: "警情信息",
jqCxType: "thjl",
pageJq: "jq",
};
},
created() {
console.log(this.value);
},
methods: {
// 时间范围
sjDjCx(item) {
if (item == "jyr") {
this.queryZdy = false;
this.carwzQueryData.zdsyn = "1";
this.jqQueryData.zdsyn = "1";
this.$refs.rightContents.doQuery("yes");
this.$refs.rightContent.doQuery("yes");
} else if (item == "jsy") {
this.carwzQueryData.zdsyn = "3";
this.jqQueryData.zdsyn = "3";
this.queryZdy = false;
this.$refs.rightContent.doQuery("yes");
this.$refs.rightContents.doQuery("yes");
} else if (item == "jbn") {
this.queryZdy = false;
this.carwzQueryData.zdsyn = "6";
this.jqQueryData.zdsyn = "6";
this.$refs.rightContent.doQuery("yes");
this.$refs.rightContents.doQuery("yes");
} else if (item == "jyn") {
this.carwzQueryData.zdsyn = "12";
this.jqQueryData.zdsyn = "12";
this.queryZdy = false;
this.$refs.rightContent.doQuery("yes");
this.$refs.rightContents.doQuery("yes");
} else if (item == "jsn") {
this.carwzQueryData.zdsyn = "36";
this.jqQueryData.zdsyn = "36";
this.queryZdy = false;
this.$refs.rightContent.doQuery("yes");
this.$refs.rightContents.doQuery("yes");
} else if (item == "jwn") {
this.carwzQueryData.zdsyn = "60";
this.jqQueryData.zdsyn = "60";
this.queryZdy = false;
this.$refs.rightContent.doQuery("yes");
this.$refs.rightContents.doQuery("yes");
} else if (item == "zdy") {
this.carwzQueryData.zdsyn = "";
this.jqQueryData.zdsyn = "";
this.queryZdy = true;
}
},
filterNode(value, data) {
if (!value) return true;
return data.label.indexOf(value) !== -1;
},
},
mounted() {},
watch: {
filterText(val) {
this.$refs.tree.filter(val);
},
value(val) {
// var aDate, oDate1, oDate2, iDays;
// aDate = val[0].split("-");
// oDate1 = new Date(aDate[1] + "," + aDate[2] + "," + aDate[0]);
// aDate = val[1].split("-");
// oDate2 = new Date(aDate[1] + "," + aDate[2] + "," + aDate[0]);
// iDays = parseInt(Math.abs(oDate1 - oDate2) / 1000 / 60 / 60 / 24);
// // return iDays;
// if (iDays < 31) {
this.carwzQueryData.kssj = val[0];
this.carwzQueryData.jssj = val[1];
this.$refs.rightContents.doQuery("yes");
this.jqQueryData.kssj = val[0];
this.jqQueryData.jssj = val[1];
this.$refs.rightContent.doQuery("yes");
// } else {
// this.$message.error("时间超过30天, 请重新选择时间!");
// }
},
},
};
</script>
<style lang="scss" scoped>
.Content {
margin: 0 20px;
background: #fff;
.nameContent {
padding: 10px 0 10px 20px;
.spanOne {
margin-right: 20px;
}
.span {
margin-right: 20px;
cursor: pointer;
border: 1px solid #0061f7;
width: 58px;
display: inline-block;
text-align: center;
color: #0061f7;
}
.con {
display: flex;
margin-top: 16px;
.left {
width: 280px;
background: #ffffff;
border: 1px solid #dcdcdc;
opacity: 1;
border-radius: 4px;
margin-right: 16px;
display: inline-block;
vertical-align: top;
}
.right {
width: 95%;
margin-left: 40px;
}
}
}
}
</style>
\ No newline at end of file
<template>
<div class="ryDj">
<div class="con">
<div class="right">
<div class="con-wrap">
<table-component
ref="zsRef"
:DefaultAjFormThead="sjhFormThead"
:propQueryData="sjhQueryData"
:cxUrl="sjhCxUrl"
:tableName="sjhTableName"
:zdygxPage="zdygxPage"
@addCenter="addCenter"
@eadit="eadit"
@deleteTp="deleteTp"
@details="details"
></table-component>
</div>
</div>
</div>
<el-dialog title="研判报告" :visible.sync="wpXXDialogShow" width="30%">
<div style="margin: 20px 40px">
<el-form
:model="ruleForm"
:rules="rules"
ref="ruleForm"
label-width="100px"
class="demo-ruleForm"
>
<el-form-item label="报告标题:" prop="ypbgbt">
<el-input v-model="ruleForm.ypbgbt"></el-input>
</el-form-item>
<el-form-item label="报告内容:">
<el-input type="textarea" v-model="ruleForm.ypbgnr"></el-input>
</el-form-item>
<el-form-item>
<el-button type="primary" @click="submitForm('ruleForm')"
>保存</el-button
>
</el-form-item>
</el-form>
</div>
</el-dialog>
<el-dialog
title="研判报告详情"
:visible.sync="wpXXDialogShowXq"
width="20%"
>
<div style="padding: 20px 40px">
<div
style="line-height: 31px"
v-for="(item, index) in xqList"
:key="index"
>
<span style="margin-right: 10px"> {{ item.name }}: </span>
<span style="color: #bab7b7">{{ xqObcjt[item.id] }}</span>
</div>
</div>
</el-dialog>
</div>
</template>
<script>
import tableComponent from "@c/qxda_compontents.vue";
import request from "@/utils/axiosHttp.js";
import url from "@/api/base";
export default {
components: {
tableComponent,
},
name: "ypbg",
data() {
return {
xqObcjt: {},
wpXXDialogShowXq: false,
xxzjbh: "",
xqList: [
{
name: "报告标题",
id: "ypbgbt",
},
{
name: "登记人",
id: "xxdjryXm",
},
{
name: "登记人电话",
id: "xxdjryLxdh",
},
{
name: "登记单位",
id: "xxdjdwGajgmc",
},
{
name: "登记时间",
id: "djsj",
},
{
name: "报告内容",
id: "ypbgnr",
},
],
ruleForm: {
ypbgbt: "",
ypbgnr: "",
ypbglx: "02",
glhm: sessionStorage.getItem("cphm"),
},
rules: {
ypbgbt: [
{ required: true, message: "请输入研判报告标题", trigger: "blur" },
],
},
wpXXDialogShow: false,
zdygxPage: "daypbg",
sjhFormThead: [
{
label: "研判报告标题",
prop: "ypbgbt",
},
{
label: "研判报告内容",
prop: "ypbgnr",
},
{
label: "登记人",
prop: "xxdjryXm",
},
{
label: "登记人电话",
prop: "xxdjryLxdh",
},
{
label: "登记单位",
prop: "xxdjdwGajgmc",
},
{
label: "登记时间",
prop: "djsj",
},
],
sjhQueryData: {
ypbglx: "02",
glhm: sessionStorage.getItem("cphm"),
page: 1,
limit: 5,
},
sjhCxUrl: "/daCommon/getYpbgList",
sjhTableName: "档案研判报告",
};
},
watch: {},
methods: {
// 报告保存
postSaveYpbg(form) {
return request({
url: url.rzURL + "/daCommon/saveYpbg",
data: JSON.parse(form),
method: "POST",
});
},
// 报告详情
postSgetYpbhByXxzjbh(form) {
return request({
url: url.rzURL + "/daCommon/getYpbhByXxzjbh",
data: JSON.parse(form),
method: "POST",
});
},
// 报告删除
postSdeleteYpbgByXxzjbh(form) {
return request({
url: url.rzURL + "/daCommon/deleteYpbgByXxzjbh",
data: JSON.parse(form),
method: "POST",
});
},
addCenter() {
this.wpXXDialogShow = true;
},
submitForm(formName) {
var self = this;
this.$refs[formName].validate((valid) => {
if (valid) {
if (self.xxzjbh) {
self.eaditSubmit();
} else {
self.addSubmit();
}
} else {
self.$message({
type: "warning",
message: "请填写必填项",
});
}
});
},
eaditSubmit() {
let self = this;
let json = {};
for (let i in self.ruleForm) {
json[i] = self.ruleForm[i];
}
json["xxzjbh"] = self.xxzjbh;
self.postSaveYpbg(JSON.stringify(json)).then((res) => {
if (res.success == true) {
self.$message({
type: "success",
message: "保存成功",
});
// this.$refs[self.formName].resetFields();
self.ruleForm.ypbgbt = "";
self.ruleForm.ypbgnr = "";
self.xxzjbh = "";
this.wpXXDialogShow = false;
this.$refs.zsRef.doQuery("yes");
} else {
self.$message({
type: "error",
message: "保存失败",
});
}
});
},
addSubmit() {
let self = this;
let json = {};
for (let i in self.ruleForm) {
json[i] = self.ruleForm[i];
}
self.postSaveYpbg(JSON.stringify(json)).then((res) => {
if (res.success == true) {
self.$message({
type: "success",
message: "保存成功",
});
// this.$refs[self.formName].resetFields();
self.ruleForm.ypbgbt = "";
self.ruleForm.ypbgnr = "";
this.wpXXDialogShow = false;
this.$refs.zsRef.doQuery("yes");
} else {
self.$message({
type: "error",
message: "保存失败",
});
}
});
},
// 修改
eadit(scope) {
this.xxzjbh = scope.row.xxzjbh;
let json = {};
json["xxzjbh"] = scope.row.xxzjbh;
this.postSgetYpbhByXxzjbh(JSON.stringify(json)).then((res) => {
if (res.success == true) {
this.ruleForm.ypbgbt = res.data.ypbh.ypbgbt;
this.ruleForm.ypbgnr = res.data.ypbh.ypbgnr;
this.wpXXDialogShow = true;
}
});
},
// 删除
deleteTp(scope) {
debugger;
let self = this;
let json = {};
json["xxzjbh"] = scope.row.xxzjbh;
this.$confirm("此操作将删除此报告, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
self.postSdeleteYpbgByXxzjbh(JSON.stringify(json)).then((res) => {
if (res.success === true) {
self.$message({
type: "success",
message: "删除成功",
});
self.$refs.zsRef.doQuery("yes");
} else {
self.$message({
type: "error",
message: "删除失败",
});
}
});
})
.catch(() => {
this.$message({
type: "info",
message: "已取消删除",
});
});
},
// 详情
details(scope) {
this.wpXXDialogShowXq = true;
let json = {};
json["xxzjbh"] = scope.row.xxzjbh;
this.postSgetYpbhByXxzjbh(JSON.stringify(json)).then((res) => {
if (res.success == true) {
this.xqObcjt = res.data.ypbh;
}
});
},
},
};
</script>
<style scoped lang="scss">
@import "@/assets/styles/ryfwdwdz.scss";
button.el-button.el-button--primary {
margin: 0 0 20px 0;
width: 114px;
}
</style>
<template>
<div class="ryDj">
<div class="con">
<div class="right">
<div class="con-wrap">
<table-component
ref="zsRef"
:DefaultAjFormThead="sjhFormThead"
:propQueryData="sjhQueryData"
:cxUrl="sjhCxUrl"
:tableName="sjhTableName"
:zdygxPage="zdygxPage"
@addCenter="addCenter"
@eadit="eadit"
@deleteTp="deleteTp"
@details="details"
></table-component>
</div>
</div>
</div>
<el-dialog title="研判报告" :visible.sync="wpXXDialogShow" width="30%">
<div style="margin: 20px 40px">
<el-form
:model="ruleForm"
:rules="rules"
ref="ruleForm"
label-width="100px"
class="demo-ruleForm"
>
<el-form-item label="报告标题:" prop="ypbgbt">
<el-input v-model="ruleForm.ypbgbt"></el-input>
</el-form-item>
<el-form-item label="报告内容:">
<el-input type="textarea" v-model="ruleForm.ypbgnr"></el-input>
</el-form-item>
<el-form-item>
<el-button type="primary" @click="submitForm('ruleForm')"
>保存</el-button
>
</el-form-item>
</el-form>
</div>
</el-dialog>
<el-dialog
title="研判报告详情"
:visible.sync="wpXXDialogShowXq"
width="20%"
>
<div style="padding: 20px 40px">
<div
style="line-height: 31px"
v-for="(item, index) in xqList"
:key="index"
>
<span style="margin-right: 10px"> {{ item.name }}: </span>
<span style="color: #bab7b7">{{ xqObcjt[item.id] }}</span>
</div>
</div>
</el-dialog>
</div>
</template>
<script>
import tableComponent from "@c/qxda_compontents.vue";
import request from "@/utils/axiosHttp.js";
import url from "@/api/base";
export default {
components: {
tableComponent,
},
name: "ypbg",
data() {
return {
xqObcjt: {},
wpXXDialogShowXq: false,
xxzjbh: "",
xqList: [
{
name: "报告标题",
id: "ypbgbt",
},
{
name: "登记人",
id: "xxdjryXm",
},
{
name: "登记人电话",
id: "xxdjryLxdh",
},
{
name: "登记单位",
id: "xxdjdwGajgmc",
},
{
name: "登记时间",
id: "djsj",
},
{
name: "报告内容",
id: "ypbgnr",
},
],
ruleForm: {
ypbgbt: "",
ypbgnr: "",
ypbglx: "03",
glhm: sessionStorage.getItem("cphm"),
},
rules: {
ypbgbt: [
{ required: true, message: "请输入研判报告标题", trigger: "blur" },
],
},
wpXXDialogShow: false,
zdygxPage: "daypbg",
sjhFormThead: [
{
label: "研判报告标题",
prop: "ypbgbt",
},
{
label: "研判报告内容",
prop: "ypbgnr",
},
{
label: "登记人",
prop: "xxdjryXm",
},
{
label: "登记人电话",
prop: "xxdjryLxdh",
},
{
label: "登记单位",
prop: "xxdjdwGajgmc",
},
{
label: "登记时间",
prop: "djsj",
},
],
sjhQueryData: {
ypbglx: "03",
glhm: sessionStorage.getItem("cphm"),
page: 1,
limit: 5,
},
sjhCxUrl: "/daCommon/getYpbgList",
sjhTableName: "档案研判报告",
};
},
watch: {},
methods: {
// 报告保存
postSaveYpbg(form) {
return request({
url: url.rzURL + "/daCommon/saveYpbg",
data: JSON.parse(form),
method: "POST",
});
},
// 报告详情
postSgetYpbhByXxzjbh(form) {
return request({
url: url.rzURL + "/daCommon/getYpbhByXxzjbh",
data: JSON.parse(form),
method: "POST",
});
},
// 报告删除
postSdeleteYpbgByXxzjbh(form) {
return request({
url: url.rzURL + "/daCommon/deleteYpbgByXxzjbh",
data: JSON.parse(form),
method: "POST",
});
},
addCenter() {
this.wpXXDialogShow = true;
},
submitForm(formName) {
var self = this;
this.$refs[formName].validate((valid) => {
if (valid) {
if (self.xxzjbh) {
self.eaditSubmit();
} else {
self.addSubmit();
}
} else {
self.$message({
type: "warning",
message: "请填写必填项",
});
}
});
},
eaditSubmit() {
let self = this;
let json = {};
for (let i in self.ruleForm) {
json[i] = self.ruleForm[i];
}
json["xxzjbh"] = self.xxzjbh;
self.postSaveYpbg(JSON.stringify(json)).then((res) => {
if (res.success == true) {
self.$message({
type: "success",
message: "保存成功",
});
// this.$refs[self.formName].resetFields();
self.ruleForm.ypbgbt = "";
self.ruleForm.ypbgnr = "";
self.xxzjbh = "";
this.wpXXDialogShow = false;
this.$refs.zsRef.doQuery("yes");
} else {
self.$message({
type: "error",
message: "保存失败",
});
}
});
},
addSubmit() {
let self = this;
let json = {};
for (let i in self.ruleForm) {
json[i] = self.ruleForm[i];
}
self.postSaveYpbg(JSON.stringify(json)).then((res) => {
if (res.success == true) {
self.$message({
type: "success",
message: "保存成功",
});
// this.$refs[self.formName].resetFields();
self.ruleForm.ypbgbt = "";
self.ruleForm.ypbgnr = "";
this.wpXXDialogShow = false;
this.$refs.zsRef.doQuery("yes");
} else {
self.$message({
type: "error",
message: "保存失败",
});
}
});
},
// 修改
eadit(scope) {
this.xxzjbh = scope.row.xxzjbh;
let json = {};
json["xxzjbh"] = scope.row.xxzjbh;
this.postSgetYpbhByXxzjbh(JSON.stringify(json)).then((res) => {
if (res.success == true) {
this.ruleForm.ypbgbt = res.data.ypbh.ypbgbt;
this.ruleForm.ypbgnr = res.data.ypbh.ypbgnr;
this.wpXXDialogShow = true;
}
});
},
// 删除
deleteTp(scope) {
debugger;
let self = this;
let json = {};
json["xxzjbh"] = scope.row.xxzjbh;
this.$confirm("此操作将删除此报告, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
self.postSdeleteYpbgByXxzjbh(JSON.stringify(json)).then((res) => {
if (res.success === true) {
self.$message({
type: "success",
message: "删除成功",
});
self.$refs.zsRef.doQuery("yes");
} else {
self.$message({
type: "error",
message: "删除失败",
});
}
});
})
.catch(() => {
this.$message({
type: "info",
message: "已取消删除",
});
});
},
// 详情
details(scope) {
this.wpXXDialogShowXq = true;
let json = {};
json["xxzjbh"] = scope.row.xxzjbh;
this.postSgetYpbhByXxzjbh(JSON.stringify(json)).then((res) => {
if (res.success == true) {
this.xqObcjt = res.data.ypbh;
}
});
},
},
};
</script>
<style scoped lang="scss">
@import "@/assets/styles/ryfwdwdz.scss";
button.el-button.el-button--primary {
margin: 0 0 20px 0;
width: 114px;
}
</style>
......@@ -18,8 +18,7 @@
</div>
</div> -->
<div class="con">
<div class="left">
<!--<img src="@/assets/img/dj/left.svg" style="margin:20px;"/>-->
<!-- <div class="left">
<div style="margin: 15px">
<el-input
size="small"
......@@ -43,7 +42,7 @@
</span>
</el-tree>
</div>
</div>
</div> -->
<div class="right">
<div class="con-wrap">
<table-component
......@@ -53,6 +52,15 @@
:tableName="asjTableName"
></table-component>
</div>
<!-- 涉及省外案件 -->
<div class="con-wrap">
<table-component
:DefaultAjFormThead="qgjFormThead"
:propQueryData="qgjQueryData"
:cxUrl="qgjCxUrl"
:tableName="qgjTableName"
></table-component>
</div>
<div class="con-wrap">
<div class="name">警情信息 ({{ jqxxTableData.length }}</div>
<el-table
......@@ -62,18 +70,12 @@
style="width: 100%"
>
<el-table-column type="selection" width="80"> </el-table-column>
<el-table-column prop="xm" label="涉案角色" width="120">
</el-table-column>
<el-table-column prop="cym" label="警情编号" width="220">
</el-table-column>
<el-table-column prop="zjlx" label="接警时间" width="200">
</el-table-column>
<el-table-column prop="zjhm" label="受理单位" width="200">
</el-table-column>
<el-table-column prop="lxdh" label="警情类别" width="220">
</el-table-column>
<el-table-column prop="xb" label="警情信息" width="200">
</el-table-column>
<el-table-column prop="xm" label="涉案角色"> </el-table-column>
<el-table-column prop="cym" label="警情编号"> </el-table-column>
<el-table-column prop="zjlx" label="接警时间"> </el-table-column>
<el-table-column prop="zjhm" label="受理单位"> </el-table-column>
<el-table-column prop="lxdh" label="警情类别"> </el-table-column>
<el-table-column prop="xb" label="警情信息"> </el-table-column>
<el-table-column label="详情" width="120">
<template
><i
......@@ -122,11 +124,16 @@ export default {
data: [
{
id: 1,
label: "涉及案件",
label: "涉及省内案件",
num: "0",
},
{
id: 2,
label: "涉及省外案件",
num: "0",
},
{
id: 3,
label: "警情信息",
num: "0",
},
......@@ -239,39 +246,68 @@ export default {
{
label: "姓名",
prop: "zhfzxyrXm",
width: "220",
},
{
label: "犯罪嫌疑人证件号",
prop: "zhfzxyrCyzjZjhm",
width: "200",
label: "案件编号",
prop: "asjbh",
},
{
label: "案件名称",
prop: "ajmc",
},
{
label: "案件类别",
prop: "ajlbdmStr",
},
{
label: "立案单位",
prop: "ladwGajgmc",
},
{
label: "简要案情",
prop: "jyaq",
},
],
qgjFormThead: [
{
label: "姓名",
prop: "zhfzxyrXm",
},
{
label: "案件编号",
prop: "asjbh",
width: "220",
},
{
label: "案件名称",
prop: "ajmc",
width: "120",
},
{
label: "案件类别",
prop: "ajlbdmStr",
width: "140",
},
{
label: "立案单位",
prop: "ladwGajgmc",
},
{
label: "简要案情",
prop: "jyaq",
width: "140",
},
],
asjQueryData: {
objectValue: sessionStorage.getItem("zjhm"),
page: 1,
limit: 5,
},
qgjQueryData: {
objectValue: sessionStorage.getItem("zjhm"),
page: 1,
limit: 5,
},
asjCxUrl: "/daapi/getAjxx",
asjTableName: "涉及案件"
asjCxUrl: "/newRyda/getQsSaxx",
qgjCxUrl: "/newRyda/getQgSaxx",
asjTableName: "涉及省内案件",
qgjTableName: "涉及省外案件",
};
},
watch: {
......
......@@ -18,8 +18,7 @@
</div>
</div> -->
<div class="con">
<div class="left">
<!--<img src="@/assets/img/dj/left.svg" style="margin:20px;"/>-->
<!-- <div class="left">
<div style="margin: 15px">
<el-input
size="small"
......@@ -43,7 +42,7 @@
</span>
</el-tree>
</div>
</div>
</div> -->
<div class="right">
<div class="con-wrap">
<table-component
......@@ -51,37 +50,9 @@
:propQueryData="mycarQueryData"
:cxUrl="mycarCxUrl"
:tableName="mycarTableName"
:page_size="page_size"
></table-component>
</div>
<div class="con-wrap">
<div class="name">其他关联车辆 ({{ tableData2.length }}</div>
<el-table
ref="multipleTable"
:data="tableData2"
tooltip-effect="dark"
style="width: 100%"
>
<el-table-column type="selection" width="80"> </el-table-column>
<el-table-column prop="xm" label="车辆信息" width="380">
</el-table-column>
<el-table-column prop="cym" label="首次关联时间" width="320">
</el-table-column>
<el-table-column prop="zjlx" label="最后关联时间" width="320">
</el-table-column>
<el-table-column label="详情" width="220">
<template
><i
class="el-icon-document"
style="
color: rgb(64, 158, 255);
font-size: 18px;
cursor: pointer;
"
></i
></template>
</el-table-column>
</el-table>
</div>
</div>
</div>
</div>
......@@ -233,60 +204,33 @@ export default {
mycarFormThead: [
{
label: "车主姓名",
prop: "jdcsyr",
width: "220",
prop: "nm",
},
{
label: "车主身份证号",
prop: "sfzh",
width: "200",
},
{
label: "住址详址",
prop: "zzdzxz",
width: "220",
},
{
label: "出厂登记日期",
prop: "ccdjrq",
width: "120",
},
{
label: "出厂日期",
prop: "ccrq",
width: "140",
},
{
label: "车辆型号",
prop: "clxh",
width: "140",
},
{
label: "车辆类型",
prop: "cllx",
width: "220",
prop: "ceco",
},
{
label: "车辆品牌",
prop: "clpp1",
width: "120",
label: "号牌号码",
prop: "veco",
},
{
label: "车身颜色",
prop: "csys",
width: "140",
label: "首次关联时间",
prop: "fitm",
},
{
label: "车辆型号",
prop: "clxh",
width: "140",
label: "最新关联时间",
prop: "fitm",
},
],
mycarQueryData: {
objectValue: sessionStorage.getItem("zjhm"),
limit: 10,
page: 1,
},
mycarCxUrl: "/daapi/getClxx",
mycarTableName: "本人和家属车辆",
page_size: 10,
};
},
watch: {
......
<template>
<div class="ryDj">
<!-- <div class="top">
<div class="ryDj">
<!-- <div class="top">
<div class="lf">
<span>时间:</span>
<div class="inl">
......@@ -17,9 +17,8 @@
</div>
</div>
</div> -->
<div class="con">
<div class="left">
<!--<img src="@/assets/img/dj/left.svg" style="margin:20px;"/>-->
<div class="con">
<!-- <div class="left">
<div style="margin:15px;">
<el-input
size="small"
......@@ -42,118 +41,82 @@
</el-tree>
</div>
</div>
<div class="right">
<div class="con-wrap">
<table-component
</div> -->
<div class="right">
<div class="con-wrap">
<table-component
ref="zsRef"
:DefaultAjFormThead="sjhFormThead"
:propQueryData="sjhQueryData"
:cxUrl="sjhCxUrl"
:tableName="sjhTableName"
:page_size="page_size"
></table-component>
</div>
<div class="con-wrap">
<table-component
ref="zsRef"
:DefaultAjFormThead="hdFormThead"
:propQueryData="hdQueryData"
:cxUrl="hdCxUrl"
:tableName="hdTableName"
></table-component>
</div>
<div class="con-wrap">
<div class="name">关联终端 ({{glzdTableData.length}}</div>
<el-table
ref="multipleTable"
:data="glzdTableData"
tooltip-effect="dark"
style="width: 100%"
>
<el-table-column
type="selection"
width="80">
</el-table-column>
<el-table-column
prop="xm"
label="类型"
width="140">
</el-table-column>
<el-table-column
prop="cym"
label="品牌"
width="180">
</el-table-column>
<el-table-column
prop="zjlx"
label="IMEI" width="200">
</el-table-column>
<el-table-column
prop="zjhm"
label="MAC" width="260">
</el-table-column>
<el-table-column
prop="lxdh"
label="更新时间" width="160">
</el-table-column>
<el-table-column
prop="xb"
label="关联虚拟账号" width="160">
</el-table-column>
<el-table-column
label="详情" width="120">
<template><i class="el-icon-document" style="color:rgb(64, 158, 255);font-size:18px;cursor: pointer;"></i></template>
</el-table-column>
</el-table>
</div>
</div>
</div>
</div>
</div>
</div>
</template>
<script>
import tableComponent from "@c/qxda_compontents.vue";
export default {
components: {
export default {
components: {
tableComponent,
},
name: "ryDj",
data(){
return{
allChecked:'',
glzdTableData:[],
tableData:[
{xm:'周玉华',cym:'曾用名',zjlx:'居民身份证',zjhm:'1204710570170171',lxdh:'12047105702',xb:'男',xl:'本科',mz:'汉',csrq:'1992-12-21'}
],
date:'不限',
filterText:'',
data: [{
id: 1,
label: '手机',
num:'4',
children: [{
id: 4,
label: '手机号',
num:'1',
},{id: 111,
label: '话单信息',
num:'3',
}]
}, {
id: 2,
label: '终端',
num:'0',
children: [{
id: 5,
label: '关联终端',
num:'0',
}]
}],
defaultProps: {
children: 'children',
label: 'label'
},
pickerOptions: {
name: "ryDj",
data() {
return {
page_size: 10,
allChecked: "",
glzdTableData: [],
tableData: [
{
xm: "周玉华",
cym: "曾用名",
zjlx: "居民身份证",
zjhm: "1204710570170171",
lxdh: "12047105702",
xb: "男",
xl: "本科",
mz: "汉",
csrq: "1992-12-21",
},
],
date: "不限",
filterText: "",
data: [
{
id: 1,
label: "手机",
num: "4",
children: [
{
id: 4,
label: "手机号",
num: "1",
},
{ id: 111, label: "话单信息", num: "3" },
],
},
{
id: 2,
label: "终端",
num: "0",
children: [
{
id: 5,
label: "关联终端",
num: "0",
},
],
},
],
defaultProps: {
children: "children",
label: "label",
},
pickerOptions: {
shortcuts: [
{
text: "最近一个月",
......@@ -256,73 +219,75 @@ import tableComponent from "@c/qxda_compontents.vue";
sjhFormThead: [
{
label: "姓名",
prop: "xm",
width: "220",
prop: "nm",
},
{
label: "证件号码",
prop: "zjhm",
width: "200",
prop: "cecoS",
},
{
label: "手机号码",
prop: "msis",
},
{
label: "imsi",
prop: "imsi",
},
{
label: "标识号信息",
prop: "bshxx",
width: "220",
label: "首次关联时间",
prop: "fitm",
},
{
label: "标识号中文描述",
prop: "bshlxZwms",
width: "120",
}
label: "最新关联时间",
prop: "latm",
},
],
sjhQueryData: {
objectValue: sessionStorage.getItem("zjhm"),
page: 1,
limit: 10,
},
sjhCxUrl: "/daapi/getSjxx",
sjhTableName: "手机号",
hdFormThead: [
hdFormThead: [
{
label: "用户手机号",
prop: "yhsjhm",
width: "220",
},
{
label: "对方手机号",
prop: "dfsjhm",
width: "120",
},
{
label: "呼叫时间",
prop: "hjsj",
width: "220",
},
{
label: "通话时长",
prop: "thsc",
width: "120",
}
},
],
hdQueryData: {
objectValue: sessionStorage.getItem("zjhm"),
},
hdCxUrl: "/daapi/getSjHdxx",
hdTableName: "话单信息",
}
},
watch: {
filterText(val) {
this.$refs.tree.filter(val);
}
},
methods:{
filterNode(value, data) {
if (!value) return true;
return data.label.indexOf(value) !== -1;
}
}
}
};
},
watch: {
filterText(val) {
this.$refs.tree.filter(val);
},
},
methods: {
filterNode(value, data) {
if (!value) return true;
return data.label.indexOf(value) !== -1;
},
},
};
</script>
<style scoped lang="scss">
@import "../../assets/styles/ryfwdwdz.scss";
@import "../../assets/styles/ryfwdwdz.scss";
</style>
<template>
<div class="ryDj">
<div class="top">
<div class="lf">
<!-- <div class="lf">
<span>时间:</span>
<div class="inl">
<el-date-picker
......@@ -15,11 +15,10 @@
>
</el-date-picker>
</div>
</div>
</div> -->
</div>
<div class="con">
<div class="left">
<!--<img src="@/assets/img/dj/left.svg" style="margin:20px;"/>-->
<!-- <div class="left">
<div style="margin: 15px">
<el-input
size="small"
......@@ -40,11 +39,10 @@
>
<span class="custom-tree-node" slot-scope="{ node }">
<span @click="toTable(node)">{{ node.label }}</span>
<!-- <span style="color: #409eff">{{ data.num }}</span> -->
</span>
</el-tree>
</div>
</div>
</div> -->
<div class="right">
<div class="con-wrap" id="rk">
<table-component
......@@ -74,43 +72,13 @@
></table-component>
</div>
<div class="con-wrap" id="zf">
<div class="name">租房登记 ({{ zfdjTableData.length }}</div>
<el-table
ref="multipleTable"
:data="zfdjTableData"
tooltip-effect="dark"
style="width: 100%"
>
<el-table-column type="selection" width="80"> </el-table-column>
<el-table-column prop="xm" label="姓名" width="120">
</el-table-column>
<el-table-column prop="zjlx" label="证件种类" width="120">
</el-table-column>
<el-table-column prop="zjhm" label="证件号码" width="200">
</el-table-column>
<el-table-column prop="zkdh" label="租客电话" width="120">
</el-table-column>
<el-table-column prop="xb" label="性别" width="100">
</el-table-column>
<el-table-column prop="xl" label="学历" width="100">
</el-table-column>
<el-table-column prop="hjd" label="户籍地" width="200">
</el-table-column>
<el-table-column prop="jzdz" label="居住地址" width="200">
</el-table-column>
<el-table-column label="详情" width="100">
<template
><i
class="el-icon-document"
style="
color: rgb(64, 158, 255);
font-size: 18px;
cursor: pointer;
"
></i
></template>
</el-table-column>
</el-table>
<table-component
:DefaultAjFormThead="zfdjFormThead"
:propQueryData="zfdjQueryData"
:cxUrl="zfdjCxUrl"
:tableName="zfdjTableName"
:cxSj="cxSj"
></table-component>
</div>
</div>
</div>
......@@ -132,37 +100,30 @@ export default {
{
label: "姓名",
prop: "xm",
width: "220",
},
{
label: "证件号码",
prop: "zjhm",
width: "200",
},
{
label: "入住时间",
prop: "rzsj",
width: "220",
},
{
label: "退房时间",
prop: "tfsj",
width: "120",
},
{
label: "房间号",
prop: "fjh",
width: "140",
},
{
label: "旅店名称",
prop: "ldmc",
width: "140",
},
{
label: "旅店详址",
prop: "lddz",
width: "200",
},
],
zsQueryData: {
......@@ -174,29 +135,30 @@ export default {
zsTableName: "住宿登记",
zhrkFormThead: [
{
label: "姓名",
prop: "xm",
width: "220",
},
{
label: "证件号码",
prop: "zjhm",
width: "200",
width: 230,
},
{
label: "性别",
prop: "xbdm",
width: "220",
prop: "xb",
width: 50,
},
{
label: "民族",
prop: "mzdm",
width: "120",
label: "户籍地行政区划",
prop: "hjdqh",
},
{
label: "现住址",
prop: "xzzDzmc",
width: "140",
label: "户籍地详址",
prop: "hjdxz",
},
{
label: "现住址详址",
prop: "xzzxz",
},
{
label: "暂住地详址",
prop: "zzdxz",
},
],
zhrkQueryData: {
......@@ -211,32 +173,26 @@ export default {
{
label: "姓名",
prop: "xm",
width: "220",
},
{
label: "证件号码",
prop: "zjhm",
width: "200",
},
{
label: "上机时间",
prop: "sjsj",
width: "220",
},
{
label: "下机时间",
prop: "xjsj",
width: "120",
},
{
label: "详细地址",
prop: "wbdz",
width: "140",
},
{
label: "网吧名称",
prop: "wbmc",
width: "140",
},
],
wbQueryData: {
......@@ -293,18 +249,7 @@ export default {
wbdz: "内蒙古自治区呼和浩特市新城区爱民街274号附件",
},
],
zfdjTableData: [
{
xm: "周玉华",
zjlx: "居民身份证",
zjhm: "480524197312225277",
zkdh: "17625277131",
xb: "男",
xl: "初中",
hjd: "湖南省唯回县横板标镇礼4村11组20E",
jzdz: "内蒙古自治区呼和浩特市新城区坤和爱尚街",
},
],
zfdjTableData: [],
tableData: [
{
xm: "周玉华",
......@@ -460,6 +405,52 @@ export default {
},
],
},
//租房信息
zfdjFormThead: [
{
label: "房东姓名",
prop: "xm",
},
{
label: "证件号码",
prop: "zjhm",
},
{
label: "房东性别",
prop: "xb",
},
{
label: "房东联系电话",
prop: "lxdh",
},
{
label: "月租金",
prop: "czyz",
},
{
label: "实际居住人数",
prop: "sjzzrs",
},
{
label: "户型",
prop: "hx",
},
{
label: "出租时间",
prop: "czsj",
},
{
label: "出租终止时间",
prop: "czzzsj",
},
],
zfdjQueryData: {
objectValue: sessionStorage.getItem("zjhm"),
page: 1,
limit: 5,
},
zfdjCxUrl: "/daapi/getCzfwxx",
zfdjTableName: "租房登记",
};
},
watch: {
......@@ -473,6 +464,7 @@ export default {
this.cxSj = [this.sj, new Date()];
},
methods: {
getzfdjInfo() {},
haflYear() {
var timeStamp = new Date().getTime();
var halfYear = (365 / 2) * 24 * 3600 * 1000;
......
<template>
<div class="ryDj">
<div class="top">
<div class="lf">
<span>时间:</span>
<div class="inl">
<el-date-picker
v-model="cxSj"
type="datetimerange"
:picker-options="pickerOptions"
range-separator="至"
start-placeholder="开始日期"
end-placeholder="结束日期"
align="right"
>
</el-date-picker>
</div>
</div>
</div>
<div class="con">
<div class="left">
<!--<img src="@/assets/img/dj/left.svg" style="margin:20px;"/>-->
<div style="margin: 15px">
<el-input
size="small"
placeholder="输入关键词查找"
suffix-icon="el-icon-search"
v-model="filterText"
>
</el-input>
</div>
<div style="margin: 15px">
<el-tree
class="filter-tree"
:data="data"
:props="defaultProps"
default-expand-all
:filter-node-method="filterNode"
ref="tree"
>
<span class="custom-tree-node" slot-scope="{ node, data }">
<span>{{ node.label }}</span>
</span>
</el-tree>
</div>
</div>
<div class="right">
<div class="con-wrap">
<table-component
......@@ -96,37 +53,6 @@
ref="rightContent"
></table-component>
</div>
<div class="con-wrap">
<div class="name">关联物品 ({{ glwpTableData.length }}</div>
<el-table
ref="multipleTable"
:data="glwpTableData"
tooltip-effect="dark"
style="width: 100%"
>
<el-table-column type="selection" width="80"> </el-table-column>
<el-table-column prop="wplx" label="物品类型" width="320">
</el-table-column>
<el-table-column prop="pp" label="品牌" width="320">
</el-table-column>
<el-table-column prop="xh" label="型号" width="320">
</el-table-column>
<el-table-column prop="jz" label="价值" width="200">
</el-table-column>
<el-table-column label="详情" width="120">
<template
><i
class="el-icon-document"
style="
color: rgb(64, 158, 255);
font-size: 18px;
cursor: pointer;
"
></i
></template>
</el-table-column>
</el-table>
</div>
<el-dialog title="补录关系" :visible.sync="bqDialogShow" width="30%">
<div v-loading="loading" style="margin: 20px; z-index: 2006">
<el-form :model="formDataBlbq">
......@@ -244,9 +170,9 @@ export default {
label: "婚姻状况",
num: "1",
},
{ id: 111, label: "关系人群", num: "1" },
{ id: 21, label: "高级关系", num: "0" },
{ id: 131, label: "社会信息", num: "0" },
{ id: 111, label: "同户关系", num: "1" },
{ id: 21, label: "社会关系", num: "0" },
{ id: 131, label: "主要社会关系", num: "0" },
{ id: 135, label: "自定义关系", num: "0" },
],
},
......@@ -267,106 +193,6 @@ export default {
children: "children",
label: "label",
},
pickerOptions: {
shortcuts: [
{
text: "最近一个月",
onClick(picker) {
const end = new Date();
const start = new Date();
let year = start.getFullYear();
let month = start.getMonth();
if (month === 0) {
month = 12;
year = year - 1;
}
if (month < 0) {
month = 12 + month;
year = year - 1;
}
if (month < 10 && month > 0) {
month = "0" + month;
}
let firstDayOfPreMonth =
year + "-" + month + "-" + start.getDate();
firstDayOfPreMonth = new Date(firstDayOfPreMonth);
picker.$emit("pick", [firstDayOfPreMonth, end]);
},
},
{
text: "最近三个月",
onClick(picker) {
const end = new Date();
const start = new Date();
let year = start.getFullYear();
let month = start.getMonth() - 2;
if (month === 0) {
month = 12;
year = year - 1;
}
if (month < 0) {
month = 12 + month;
year = year - 1;
}
if (month < 10 && month > 0) {
month = "0" + month;
}
let firstDayOfPreMonth =
year + "-" + month + "-" + start.getDate();
firstDayOfPreMonth = new Date(firstDayOfPreMonth);
picker.$emit("pick", [firstDayOfPreMonth, end]);
},
},
{
text: "最近六个月",
onClick(picker) {
const end = new Date();
const start = new Date();
let year = start.getFullYear();
let month = start.getMonth() - 5;
if (month === 0) {
month = 12;
year = year - 1;
}
if (month < 0) {
month = 12 + month;
year = year - 1;
}
if (month < 10 && month > 0) {
month = "0" + month;
}
let firstDayOfPreMonth =
year + "-" + month + "-" + start.getDate();
firstDayOfPreMonth = new Date(firstDayOfPreMonth);
picker.$emit("pick", [firstDayOfPreMonth, end]);
},
},
{
text: "最近一年",
onClick(picker) {
const end = new Date();
const start = new Date();
let year = start.getFullYear();
let month = start.getMonth() - 11;
if (month === 0) {
month = 12;
year = year - 1;
}
if (month < 0) {
month = 12 + month;
year = year - 1;
}
if (month < 10 && month > 0) {
month = "0" + month;
}
let firstDayOfPreMonth =
year + "-" + month + "-" + start.getDate();
firstDayOfPreMonth = new Date(firstDayOfPreMonth);
picker.$emit("pick", [firstDayOfPreMonth, end]);
},
},
],
},
cxSj: [],
sj: "",
hyFormThead: [
......@@ -426,7 +252,7 @@ export default {
limit: 5,
},
gxrqCxUrl: "/daapi/getGxRq",
gxrqTableName: "关系人群",
gxrqTableName: "同户关系",
gjgxFormThead: [
{
label: "姓名",
......@@ -455,7 +281,7 @@ export default {
limit: 5,
},
gjgxCxUrl: "/daapi/getGjGx",
gjgxTableName: "高级关系",
gjgxTableName: "社会关系",
shxxFormThead: [
{
label: "姓名",
......@@ -484,7 +310,7 @@ export default {
limit: 5,
},
shxxCxUrl: "/daapi/getShGx",
shxxTableName: "社会信息",
shxxTableName: "主要社会关系",
// 自定义关系
zdygxFormThead: [
{
......
......@@ -14,7 +14,7 @@
</el-radio-group>
</div>
</div>
<div class="rt">
<!-- <div class="rt">
<img src="@/assets/img/img.gif" style="height:30px;" />
<span>周玉华</span>
<span>男性</span>
......@@ -24,11 +24,10 @@
<el-checkbox v-model="allChecked">全选</el-checkbox>
</span>
<el-button type="warning" size="mini">导出</el-button>
</div>
</div> -->
</div>
<div class="con">
<div class="left">
<!--<img src="@/assets/img/dj/left.svg" style="margin:20px;"/>-->
<!-- <div class="left">
<div style="margin:15px;">
<el-input
size="small"
......@@ -54,7 +53,7 @@
</el-tree>
</div>
</div>
</div> -->
<div class="right">
<div class="con-wrap">
<div class="name">Email ({{tableData.length}}</div>
......@@ -71,19 +70,19 @@
<el-table-column
prop="xm"
label="账号"
width="300">
>
</el-table-column>
<el-table-column
prop="cym"
label="注册信息"
width="380">
>
</el-table-column>
<el-table-column
prop="zjlx"
label="关联来源" width="380">
label="关联来源" >
</el-table-column>
<el-table-column
label="详情" width="160">
label="详情" >
<template><i class="el-icon-document" style="color:rgb(64, 158, 255);font-size:18px;cursor: pointer;"></i></template>
</el-table-column>
</el-table>
......@@ -103,19 +102,19 @@
<el-table-column
prop="xm"
label="账号"
width="300">
>
</el-table-column>
<el-table-column
prop="cym"
label="注册信息"
width="380">
>
</el-table-column>
<el-table-column
prop="zjlx"
label="关联来源" width="380">
label="关联来源" >
</el-table-column>
<el-table-column
label="详情" width="160">
label="详情" >
<template><i class="el-icon-document" style="color:rgb(64, 158, 255);font-size:18px;cursor: pointer;"></i></template>
</el-table-column>
</el-table>
......@@ -135,24 +134,24 @@
<el-table-column
prop="xm"
label="应用类型"
width="280">
>
</el-table-column>
<el-table-column
prop="xm"
label="账号"
width="280">
>
</el-table-column>
<el-table-column
prop="cym"
label="注册信息"
width="280">
>
</el-table-column>
<el-table-column
prop="zjlx"
label="关联来源" width="240">
label="关联来源" >
</el-table-column>
<el-table-column
label="详情" width="160">
label="详情">
<template><i class="el-icon-document" style="color:rgb(64, 158, 255);font-size:18px;cursor: pointer;"></i></template>
</el-table-column>
</el-table>
......
<template>
<div class="ryDj">
<div class="con">
<div class="right">
<div class="con-wrap">
<table-component
ref="zsRef"
:DefaultAjFormThead="sjhFormThead"
:propQueryData="sjhQueryData"
:cxUrl="sjhCxUrl"
:tableName="sjhTableName"
:zdygxPage="zdygxPage"
@addCenter="addCenter"
@eadit="eadit"
@deleteTp="deleteTp"
@details="details"
></table-component>
</div>
</div>
</div>
<el-dialog title="研判报告" :visible.sync="wpXXDialogShow" width="30%">
<div style="margin: 20px 40px">
<el-form
:model="ruleForm"
:rules="rules"
ref="ruleForm"
label-width="100px"
class="demo-ruleForm"
>
<el-form-item label="报告标题:" prop="ypbgbt">
<el-input v-model="ruleForm.ypbgbt"></el-input>
</el-form-item>
<el-form-item label="报告内容:">
<el-input type="textarea" v-model="ruleForm.ypbgnr"></el-input>
</el-form-item>
<el-form-item>
<el-button type="primary" @click="submitForm('ruleForm')"
>保存</el-button
>
</el-form-item>
</el-form>
</div>
</el-dialog>
<el-dialog
title="研判报告详情"
:visible.sync="wpXXDialogShowXq"
width="20%"
>
<div style="padding: 20px 40px">
<div
style="line-height: 31px"
v-for="(item, index) in xqList"
:key="index"
>
<span style="margin-right: 10px"> {{ item.name }}: </span>
<span style="color: #bab7b7">{{ xqObcjt[item.id] }}</span>
</div>
</div>
</el-dialog>
</div>
</template>
<script>
import tableComponent from "@c/qxda_compontents.vue";
import request from "@/utils/axiosHttp.js";
import url from "@/api/base";
export default {
components: {
tableComponent,
},
name: "ypbg",
data() {
return {
xqObcjt: {},
wpXXDialogShowXq: false,
xxzjbh: "",
xqList: [
{
name: "报告标题",
id: "ypbgbt",
},
{
name: "登记人",
id: "xxdjryXm",
},
{
name: "登记人电话",
id: "xxdjryLxdh",
},
{
name: "登记单位",
id: "xxdjdwGajgmc",
},
{
name: "登记时间",
id: "djsj",
},
{
name: "报告内容",
id: "ypbgnr",
},
],
ruleForm: {
ypbgbt: "",
ypbgnr: "",
ypbglx: "01",
glhm: sessionStorage.getItem("zjhm"),
},
rules: {
ypbgbt: [
{ required: true, message: "请输入研判报告标题", trigger: "blur" },
],
},
wpXXDialogShow: false,
zdygxPage: "daypbg",
sjhFormThead: [
{
label: "研判报告标题",
prop: "ypbgbt",
},
{
label: "研判报告内容",
prop: "ypbgnr",
},
{
label: "登记人",
prop: "xxdjryXm",
},
{
label: "登记人电话",
prop: "xxdjryLxdh",
},
{
label: "登记单位",
prop: "xxdjdwGajgmc",
},
{
label: "登记时间",
prop: "djsj",
},
],
sjhQueryData: {
ypbglx: "01",
glhm: sessionStorage.getItem("zjhm"),
page: 1,
limit: 5,
},
sjhCxUrl: "/daCommon/getYpbgList",
sjhTableName: "档案研判报告",
};
},
watch: {},
methods: {
// 报告保存
postSaveYpbg(form) {
return request({
url: url.rzURL + "/daCommon/saveYpbg",
data: JSON.parse(form),
method: "POST",
});
},
// 报告详情
postSgetYpbhByXxzjbh(form) {
return request({
url: url.rzURL + "/daCommon/getYpbhByXxzjbh",
data: JSON.parse(form),
method: "POST",
});
},
// 报告删除
postSdeleteYpbgByXxzjbh(form) {
return request({
url: url.rzURL + "/daCommon/deleteYpbgByXxzjbh",
data: JSON.parse(form),
method: "POST",
});
},
addCenter() {
this.wpXXDialogShow = true;
},
submitForm(formName) {
var self = this;
this.$refs[formName].validate((valid) => {
if (valid) {
if (self.xxzjbh) {
self.eaditSubmit();
} else {
self.addSubmit();
}
} else {
self.$message({
type: "warning",
message: "请填写必填项",
});
}
});
},
eaditSubmit() {
let self = this;
let json = {};
for (let i in self.ruleForm) {
json[i] = self.ruleForm[i];
}
json["xxzjbh"] = self.xxzjbh;
self.postSaveYpbg(JSON.stringify(json)).then((res) => {
if (res.success == true) {
self.$message({
type: "success",
message: "保存成功",
});
// this.$refs[self.formName].resetFields();
self.ruleForm.ypbgbt = "";
self.ruleForm.ypbgnr = "";
self.xxzjbh = "";
this.wpXXDialogShow = false;
this.$refs.zsRef.doQuery("yes");
} else {
self.$message({
type: "error",
message: "保存失败",
});
}
});
},
addSubmit() {
let self = this;
let json = {};
for (let i in self.ruleForm) {
json[i] = self.ruleForm[i];
}
self.postSaveYpbg(JSON.stringify(json)).then((res) => {
if (res.success == true) {
self.$message({
type: "success",
message: "保存成功",
});
// this.$refs[self.formName].resetFields();
self.ruleForm.ypbgbt = "";
self.ruleForm.ypbgnr = "";
this.wpXXDialogShow = false;
this.$refs.zsRef.doQuery("yes");
} else {
self.$message({
type: "error",
message: "保存失败",
});
}
});
},
// 修改
eadit(scope) {
this.xxzjbh = scope.row.xxzjbh;
let json = {};
json["xxzjbh"] = scope.row.xxzjbh;
this.postSgetYpbhByXxzjbh(JSON.stringify(json)).then((res) => {
if (res.success == true) {
this.ruleForm.ypbgbt = res.data.ypbh.ypbgbt;
this.ruleForm.ypbgnr = res.data.ypbh.ypbgnr;
this.wpXXDialogShow = true;
}
});
},
// 删除
deleteTp(scope) {
debugger;
let self = this;
let json = {};
json["xxzjbh"] = scope.row.xxzjbh;
this.$confirm("此操作将删除此报告, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
self.postSdeleteYpbgByXxzjbh(JSON.stringify(json)).then((res) => {
if (res.success === true) {
self.$message({
type: "success",
message: "删除成功",
});
self.$refs.zsRef.doQuery("yes");
} else {
self.$message({
type: "error",
message: "删除失败",
});
}
});
})
.catch(() => {
this.$message({
type: "info",
message: "已取消删除",
});
});
},
// 详情
details(scope) {
this.wpXXDialogShowXq = true;
let json = {};
json["xxzjbh"] = scope.row.xxzjbh;
this.postSgetYpbhByXxzjbh(JSON.stringify(json)).then((res) => {
if (res.success == true) {
this.xqObcjt = res.data.ypbh;
}
});
},
},
};
</script>
<style scoped lang="scss">
@import "../../assets/styles/ryfwdwdz.scss";
button.el-button.el-button--primary {
margin: 0 0 20px 0;
width: 114px;
}
</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