Commit 8eb0f37b by xue_wengang

查验案件标注、扒窃

parent a476a079
...@@ -52,6 +52,9 @@ const deleteBsh = params => ...@@ -52,6 +52,9 @@ const deleteBsh = params =>
const ryxxQg = params => const ryxxQg = params =>
post(`${base.alyIP}/ryRedis/ryxxQg`, params); post(`${base.alyIP}/ryRedis/ryxxQg`, params);
const updateBzStatus = params =>
post(`${base.alyIP}/toAsjbzCheck/updateBzStatus`, params);
export { export {
getAsjxxDetail, getAsjxxDetail,
getXckyDetail, getXckyDetail,
...@@ -65,5 +68,6 @@ export { ...@@ -65,5 +68,6 @@ export {
getRybhList, getRybhList,
getBarxxList, getBarxxList,
deleteBsh, deleteBsh,
ryxxQg ryxxQg,
updateBzStatus
} }
\ No newline at end of file
...@@ -7,3 +7,6 @@ export const login = params => ...@@ -7,3 +7,6 @@ export const login = params =>
export const sign = params => export const sign = params =>
post(`${base.alyIP}/blade-auth/sign`, params); post(`${base.alyIP}/blade-auth/sign`, params);
export const loginByZjhm = params =>
post(`${base.alyIP2}/loginByZjhm`, params);
...@@ -5,7 +5,7 @@ import base from "@/api/base"; ...@@ -5,7 +5,7 @@ import base from "@/api/base";
export const getXsbh = params => export const getXsbh = params =>
post(`${base.alyIP}//thajxs/getXsbh`, params); post(`${base.alyIP}//thajxs/getXsbh`, params);
//关注团伙 //新增团伙
export const addThxs = params => export const addThxs = params =>
postform(`${base.alyIP}/thajxs/addThxs`, params); postform(`${base.alyIP}/thajxs/addThxs`, params);
...@@ -13,6 +13,14 @@ postform(`${base.alyIP}/thajxs/addThxs`, params); ...@@ -13,6 +13,14 @@ postform(`${base.alyIP}/thajxs/addThxs`, params);
export const addXsfj = params => export const addXsfj = params =>
post(`${base.alyIP}/xsfj/addXsfj`, params); post(`${base.alyIP}/xsfj/addXsfj`, params);
//团伙线索信息详情
export const getThxsByZjbh = params =>
post(`${base.alyIP}/thajxs/getThxsByZjbh`, params);
//团伙线索信息编辑
export const updateThxs = params =>
postform(`${base.alyIP}/thajxs/updateThxs`, params);
...@@ -5,13 +5,21 @@ import base from "@/api/base"; ...@@ -5,13 +5,21 @@ import base from "@/api/base";
export const getXsglasjList = params => export const getXsglasjList = params =>
post(`${base.alyIP}/xsglasj/getXsglasjList`, params); post(`${base.alyIP}/xsglasj/getXsglasjList`, params);
//关注重点人员 //新增案件
export const insertUserRybz = params => export const addXsglasj = params =>
post(`${base.alyIP}/zdGzry/insertUserRybz`, params); postform(`${base.alyIP}/xsglasj/addXsglasj`, params);
//取消关注重点人员 //案件提取
export const updateUserRybz = params => export const getAjxxByAsjbh = params =>
post(`${base.alyIP}/zdGzry/updateUserRybz`, params); post(`${base.alyIP}/xsglasj/getAjxxByAsjbh`, params);
//案件详情
export const getXsglasjByZjbh = params =>
post(`${base.alyIP}/xsglasj/getXsglasjByZjbh`, params);
//案件编辑
export const updateXsglasj = params =>
postform(`${base.alyIP}/xsglasj/updateXsglasj`, params);
......
...@@ -762,7 +762,7 @@ export default { ...@@ -762,7 +762,7 @@ export default {
ajFocus(item) { ajFocus(item) {
this.$emit("ajFocus", item); this.$emit("ajFocus", item);
}, },
initFields() { initFields() {
var self = this; var self = this;
var ifInitRules = false; var ifInitRules = false;
ifInitRules = JSON.stringify(self.rules) == "{}"; ifInitRules = JSON.stringify(self.rules) == "{}";
......
...@@ -455,16 +455,40 @@ ...@@ -455,16 +455,40 @@
<el-table-column <el-table-column
align="center" align="center"
label="操作" label="操作"
v-if="pageBs == 'wscdajtj'" v-if="
pageBs == 'wscdajtj' ||
(pageBs == 'queryCheckBj' && cxFormData.asjbzzt)
"
:width="'200'" :width="'200'"
> >
<span <template slot-scope="scope">
@click="$emit('sctjcb', scope)" <span
class="edit" @click="$emit('sctjcb', scope)"
style="margin-right: 16px" class="edit"
slot-scope="scope" style="margin-right: 16px"
>添加</span v-if="pageBs == 'wscdajtj'"
> >添加</span
>
<span
@click="bjBack(scope.row.asjbh, '3')"
class="edit"
v-if="pageBs == 'queryCheckBj' && cxFormData.asjbzzt == '1'"
>退回</span
>
<span
@click="bjBack(scope.row.asjbh, '2', '3')"
class="edit"
v-if="pageBs == 'queryCheckBj' && cxFormData.asjbzzt == '2'"
>排除</span
>
<span
@click="bjBack(scope.row.asjbh, '1', '2')"
class="edit"
style="margin-left: 16px"
v-if="pageBs == 'queryCheckBj' && cxFormData.asjbzzt == '2'"
>解决</span
>
</template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
...@@ -792,7 +816,8 @@ ...@@ -792,7 +816,8 @@
pageBs == 'zjclrz' || pageBs == 'zjclrz' ||
pageBs == 'qjgnsyrz' || pageBs == 'qjgnsyrz' ||
pageBs == 'wscdajtj' || pageBs == 'wscdajtj' ||
pageBs == 'jszls' pageBs == 'jszls'||
pageBs == 'queryCheckBj'
) )
" "
> >
...@@ -1322,6 +1347,14 @@ export default { ...@@ -1322,6 +1347,14 @@ export default {
}; };
}, },
methods: { methods: {
bjBack(ajbh, type, bzzt) {
var obj = {
ajbh,
type,
bzzt,
};
this.$emit("bjBack", obj);
},
handleChange(file) { handleChange(file) {
this.imageUrl = URL.createObjectURL(file.raw); this.imageUrl = URL.createObjectURL(file.raw);
this.imgRaw = file.raw; this.imgRaw = file.raw;
...@@ -1867,7 +1900,13 @@ export default { ...@@ -1867,7 +1900,13 @@ export default {
} }
}, },
computed: {}, computed: {},
watch: {}, watch: {
'cxFormData.asjbzzt'(val,old){
if(val != old){
this.doQuery("yes");
}
}
},
}; };
</script> </script>
<style> <style>
......
...@@ -122,7 +122,15 @@ const menuLayouts = [ ...@@ -122,7 +122,15 @@ const menuLayouts = [
}, },
component: () => import("@/views/cbyp/qgxxxx.vue") component: () => import("@/views/cbyp/qgxxxx.vue")
}, },
{
path: "/queryCheckBj",
name: "queryCheckBj",
meta: {
title: '查验案件标注',
auth: '5'
},
component: () => import("@/views/ajbz/queryCheckBj.vue")
},
]; ];
......
...@@ -196,4 +196,22 @@ export default [ ...@@ -196,4 +196,22 @@ export default [
}, },
component: () => import("@/views/yzzfzxsyp/thxs/addThxs.vue") component: () => import("@/views/yzzfzxsyp/thxs/addThxs.vue")
}, },
{
path: "/addAj",
name: "addAj",
meta: {
title: '关联案件',
isAdd: true,
},
component: () => import("@/views/yzzfzxsyp/thxs/addAj.vue")
},
{
path: "/addXyr",
name: "addXyr",
meta: {
title: '关联嫌疑人',
isAdd: true,
},
component: () => import("@/views/yzzfzxsyp/thxs/addXyr.vue")
},
] ]
\ No newline at end of file
...@@ -8,23 +8,6 @@ const menuLayouts = [ ...@@ -8,23 +8,6 @@ const menuLayouts = [
}, },
component: () => import("@/views/yzzfzxsyp/thxs/queryThxs.vue") component: () => import("@/views/yzzfzxsyp/thxs/queryThxs.vue")
}, },
{
path: "/queryXsglaj",
name: "queryXsglaj",
meta: {
title: '线索关联案件信息管理'
},
component: () => import("@/views/yzzfzxsyp/xsglaj/queryXsglaj.vue")
},
{
path: "/queryXsglxyr",
name: "queryXsglxyr",
meta: {
title: '线索关联嫌疑人信息管理'
},
component: () => import("@/views/yzzfzxsyp/xsglxyr/queryXsglxyr.vue")
},
]; ];
export default { export default {
......
...@@ -519,9 +519,26 @@ ...@@ -519,9 +519,26 @@
</div> </div>
</div> </div>
<div class="wcbzButton"> <div class="wcbzButton">
<el-button type="primary" @click="submitBz" <el-button type="primary" @click="submitBz" v-if="ischeck"
>完成标注</el-button >完成标注</el-button
> >
<el-button
type="primary"
@click="bjBack('3')"
v-if="!ischeck && bzztMs == '已标注'"
>退回</el-button
>
<el-button
@click="bjBack('2', '3')"
v-if="!ischeck && bzztMs == '待标注'"
>排除</el-button
>
<el-button
type="primary"
@click="bjBack('1', '2')"
v-if="!ischeck && bzztMs == '待标注'"
>解决</el-button
>
<el-button type="warning" @click="bzDetail" <el-button type="warning" @click="bzDetail"
>查看标注详情</el-button >查看标注详情</el-button
> >
...@@ -641,6 +658,22 @@ ...@@ -641,6 +658,22 @@
</span> </span>
</el-dialog> </el-dialog>
</div> </div>
<el-dialog title="描述" :visible.sync="dialogVisibleCheck" width="30%">
<el-input
style="margin: 10px 0"
type="textarea"
:rows="2"
placeholder="请输入内容"
v-model="textarea"
>
</el-input>
<span slot="footer" class="dialog-footer">
<el-button type="primary" @click="dialogVisibleCheck = false"
>取 消</el-button
>
<el-button @click="cz">确认</el-button>
</span>
</el-dialog>
</div> </div>
</template> </template>
...@@ -659,6 +692,7 @@ import { ...@@ -659,6 +692,7 @@ import {
getBarxxList, getBarxxList,
deleteBsh, deleteBsh,
ryxxQg, ryxxQg,
updateBzStatus,
} from "@/api/ajbzDetail.js"; } from "@/api/ajbzDetail.js";
import { queryCodeByType } from "@/api/queryAj.js"; import { queryCodeByType } from "@/api/queryAj.js";
import axios from "@/utils/http.js"; import axios from "@/utils/http.js";
...@@ -682,6 +716,9 @@ export default { ...@@ -682,6 +716,9 @@ export default {
}, },
data() { data() {
return { return {
textarea: "",
dialogVisibleCheck: false,
objCheck: {},
loadingIndex: 0, loadingIndex: 0,
loading: "", loading: "",
elementPos: { elementPos: {
...@@ -909,13 +946,66 @@ export default { ...@@ -909,13 +946,66 @@ export default {
label: "label", label: "label",
}, },
xcbhUrl: "", xcbhUrl: "",
ischeck: true,
}; };
}, },
created() { created() {
this.query("yes"); this.query("yes");
this.getBz("yes"); this.getBz("yes");
this.ischeck = this.$route.query.check == "check" ? true : false;
}, },
methods: { methods: {
bjBack(czmsdm, bzzt) {
var self = this;
self.objCheck = {};
debugger;
if (czmsdm == 2) {
this.$confirm("是否排除", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
}).then(() => {
updateBzStatus({
czmsdm,
asjbh: self.asjbh,
bzzt,
}).then((res) => {
self.dialogVisibleCheck = false;
window.opener.location.reload();
window.close();
self.$router.pushToTab({ path: "/queryCheckBj" });
});
});
} else {
self.dialogVisibleCheck = true;
self.objCheck = {
czmsdm,
bzzt,
};
}
},
cz() {
var self = this;
if (self.textarea) {
updateBzStatus({
htms: self.textarea,
czmsdm: self.objCheck.czmsdm,
asjbh: self.asjbh,
bzzt: self.objCheck.bzzt,
}).then((res) => {
self.dialogVisible = false;
window.opener.location.reload();
window.close();
self.$router.pushToTab({ path: "/queryCheckBj" });
});
} else {
this.$confirm("请输入描述", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
}).then(() => {});
}
},
toXk() { toXk() {
window.open(this.xcbhUrl, "_blank"); window.open(this.xcbhUrl, "_blank");
}, },
......
...@@ -43,6 +43,14 @@ export default { ...@@ -43,6 +43,14 @@ export default {
className: "iconfont icongongnengfuwu", className: "iconfont icongongnengfuwu",
hasChildren: false, hasChildren: false,
}, },
{
id: "queryCheckBj",
label: "查验案件标注",
newAuth: "M01",
index: "queryCheckBj",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
], ],
cxFormData: { cxFormData: {
page: 1, page: 1,
......
<template>
<div class="Content">
<right-content
:pageBs="pageBs"
:header="header"
:cxFormData="cxFormData"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
@toInfor="toInfor"
@bjBack="bjBack"
ref="rightContent"
></right-content>
<el-dialog title="描述" :visible.sync="dialogVisible" width="30%">
<el-input
style="margin: 10px 0"
type="textarea"
:rows="2"
placeholder="请输入内容"
v-model="textarea"
>
</el-input>
<span slot="footer" class="dialog-footer">
<el-button type="primary" @click="dialogVisible = false"
>取 消</el-button
>
<el-button @click="cz">确认</el-button>
</span>
</el-dialog>
</div>
</template>
<script>
import rightContent from "@c/ptCxForm_components.vue";
import { updateBzStatus } from "@/api/ajbzDetail.js";
export default {
name: "queryAj",
components: {
rightContent,
},
data() {
return {
header: "查验案件标注",
pageBs: "queryCheckBj",
Menu: [
{
id: "queryCheckBj",
label: "查验案件标注",
index: "queryCheckBj",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
],
cxFormData: {
page: 1,
limit: 10,
bzrXm: "",
asjbh: "",
djsjStart: "",
djsjEnd: "",
ladw_gajgjgdm: "",
asjbzzt: "",
},
cxQueryField: [
/*立案信息 侦查终结信息 立案信息审批 侦查终结审批通用开始*/
{
name: "标注人姓名",
id: "bzrXm",
type: "text",
value: "",
placeholder: "请输入",
col: "3",
},
{
name: "案件编号",
id: "asjbh",
type: "text",
value: "",
placeholder: "请输入",
col: "3",
},
{
name: "登记时间",
id: "djsjStart",
id2: "djsjEnd",
type: "zdyDate",
value: "",
col: "3",
},
{
name: "立案单位",
id: "ladw_gajgjgdm",
type: "codeTreeDialog",
props: "checkEmpty",
value: "",
placeholder: "请选择",
col: "3",
codeOptions: [],
codeTree: "CODE_UNIT",
},
{
name: "标注状态",
id: "asjbzzt",
type: "radio",
value: "1",
placeholder: "",
col: "3",
radioData: [
{ label: "全部", val: "" },
{ label: "已标注", val: "1" },
{ label: "待标注", val: "2" },
],
},
{
name: "查验处理情况",
id: "cyclzt",
type: "radio",
value: "1",
placeholder: "",
col: "3",
radioData: [
{ label: "已解决", val: "1" },
{ label: "已排除", val: "2" },
{ label: "已退回", val: "3" },
],
},
],
cxDefaultFormThead: [
{
label: "标注员姓名",
prop: "bzrXm",
width: "200",
},
{
label: "标注人单位",
prop: "bzrDw",
width: "220",
},
{
label: "案件编号",
prop: "asjbh",
width: "260",
toInfor: true,
},
{
label: "案件名称",
prop: "ajmc",
width: "220",
},
{
label: "简要案情",
prop: "jyaq",
width: "260",
},
{
label: "案件类别",
prop: "ajlbdmMc",
width: "220",
},
{
label: "主案类别",
prop: "ajzlb",
width: "150",
},
{
label: "类案类别",
prop: "ajxzlb",
width: "280",
},
{
label: "次类案类别",
prop: "xalbdmbcmsStr",
width: "180",
},
{
label: "发案地点",
prop: "asjfsddDzmc",
width: "180",
},
{
label: "损失价值",
prop: "ssjzrmby",
width: "180",
},
{
label: "立案日期",
prop: "larq",
width: "200",
},
{
label: "案发开始时间",
prop: "asjfssjKssjStr",
width: "220",
},
],
cxUrl: `/toAsjbzCheck/getAsjxxList`,
textarea: "",
dialogVisible: false,
obj: {},
};
},
methods: {
bjBack(obj) {
var self = this;
self.obj = {}
if (obj.type == 2) {
this.$confirm("是否排除", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
}).then(() => {
updateBzStatus({
czmsdm: obj.type,
asjbh: obj.ajbh,
bzzt: obj.bzzt,
}).then((res) => {
this.$refs.rightContent.doQuery("yes");
self.dialogVisible = false;
});
});
} else {
self.dialogVisible = true;
self.obj = obj;
}
},
cz() {
var self = this;
if (self.textarea) {
updateBzStatus({
htms: self.textarea,
czmsdm: self.obj.type,
asjbh: self.obj.ajbh,
bzzt: self.obj.bzzt,
}).then((res) => {
this.$refs.rightContent.doQuery("yes");
self.dialogVisible = false;
});
} else {
this.$confirm("请输入描述", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
}).then(() => {});
}
},
toInfor(obj) {
this.$router.pushToTab({
path: "ajbzDetail",
query: {
asjbh: obj.asjbh,
flag:'check'
},
});
},
},
created() {
this.$store.commit("user/SET_Menu", this.Menu);
this.$store.commit("user/SET_Header", this.header);
},
};
</script>
<style>
.el-dialog__body {
padding: 10px 15px !important;
}
.rightContent .el-input__inner,
#formCommonPage .el-input__inner {
height: 32px;
line-height: 32px;
font-family: inherit;
background: #f3f3f3;
}
.el-table__header-wrapper th,
.el-table__header-wrapper tr {
background: #f4f6f7;
}
.rightContent .el-input__icon,
#formCommonPage .el-input__icon,
.el-input__suffix-inner {
line-height: 36px;
}
.rightContent .el-range-separator {
position: relative;
top: -4px;
}
.rightContent .el-textarea__inner,
#formCommonPage .el-textarea__inner {
width: 100%;
font-family: inherit;
}
.rightContent .el-range-input,
#formCommonPage .el-range-input {
vertical-align: top;
}
.rightContent .el-date-editor .el-range__close-icon {
margin-top: -4px;
}
.rightContent .el-form-item__error {
left: calc(66% - 27px);
top: 12px;
}
.success-row {
background-color: #fbf9f4 !important;
}
.Content .el-input,
.Content .el-date-editor--daterange.el-input__inner {
width: 100% !important;
}
</style>
<style scoped lang="scss">
@import "@/assets/styles/rightContent.scss";
</style>
<template>
<div id="addAj">
<div class="headerTitle">
<img src="../../../assets/img/login/jinhui.png" alt="" /><span
>有组织犯罪线索研判</span
>
</div>
<form-compontent
:formField="propFormField"
:formLabelAligns="formLabelAlign"
@submit="submit"
:propTitle="title"
>
</form-compontent>
</div>
</template>
<script>
import formCompontent from "@c/form_compontent.vue";
import {
addXsglasj,
getAjxxByAsjbh,
getXsglasjByZjbh,
updateXsglasj,
} from "@/api/yzzfzxsyp/xlglaj.js";
export default {
name: "addAj",
components: {
formCompontent,
},
data() {
return {
title: "新增案件信息",
propFormField: [
//基本信息
{
title: "案件信息",
id: 1,
objStr: "",
index: 0,
data: [
{
name: "线索编号:",
id: "xsbh",
type: "text",
prop: "checkEmpty",
value: "",
placeholder: "请输入",
col: "2",
},
{
name: "案件编号:",
id: "asjbh",
type: "text",
value: "",
placeholder: "请输入",
col: "2",
},
{
name: "侦查阶段:",
id: "zcjddm",
type: "codeTree",
codeTree: "CODE_ZCJDDM",
codeOptions: [],
value: "",
placeholder: "请输入",
col: "2",
},
{
name: "案件类别:",
id: "ajlbdm",
type: "codeTree",
codeTree: "CODE_AJLB",
codeOptions: [],
value: "",
placeholder: "请输入",
col: "2",
},
{
name: "案件名称:",
id: "ajmc",
type: "text",
value: "",
placeholder: "请输入",
col: "2",
},
{
name: "案发时间:",
id: "asjfssjAsjfskssj",
type: "dates",
value: "",
placeholder: "请输入",
col: "2",
},
{
name: "案发地区划:",
id: "asjfsddXzqhdm",
type: "codeTree",
codeTree: "CODE_XZQH",
codeOptions: [],
value: "",
placeholder: "请输入",
col: "2",
},
{
name: "案发地详址:",
id: "asjfsddDzmc",
type: "text",
value: "",
placeholder: "请输入",
col: "2",
},
{
name: "简要案情:",
id: "jyaq",
type: "text",
value: "",
placeholder: "请输入",
col: "2",
},
{
name: "立案日期:",
id: "larq",
type: "dates",
value: "",
placeholder: "请输入",
col: "2",
},
{
name: "立案单位:",
id: "ladwGajgjgdm",
type: "codeTree",
codeTree: "CODE_UNIT",
codeOptions: [],
value: "",
placeholder: "请输入",
col: "2",
},
],
},
],
formLabelAlign: {},
xxzjbh: "",
};
},
methods: {
submit(params) {
console.log(params);
// let loading = this.$loading({
// lock: true,
// text: "正在保存...",
// spinner: "el-icon-loading",
// background: "rgba(255, 255, 255, 0.7)",
// });
if (!this.xxzjbh) {
this.addSubmit(params);
} else {
this.editSubmit(params);
}
},
addSubmit(params, loading) {
addXsglasj(params).then((res) => {
if (res.success && res.code == 200) {
this.$alert("保存成功!", "提示", {
confirmButtonText: "确定",
type: "success",
callback: () => {
this.$router.push("/queryThxs");
loading.close();
},
});
} else {
loading.close();
}
});
},
editSubmit(params, loading) {
updateXsglasj(params).then((res) => {
if (res.success && res.code == 200) {
this.$alert("修改成功!", "提示", {
confirmButtonText: "确定",
type: "success",
callback: () => {
this.$router.push("/queryThxs");
loading.close();
},
});
} else {
loading.close();
}
});
},
getshuju() {
var self = this;
let loading = this.$loading({
lock: true,
text: "正在加载...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
getXsglasjByZjbh({
xsbh: this.xxzjbh,
}).then((res) => {
var result = res.data.xs;
self.propFormField.forEach((i, iIndex) => {
if (i.data && i.data.length > 0) {
i.data.forEach((j, jIndex) => {
if (j.childrenAsAdd) {
j.childrenAsAdd.forEach((m, mIndex) => {
self.$set(self.formLabelAlign, m.id, result[m.id] || []);
if (result[m.id].length > 0) {
//如果集合有值,则让显示
self.$set(
self.propFormField[iIndex].data[jIndex].childrenAsAdd[
mIndex
],
"flag",
true
);
}
});
} else {
self.$set(
self.formLabelAlign,
j.id,
i.objStr ? result[i.objStr][j.id] : result[j.id]
);
}
});
}
});
self.$forceUpdate();
setTimeout(() => {
loading.close();
}, 500);
});
},
},
created() {
if (this.$route.query.xxzjbh) {
this.title = "修改案件信息";
this.xxzjbh = this.$route.query.xxzjbh;
this.getshuju();
}
this.$set(this.formLabelAlign, "xsbh", this.$route.query.xsbh);
},
};
</script>
<style scoped lang="scss">
#addAj {
.headerTitle {
height: 48px;
background: #0061f7;
font-size: 18px;
font-weight: bold;
line-height: 48px;
color: #ffffff;
padding: 0 17px;
img {
width: 36px;
margin-right: 5px;
}
}
}
</style>
\ No newline at end of file
...@@ -13,9 +13,14 @@ ...@@ -13,9 +13,14 @@
> >
</form-compontent> </form-compontent>
<div class="formWrap"> <div class="formWrap">
<div class="subTitle"> <div class="subTitleWrap">
<span class="subTitle_shuxian"></span> <div class="subTitle">
<div class="subTitle_title">关联案件</div> <span class="subTitle_shuxian"></span>
<div class="subTitle_title">关联案件</div>
</div>
<div class="addAj" @click="toAdd('/addAj')">
<i class="el-icon-plus"></i>添加
</div>
</div> </div>
<el-table :data="ajList.shuju"> <el-table :data="ajList.shuju">
<el-table-column <el-table-column
...@@ -76,10 +81,15 @@ ...@@ -76,10 +81,15 @@
> >
</el-pagination> </el-pagination>
</div> </div>
<div class="formWrap" style="margin-bottom:70px"> <div class="formWrap" style="margin-bottom: 70px">
<div class="subTitle"> <div class="subTitleWrap">
<span class="subTitle_shuxian"></span> <div class="subTitle">
<div class="subTitle_title">关联嫌疑人</div> <span class="subTitle_shuxian"></span>
<div class="subTitle_title">关联嫌疑人</div>
</div>
<div class="addAj" @click="toAdd('/addXyr')">
<i class="el-icon-plus"></i>添加
</div>
</div> </div>
<el-table :data="xyrList.shuju"> <el-table :data="xyrList.shuju">
<el-table-column <el-table-column
...@@ -145,8 +155,12 @@ ...@@ -145,8 +155,12 @@
<script> <script>
import formCompontent from "@c/form_compontent.vue"; import formCompontent from "@c/form_compontent.vue";
import { insertZdjyhd, updateZdjyhd, infoZdjyhd } from "@/api/zdxx/zdjyhd.js"; import {
import { getXsbh,addThxs } from "@/api/yzzfzxsyp/thxs.js"; getXsbh,
addThxs,
getThxsByZjbh,
updateThxs,
} from "@/api/yzzfzxsyp/thxs.js";
import { getXsglasjList } from "@/api/yzzfzxsyp/xlglaj.js"; import { getXsglasjList } from "@/api/yzzfzxsyp/xlglaj.js";
import { getXsglxyrList } from "@/api/yzzfzxsyp/xlglxyr.js"; import { getXsglxyrList } from "@/api/yzzfzxsyp/xlglxyr.js";
export default { export default {
...@@ -326,6 +340,14 @@ export default { ...@@ -326,6 +340,14 @@ export default {
}; };
}, },
methods: { methods: {
toAdd(path) {
this.$router.pushToTab({
path: path,
query: {
xsbh: this.xxzjbh,
},
});
},
getBh() { getBh() {
let userInfo = JSON.parse(window.sessionStorage.getItem("userInfo")); let userInfo = JSON.parse(window.sessionStorage.getItem("userInfo"));
getXsbh({ getXsbh({
...@@ -333,10 +355,10 @@ export default { ...@@ -333,10 +355,10 @@ export default {
}).then((res) => { }).then((res) => {
if (res.code == 200) { if (res.code == 200) {
this.xsbh = res.data.xsbh; this.xsbh = res.data.xsbh;
this.$set(this.formLabelAlign,'xsbh',this.xsbh) this.$set(this.formLabelAlign, "xsbh", this.xsbh);
this.getAjList(); this.getAjList();
this.getXyrList() this.getXyrList();
} }
}); });
}, },
...@@ -366,7 +388,7 @@ export default { ...@@ -366,7 +388,7 @@ export default {
}, },
handleCurrentChangeAj() {}, handleCurrentChangeAj() {},
handleCurrentChangeXyr() {}, handleCurrentChangeXyr() {},
//关联嫌疑人信息列表 //关联嫌疑人信息列表
getXyrList() { getXyrList() {
var self = this; var self = this;
this.xyrList.shuju = []; this.xyrList.shuju = [];
...@@ -407,32 +429,27 @@ export default { ...@@ -407,32 +429,27 @@ export default {
addSubmit(params, loading) { addSubmit(params, loading) {
addThxs(params).then((res) => { addThxs(params).then((res) => {
if (res.success && res.code == 200) { if (res.success && res.code == 200) {
// this.$alert("保存成功!", "提示", { this.$alert("保存成功!", "提示", {
// confirmButtonText: "确定", confirmButtonText: "确定",
// type: "success", type: "success",
// callback: () => { callback: () => {
// this.$router.push("/queryZdjyhd"); this.$router.push("/queryThxs");
// loading.close(); loading.close();
// sessionStorage.setItem("routerPath", "queryZdjyhd"); },
// setTimeout(() => { });
// this.$bus.$emit("routerPath");
// }, 20);
// },
// });
} else { } else {
loading.close(); loading.close();
} }
}); });
}, },
editSubmit(params, loading) { editSubmit(params, loading) {
params.append("jyhd.xxzjbh", this.xxzjbh); updateThxs(params).then((res) => {
updateZdjyhd(params).then((res) => {
if (res.success && res.code == 200) { if (res.success && res.code == 200) {
this.$alert("修改成功!", "提示", { this.$alert("修改成功!", "提示", {
confirmButtonText: "确定", confirmButtonText: "确定",
type: "success", type: "success",
callback: () => { callback: () => {
this.$router.push("/queryZdjyhd"); this.$router.push("/queryThxs");
loading.close(); loading.close();
}, },
}); });
...@@ -449,10 +466,10 @@ export default { ...@@ -449,10 +466,10 @@ export default {
spinner: "el-icon-loading", spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)", background: "rgba(255, 255, 255, 0.7)",
}); });
infoZdjyhd({ getThxsByZjbh({
xxzjbh: this.xxzjbh, xsbh: this.xxzjbh,
}).then((res) => { }).then((res) => {
var result = res.data.rows; var result = res.data.xs;
self.propFormField.forEach((i, iIndex) => { self.propFormField.forEach((i, iIndex) => {
if (i.data && i.data.length > 0) { if (i.data && i.data.length > 0) {
i.data.forEach((j, jIndex) => { i.data.forEach((j, jIndex) => {
...@@ -488,12 +505,12 @@ export default { ...@@ -488,12 +505,12 @@ export default {
}, },
}, },
created() { created() {
this.getBh();
if (this.$route.query.xxzjbh) { if (this.$route.query.xxzjbh) {
// this.$set(this.propFormField[0], "title", "修改阵地交易活动信息"); this.title = "修改团伙线索";
this.title = "修改阵地交易活动信息";
this.xxzjbh = this.$route.query.xxzjbh; this.xxzjbh = this.$route.query.xxzjbh;
this.getshuju(); this.getshuju();
} else {
this.getBh();
} }
}, },
}; };
...@@ -525,23 +542,43 @@ export default { ...@@ -525,23 +542,43 @@ export default {
margin-top: 20px; margin-top: 20px;
padding: 20px 16px; padding: 20px 16px;
} }
.subTitle { .subTitleWrap {
display: flex; display: flex;
align-items: center; justify-content: space-between;
.subTitle_shuxian { .addAj {
width: 4px; width: 78px;
height: 16px; height: 32px;
background: #ff8d1e; background: #ffffff;
border: 1px solid #c7c7c7;
opacity: 1; opacity: 1;
margin-right: 12px; border-radius: 4px;
color: #656565;
font-size: 14px;
text-align: center;
line-height: 32px;
cursor: pointer;
i {
margin-right: 5px;
}
} }
.subTitle_title { .subTitle {
font-size: 16px; display: flex;
font-family: Source Han Sans CN; align-items: center;
font-weight: 400; .subTitle_shuxian {
line-height: 22px; width: 4px;
color: #1a1a1a; height: 16px;
opacity: 1; background: #ff8d1e;
opacity: 1;
margin-right: 12px;
}
.subTitle_title {
font-size: 16px;
font-family: Source Han Sans CN;
font-weight: 400;
line-height: 22px;
color: #1a1a1a;
opacity: 1;
}
} }
} }
} }
......
...@@ -164,23 +164,7 @@ export default { ...@@ -164,23 +164,7 @@ export default {
index: "queryThxs", index: "queryThxs",
className: "iconfont icongongnengfuwu", className: "iconfont icongongnengfuwu",
hasChildren: false, hasChildren: false,
}, }
{
id: "queryXsglaj",
label: "线索关联案件信息管理",
newAuth: "M01",
index: "queryXsglaj",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryXsglxyr",
label: "线索关联嫌疑人信息管理",
newAuth: "M01",
index: "queryXsglxyr",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
], ],
}; };
}, },
...@@ -197,8 +181,8 @@ export default { ...@@ -197,8 +181,8 @@ export default {
}, },
edit(scope) { edit(scope) {
this.$router.push({ this.$router.push({
path: "/insertZdry", path: "/addThxs",
query: { xxzjbh: scope.row.xxzjbh }, query: { xxzjbh: scope.row.xsbh },
}); });
}, },
dele(scope) { dele(scope) {
......
...@@ -50,7 +50,7 @@ export default { ...@@ -50,7 +50,7 @@ export default {
col: "2", col: "2",
}, },
{ {
name: "发布时间:", name: "布控时间:",
id_1: "kssj", id_1: "kssj",
id_2: "jssj", id_2: "jssj",
type: "datetime", type: "datetime",
......
...@@ -86,9 +86,8 @@ ...@@ -86,9 +86,8 @@
<script> <script>
import { getTaskResult } from "@/api/zdry/yjrwGl.js"; import { getTaskResult } from "@/api/zdry/yjrwGl.js";
import { deleteAddZdry } from "@/api/zdry/zdrysp.js"; import { getRygjxxByAsjbh } from "@/api/zdry/yjrwGl.js";
import rightContent from "@c/ptCxForm_components.vue"; import rightContent from "@c/ptCxForm_components.vue";
import testVue from "../index/test.vue";
export default { export default {
name: "yjrwGl", name: "yjrwGl",
components: { components: {
...@@ -139,7 +138,7 @@ export default { ...@@ -139,7 +138,7 @@ export default {
codeTree: "CODE_RYYJGK_RWZT", codeTree: "CODE_RYYJGK_RWZT",
}, },
{ {
name: "发布时间", name: "布控时间",
id: "djsjStart", id: "djsjStart",
id2: "djsjEnd", id2: "djsjEnd",
type: "zdyDate", type: "zdyDate",
...@@ -193,10 +192,23 @@ export default { ...@@ -193,10 +192,23 @@ export default {
resultData: {}, resultData: {},
taskType: "", taskType: "",
activeName: "check", activeName: "check",
pqFlag:true
}; };
}, },
created() { created() {
this.$store.commit("user/SET_Menu", this.Menu); this.$store.commit("user/SET_Menu", this.Menu);
var self = this
getRygjxxByAsjbh({
asjbh: 'A1501000000AAAAAAA22663',
days: 0,
}).then((res) => {
if (res.data) {
self.pqFlag = false;
} else {
self.pqFlag = true;
}
});
}, },
methods: { methods: {
handleClick(tab) { handleClick(tab) {
......
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
<script> <script>
import { getRybq } from "@/api/zdry/zdryGl.js"; import { getRybq } from "@/api/zdry/zdryGl.js";
import { loginByZjhm } from "@/api/index";
import rightContent from "@c/ptCxForm_components.vue"; import rightContent from "@c/ptCxForm_components.vue";
export default { export default {
name: "zdryGl", name: "zdryGl",
...@@ -54,15 +55,15 @@ export default { ...@@ -54,15 +55,15 @@ export default {
// { label: '一人多案', val: 'zd010015' } // { label: '一人多案', val: 'zd010015' }
// ], // ],
// }, // },
{ {
name: "人员分类", name: "人员分类",
id: "ryfl", id: "ryfl",
type: "codeTreeDialog", type: "codeTreeDialog",
value: "", value: "",
placeholder: "请选择", placeholder: "请选择",
col: "3", col: "3",
multiple:true, multiple: true,
codeOptions: [], codeOptions: [],
codeTree: "CODE_ZDGZRYFL", codeTree: "CODE_ZDGZRYFL",
}, },
...@@ -170,7 +171,7 @@ export default { ...@@ -170,7 +171,7 @@ export default {
{ label: "高危", val: "35" }, { label: "高危", val: "35" },
], ],
}, },
{ {
name: "关注人员", name: "关注人员",
id: "isMine", id: "isMine",
type: "radio", type: "radio",
...@@ -188,23 +189,23 @@ export default { ...@@ -188,23 +189,23 @@ export default {
label: "姓名", label: "姓名",
prop: "xm", prop: "xm",
toInfor: true, toInfor: true,
width: '100px' width: "100px",
}, },
{ {
label: "身份证号", label: "身份证号",
prop: "zjhm", prop: "zjhm",
width: '230px' width: "230px",
}, },
{ {
label: "作案年龄", label: "作案年龄",
prop: "zanl", prop: "zanl",
}, },
{ {
label: "人员分类", label: "人员分类",
prop: "ryflText", prop: "ryflText",
width: "200", width: "200",
}, },
{ {
label: "人员标签", label: "人员标签",
prop: "codeTxt", prop: "codeTxt",
...@@ -217,12 +218,12 @@ export default { ...@@ -217,12 +218,12 @@ export default {
{ {
label: "性别", label: "性别",
prop: "xbdmText", prop: "xbdmText",
width: '50px' width: "50px",
}, },
{ {
label: "民族", label: "民族",
prop: "mzdmText", prop: "mzdmText",
width: '100px' width: "100px",
}, },
{ {
label: "户籍", label: "户籍",
...@@ -231,7 +232,7 @@ export default { ...@@ -231,7 +232,7 @@ export default {
{ {
label: "案件类别", label: "案件类别",
prop: "ajlbCodeTxt", prop: "ajlbCodeTxt",
width: '350px' width: "350px",
}, },
// { // {
// label: "出生日期", // label: "出生日期",
...@@ -256,7 +257,7 @@ export default { ...@@ -256,7 +257,7 @@ export default {
newAuth: "M01", newAuth: "M01",
index: "zdryGl", index: "zdryGl",
className: "iconfont icongongnengfuwu", className: "iconfont icongongnengfuwu",
hasChildren: false hasChildren: false,
}, },
{ {
id: "zdrySp", id: "zdrySp",
...@@ -264,7 +265,7 @@ export default { ...@@ -264,7 +265,7 @@ export default {
newAuth: "M01", newAuth: "M01",
index: "zdrySp", index: "zdrySp",
className: "iconfont icongongnengfuwu", className: "iconfont icongongnengfuwu",
hasChildren: true, hasChildren: true,
children: [ children: [
{ {
id: "myaddZdry", id: "myaddZdry",
...@@ -290,7 +291,7 @@ export default { ...@@ -290,7 +291,7 @@ export default {
newAuth: "M01", newAuth: "M01",
index: "zdryTj", index: "zdryTj",
className: "iconfont icongongnengfuwu", className: "iconfont icongongnengfuwu",
hasChildren: true, hasChildren: true,
children: [ children: [
{ {
id: "dytj", id: "dytj",
...@@ -318,24 +319,33 @@ export default { ...@@ -318,24 +319,33 @@ export default {
}, },
], ],
}, },
{ {
id: "yjrwGl", id: "yjrwGl",
label: "预警任务管理", label: "预警任务管理",
newAuth: "M01", newAuth: "M01",
index: "yjrwGl", index: "yjrwGl",
className: "iconfont icongongnengfuwu", className: "iconfont icongongnengfuwu",
hasChildren: false hasChildren: false,
} },
], ],
}; };
}, },
created() { created() {
this.login()
this.$store.commit("user/SET_Menu", this.Menu); this.$store.commit("user/SET_Menu", this.Menu);
this.$store.commit("user/SET_LeftMenu", this.leftMenus); this.$store.commit("user/SET_LeftMenu", this.leftMenus);
this.getCode(); this.getCode();
// debugger; // debugger;
}, },
methods: { methods: {
login() {
var self = this;
loginByZjhm({
zjhm: JSON.parse(window.sessionStorage.getItem("userInfo")).identitycard,
}).then((res) => {
});
},
getCode() { getCode() {
let arr = []; let arr = [];
getRybq().then((res) => { getRybq().then((res) => {
...@@ -343,7 +353,7 @@ export default { ...@@ -343,7 +353,7 @@ export default {
arr.push({ arr.push({
value: item.code, value: item.code,
name: item.name, name: item.name,
disabled: false disabled: false,
}); });
}); });
}); });
......
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