Commit 2a40b921 by lp784568205

修改阵地

parent 6c562683
......@@ -30,4 +30,11 @@ export const getAjxxByZjhm = params =>
//阵地从业人员根据证件号码提取
export const getZdryTqByZjhm = params =>
postform(`${base.alyIP}/zdryxx/getZdryTqByZjhm`, params);
//阵地从业人员推送至刑嫌调控
export const updateZdryxxTxxtk = params =>
postform(`${base.alyIP}/zdryxx/updateZdryxx`, params);
//阵地从业人员信息推送
export const getryxxtsByZjhm = params =>
postform(`${base.alyIP}/zdryxx/getryxxtsByZjhm`, params);
\ No newline at end of file
......@@ -63,4 +63,17 @@ export const getZdgzryResult = params =>
//阵地关联人员行业划分统计
export const getSfhgResult = params =>
post(`${base.alyIP}/zdryxx/getSfhgResult`, params);
\ No newline at end of file
post(`${base.alyIP}/zdryxx/getSfhgResult`, params);
//阵地交易物品统计
export const getJywptjxx = params =>
post(`${base.alyIP}/zdjyhdxx/getJywptjxx`, params);
//阵地交易活动相关人员提取
export const getZdjyhdryTqByZjhm = params =>
post(`${base.alyIP}/zdjyhdxx/getZdjyhdryTqByZjhm`, params);
//阵地交易活动消息推送
export const getjyryxxtsByZjhm = params =>
postform(`${base.alyIP}/zdjyhdxx/getjyryxxtsByZjhm`, params);
......@@ -72,6 +72,46 @@
</el-input>
</div>
<div
v-if="item.type == 'textTqs'"
style="display: flex; align-items: center;width:600px"
>
<el-input
:placeholder="item.placeholder"
v-model="formLabelAlign[item.id]"
:disabled="item.disabled"
:class="item.input"
style="width:258px"
@blur="queryDataMain(formLabelAlign[item.id], item)"
>
<template slot="append"
><span @click="ajTq(formLabelAlign[item.id])"
>提取</span
></template
>
</el-input>
<div
style="margin-left: 56px; line-hight: 40px"
v-if="propQueryMain.length > 0"
>
<i
class="el-icon-info"
style="color: #f56c6c; margin-right: 12px"
></i>
<span style="color: #222222"
>发现相关线索 {{ propQueryMain.length }} 条</span
>
<span
@click="showDataMain(formLabelAlign[item.id], propQueryMain)"
style="
color: #0070f4;
margin-left: 10px;
cursor: pointer;
"
>点击查看</span
>
</div>
</div>
<div
v-if="item.type == 'textDt'"
style="display: flex; align-items: center"
>
......@@ -389,6 +429,7 @@
:currentItem="item"
/>
</div>
<!--文件上传-->
<el-upload
class="upload-demo"
......@@ -573,6 +614,72 @@
>
</el-input>
</div>
<!-- 带提示输入框 -->
<div
v-if="item4.type == 'textTqs'"
style="position: flex;width:258px;"
>
<el-input
:placeholder="item4.placeholder"
v-model="reakData[item4.id]"
:disabled="item4.disabled"
@focus="item4.focus || ''"
@blur="
queryData(
reakData[item4.id],
item4,
realIndex
)"
style="width: 158px"
>
<!-- v-if="realIndex == 0" -->
<template slot="append"
><span
@click="
messageTq(
reakData[item4.id],
realIndex
)
"
>提取</span
></template
>
</el-input>
<div
style="margin-left: 56px; line-hight: 40px"
v-show="propQuery.length > 0"
>
<i
class="el-icon-info"
style="color: #f56c6c; margin-right: 12px"
></i>
<span style="color: #222222"
>发现
<span style="color: #f56c6c">{{
propQuery.content
}}</span>
相关线索 {{ propQuery.length }} 条</span
>
<span
@click="
showData(
reakData[item4.id],
item4,
realIndex
)
"
style="
color: #0070f4;
margin-left: 10px;
cursor: pointer;
"
>点击查看</span
>
</div>
</div>
<div
v-else-if="item4.type == 'datetime'"
style="display: flex; padding-right: 78px"
......@@ -695,6 +802,7 @@
>
</div>
</div>
<!--文本域-->
<el-input
type="textarea"
......@@ -940,6 +1048,14 @@ export default {
type: Boolean,
default: false,
},
propQuery: {
type: Array,
default: () => [],
},
propQueryMain: {
type: Array,
default: () => [],
},
propTitle: String,
pageBs: String,
},
......@@ -995,6 +1111,24 @@ export default {
ajFocus(item) {
this.$emit("ajFocus", item);
},
//数据展示
showData(content, item) {
console.log(123123);
this.$emit("showDatas", content, item);
},
//数据查询
queryData(content, item, index) {
console.log(123123123123123);
this.$emit("queryDatas", content, item, index);
},
showDataMain(content, item) {
console.log(123);
this.$emit("showDatasMain", content, item);
},
//数据查询
queryDataMain(content, item) {
this.$emit("queryDatasMain", content, item);
},
initFields() {
var self = this;
var ifInitRules = false;
......@@ -1483,14 +1617,14 @@ export default {
}
if (isJPG) {
this.$set(self.imageUrl, item.id, file.raw);
if(this.pageBs == 'addZdjyhd') {
if (this.pageBs == "addZdjyhd") {
// self.formLabelAlign[item.id].push(URL.createObjectURL(file.raw))
this.$set(
self.formLabelAlign,
item.id,
URL.createObjectURL(file.raw)
);
}else {
} else {
this.$set(
self.formLabelAlign,
item.id,
......
......@@ -485,7 +485,9 @@
pageBs != 'querySdtdyp' &&
pageBs != 'queryXnpg' &&
pageBs != 'rwgl' &&
pageBs != 'querySdtdyp'
pageBs != 'querySdtdyp' &&
pageBs != 'queryXshbZd'
"
>
<i class="el-icon-plus"></i> 新增
......@@ -1414,7 +1416,8 @@
pageBs == 'qyeryrlqbxsGl' ||
pageBs == 'queryXnpg' ||
pageBs == 'queryJqcc' ||
pageBs == 'queryAjcc'
pageBs == 'queryAjcc' ||
pageBs == 'queryXshbZd'
)
"
>
......
......@@ -72,6 +72,15 @@ const menuLayouts = [
},
component: () => import("@/views/zdxx/zdjyhd/qzdjs.vue")
},
{
path: "/zdjywptjt",
name: "zdjywptjt",
meta: {
title: '阵地风险程度统计'
},
component: () => import("@/views/zdxx/zdjyhd/zdjywptjt.vue")
},
];
export default {
......
......@@ -208,4 +208,12 @@ export default [
},
component: () => import("@/views/zdxx/zdxsxx/adjustZdxsxx.vue")
},
// {
// path: "/queryXshbZd",
// name: "queryXshbZd",
// meta: {
// title: '阵地线索信息'
// },
// component: () => import("@/views/zdxx/zdxxgl/queryXshbZd.vue")
// },
]
\ No newline at end of file
......@@ -355,7 +355,7 @@ const zdglryxx = [
codeOptions: [],
codeTree: "CODE_IF",
disabled: false,
// prop: "checkEmpty",
prop: "checkEmpty",
value: "",
placeholder: "请选择",
col: "2",
......
......@@ -545,6 +545,22 @@ export default {
className: "iconfont icongongnengfuwu",
disabled: false,
},
{
id: "zdfxcdtj",
label: "阵地风险程度统计",
index: "zdfxcdtj",
auth: "M0102",
className: "iconfont icongongnengfuwu",
disabled: false,
},
{
id: "zdjywptjt",
label: "阵地交易物品统计",
index: "zdjywptjt",
auth: "M0102",
className: "iconfont icongongnengfuwu",
disabled: false,
},
],
},
{
......
......@@ -631,6 +631,14 @@ export default {
hasChildren: false,
},
// {
// id: "queryXshbZd",
// label: "阵地线索列表展示",
// newAuth: "M01",
// index: "queryXshbZd",
// className: "iconfont icongongnengfuwu",
// hasChildren: false,
// },
// {
// id: "xsbk",
// label: "我发起的线索布控",
// index: "xsbk",
......@@ -674,15 +682,15 @@ export default {
},
methods: {
toInforDa(scope) {
debugger
// http://39.99.155.173:8003/doLogin?zjhm=142302198901012417
debugger;
// http://39.99.155.173:8003/doLogin?zjhm=142302198901012417
// http://39.99.155.173:8003/queryAjdaxxs?asjbh=A4419615400002020086063
var userInfo = JSON.parse(sessionStorage.getItem("userInfo"));
var idcard = userInfo.identitycard;
let path = `${base.alyIP5}/doLogin?zjhm=${idcard}`
window.open(path, "_blank");
let paths = `${base.alyIP5}/queryAjdaxxs?asjbh=${scope.asjbh}`
window.open(paths, "_blank");
var userInfo = JSON.parse(sessionStorage.getItem("userInfo"));
var idcard = userInfo.identitycard;
let path = `${base.alyIP5}/doLogin?zjhm=${idcard}`;
window.open(path, "_blank");
let paths = `${base.alyIP5}/queryAjdaxxs?asjbh=${scope.asjbh}`;
window.open(paths, "_blank");
},
showDialogS(data) {
this.dialogS = true;
......@@ -1134,135 +1142,49 @@ export default {
],
},
{
name: "线索名称",
id: "xsmc",
name: "阵地线索名称",
id: "qbxsmc",
type: "text",
value: "",
placeholder: "请输入",
col: "3",
},
{
name: "线索类别",
id: "xsfldm",
type: "codeTreeDialog",
props: [], //字典弹框需要的字段
value: "",
col: "3",
codeOptions: [],
codeTree: "CODE_XSHBFL",
},
{
name: "线索状态",
id: "xsztdm",
type: "codeTreeDialog",
props: [], //字典弹框需要的字段
value: "",
placeholder: "",
col: "3",
codeOptions: [],
codeTree: "CODE_XSHBZT",
},
{
name: "涉及地区",
id: "sjdq",
name: "线索类型",
id: "zdxsrlqbxs",
type: "codeTreeDialog",
props: [], //字典弹框需要的字段
value: "",
col: "3",
codeOptions: [],
codeTree: "CODE_XZQH",
},
{
name: "举报人",
id: "jbrXm",
type: "text",
value: "",
placeholder: "请输入",
col: "3",
},
{
name: "嫌疑人",
id: "xyrXm",
type: "text",
value: "",
placeholder: "请输入",
col: "3",
},
{
name: "录入单位",
id: "xxdjdwGajgjgdm",
type: "codeTreeDialog",
props: [], //字典弹框需要的字段
value: "",
col: "3",
codeOptions: [],
codeTree: "CODE_UNIT",
},
{
name: "录入时间",
id: "djsjStart",
id2: "djsjEnd",
type: "zdyDate",
props: [],
value: "",
placeholder: "",
col: "3",
},
];
var arrey = [
{
label: "线索名称",
prop: "xsmc",
width: "200",
},
{
label: "线索类别",
prop: "xsfldmStr",
width: "200",
},
{
label: "线索状态",
prop: "xsztdmStr",
width: "200",
},
{
label: "涉及地区",
prop: "sjdqStr",
width: "200",
},
{
label: "举报人姓名",
prop: "jbrXm",
width: "200",
},
{
label: "嫌疑人姓名",
prop: "xyrXm",
width: "200",
},
{
label: "办结结论",
prop: "bjjgdmStr",
width: "200",
},
{
label: "线索详情",
prop: "xsxq",
width: "200",
label: "阵地线索名称",
prop: "qbxsmc",
// toInfor: true,
},
{
label: "录入时间",
prop: "djsj",
width: "200",
label: "情报线索内容",
prop: "qbxsnr",
},
{
label: "录入单位",
prop: "xxdjdwGajgmc",
width: "200",
label: "线索类型",
prop: "zdxsrlqbxs",
},
{
label: "关联案件",
prop: "sfyaj",
isShowDialog: true,
},
// {
// label: "关联案件",
// prop: "sfyaj",
// isShowDialog: true,
// },
];
let lengtha = arreyTj.length - this.cxQueryField.length;
if (lengtha < 0) {
......
......@@ -6,8 +6,85 @@
@ajtq="ajtq"
@submit="submit"
:propTitle="title"
:propQueryMain="propQueryMain"
@queryDatasMain="queryDatasMain(arguments)"
@showDatasMain="showDatasMain(arguments)"
>
</form-compontent>
<el-dialog
title="发送信息"
:visible.sync="dialogVisiableM"
width="43%"
>
<el-table
element-loading-text="拼命加载中"
ref="itemDataTable"
:data="propQueryMain"
tooltip-effect="dark"
max-height="600"
style="margin: 0 auto"
width="100%"
size="small"
>
<el-table-column
align="center"
v-for="(columnTitle, index) in messageGet.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>
<span slot="footer" class="dialog-footer">
<el-button @click="searchDialogVisiable = false">关闭</el-button>
</span>
</el-dialog>
</div>
</template>
......@@ -19,6 +96,7 @@ import {
updateZdcyryxx,
infoZdcyryxx,
getZdryTqByZjhm,
getryxxtsByZjhm,
} from "@/api/zdxx/zdcyryxx.js";
export default {
name: "addYhkxs",
......@@ -48,7 +126,7 @@ export default {
{
name: "证件号码:",
id: "zjhm",
type: "textTq",
type: "textTqs",
value: "",
prop: "checkEmpty",
placeholder: "请输入",
......@@ -186,6 +264,7 @@ export default {
value: "0",
placeholder: "请输入",
col: "2",
prop: "checkEmpty",
},
],
},
......@@ -224,6 +303,28 @@ export default {
],
xxzjbh: "",
glxxzjbh: "",
propQueryMain: [],
dialogVisiableM: false,
messageGet: {
cxDefaultFormThead: [
{
label: "阵地规模",
prop: "zdgm",
},
{
label: "分线程度",
prop: "fxcd",
},
{
label: "阵地名称",
prop: "zdmc",
},
{
label: "阵地联系电话",
prop: "zdlxdh",
},
],
},
};
},
methods: {
......@@ -337,6 +438,22 @@ export default {
})
// }
},
queryDatasMain(item) {
console.log(item);
var params = new FormData()
params.append('zjhm',item[0])
params.append('page','1')
params.append('limit','10')
getryxxtsByZjhm(params).then((res) => {
console.log(res.data.rows);
this.propQueryMain = [ ...res.data.rows ]
console.log(this.propQueryMain);
})
},
showDatasMain(item) {
console.log(item);
this.dialogVisiableM = true;
},
getshuju() {
var self = this;
let loading = this.$loading({
......
......@@ -18,6 +18,7 @@
<span class="hbyp" @click="giveInstructions(scope.scope)"
>下达指令</span
>
<span class="hbyp" @click="TOBK(scope.scope)">布控</span>
</template>
</right-content>
<!-- @add="add" -->
......@@ -410,6 +411,14 @@ export default {
this.$refs.rightContent.doQuery("yes");
},
methods: {
TOBK(scope) {
this.$router.pushToTab({
path: '/adjustXsbks',
query: { glxxlx: '0003',
bkdxLxdm: '04',
bkdx_hm: scope.row.zjhm},
})
},
add() {
this.$router.pushToTab("addZdcyryxx");
},
......
......@@ -5,7 +5,10 @@
:formLabelAligns="formLabelAlign"
@submit="submit"
:propTitle="title"
@messageTq="messageTq"
@messageTq="messageTq(arguments)"
@queryDatas="queryDatas(arguments)"
@showDatas="showDatas(arguments)"
:propQuery="propQuery"
>
</form-compontent>
......@@ -262,6 +265,80 @@
</el-tabs>
</div>
</el-card>
<el-dialog
title="发送信息"
:visible.sync="dialogVisiableM"
width="43%"
>
<el-table
element-loading-text="拼命加载中"
ref="itemDataTable"
:data="propQuery"
tooltip-effect="dark"
max-height="600"
style="margin: 0 auto"
width="100%"
size="small"
>
<el-table-column
align="center"
v-for="(columnTitle, index) in messageGet.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>
<span slot="footer" class="dialog-footer">
<el-button @click="dialogVisiableM = false">关闭</el-button>
</span>
</el-dialog>
</div>
</template>
......@@ -272,6 +349,8 @@ import {
updateZdjyhd,
infoZdjyhd,
getZdryTqByZjhm,
getZdjyhdryTqByZjhm,
getjyryxxtsByZjhm,
} from "@/api/zdxx/zdjyhd.js";
import {
deleteSsdyxx,
......@@ -422,7 +501,7 @@ export default {
{
name: "证件号码:",
id: "zjhm",
type: "textTq",
type: "textTqs",
value: "",
placeholder: "请输入",
prop: "checkEmpty",
......@@ -1115,6 +1194,29 @@ export default {
],
cxUrl: "/rlqb/getAjListByS",
},
//消息推送
propQuery: [],
dialogVisiableM: false,
messageGet: {
cxDefaultFormThead: [
{
label: "阵地规模",
prop: "zdgm",
},
{
label: "分线程度",
prop: "fxcd",
},
{
label: "阵地名称",
prop: "zdmc",
},
{
label: "阵地联系电话",
prop: "zdlxdh",
},
],
},
};
},
methods: {
......@@ -1222,7 +1324,7 @@ export default {
messageTq(item) {
debugger
let self = this;
TqRlqByZjhm({
getZdjyhdryTqByZjhm({
zjhm: item[0]
}).then((res) => {
if (res.success && res.code == 200) {
......@@ -1256,6 +1358,22 @@ export default {
}
});
},
queryDatas(item) {
console.log(item);
var params = new FormData()
params.append('zjhm',item[0])
params.append('page','1')
params.append('limit','10')
getjyryxxtsByZjhm(params).then((res) => {
console.log(res.data.rows);
this.propQuery = [ ...res.data.rows ]
console.log(this.propQuery);
})
},
showDatas(item) {
console.log(item);
this.dialogVisiableM = true;
},
//损失物品方法
handleClick(tab, event) {
// console.log(tab, event);
......
......@@ -70,7 +70,7 @@ export default {
return {
pageBs: "zdsfhgtjt",
header: "阵地人员是否换岗统计",
// cxUrl: "/zdryxx/selectZdyrxx",
cxUrl: "/zdryxx/selectZdyrxx",
historyArr: [],
formData: {
djsjStart: this.$moment(
......
......@@ -48,6 +48,7 @@
>
</template>
<template #btnGroup="scope">
<span class="hbyp" @click="TOBK(scope.scope)">布控</span>
<span class="hbyp" @click="editCY(scope.scope)">修改</span>
<span class="hbyp" @click="deleCY(scope.scope)">删除</span>
<span class="hbyp" @click="giveInstructions(scope.scope)"
......@@ -143,6 +144,7 @@
<template #btnGroup="scope">
<span class="hbyp" @click="editXS(scope.scope)">修改</span>
<span class="hbyp" @click="deleXS(scope.scope)">删除</span>
<span class="hbyp" @click="TOHBXS(scope.scope)">线索核办</span>
</template>
</right-content>
</div>
......@@ -859,6 +861,14 @@ export default {
query: { xxzjbh: scope.row.xxzjbh },
});
},
TOBK(scope){
this.$router.pushToTab({
path: '/adjustXsbks',
query: { glxxlx: '0003',
bkdxLxdm: '04',
bkdx_hm: scope.row.zjhm},
})
},
deleCY(scope) {
this.$confirm("此操作将永久删除该文件, 是否继续?", "提示", {
confirmButtonText: "确定",
......@@ -1042,6 +1052,10 @@ export default {
});
});
},
TOHBXS(scope) {
let path = `http://39.99.155.173:9003/#/queryXshb?xxzjbh=${scope.row.xxzjbh}`;
window.open(path, "_blank");
},
toInforXS(data) {
this.$router.pushToTab({
path: "/zdxsxxDetail",
......
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