Commit 54b443dd by gao_yingdong

侦查脑图

parent c805b34b
import { get, post, postform } from "@/utils/http.js";
import { get, post, postform, postJson } from "@/utils/http.js";
import base from "@/api/base";
// 61.1.2新增案件关注
......@@ -128,3 +128,5 @@ export const delZdcsById = params =>
post(`${base.alyIP}/zdcs/delZdcsById`, params);
export const jumplogin = params =>
postJson(`${base.alyIP17}/user/loginByZjhm`, params);
\ No newline at end of file
......@@ -463,7 +463,7 @@
查询
</div>
<div
v-if="pageASs == 'bxqd'"
v-if="pageASs == 'bxqd' || pageBs == 'queryQypz'"
@click="doFqrwCount"
style="background: #ff6700; color: #ffffff"
class="zdybtn"
......@@ -2169,6 +2169,7 @@
pageBs == 'queryZdXsbk' ||
pageBs == 'ajypfx' ||
pageBs == 'queryRyypNew' ||
pageBs == 'queryQypz' ||
pageBs == 'queryZtryJkm' ||
pageBs == 'queryZdcs' ||
pageBs == 'xsbk1' ||
......@@ -2399,6 +2400,7 @@
pageBs != 'queryZtryJkm' &&
pageBs != 'queryAjcc' &&
pageBs != 'queryRyypNew' &&
pageBs != 'queryQypz' &&
pageBs != 'queryJqcc' &&
pageBs != 'queryZdcs' &&
pageBs != 'xsbk1' &&
......@@ -3713,7 +3715,19 @@ export default {
},
methods: {
doFqrwCount() {
this.$emit("doFqrwCount");
if (this.pageBs == "queryQypz") {
let self = this;
let zjhm = JSON.parse(sessionStorage.getItem("userInfo")).identitycard;
let keyStr =
"maplogin" + self.creattimeBumderNYR(new Date()).split("-").join("");
let ivStr =
"map_vues" + self.creattimeBumderNYR(new Date()).split("-").join("");
let username = this.Encrypts(zjhm, keyStr.trim(), ivStr.trim());
let path = `${url.skdsjzcURL2}#/jumplogin?idcard=${username}&toType=ytyp`;
window.open(path, "_blank");
} else {
this.$emit("doFqrwCount");
}
},
changeTimeArr(item) {
if (
......@@ -4506,6 +4520,7 @@ export default {
this.page_size = val;
this.formData.rows = val;
this.formData.limit = val;
this.formData.pageSize = val;
this.doQuery("yes");
},
clearData() {
......@@ -4522,6 +4537,7 @@ export default {
i != "fwbshLb" &&
i != "cxzd" &&
i != "dwdm" &&
i != "tasktype" &&
i != "sfbjPdbz"
) {
self.formData[i] = "";
......@@ -4530,6 +4546,7 @@ export default {
if (self.formData["rows"]) self.formData["rows"] = 10;
if (self.formData["page"]) self.formData["page"] = 1;
if (self.formData["limit"]) self.formData["limit"] = 10;
if (self.formData["pageSize"]) self.formData["pageSize"] = 10;
this.checked1 = [];
},
formatJson(filterVal, jsonData) {
......@@ -4897,6 +4914,11 @@ export default {
)
.then((response) => {
if (response.status == "200") {
response.data.forEach((item) => {
item.sfread = item.sfread == "1" ? "已读" : "未读";
item.isdeleted =
item.isdeleted == "1" ? "删除" : "未删除";
});
self.tableData = response.data;
self.tableDataLength = response.count;
self.closeLoading();
......
......@@ -49,6 +49,30 @@ const menuLayouts = [
component: () => import("@/views/brainPhoto/brainAsjzc.vue")
},
{
path: "/queryXxbk",
name: "queryXxbk",
meta: {
title: '信息布控'
},
component: () => import("@/views/brainPhoto/queryXxbk.vue")
},
{
path: "/queryQypz",
name: "queryQypz",
meta: {
title: '区域碰撞'
},
component: () => import("@/views/brainPhoto/queryQypz.vue")
},
{
path: "/querySkbszc",
name: "querySkbszc",
meta: {
title: '时空伴随侦查'
},
component: () => import("@/views/brainPhoto/querySkbszc.vue")
},
{
path: "/brainRyqypz",
name: "brainRyqypz",
meta: {
......
......@@ -13,11 +13,7 @@
@toInfor="toInfor"
>
<template #jrnt="scope">
<span
class="hbyp"
@click="toBrai(scope.scope)"
>进入脑图</span
>
<span class="hbyp" @click="toBrai(scope.scope)">进入脑图</span>
<!-- <span
class="hbyp"
@click="sqspBtna(scope.scope)"
......@@ -32,7 +28,11 @@
<el-form :inline="true" :model="examineInfo" class="demo-form-inline">
<el-row>
<el-col :span="20" :offset="3" style="margin-top: 20px">
<el-form-item label="案件编号" class="sqsp-form" style="width:100%;">
<el-form-item
label="案件编号"
class="sqsp-form"
style="width:100%;"
>
<span>{{ examineInfo.asjbh1 }}</span>
</el-form-item>
</el-col>
......@@ -133,8 +133,8 @@
{
required: true,
message: '审核状态不能为空',
trigger: 'blur'
}
trigger: 'blur',
},
]"
style="width:100%;"
class="sqsp-form"
......@@ -155,8 +155,8 @@
{
required: true,
message: '审核状态不能为空',
trigger: 'blur'
}
trigger: 'blur',
},
]"
style="width:100%;"
class="sqsp-form"
......@@ -197,9 +197,18 @@
<span slot="footer" class="dialog-footer">
<!-- @click="dialogVisible = false" -->
<el-button v-if="activeName == 'first'" @click="tabClick('first')">下一步</el-button>
<el-button v-if="activeName == 'second'" @click="activeName = 'first'">上一步</el-button>
<el-button v-if="activeName == 'second'" type="primary" @click="updateExamine">确 定</el-button>
<el-button v-if="activeName == 'first'" @click="tabClick('first')"
>下一步</el-button
>
<el-button v-if="activeName == 'second'" @click="activeName = 'first'"
>上一步</el-button
>
<el-button
v-if="activeName == 'second'"
type="primary"
@click="updateExamine"
>确 定</el-button
>
</span>
</el-dialog>
......@@ -210,12 +219,20 @@
width="35%"
center
>
<div style="padding: 22px;width: 100%;box-sizing: border-box;height: 350px;overflow-y: auto;">
<div
style="
padding: 22px;
width: 100%;
box-sizing: border-box;
height: 350px;
overflow-y: auto;
"
>
<!-- 双签同事 -->
<el-input
v-model="selectPerson.title"
placeholder="请选择"
style="width: 100%;margin: 0 0 22px"
style="width: 100%; margin: 0 0 22px"
v-if="sqld == 'sq'"
></el-input>
<el-radio-group v-model="radioval" v-if="sqld == 'sq'" class="dis3">
......@@ -226,13 +243,15 @@
style="margin: 0 0 22px 0"
class="col3"
@change="onRadio(item, 'sq')"
> {{ item.trueName }} </el-radio>
>
{{ item.trueName }}
</el-radio>
</el-radio-group>
<!-- 领导审批 -->
<el-input
v-model="selectLeader.title"
placeholder="请选择"
style="width: 100%;margin: 0 0 22px"
style="width: 100%; margin: 0 0 22px"
v-if="sqld == 'ld'"
></el-input>
<el-radio-group v-model="radioval1" v-if="sqld == 'ld'" class="dis3">
......@@ -243,7 +262,9 @@
style="margin: 0 0 22px 0"
class="col3"
@change="onRadio(item, 'ld')"
> {{ item.trueName }} </el-radio>
>
{{ item.trueName }}
</el-radio>
</el-radio-group>
</div>
<!-- 双签同事 -->
......@@ -267,34 +288,34 @@ import base from "@/api/base";
import rightContent from "@c/ptCxForm_components.vue";
export default {
components: {
rightContent
rightContent,
},
data() {
return {
examineChoose: {
checkedsqts: "",
checkedshld: "",
checkedspld: ""
checkedspld: "",
},
leaderArr: [
{ name: "SQTS", value: [] },
{ name: "YJSP", value: [] }
{ name: "YJSP", value: [] },
],
leaderStr: "", // 双签同事
// 双签同事赋值
selectPerson: {
title: "",
value: ""
value: "",
},
selectLeader: {
title: "",
value: ""
value: "",
},
policemanidStr: "", //领导审批
// 双签同事赋值
policemanidRadio: {
title: "",
value: ""
value: "",
},
radioval: "",
radioval1: "",
......@@ -323,7 +344,7 @@ export default {
ajfl: "",
larqStart: "",
larqEnd: "",
permission: JSON.parse(sessionStorage.getItem('userInfo')).permission,
permission: JSON.parse(sessionStorage.getItem("userInfo")).permission,
},
typeNt: "AjXx",
cxQueryField: [
......@@ -333,7 +354,7 @@ export default {
type: "text",
value: "",
placeholder: "请输入",
col: "3"
col: "3",
},
{
name: "立案单位",
......@@ -514,80 +535,80 @@ export default {
// // },
// ],
// },
// {
// id: "shsethfx",
// label: "涉黑涉恶案件侦查",
// newAuth: "M01",
// index: "shsethfx",
// className: "iconfont icongongnengfuwu",
// hasChildren: true,
// children: [
// {
// id: "queryShseaj",
// label: "案件信息管理",
// newAuth: "M0101",
// index: "queryShseaj",
// className: "iconfont icongongnengfuwu",
// hasChildren: false,
// },
// {
// id: "queryShsery",
// label: "人员信息管理",
// newAuth: "M0102",
// index: "queryShsery",
// className: "iconfont icongongnengfuwu",
// hasChildren: false,
// },
// {
// id: "queryFzth",
// label: "犯罪团伙信息管理",
// newAuth: "M0103",
// index: "queryFzth",
// className: "iconfont icongongnengfuwu",
// hasChildren: false,
// },
// {
// id: "queryShseTh",
// label: "团伙关系分析",
// newAuth: "M0105",
// index: "queryShseTh",
// className: "iconfont icongongnengfuwu",
// hasChildren: false,
// },
// {
// id: "queryXsxx",
// label: "线索信息管理",
// newAuth: "M0104",
// index: "queryXsxx",
// className: "iconfont icongongnengfuwu",
// hasChildren: false,
// },
// {
// id: "queryShseajxxxsyj",
// label: "案件信息线索预警",
// newAuth: "M0104",
// index: "shseajxxxsyj",
// className: "iconfont icongongnengfuwu",
// hasChildren: false
// },
// {
// id: "queryShseryxxyj",
// label: "人员线索预警",
// newAuth: "M0104",
// index: "shseryxxyj",
// className: "iconfont icongongnengfuwu",
// hasChildren: false
// },
// {
// id: "queryZdcs",
// label: "重点场所信息管理",
// newAuth: "M0106",
// index: "queryZdcs",
// className: "iconfont icongongnengfuwu",
// hasChildren: false,
// }
// ],
// },
{
id: "shsethfx",
label: "涉黑涉恶案件侦查",
newAuth: "M01",
index: "shsethfx",
className: "iconfont icongongnengfuwu",
hasChildren: true,
children: [
{
id: "queryShseaj",
label: "案件信息管理",
newAuth: "M0101",
index: "queryShseaj",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryShsery",
label: "人员信息管理",
newAuth: "M0102",
index: "queryShsery",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryFzth",
label: "犯罪团伙信息管理",
newAuth: "M0103",
index: "queryFzth",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryShseTh",
label: "团伙关系分析",
newAuth: "M0105",
index: "queryShseTh",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryXsxx",
label: "线索信息管理",
newAuth: "M0104",
index: "queryXsxx",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryShseajxxxsyj",
label: "案件信息线索预警",
newAuth: "M0104",
index: "shseajxxxsyj",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryShseryxxyj",
label: "人员线索预警",
newAuth: "M0104",
index: "shseryxxyj",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryZdcs",
label: "重点场所信息管理",
newAuth: "M0106",
index: "queryZdcs",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
],
},
{
id: "rchzb",
label: "人车号侦办",
......@@ -755,6 +776,30 @@ export default {
// },
// ],
// },
{
id: "queryXxbk",
label: "信息布控",
newAuth: "M01",
index: "queryXxbk",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryQypz",
label: "区域碰撞",
newAuth: "M01",
index: "queryQypz",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "querySkbszc",
label: "时空伴随侦查",
newAuth: "M01",
index: "querySkbszc",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
],
};
},
......@@ -765,7 +810,7 @@ export default {
},
methods: {
toInfor(scope) {
debugger
debugger;
let path = `${this.$baseUrl.alyIP6}/queryAjdaxxs?asjbh=${scope.asjbh}`;
window.open(path, "_blank");
},
......@@ -804,10 +849,10 @@ export default {
orderTitle: this.examineInfo.ajmc,
orderReason: this.examineInfo.sqyy,
orderCounterSignPid: this.selectPerson.value, // 双签
orderOnegradePid: this.selectLeader.value // 审核领导
orderOnegradePid: this.selectLeader.value, // 审核领导
// orderTwogradePid: this.examineChoose.checkedspld
};
saveSpxx(params).then(res => {
saveSpxx(params).then((res) => {
if (res.success && res.code == 200) {
this.$alert("审批成功!", "提示", {
confirmButtonText: "确定",
......@@ -842,12 +887,12 @@ export default {
this.examineInfo.asjbh1 = scope.row.asjbh;
this.dialogVisible = true;
}
this.leaderArr.map(item => {
this.leaderArr.map((item) => {
getApproveUsers({
// account: "ts",
// passwprd: 0,
approveType: item.name
}).then(res => {
approveType: item.name,
}).then((res) => {
if (res.success && res.code == 200) {
console.log(res.data.rows);
item.value = res.data.rows;
......@@ -856,25 +901,15 @@ export default {
});
},
aaasertBtn(scope) {
// let path = `http://10.184.14.198:9047/toAddAsjxx?asjbh=${scope.row.asjbh}`;
// window.open(path, "_blank");
// let base = encodeURIComponent(
// secret.Encrypt(
// JSON.stringify(JSON.parse(sessionStorage.getItem("userInfo")))
// )
// );
// let path = `http://74.6.54.169:8003/#/jump?token=${base}&path=/addajjbxx&asjbh=${scope.row.asjbh}`;
// debugger;
let path =
"http://74.6.54.169:8003" + "/toAddAsjxx?asjbh=" + scope.row.asjbh;
window.open(path, "_blank");
// let path =
// "http://74.6.54.169:8003" + "/toAddAsjxx?asjbh=" + scope.row.asjbh;
// window.open(path, "_blank");
// this.$router.pushToTab({
// path: "addajjbxx",
// query: {
// asjbh: scope.row.asjbh,
// },
// });
this.$router.pushToTab({
path: "/addajjbxx",
query: {
asjbh: scope.row.asjbh,
},
});
},
toBrai(scope) {
let ajfl = "";
......
<template>
<div class="Content">
<right-content
:pageBs="pageBs"
:header="header"
:cxFormData="cxFormData"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
ref="rightContent"
>
<template #btnGroup="scope">
<span class="hbyp" @click="toBrai(scope.scope)">脑图</span>
</template>
</right-content>
</div>
</template>
<script>
import rightContent from "@c/ptCxForm_components.vue";
export default {
components: {
rightContent,
},
data() {
return {
header: "侦查",
pageBs: "queryQypz",
cxFormData: {
taskname: "",
tasktype: "qypz_people,qypz_car,qypz_img",
page: 1,
pageSize: 10,
kssj: "",
jssj: "",
},
cxQueryField: [
{
name: "任务名称",
id: "taskname",
type: "text",
value: "",
placeholder: "请输入",
col: "3",
},
{
name: "开始时间",
id: "kssj",
type: "datetime",
value: "",
col: "3",
},
{
name: "结束时间",
id: "jssj",
type: "datetime",
value: "",
col: "3",
},
],
cxDefaultFormThead: [
// {
// label: "审批状态",
// prop: "spzt",
// },
{
label: "任务id",
prop: "taskid",
width: "200",
},
{
label: "对应案件编号",
prop: "taskcaseid",
width: "280",
},
{
label: "任务名称",
prop: "taskname",
},
{
label: "类型名称",
prop: "typename",
},
{
label: "是否已读",
prop: "sfread",
},
{
label: "状态名称",
prop: "statename",
},
{
label: "发送人警号",
prop: "fsrjh",
},
{
label: "发送人身份证号码",
prop: "fsridentity",
},
{
label: "发送人姓名",
prop: "fsrxm",
},
{
label: "发送时间",
prop: "fssj",
},
{
label: "是否删除",
prop: "isdeleted",
},
{
label: "结果数量",
prop: "resultCount",
},
],
Menu: [
{
id: "queryQypz",
label: "区域碰撞",
index: "queryQypz",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
],
};
},
created() {
this.$store.commit("user/SET_Menu", this.Menu);
},
methods: {
// naotu
toBrai(scope) {
debugger
var userInfo = JSON.parse(sessionStorage.getItem("userInfo"));
var idcard = userInfo.identitycard;
var params = {
type: "qypz",
kybh: scope.row.taskid,
ajmc: scope.row.taskname,
userId: idcard,
username: userInfo.userName,
trueName: userInfo.userName,
identitycard: userInfo.identitycard,
unitcode: userInfo.unitcode,
unitname: userInfo.unitname,
};
this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params);
},
toDetail(url, PARAMS) {
var temp_form = document.createElement("form");
temp_form.action = url;
temp_form.target = "_blank";
temp_form.method = "post";
temp_form.style.display = "none";
for (var x in PARAMS) {
var opt = document.createElement("textarea");
opt.name = x;
opt.value = PARAMS[x];
temp_form.appendChild(opt);
}
document.body.appendChild(temp_form);
temp_form.submit();
},
},
watch: {},
};
</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;
}
.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">
.el-form-item {
margin: 15px 0 20px 0;
}
.red {
color: red;
}
.black {
color: black;
}
@import "@/assets/styles/rightContent.scss";
.hbyp {
font-size: 14px;
font-family: Source Han Sans CN;
font-weight: 400;
line-height: 22px;
color: #007aff;
margin-right: 16px;
cursor: pointer;
}
/deep/ .sqsp-class {
height: 400px;
overflow-y: auto;
.el-form {
.sqsp-form {
margin: 0 0 22px !important;
.el-form-item__label,
.el-form-item__content {
line-height: 1.6;
vertical-align: middle;
}
&.solo {
.el-form-item__content {
// width: 70%;
}
}
}
}
}
/deep/ .el-tabs {
.el-tabs__item {
color: #333;
}
}
/deep/ .el-select {
.el-select-dropdown {
display: none;
}
}
/deep/ .dis3 {
display: flex;
flex-wrap: wrap;
.col3 {
flex: 1 0 33.3333%;
}
}
</style>
<template>
<div class="Content">
<right-content
:pageBs="pageBs"
:header="header"
:cxFormData="cxFormData"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
ref="rightContent"
>
<template #btnGroup="scope">
<span class="hbyp" @click="toBrai(scope.scope)">脑图</span>
</template>
</right-content>
</div>
</template>
<script>
import rightContent from "@c/ptCxForm_components.vue";
export default {
components: {
rightContent,
},
data() {
return {
header: "侦查",
pageBs: "queryQypz",
cxFormData: {
taskname: "",
tasktype: "skbs",
page: 1,
pageSize: 10,
kssj: "",
jssj: "",
},
cxQueryField: [
{
name: "任务名称",
id: "taskname",
type: "text",
value: "",
placeholder: "请输入",
col: "3",
},
{
name: "开始时间",
id: "kssj",
type: "datetime",
value: "",
col: "3",
},
{
name: "结束时间",
id: "jssj",
type: "datetime",
value: "",
col: "3",
},
],
cxDefaultFormThead: [
// {
// label: "审批状态",
// prop: "spzt",
// },
{
label: "任务id",
prop: "taskid",
width: "200",
},
{
label: "对应案件编号",
prop: "taskcaseid",
width: "280",
},
{
label: "任务名称",
prop: "taskname",
},
{
label: "伴随相关战法",
prop: "objectvalue",
},
{
label: "类型名称",
prop: "typename",
},
{
label: "是否已读",
prop: "sfread",
},
{
label: "状态名称",
prop: "statename",
},
{
label: "发送人警号",
prop: "fsrjh",
},
{
label: "发送人身份证号码",
prop: "fsridentity",
},
{
label: "发送人姓名",
prop: "fsrxm",
},
{
label: "发送时间",
prop: "fssj",
},
{
label: "是否删除",
prop: "isdeleted",
},
{
label: "结果数量",
prop: "resultCount",
},
],
Menu: [
{
id: "queryQypz",
label: "区域碰撞",
index: "queryQypz",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
],
};
},
created() {
this.$store.commit("user/SET_Menu", this.Menu);
},
methods: {
// naotu
toBrai(scope) {
debugger;
var userInfo = JSON.parse(sessionStorage.getItem("userInfo"));
var idcard = userInfo.identitycard;
var params = {
type: "skbs",
kybh: scope.row.taskid,
ajmc: scope.row.taskname,
userId: idcard,
username: userInfo.userName,
trueName: userInfo.userName,
identitycard: userInfo.identitycard,
unitcode: userInfo.unitcode,
unitname: userInfo.unitname,
};
this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params);
},
toDetail(url, PARAMS) {
var temp_form = document.createElement("form");
temp_form.action = url;
temp_form.target = "_blank";
temp_form.method = "post";
temp_form.style.display = "none";
for (var x in PARAMS) {
var opt = document.createElement("textarea");
opt.name = x;
opt.value = PARAMS[x];
temp_form.appendChild(opt);
}
document.body.appendChild(temp_form);
temp_form.submit();
},
},
watch: {},
};
</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;
}
.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">
.el-form-item {
margin: 15px 0 20px 0;
}
.red {
color: red;
}
.black {
color: black;
}
@import "@/assets/styles/rightContent.scss";
.hbyp {
font-size: 14px;
font-family: Source Han Sans CN;
font-weight: 400;
line-height: 22px;
color: #007aff;
margin-right: 16px;
cursor: pointer;
}
/deep/ .sqsp-class {
height: 400px;
overflow-y: auto;
.el-form {
.sqsp-form {
margin: 0 0 22px !important;
.el-form-item__label,
.el-form-item__content {
line-height: 1.6;
vertical-align: middle;
}
&.solo {
.el-form-item__content {
// width: 70%;
}
}
}
}
}
/deep/ .el-tabs {
.el-tabs__item {
color: #333;
}
}
/deep/ .el-select {
.el-select-dropdown {
display: none;
}
}
/deep/ .dis3 {
display: flex;
flex-wrap: wrap;
.col3 {
flex: 1 0 33.3333%;
}
}
</style>
<template>
<div class="Content">
<right-content
:pageBs="pageBs"
:header="header"
:cxFormData="cxFormData"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
@toInfor="toInfor"
@doFqrwCount="doFqrwCount"
pageASs="bxqd"
ref="rightContent"
>
<template #btnGroup="scope">
<span class="hbyp" @click="goNt(scope.scope)">脑图</span>
<span class="hbyp" @click="dele(scope.scope)">删除</span>
</template>
</right-content>
</div>
</template>
<script>
import rightContent from "@c/ptCxForm_components.vue";
import {
backBkxx,
bkxxSp,
getTaskResult,
deleteBkxx,
bkxxTqsp,
bkxxChsp,
qxBackBkxx,
} from "@/api/xshb/xsbk.js";
export default {
name: "xsbk",
components: {
rightContent,
},
data() {
return {
form: {
xxzjbh: "",
ckyy: "",
},
dialogTableVisible: false,
header: "线索布控",
pageBs: "xsbk1",
cxFormData: {
limit: 10,
page: 1,
xsbh: "",
bkdxLxdm: "",
bkdxHm: "",
bkzt: "",
sqrXm: "",
djsjStart: "",
djsjEnd: "",
glxxlx: "0007",
},
cxQueryField: [
{
name: "线索编号",
id: "xsbh",
type: "text",
value: "",
placeholder: "请输入",
col: "3",
},
{
name: "布控对象类型",
id: "bkdxLxdm",
type: "codeTreeDialog",
props: [], //字典弹框需要的字段
value: "",
col: "3",
codeOptions: [],
codeTree: "CODE_BKLXDM",
},
{
name: "布控对象号码",
id: "bkdxHm",
type: "text",
value: "",
placeholder: "请输入",
col: "3",
},
{
name: "布控状态",
id: "bkzt",
type: "codeTreeDialog",
props: [], //字典弹框需要的字段
value: "",
col: "3",
codeOptions: [],
codeTree: "CODE_BKZTDM",
},
{
name: "申请人",
id: "sqrXm",
type: "text",
value: "",
placeholder: "请输入",
col: "3",
},
{
name: "申请时间",
id: "djsjStart",
id2: "djsjEnd",
type: "zdyDate",
value: "",
col: "3",
},
],
cxDefaultFormThead: [
{
label: "信息主键编号",
prop: "xxzjbh",
toInfor: true,
width: "250",
},
{
label: "布控对象类型",
prop: "bkdxLxdmStr",
width: "200",
},
{
label: "布控对象号码",
prop: "bkdxHm",
width: "200",
},
{
label: "布控状态",
prop: "bkztStr",
width: "200",
},
{
label: "布控要求",
prop: "bkyq",
width: "300",
},
{
label: "布控依据",
prop: "bkyj",
width: "300",
},
{
label: "申请人",
prop: "sqrXm",
width: "200",
},
{
label: "申请时间",
prop: "djsj",
width: "200",
},
],
cxUrl: "/xsbk/getBkxxList",
Menu: [
{
id: "queryXxbk",
label: "信息布控",
index: "queryXxbk",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
],
selectArr: [],
ckForm: {
file: "",
},
fileArr: [],
zdXxzjbh: "",
};
},
created() {
this.$store.commit("user/SET_Menu", this.Menu);
},
methods: {
doFqrwCount() {
this.$router.pushToTab({
path: "/adjustXsbks",
query: {
glxxlxType: "0007",
},
});
},
// naotu
goNt(scope) {
debugger
var userInfo = JSON.parse(sessionStorage.getItem("userInfo"));
var idcard = userInfo.identitycard;
var params = {
type: "xxbk",
kybh: scope.row.xxzjbh,
userId: idcard,
username: userInfo.userName,
trueName: userInfo.userName,
identitycard: userInfo.identitycard,
unitcode: userInfo.unitcode,
unitname: userInfo.unitname,
};
this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params);
},
toDetail(url, PARAMS) {
var temp_form = document.createElement("form");
temp_form.action = url;
temp_form.target = "_blank";
temp_form.method = "post";
temp_form.style.display = "none";
for (var x in PARAMS) {
var opt = document.createElement("textarea");
opt.name = x;
opt.value = PARAMS[x];
temp_form.appendChild(opt);
}
document.body.appendChild(temp_form);
temp_form.submit();
},
/**
* @description 详情
*/
toInfor(row) {
this.$router.pushToTab({
path: "/detailXsbks",
query: {
xxzjbh: row.xxzjbh,
},
});
},
// 删除
dele(scope) {
this.$confirm("此操作将永久删除该文件, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
deleteBkxx({
xxzjbh: scope.row.xxzjbh,
}).then((res) => {
if (res.success && res.code == 200) {
this.$message({
type: "success",
message: "删除成功",
});
this.$refs.rightContent.doQuery("yes");
}
});
})
.catch(() => {
this.$message({
type: "info",
message: "已取消删除",
});
});
},
},
watch: {},
};
</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;
}
.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">
.el-form-item {
margin: 15px 0 20px 0;
}
.red {
color: red;
}
.black {
color: black;
}
@import "@/assets/styles/rightContent.scss";
.hbyp {
font-size: 14px;
font-family: Source Han Sans CN;
font-weight: 400;
line-height: 22px;
color: #007aff;
margin-right: 16px;
cursor: pointer;
}
.hbyps {
width: 64px;
height: 24px;
background: #ffffff;
border: 1px solid #007aff;
opacity: 1;
border-radius: 4px;
text-align: center;
align-items: center;
display: inline-block;
font-size: 12px !important;
font-weight: 400 !important;
color: #007aff !important;
cursor: pointer;
}
</style>
......@@ -228,6 +228,8 @@ export default {
? this.$route.query.glxxlx
: this.glxxlx
? this.glxxlx
: this.$route.query.glxxlxType
? this.$route.query.glxxlxType
: "0001"
);
if (this.$route.query.jsonstr) {
......@@ -413,7 +415,7 @@ export default {
xxzjbh: this.xxzjbh,
}).then((res) => {
if (res.success && res.code == 200) {
debugger
debugger;
res.data.rows.forEach((item) => {
this.formLabelAlign.mxList.push(item.xxzjbh);
this.xxzjbhList.push(item.xxzjbh);
......
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