Commit 4feddc72 by yuhao

修改阵地

parent 2e88bdd3
......@@ -65,15 +65,19 @@ export const getZdgzryResult = params =>
export const getSfhgResult = params =>
post(`${base.alyIP}/zdryxx/getSfhgResult`, params);
//阵地交易物品统计
export const getJywptjxx = params =>
post(`${base.alyIP}/zdjyhdxx/getJywptjxx`, params);
post(`${base.alyIP}/zdjyhdxx/getJywptjxx`, params);
//阵地交易活动相关人员提取
export const getZdjyhdryTqByZjhm = params =>
post(`${base.alyIP}/zdjyhdxx/getZdjyhdryTqByZjhm`, params);
post(`${base.alyIP}/zdjyhdxx/getZdjyhdryTqByZjhm`, params);
//阵地交易活动消息推送
export const getjyryxxtsByZjhm = params =>
postform(`${base.alyIP}/zdjyhdxx/getjyryxxtsByZjhm`, params);
postform(`${base.alyIP}/zdjyhdxx/getjyryxxtsByZjhm`, params);
//推送至刑嫌人员
export const zdxzyj = params =>
postform(`${base.alyIP}/zdjyhdxx/zdxzyj`, params);
......@@ -10,6 +10,7 @@ import Vue from "vue";
import VueRouter from "vue-router";
import indexRoutes from "./modules/index";
import zdxxRoutes from "./modules/zdxx";
import gwqtRoutes from "./modules/gwqt";
import sfRoutes from "./modules/sf";
import xxtkRoutes from "./modules/xxtk";
import kyxsRoutes from "./modules/kyxs";
......@@ -92,6 +93,7 @@ export const constantRoutes = [
export const asyncRoutes = [
...znhfwModuleRoutes,
...zdxxRoutes,
...gwqtRoutes,
...dxwlzpRoutes,
...zdsswpRoutes,
...xsspPtRoutes,
......
import menuLayout from "@/layout/menuLayout.vue";
const menuLayouts = [
{
path: "/queryGwqt",
name: "queryGwqt",
meta: {
title: '高危群体'
},
component: () => import("@/views/gwqt/gwqt/queryGwqt.vue")
},
]
export default [
{
path: "/right",
component: menuLayout,
children: [...menuLayouts]
}, {
path: "/addGwqt",
name: "addGwqt",
meta: {
title: '高危群体新增'
},
component: () => import("@/views/gwqt/gwqt/addGwqt.vue")
}, {
path: "/gwqtDetail",
name: "gwqtDetail",
meta: {
title: '高危群体详情'
},
component: () => import("@/views/gwqt/gwqt/gwqtDetail.vue")
}
]
\ No newline at end of file
<template>
<div>
<form-compontent :formField="propFormField"
:formLabelAligns="formLabelAlign"
@submit="submit"
:propTitle="title"
:pageBs='pageBs'
@getDialogSeletedDw="getDialogSeletedDw">
</form-compontent>
<div style="
background: #fff;
margin: -56px auto 20px;
border-radius: 10px;
width: 1200px;
">
<div style="padding: 13px 20px; border-bottom: 1px solid #e4e4e4">
<span style="
font-size: 18px;
font-family: Source Han Sans CN;
font-weight: 600;
color: #363636;
">团伙关联案件信息
<span class="zkSq"
@click="showGlgaShow">
{{ ghglajxxShow ? "收起" : "展开" }}
</span>
<span class="wzNr">
<span class="wzTz">
{{ tableDataLengthDb }}
</span></span>
</span>
</div>
<div style="padding: 20px"
v-if="ghglajxxShow">
<el-table ref="multipleTable"
:data="gridDataDb"
v-loading="tableLoadingDb"
element-loading-text="拼命加载中"
center
border
style="width: 100%">
<el-table-column v-for="(item, index) in dbList"
:key="index"
:label="item.label"
:prop="item.prop"
:width="item.width"
align="center">
<template slot-scope="scope">
<div>
<span v-html="scope.row[item.prop]"></span>
</div>
</template>
</el-table-column>
</el-table>
<!--分页-->
<el-pagination background
@size-change="handleSizeChangeDb"
@current-change="handleCurrentChangeDb"
:current-page.sync="currentPagDb"
:page-sizes="[5, 10, 20, 50]"
:page-size="page_sizeDb"
layout="sizes,prev, pager, next"
:total="tableDataLengthDb">
</el-pagination>
</div>
</div>
<div style="
background: #fff;
margin: -56px auto 70px;
border-radius: 10px;
width: 1200px;
margin-top: 20px;
">
<div style="padding: 13px 20px; border-bottom: 1px solid #e4e4e4">
<span style="
font-size: 18px;
font-family: Source Han Sans CN;
font-weight: 600;
color: #363636;
">团伙关联嫌疑人信息
<span class="zkSq"
@click="showGlga">
{{ thGlxyr ? "收起" : "展开" }}
</span>
<span class="wzNr">
<span class="wzTz">{{ tableDataLengthFzxyr }} </span></span>
</span>
</div>
<div style="padding: 20px"
v-if="thGlxyr">
<el-table ref="multipleTable"
:data="gridDataFlxyr"
v-loading="tableLoadingFzxyr"
element-loading-text="拼命加载中"
center
border
style="width: 100%">
<el-table-column v-for="(item, index) in xyrList"
:key="index"
:label="item.label"
:prop="item.prop"
:width="item.width"
align="center">
<template slot-scope="scope">
<div>
<span v-html="scope.row[item.prop]"></span>
</div>
</template>
</el-table-column>
</el-table>
<!--分页-->
<el-pagination background
@size-change="handleSizeChangeFzxyr"
@current-change="handleCurrentChangeFzxyr"
:current-page.sync="currentPagFzxyr"
:page-sizes="[5, 10, 20, 50]"
:page-size="page_sizeFzxyr"
layout="sizes,prev, pager, next"
:total="tableDataLengthFzxyr">
</el-pagination>
</div>
</div>
</div>
</template>
<script>
import formCompontent from "@c/form.vue";
import { addFzthaj, getThgaByThbh, getThxyrByThbh } from "@/api/shse/shse.js";
import { fzthJbxx } from "@/utils/params.js";
export default {
name: "addGzzkyxs",
components: {
formCompontent,
},
data () {
return {
title: "新增高危群体",
rules: {},
pageBs: 'shseXz',
propFormField: [
//基本信息
{
title: "",
id: 1,
objStr: "",
index: 0,
data: fzthJbxx,
},
],
thGlxyr: false,
formLabelAlign: {},
glxxXxzjbh: "",
xxzjbh: "",
gridDataDb: [],
tableLoadingDb: false,
currentPagDb: 1,
page_sizeDb: 5,
tableDataLengthDb: 0,
thbh: "",
dbList: [
{
label: "案件名称",
prop: "ajmc",
width: "200",
},
{
label: "案件编号",
prop: "asjbh",
width: "220",
},
{
label: "案件类别",
prop: "ajlbdmStr",
width: "200",
},
{
label: "案发时间",
prop: "asjfssjAsjfskssj",
width: "200",
},
{
label: "案发地",
width: "200",
prop: "asjfsddXzqhmc",
},
{
label: "立案时间",
prop: "larq",
width: "200",
},
{
label: "立案单位",
prop: "ladwGajgmc",
width: "200",
},
{
label: "简要案情",
prop: "jyaq",
width: "230",
},
],
// 关联嫌疑人
gridDataFlxyr: [],
tableLoadingFzxyr: false,
xyrList: [
{
label: "案件编号",
width: "250",
prop: "asjbh",
},
{
label: "姓名",
width: "200",
prop: "zhfzxyrXm",
},
{
label: "性别",
width: "200",
prop: "xb",
},
{
label: "出生日期",
width: "200",
prop: "rqgzxxCsrqRqgzsx",
},
{
label: "证件号码",
width: "200",
prop: "zhfzxyrCyzjZjhm",
},
{
label: "户籍地",
width: "200",
prop: "zhfzxyrHjdzDzmc",
},
// {
// label: "地位作用",
// width: "200",
// prop: "dwzy",
// },
],
currentPagFzxyr: 1,
page_sizeFzxyr: 5,
tableDataLengthFzxyr: 0,
ghglajxxShow: false,
};
},
methods: {
getDialogSeletedDw (val) {
debugger;
if (val == "网黑") {
if (this.propFormField[0].data.length > 17) {
this.propFormField[0].data.splice(
this.propFormField[0].data.length - 4,
this.propFormField[0].data.length
);
}
this.propFormField[0].data.push({
name: "网黑类别:",
id: "whlxdm",
// prop: "checkEmpty",
type: "codeTree",
value: "",
placeholder: "请选择网黑类别",
col: "2",
codeOptions: [],
codeTree: "CODE_WHLXDM",
});
} else if (val == "套路贷") {
if (this.propFormField[0].data.length > 17) {
this.propFormField[0].data.splice(
this.propFormField[0].data.length - 1,
this.propFormField[0].data.length
);
}
this.propFormField[0].data.push(
{
name: "套路贷类别:",
id: "tldlxdm",
type: "codeTree",
value: "",
placeholder: "请选择套路贷类别",
col: "2",
codeOptions: [],
codeTree: "CODE_WHLXDM_TLD",
// prop: "checkEmpty",
},
{
name: "主要表现形式:",
id: "zybxxs",
// prop: "checkEmpty",
type: "codeTree",
value: "",
placeholder: "请选择主要表现形式",
col: "2",
codeOptions: [],
codeTree: "CODE_SHCE_ZYBXXSDM",
},
{
name: "放贷催收情况:",
id: "fdcsqk",
type: "codeTree",
value: "",
placeholder: "请选择放贷催收情况",
col: "2",
codeOptions: [],
codeTree: "CODE_IF",
// prop: "checkEmpty",
},
{
name: "讨债类刑事警情:",
id: "tzlxsjq",
type: "text",
value: "",
prop: "numbers",
placeholder: "请输入讨债类刑事警情",
col: "2",
// prop: "checkEmpty",
}
);
}
this.goZdm();
},
goZdm () {
var self = this;
self.propFormField.forEach((val) => {
val.data.forEach((val2) => {
if (val2.childrenAsAdd) {
val2.childrenAsAdd.forEach((val3) => {
val3.list.forEach((val4) => {
val4.name.forEach((val5) => {
if (val5.type == "code" || val5.type == "codeTree") {
if (val5.codeOptions.length == 0) {
axios
.get(`JsonData/${val5.codeTree}.json`)
.then((res) => {
self.$set(val5, "codeOptions", res.data.data.rows);
})
.catch((err) => {
console.log(err);
});
}
}
if (val5.showIcon && val5.id == "asjbh") {
val5.showIcon = false;
}
});
});
});
} else if (val2.type == "code" || val2.type == "codeTree") {
if (val2.isLazy) {
} else {
if (val2.codeOptions.length == 0) {
axios
.get(`JsonData/${val2.codeTree}.json`)
.then((res) => {
self.$set(val2, "codeOptions", res.data.data.rows);
})
.catch((err) => {
console.log(err);
});
}
}
}
});
});
},
showGlga () {
this.thGlxyr = !this.thGlxyr;
},
showGlgaShow () {
this.ghglajxxShow = !this.ghglajxxShow;
},
submit (params) {
debugger;
params.append("thbh", this.thbh);
let loading = this.$loading({
lock: true,
text: "正在保存...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
// if (!this.xxzjbh) {
// debugger
this.addSubmit(params, loading);
// } else {
// this.editSubmit(params, loading);
// }
},
addSubmit (params, loading) {
addFzthaj(params).then((res) => {
if (res.success && res.code == 200) {
this.$alert("保存成功!", "提示", {
confirmButtonText: "确定",
type: "success",
callback: () => {
loading.close();
// this.$router.push("queryGzzkyxs");
window.opener.location.reload();
window.close();
},
});
} else {
console.log(res);
loading.close();
this.$message.error("添加失败,请检查数据格式是否正确");
}
});
},
handleCurrentChangeDb (val) {
this.currentPagDb = val;
this.queryDbList();
},
handleSizeChangeDb (val) {
this.page_sizeDb = val;
this.queryDbList();
},
queryDbList () {
let self = this;
self.tableLoadingDb = true;
getThgaByThbh({
thbh: self.thbh,
page: self.currentPagDb,
limit: self.page_sizeDb,
}).then((res) => {
if (res.code == 200) {
self.gridDataDb = res.data.rows;
self.tableDataLengthDb = res.data.total;
self.tableLoadingDb = false;
}
});
},
// 犯罪嫌疑人
handleSizeChangeFzxyr (val) {
this.page_sizeFzxyr = val;
this.queryFzxyrList();
},
handleCurrentChangeFzxyr (val) {
this.currentPagFzxyr = val;
this.queryFzxyrList();
},
queryFzxyrList () {
let self = this;
self.tableLoadingFzxyr = true;
let json = {
thbh: self.thbh,
page: self.currentPagFzxyr,
limit: self.page_sizeFzxyr,
};
getThxyrByThbh(json).then((res) => {
if (res.code == 200) {
self.tableLoadingFzxyr = false;
self.gridDataFlxyr = res.data.rows;
self.tableDataLengthFzxyr = res.data.total;
}
});
},
// editSubmit(params, loading) {
// params.append("xxzjbh", this.xxzjbh);
// updategzryGzzfxxs(params).then((res) => {
// if (res.success && res.code == 200) {
// this.$alert("保存成功!", "提示", {
// confirmButtonText: "确定",
// type: "success",
// callback: () => {
// loading.close();
// // this.$router.push("queryGzzkyxs");
// window.close();
// window.opener.location.reload();
// },
// });
// } else {
// loading.close();
// this.$message.error("添加失败,请检查数据格式是否正确");
// }
// });
// },
// getshuju() {
// var self = this;
// let loading = this.$loading({
// lock: true,
// text: "正在保存...",
// spinner: "el-icon-loading",
// background: "rgba(255, 255, 255, 0.7)",
// });
// selectGzzfxxsById({
// xxzjbh: this.xxzjbh,
// }).then((res) => {
// var result = res.data.rows;
// self.propFormField.forEach((fieldItem) => {
// if (fieldItem.data && fieldItem.data.length > 0) {
// fieldItem.data.forEach((i) => {
// this.$set(this.formLabelAlign, i.id, result[i.id]);
// });
// }
// this.$forceUpdate();
// });
// self.$set(self.formLabelAlign, "editing", true);
// self.$forceUpdate();
// setTimeout(() => {
// loading.close();
// }, 500);
// });
// },
},
created () {
this.thbh = this.$route.query.thbh;
this.queryDbList();
this.queryFzxyrList();
// if (this.$route.query.glxxXxzjbh) {
// this.glxxXxzjbh = this.$route.query.glxxXxzjbh;
// }
// if (this.$route.query.xxzjbh) {
// this.title = "修改工作中可疑线索";
// this.xxzjbh = this.$route.query.xxzjbh;
// this.getshuju();
// }
},
mounted () { },
watch: {
"formLabelAlign.xxhelx": {
handler (newName, oldName) {
var self = this;
debugger;
if (!newName) {
this.propFormField[0].data.splice(17, this.propFormField[0].data.length);
}
},
deep: true,
},
},
};
</script>
<style scoped lang="scss">
.wzNr {
display: inline-block;
line-height: 20px;
// width: 20px;
text-align: center;
background: #fd9800;
color: #fff;
font-size: 14px;
border-radius: 20px;
position: relative;
top: -9px;
left: -8px;
.wzTz {
padding: 10px;
}
}
.zkSq {
float: right;
font-weight: 200;
font-size: 16px;
cursor: pointer;
}
</style>
\ No newline at end of file
<template>
<div class="Content"
id="hmxsDetail">
<right-content :cxQueryField="cxQueryField"
:pageObject="pageObject"
labelWidth="140px"
title="犯罪团伙详情">
</right-content>
<!-- 团伙关联个案信息 -->
<div style="
background: #fff;
margin: -56px auto 20px;
border-radius: 10px;
width: 1161px;
">
<div style="padding: 13px 20px; border-bottom: 1px solid #e4e4e4">
<span style="
font-size: 18px;
font-family: Source Han Sans CN;
font-weight: 600;
color: #363636;
">团伙关联个案信息
<span class="zkSq"
@click="showGlga">
{{ thglgaxxShow ? "收起" : "展开" }}
</span>
<span class="wzNr">
<span class="wzTz">
{{ tableDataLengthDb }}
</span></span>
</span>
</div>
<div style="padding: 20px"
v-if="thglgaxxShow">
<el-table ref="multipleTable"
:data="gridDataDb"
v-loading="tableLoadingDb"
element-loading-text="拼命加载中"
center
border
style="width: 100%">
<el-table-column v-for="(item, index) in dbList"
:key="index"
:label="item.label"
:prop="item.prop"
:width="item.width"
align="center">
<template slot-scope="scope">
<div>
<span v-html="scope.row[item.prop]"></span>
</div>
</template>
</el-table-column>
</el-table>
<!--分页-->
<el-pagination background
@size-change="handleSizeChangeDb"
@current-change="handleCurrentChangeDb"
:current-page.sync="currentPagDb"
:page-sizes="[5, 10, 20, 50]"
:page-size="page_sizeDb"
layout="sizes,prev, pager, next"
:total="tableDataLengthDb">
</el-pagination>
</div>
</div>
<!-- 团伙关联嫌疑人信息 -->
<div style="
background: #fff;
margin: -56px auto 20px;
border-radius: 10px;
width: 1161px;
margin-top: 3px;
">
<div style="padding: 13px 20px; border-bottom: 1px solid #e4e4e4">
<span style="
font-size: 18px;
font-family: Source Han Sans CN;
font-weight: 600;
color: #363636;
">团伙关联嫌疑人信息
<span class="zkSq"
@click="showTHGlXyr">
{{ thglxyrShow ? "收起" : "展开" }}
</span>
<span class="wzNr">
<span class="wzTz"> {{ tableDataLengthXyr }}</span>
</span>
</span>
</div>
<div style="padding: 20px"
v-if="thglxyrShow">
<el-table ref="multipleTable"
:data="gridDataXyr"
v-loading="tableLoadingXyr"
element-loading-text="拼命加载中"
center
border
style="width: 100%">
<el-table-column v-for="(item, index) in xyrList"
:key="index"
:label="item.label"
:prop="item.prop"
:width="item.width"
align="center">
<template slot-scope="scope">
<div>
<span v-html="scope.row[item.prop]"></span>
</div>
</template>
</el-table-column>
</el-table>
<!--分页-->
<el-pagination background
@size-change="handleSizeChangeXyr"
@current-change="handleCurrentChangeXyr"
:current-page.sync="currentPagXyr"
:page-sizes="[5, 10, 20, 50]"
:page-size="page_sizeXyr"
layout="sizes,prev, pager, next"
:total="tableDataLengthXyr">
</el-pagination>
</div>
</div>
<!-- 研判报告模板 -->
<div style="
background: #fff;
margin: -56px auto 20px;
border-radius: 10px;
width: 1161px;
margin-top: 3px;
">
<div style="padding: 13px 20px; border-bottom: 1px solid #e4e4e4">
<span style="
font-size: 18px;
font-family: Source Han Sans CN;
font-weight: 600;
color: #363636;
">研判报告信息列表
<span class="zkSq"
@click="showTHGlYpbg">
{{ thglYpbgShow ? "收起" : "展开" }}
</span>
<span class="zkSq addClass"
@click="addYpbg"><i class="el-icon-plus"></i>新增</span>
<span class="wzNr">
<span class="wzTz"> {{ tableDataLengthYpbg }}</span>
</span>
</span>
</div>
<div style="padding: 20px"
v-if="thglYpbgShow">
<el-table ref="multipleTable"
:data="gridDataYpbg"
v-loading="tableLoadingYpbg"
element-loading-text="拼命加载中"
center
border
style="width: 100%">
<el-table-column label="操作"
align="center">
<template slot-scope="scope">
<span @click="del(scope)"
class="edit">删除</span>
<span @click="down(scope)"
class="edit">下载</span>
</template>
</el-table-column>
<el-table-column v-for="(item, index) in ypbgList"
:key="index"
:label="item.label"
:prop="item.prop"
:width="item.width"
align="center">
<template slot-scope="scope">
<div>
<span v-html="scope.row[item.prop]"></span>
</div>
</template>
</el-table-column>
</el-table>
<!--分页-->
<el-pagination background
@size-change="handleSizeChangeYpbg"
@current-change="handleCurrentChangeYpbg"
:current-page.sync="currentPagYpbg"
:page-sizes="[5, 10, 20, 50]"
:page-size="page_sizeYpbg"
layout="sizes,prev, pager, next"
:total="tableDataLengthYpbg">
</el-pagination>
</div>
</div>
<el-dialog title="新增研判报告"
:visible.sync="dialogVisible"
width="30%">
<div style="display: flex; margin: 5px 0">
<el-upload class="upload-demo"
action="#"
:auto-upload="false"
:on-change="handleChange"
:file-list="fileList">
<el-button size="small">Word上传</el-button>
</el-upload>
<el-button size="small"
@click="toMbdetail">使用模板</el-button>
</div>
<span slot="footer"
class="dialog-footer">
<el-button @click="dialogVisible = false">取 消</el-button>
<el-button type="primary"
@click="dialogVisible = false">确 定</el-button>
</span>
</el-dialog>
<el-dialog title="新增研判报告"
:visible.sync="dialogVisibleList"
width="60%">
<el-table ref="multipleTable"
:data="gridDataYpbgList"
v-loading="tableLoadingYpbgList"
element-loading-text="拼命加载中"
center
border
style="width: 100%">
<el-table-column v-for="(item, index) in ypbgLists"
:key="index"
:label="item.label"
:prop="item.prop"
:width="item.width"
align="center">
<template slot-scope="scope">
<div>
<span class="edit"
v-if="item.prop == 'bglxStr'"
v-html="scope.row[item.prop]"
@click="godetail(scope.row)"></span>
<span v-else
v-html="scope.row[item.prop]"></span>
</div>
</template>
</el-table-column>
</el-table>
<!--分页-->
<el-pagination background
@size-change="handleSizeChangeYpbgList"
@current-change="handleCurrentChangeYpbgList"
:current-page.sync="currentPagYpbgList"
:page-sizes="[5, 10, 20, 50]"
:page-size="page_sizeYpbgList"
layout="sizes,prev, pager, next"
:total="tableDataLengthYpbgList">
</el-pagination>
<span slot="footer"
class="dialog-footer">
<el-button @click="dialogVisibleList = false">取 消</el-button>
<el-button type="primary"
@click="dialogVisibleList = false">确 定</el-button>
</span>
</el-dialog>
</div>
</template>
<script>
import rightContent from "@c/PersonInfor.vue";
import {
getCchshzztjb,
getLaShseList,
getZbfzxyrShseList,
getYpbgFjPage,
saveYpbgFj,
deleteYpbgFj,
pageTbYwXnpgbg,
} from "@/api/shse/shse.js";
import rySpVue from "../../zdry/rySp.vue";
export default {
name: "queryAj",
components: {
rightContent,
},
data () {
return {
gridDataYpbgList: [],
tableLoadingYpbgList: false,
ypbgLists: [
{
label: "报告类型",
prop: "bglxStr",
},
{
label: "报告标题",
prop: "bgbt",
},
{
label: "发布人姓名",
prop: "fbrxm",
},
{
label: "发布单位代码",
prop: "fbdwStr",
},
{
label: "发布时间",
prop: "fbsj",
},
],
currentPagYpbgList: 1,
page_sizeYpbgList: 5,
tableDataLengthYpbgList: 0,
dialogVisibleList: false,
fileList: [],
dialogVisible: false,
gridDataYpbg: [],
tableLoadingYpbg: false,
thglYpbgShow: false,
ypbgList: [
{
label: "登记人",
prop: "xxdjryXm",
},
{
label: "登记时间",
prop: "djsj",
},
{
label: "文件标题",
prop: "dzwjbt",
},
],
currentPagYpbg: 1,
page_sizeYpbg: 5,
tableDataLengthYpbg: 0,
cxQueryField: [
{
title: "", //如果不分小模块就删除title
id: 1,
objStr: "", //对象中的对应字段
data: [
{
label: "案事件名称:",
prop: "laAjmc",
col: "10",
},
{
label: "组织头目:",
prop: "zztm",
col: "3",
},
{
label: "案件类别:",
prop: "laAjlb",
col: "3",
},
{
label: "省份/地区:",
prop: "sjdqXzqh",
col: "3",
},
{
label: "破案数(刑事):",
prop: "pas",
col: "3",
},
{
label: "缴获枪支数:",
prop: "jhqzs",
col: "3",
},
{
label: "抓获人数:",
prop: "zhrs",
col: "3",
},
{
label: "涉案公职人员数:",
prop: "bhsrs",
col: "3",
},
{
label: "致伤人数:",
prop: "zshangrs",
col: "3",
},
{
label: "刑拘人数:",
prop: "xjrs",
col: "3",
},
{
label: "批捕人数:",
prop: "pbrs",
col: "3",
},
{
label: "致死人数:",
prop: "zsirs",
col: "3",
},
{
label: "活动地域:",
prop: "afd",
col: "3",
},
{
label: "形成年份:",
prop: "shseXc",
col: "3",
},
{
label: "发展周期:",
prop: "fzzq",
col: "3",
},
{
label: "新型黑恶类型:",
prop: "xxhelxStr",
col: "3",
},
{
label: "网黑类别:",
prop: "whlxdmStr",
col: "3",
hidden: true,
},
{
label: "套路贷类别:",
prop: "tldlxdmStr",
hidden: true,
col: "3",
},
{
label: "主要表现形式:",
prop: "zybxxsStr",
hidden: true,
col: "3",
},
{
label: "放贷催收情况:",
prop: "fdcsqkStr",
hidden: true,
col: "3",
},
{
label: "讨债类刑事警情:",
prop: "tzlxsjq",
hidden: true,
col: "3",
},
{
label: "涉及行业领域",
prop: "shseSjhyly",
col: "3",
},
{
label: "登记人员姓名:",
prop: "xxdjryXm",
col: "3",
},
{
label: "登记单位:",
prop: "xxdjdwGajgjgdmStr",
col: "3",
},
{
label: "登记时间:",
prop: "djsj",
col: "3",
},
],
},
],
pageObject: {},
// 团伙关联个案信息
gridDataDb: [],
tableLoadingDb: false,
dbList: [
{
label: "案件名称",
prop: "laAjmc",
width: "180",
},
{
label: "案件编号",
prop: "asjbh",
width: "220",
},
{
label: "案件类别",
prop: "laAjlb",
width: "230",
},
{
label: "案发时间",
prop: "laAsjfssjAsjfsjssj",
width: "200",
},
{
label: "案发地",
width: "230",
prop: "laAsjfsddDzmc",
},
{
label: "立案时间",
prop: "larq",
width: "200",
},
{
label: "立案单位",
prop: "ladwStr",
width: "140",
},
{
label: "简要案情",
prop: "laJyaq",
width: "230",
},
],
currentPagDb: 1,
page_sizeDb: 5,
tableDataLengthDb: 0,
thglgaxxShow: false,
// 团伙关联嫌疑人信息
gridDataXyr: [],
thglxyrShow: false,
tableLoadingXyr: false,
xyrList: [
{
label: "案件编号",
prop: "asjbh",
width: "250",
},
{
label: "姓名",
width: "200",
prop: "zhfzxyrXm",
},
{
label: "性别",
prop: "xbdmStr",
width: "200",
},
{
label: "出生日期",
prop: "zhfzxyrCsrqRqgzxx",
width: "200",
},
{
label: "证件号码",
prop: "zhfzxyrCyzjZjhm",
width: "200",
},
{
label: "户籍地",
prop: "hjdStr",
width: "200",
},
// {
// label: "地位作用",
// prop: "dwzyStr",
// width: "200",
// },
],
currentPagXyr: 1,
page_sizeXyr: 5,
tableDataLengthXyr: 0,
};
},
mounted () { },
methods: {
godetail (scope) {
const param = {
xxzjbh: scope.xxzjbh,
bgzt: "1",
bglxdm: scope.bglxdm,
bgbt: scope.bgbt,
bgnr: scope.bgnr,
fbsj: scope.djsj,
editshow: "enit",
editFlag: true,
glxxXxzjbh: this.$route.query.xxzjbh,
};
this.$router.pushToTab({ path: "/addMbxx", query: param });
},
getYpbgList () {
pageTbYwXnpgbg({
spzt: "2",
bglx: "03",
fpzt: "1",
page: this.currentPagYpbgList,
limit: this.page_sizeYpbgList,
}).then((res) => {
this.gridDataYpbgList = res.data.rows;
this.tableLoadingYpbgList = false;
this.tableDataLengthYpbgList = res.data.total;
});
},
handleSizeChangeYpbgList (val) {
this.page_sizeYpbgList = val;
this.getList();
},
handleCurrentChangeYpbgList (val) {
this.currentPagYpbgList = val;
},
toMbdetail () {
this.getYpbgList();
this.dialogVisibleList = true;
},
del (scope) {
this.$confirm("此操作将永久删除该文件, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
deleteYpbgFj({
xxzjbh: scope.row.xxzjbh,
}).then((res) => {
if (res.data.data == 1) {
this.getYpbgList();
this.$message({
type: "success",
message: "删除成功",
});
}
});
})
.catch(() => {
this.$message({
type: "info",
message: "已取消删除",
});
});
},
down (scope) {
var params = new FormData();
params.append("xxzjbh", scope.row.xxzjbh);
var url = `${this.$baseUrl.alyIP}/fzth/downloadYpbgFj`;
axios
.post(url, params, {
responseType: "blob",
})
.then((res) => {
let blob = new Blob([res.data], {
type: `application/vnd.openxmlformats-officedocument.wordprocessingml.document;charset=utf-8`,
});
// 组装a标签
let elink = document.createElement("a");
// 设置下载文件名
elink.download = scope.row.dzwjbt;
elink.style.display = "none";
elink.href = URL.createObjectURL(blob);
document.body.appendChild(elink);
elink.click();
document.body.removeChild(elink);
});
},
handleChange (file, fileList) {
let self = this;
var params = new FormData();
params.append("file", file.raw);
params.append("glxxXxzjbh", this.xxzjbh);
saveYpbgFj(params).then((res) => {
if (res.data.data == 1) {
self.$router.go(0);
self.$message.success("模板上传成功");
}
});
},
addYpbg () {
this.fileList = [];
this.dialogVisible = true;
},
getYpbg () {
getYpbgFjPage({
glxxXxzjbh: this.xxzjbh,
page: this.currentPagDb,
limit: this.page_sizeDb,
}).then((res) => {
this.gridDataYpbg = res.data.rows;
this.tableLoadingYpbg = false;
this.tableDataLengthYpbg = res.data.total;
});
},
showTHGlYpbg () {
this.thglYpbgShow = !this.thglYpbgShow;
this.getYpbg();
},
handleSizeChangeYpbg (val) {
this.page_sizeYpbg = val;
this.getYpbg();
},
handleCurrentChangeYpbg (val) {
this.currentPagYpbg = val;
},
getCchshzztjbList () {
let params = new FormData();
params.append("xxzjbh", this.xxzjbh);
let loading = this.$loading({
lock: true,
text: "正在加载...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
getCchshzztjb(params).then((res) => {
if (res.code == 200) {
this.pageObject = res.data.rows;
if (res.data.rows.xxhelxStr == "套路贷") {
this.cxQueryField[0].data[17].hidden = false;
this.cxQueryField[0].data[18].hidden = false;
this.cxQueryField[0].data[19].hidden = false;
this.cxQueryField[0].data[20].hidden = false;
} else if (res.data.rows.xxhelxStr == "网黑") {
this.cxQueryField[0].data[16].hidden = false;
}
loading.close();
}
});
},
handleSizeChangeDb (val) {
this.page_sizeDb = val;
this.getLaShseListShow();
},
handleCurrentChangeDb (val) {
this.currentPagDb = val;
this.getLaShseListShow();
},
showGlga () {
this.thglgaxxShow = !this.thglgaxxShow;
},
showTHGlXyr () {
this.thglxyrShow = !this.thglxyrShow;
},
getLaShseListShow () {
this.tableLoadingDb = true;
getLaShseList({
glxxXxzjbh: this.xxzjbh,
page: this.currentPagDb,
limit: this.page_sizeDb,
}).then((res) => {
if (res.code == 200) {
this.gridDataDb = res.data.rows;
this.tableLoadingDb = false;
this.tableDataLengthDb = res.data.total;
}
});
},
handleSizeChangeXyr (val) {
this.page_sizeXyr = val;
this.getZbfzxyrShseListShow();
},
handleCurrentChangeXyr (val) {
this.currentPagXyr = val;
this.getZbfzxyrShseListShow();
},
getZbfzxyrShseListShow () {
this.tableLoadingXyr = true;
getZbfzxyrShseList({
glxxXxzjbh: this.xxzjbh,
page: this.currentPagXyr,
limit: this.page_sizeXyr,
}).then((res) => {
if (res.code == 200) {
this.tableLoadingXyr = false;
this.gridDataXyr = res.data.rows;
this.tableDataLengthXyr = res.data.total;
}
});
},
},
created () {
this.xxzjbh = this.$route.query.xxzjbh;
this.getCchshzztjbList();
this.getLaShseListShow();
this.getZbfzxyrShseListShow();
this.getYpbg();
},
};
</script>
<style scoped lang="scss">
.addClass {
color: #007aff;
}
.wzNr {
display: inline-block;
line-height: 20px;
// width: 20px;
text-align: center;
background: #fd9800;
color: #fff;
font-size: 14px;
border-radius: 20px;
position: relative;
top: -9px;
left: -8px;
.wzTz {
padding: 10px;
}
}
.zkSq {
float: right;
font-weight: 200;
font-size: 16px;
cursor: pointer;
margin-left: 5px;
}
.edit {
margin-right: 5px;
color: #007aff;
cursor: pointer;
}
</style>
<template>
<!-- 注释的是 *旧版本* -->
<div class="Content">
<right-content :pageBs="pageBs"
:header="header"
:cxFormData="cxFormData"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
@toInfor='toInfor'
ref="rightContent">
<template #listOperation="scope">
<span class="hbyps"
@click="toAdd(scope.scope)">新增</span>
<!-- <span class="hbyps" @click="toHb(scope.scope)">合并</span> -->
</template>
<!-- <template #btnGroup="scope">
<span class="hbyp" @click="thxq(scope.scope)">研判报告</span>
</template> -->
</right-content>
<!-- <el-dialog
title="待合并团伙"
:visible.sync="dialogVisible"
width="40%"
center
>
<div>
<el-table center :data="xsShuju" stripe border max-height="400">
<el-table-column
v-for="(columnTitle, index) in xsTableList"
:key="index"
:label="columnTitle.label"
align="center"
>
<template slot-scope="scope">
<div style="color: #555555">
{{ scope.row[columnTitle.prop] }}
</div>
</template>
</el-table-column>
<el-table-column label="是否主团伙" align="center" width="100">
<template slot-scope="scope">
<el-radio
v-model="radio"
:label="scope.$index"
@change.native="getRadio(scope.row, scope.$index)"
></el-radio>
</template>
</el-table-column>
</el-table>
<el-button
style="float: right; margin: 10px"
type="primary"
class="hbbtn"
@click="handleHb"
>确认合并</el-button
>
</div>
</el-dialog> -->
</div>
</template>
<script>
import rightContent from "@c/ptCxForm_components.vue";
// import { hbThajxyr } from "@/api/shse/shse.js";
export default {
name: "qyeryrlqbxsGl",
components: {
rightContent,
},
data () {
return {
leftMenus: [
//左侧导航(模块第一个页面需要)
{
id: "queryGwqt",
label: "高危群体",
newAuth: "M01",
index: "queryGwqt",
className: "iconfont icongongnengfuwu",
hasChildren: false,
}],
// radio: false,
// xsTableList: [
// {
// label: "团伙编号",
// prop: "thbh",
// width: "200",
// },
// {
// label: "团伙名称",
// width: "200",
// prop: "thmc",
// },
// {
// label: "团伙头目",
// width: "145",
// prop: "thtm",
// },
// ],
// sfzth: "",
// dialogVisible: false,
// xsShuju: [],
header: "高危群体",
pageBs: "queryFzth",
cxFormData: {
limit: 10,
page: 1,
// thbh: "",
// thmc: "",
// thtm: "",
xxdjdwGajgjgdm: "",
xxdjryXm: "",
djsjStart: "",
djsjEnd: "",
zztm: "",
shseSjhylydm: "",
},
cxQueryField: [
// {
// name: "团伙编号",
// id: "thbh",
// type: "text",
// value: "",
// placeholder: "请输入",
// col: "3",
// },
// {
// name: "团伙名称",
// id: "thmc",
// type: "text",
// value: "",
// placeholder: "请输入",
// col: "3",
// },
// {
// name: "团伙头目",
// id: "thtm",
// type: "text",
// value: "",
// placeholder: "请输入",
// col: "3",
// },
{
name: "登记单位",
id: "xxdjdwGajgjgdm",
type: "codeTreeDialog",
props: [], //字典弹框需要的字段
value: "",
col: "3",
codeOptions: [],
codeTree: "CODE_UNIT",
},
{
name: "登记人",
id: "xxdjryXm",
type: "text",
value: "",
placeholder: "请输入",
col: "3",
},
{
name: "登记时间",
id: "djsjStart",
id2: "djsjEnd",
type: "zdyDate",
value: "",
col: "3",
},
{
name: "组织头目",
id: "zztm",
type: "text",
value: "",
placeholder: "请输入",
col: "3",
},
{
name: "涉及行业领域",
id: "shseSjhylydm",
type: "codeTreeDialog",
codeTree: "CODE_SHCE_SJHYLYMC",
codeOptions: [],
value: "",
placeholder: "请输入",
col: "2",
},
],
cxDefaultFormThead: [
// {
// label: "团伙编号",
// // toInfor: true,
// prop: "thbh",
// // width: "250",
// },
// {
// label: "团伙名称",
// prop: "thmc",
// // width: "200",
// },
// {
// label: "团伙头目",
// prop: "thtm",
// // width: "200",
// },
{
/*table默认得表头*/
label: "组织头目",
toInfor: true,
prop: "zztm",
width: "180px",
},
{
label: "登记单位",
prop: "xxdjdwGajgjgdmStr",
width: "200px",
},
{
label: "案发地",
width: "200px",
prop: "afd",
},
{
label: "破案数",
width: "70px",
prop: "pas",
},
{
label: "刑拘人数",
width: "120px",
prop: "xjrs",
},
{
label: "批捕人数",
width: "120px",
prop: "pbrs",
},
{
label: "致伤人数",
width: "120px",
prop: "zshangrs",
},
{
label: "致死人数",
width: "120px",
prop: "zsirs",
},
{
label: "登记人",
prop: "xxdjryXm",
width: "150px",
},
{
label: "登记时间",
width: "150px",
prop: "djsj",
},
],
// cxUrl: "/selectThzhxx",
cxUrl: "/fzth/getThjbxxList",
Menu: [
// zylx:"asj",
{
id: "queryGwqt",
label: "高危群体",
index: "queryGwqt",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
],
// selectArr: [],
// revokeVisiable: false,
// ckForm: {
// file: "",
// },
// fileArr: [],
// zdXxzjbh: "",
// indexRadio: 0,
};
},
created () {
this.$store.commit("user/SET_Menu", this.Menu);
this.$store.commit("user/SET_LeftMenu", this.leftMenus);
this.$store.commit("user/SET_Header", this.header);
},
methods: {
toInfor (scope) {
debugger
this.$router.pushToTab({
path: "/gwqtDetail",
query: {
xxzjbh: scope.xxzjbh,
},
});
},
// getRadio(scope, index) {
// this.indexRadio = index;
// debugger;
// },
// selectionChange(row) {
// debugger;
// this.xsShuju = row;
// },
// // add() {
// // this.$router.push({
// // path: '/fzthxz'
// // })
// // },
// toHb(scope) {
// if (this.xsShuju.length > 1) {
// this.dialogVisible = true;
// } else {
// this.$alert("请选择两条合并的线索", "提示!", {
// confirmButtonText: "确定",
// type: "warning",
// callback: () => {},
// });
// }
// },
// // 确认合并
// handleHb() {
// debugger;
// let params = new FormData();
// this.xsShuju.forEach((item, index) => {
// params.append("th" + "[" + index + "]" + ".thbh", item.thbh);
// params.append(
// "th" + "[" + index + "]" + ".sfzth",
// index == this.indexRadio ? "1" : "0"
// );
// console.log(index == this.indexRadio ? "1" : "0");
// });
// hbThajxyr(params).then((res) => {
// if (res.code == 200) {
// this.dialogVisible = false;
// this.$message.success("合并成功");
// this.$refs.rightContent.doQuery("yes");
// this.xsShuju = [];
// } else {
// this.$message.error("合并失败");
// }
// });
// },
// thxq(scope) {
// debugger;
// this.$router.pushToTab({
// path: "/xq",
// query: {
// thbh: scope.row.thbh,
// },
// });
// },
toAdd () {
this.$router.pushToTab({
path: "/addGwqt",
});
},
},
mounted () { },
// watch: {
// xsShuju: {
// handler(val, old) {
// debugger;
// },
// },
// deep: true,
// },
};
</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">
/deep/.el-radio__label {
font-size: 14px;
padding-left: 10px;
display: none;
}
.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 {
font-size: 14px;
font-family: Source Han Sans CN;
font-weight: 400;
line-height: 22px;
color: #007aff;
margin-right: 16px;
cursor: pointer;
display: inline-block;
width: 60px;
border: 1px solid;
line-height: 28px;
text-align: center;
}
</style>
......@@ -7,266 +7,266 @@
* @FilePath: \founder_vue\src\views\hnksh\ceshi.vue
-->
<template>
<div class="Content" id="hmxsDetail">
<right-content-detail
:cxQueryField="cxQueryFieldDetail"
:pageObject="pageObject"
:pageFooterProps="pageFooterProps"
labelWidth="110px"
title="阵地信息详情"
>
<div class="Content"
id="hmxsDetail">
<right-content-detail :cxQueryField="cxQueryFieldDetail"
:pageObject="pageObject"
:pageFooterProps="pageFooterProps"
labelWidth="110px"
title="阵地信息详情">
</right-content-detail>
<el-card
class="box-card"
style="width: 1150px; margin: -50px auto 70px"
v-if="!!this.xxzjbh && this.xxzjbh != ''"
>
<div slot="header" class="clearfix">
<el-card class="box-card"
style="width: 1150px; margin: -50px auto 70px"
v-if="!!this.xxzjbh && this.xxzjbh != ''">
<div slot="header"
class="clearfix">
<span>阵地从业人员</span>
<el-button
style="float: right; padding: 3px 0"
type="text"
v-show="!showCY"
@click="showCY = true"
>展开</el-button
>
<el-button
style="float: right; padding: 3px 0"
type="text"
v-show="showCY"
@click="showCY = false"
>收起</el-button
>
<el-button style="float: right; padding: 3px 0"
type="text"
v-show="!showCY"
@click="showCY = true">展开</el-button>
<el-button style="float: right; padding: 3px 0"
type="text"
v-show="showCY"
@click="showCY = false">收起</el-button>
</div>
<div class="text item" v-show="showCY">
<right-content
:pageBs="pageBs"
:pageASs="pageASs"
:cxFormData="cxFormDataCY"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormTheadCY"
:cxUrl="cxUrlCY"
ref="rightContentCY"
@toInfor="toInforCY"
@showDialogG="showDialogGCY"
@showDialogS="showDialogSCY"
@zdRydaxx="zdRydaxx"
>
<div class="text item"
v-show="showCY">
<right-content :pageBs="pageBs"
:pageASs="pageASs"
:cxFormData="cxFormDataCY"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormTheadCY"
:cxUrl="cxUrlCY"
ref="rightContentCY"
@toInfor="toInforCY"
@showDialogG="showDialogGCY"
@showDialogS="showDialogSCY"
@zdRydaxx="zdRydaxx">
<template #listOperation="scope">
<span class="hbyps" @click="addCY(scope.scope)">
<i class="el-icon-plus"></i>新增</span
>
<span class="hbyps"
@click="addCY(scope.scope)">
<i class="el-icon-plus"></i>新增</span>
</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)"
>下达指令</span
>
<span class="hbyp" @click="TOxxtk(scope.scope)"
>推送至刑嫌人员</span
>
<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)">下达指令</span>
<span class="hbyp"
@click="TOxxtk(scope.scope)">推送至刑嫌人员</span>
</template>
</right-content>
</div>
</el-card>
<!-- 阵地交易活动 -->
<el-card
class="box-card"
style="width: 1150px; margin: -50px auto 70px"
v-if="!!this.xxzjbh && this.xxzjbh != ''"
>
<div slot="header" class="clearfix">
<el-card class="box-card"
style="width: 1150px; margin: -50px auto 70px"
v-if="!!this.xxzjbh && this.xxzjbh != ''">
<div slot="header"
class="clearfix">
<span>阵地交易活动</span>
<el-button
style="float: right; padding: 3px 0"
type="text"
v-show="!showJY"
@click="showJY = true"
>展开</el-button
>
<el-button
style="float: right; padding: 3px 0"
type="text"
v-show="showJY"
@click="showJY = false"
>收起</el-button
>
<el-button style="float: right; padding: 3px 0"
type="text"
v-show="!showJY"
@click="showJY = true">展开</el-button>
<el-button style="float: right; padding: 3px 0"
type="text"
v-show="showJY"
@click="showJY = false">收起</el-button>
</div>
<div class="text item" v-show="showJY">
<right-content
:pageBs="pageBs"
:cxFormData="cxFormDataJY"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormTheadJY"
:cxUrl="cxUrlJY"
ref="rightContentJY"
@toInfor="toInforJY"
>
<div class="text item"
v-show="showJY">
<right-content :pageBs="pageBs"
:cxFormData="cxFormDataJY"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormTheadJY"
:cxUrl="cxUrlJY"
ref="rightContentJY"
@toInfor="toInforJY">
<template #listOperation="scope">
<span class="hbyps" @click="addJY(scope.scope)">
<i class="el-icon-plus"></i>新增</span
>
<span class="hbyps"
@click="addJY(scope.scope)">
<i class="el-icon-plus"></i>新增</span>
</template>
<template #btnGroup="scope">
<span class="hbyp" @click="editJY(scope.scope)">修改</span>
<span class="hbyp" @click="deleJY(scope.scope)">删除</span>
<span class="hbyp"
@click="editJY(scope.scope)">修改</span>
<span class="hbyp"
@click="deleJY(scope.scope)">删除</span>
</template>
</right-content>
</div>
</el-card>
<!-- 阵地交易活动人员 -->
<el-card
class="box-card"
style="margin-bottom: 70px"
v-if="!!this.xxzjbh && this.xxzjbh != ''"
>
<div slot="header" class="clearfix">
<el-card class="box-card"
style="margin-bottom: 70px"
v-if="!!this.xxzjbh && this.xxzjbh != ''">
<div slot="header"
class="clearfix">
<span>阵地交易人员</span>
<el-button
style="float: right; padding: 3px 0"
type="text"
v-show="!showJYRY"
@click="showJYRY = true"
>展开</el-button
>
<el-button
style="float: right; padding: 3px 0"
type="text"
v-show="showJYRY"
@click="showJYRY = false"
>收起</el-button
>
<el-button style="float: right; padding: 3px 0"
type="text"
v-show="!showJYRY"
@click="showJYRY = true">展开</el-button>
<el-button style="float: right; padding: 3px 0"
type="text"
v-show="showJYRY"
@click="showJYRY = false">收起</el-button>
</div>
<div class="text item" v-show="showJYRY">
<right-content
:pageBs="pageBs"
:pageASs="pageASs"
:cxFormData="cxFormDataJYRY"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormTheadJYRY"
:cxUrl="cxUrlJYRY"
ref="rightContentJYRY"
@zdRydaxx="zdRydaxx"
@showDialogG="showDialogGCY"
@showDialogS="showDialogSCY"
@toInfor="toInforJYRY"
>
<div class="text item"
v-show="showJYRY">
<right-content :pageBs="pageBs"
:pageASs="pageASs"
:cxFormData="cxFormDataJYRY"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormTheadJYRY"
:cxUrl="cxUrlJYRY"
ref="rightContentJYRY"
@zdRydaxx="zdRydaxx"
@showDialogG="showDialogGCY"
@showDialogS="showDialogSCY"
@toInfor="toInforJYRY">
<template #btnGroup="scope">
<span class="hbyp" @click="TOBK(scope.scope)">布控</span>
<span class="hbyp" @click="TOxxtk(scope.scope)"
>推送至刑嫌人员</span
>
<span class="hbyp"
@click="TOBK(scope.scope)">布控</span>
<span class="hbyp"
@click="TOxxtk(scope.scope)">推送至刑嫌人员</span>
</template>
</right-content>
</div>
</el-card>
<!-- 阵地线索信息 -->
<el-card
class="box-card"
style="width: 1150px; margin: -50px auto 70px"
v-if="!!this.xxzjbh && this.xxzjbh != ''"
>
<div slot="header" class="clearfix">
<el-card class="box-card"
style="width: 1150px; margin: -50px auto 70px"
v-if="!!this.xxzjbh && this.xxzjbh != ''">
<div slot="header"
class="clearfix">
<span>阵地线索信息</span>
<el-button
style="float: right; padding: 3px 0"
type="text"
v-show="!showXS"
@click="showXS = true"
>展开</el-button
>
<el-button
style="float: right; padding: 3px 0"
type="text"
v-show="showXS"
@click="showXS = false"
>收起</el-button
>
<el-button style="float: right; padding: 3px 0"
type="text"
v-show="!showXS"
@click="showXS = true">展开</el-button>
<el-button style="float: right; padding: 3px 0"
type="text"
v-show="showXS"
@click="showXS = false">收起</el-button>
</div>
<div class="text item" v-show="showXS">
<right-content
:pageBs="pageBs"
:cxFormData="cxFormDataXS"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormTheadXS"
:cxUrl="cxUrlXS"
ref="rightContentXS"
@toInfor="toInforXS"
>
<div class="text item"
v-show="showXS">
<right-content :pageBs="pageBs"
:cxFormData="cxFormDataXS"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormTheadXS"
:cxUrl="cxUrlXS"
ref="rightContentXS"
@toInfor="toInforXS">
<template #listOperation="scope">
<span class="hbyps" @click="addXS(scope.scope)">
<i class="el-icon-plus"></i>新增</span
>
<span class="hbyps"
@click="addXS(scope.scope)">
<i class="el-icon-plus"></i>新增</span>
</template>
<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>
<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>
</el-card>
<!-- 高危群体 -->
<el-card class="box-card"
style="width: 1150px; margin: -50px auto 70px"
v-if="!!this.xxzjbh && this.xxzjbh != ''">
<div slot="header"
class="clearfix">
<span>高危群体登记</span>
<el-button style="float: right; padding: 3px 0"
type="text"
v-show="!showGW"
@click="showGW = true">展开</el-button>
<el-button style="float: right; padding: 3px 0"
type="text"
v-show="showGW"
@click="showGW = false">收起</el-button>
</div>
<div class="text item"
v-show="showGW">
<right-content :pageBs="pageBs"
:cxFormData="cxFormDataGW"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormTheadGW"
:cxUrl="cxUrlGW"
ref="rightContentXS"
@toInfor="toInforGW">
<template #listOperation="scope">
<span class="hbyps"
@click="addGW(scope.scope)">
<i class="el-icon-plus"></i>新增</span>
</template>
<!-- <template #btnGroup="scope">
<span class="hbyp"
@click="editGw(scope.scope)">高危群体登记</span>
<el-dialog title="关联案件" :visible.sync="dialogA" width="64%">
<el-table
element-loading-text="拼命加载中"
ref="itemDataTable"
:data="tableDataA"
tooltip-effect="dark"
max-height="600"
style="margin: 0 auto"
width="100%"
size="small"
>
<el-table-column
align="center"
v-for="(columnTitle, index) in bshglajA.cxDefaultFormThead"
:key="index"
:label="columnTitle.label"
width="200"
:prop="columnTitle.prop"
>
</template> -->
</right-content>
</div>
</el-card>
<el-dialog title="关联案件"
:visible.sync="dialogA"
width="64%">
<el-table element-loading-text="拼命加载中"
ref="itemDataTable"
:data="tableDataA"
tooltip-effect="dark"
max-height="600"
style="margin: 0 auto"
width="100%"
size="small">
<el-table-column align="center"
v-for="(columnTitle, index) in bshglajA.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="
<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="
id="open"
v-show="
scope.row[columnTitle.prop] != '' &&
scope.row[columnTitle.prop] != null
"
>展开</a
>
">展开</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="
<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
>
">收起</a>
</div>
</div>
<div v-else>
......@@ -275,80 +275,69 @@
</template>
</el-table-column>
</el-table>
<el-pagination
background
@current-change="handleCurrentChangeA"
:current-page.sync="currentPage1A"
:page-size="pagesize"
:page-sizes="[10, 20, 50, 100]"
layout="sizes,prev, pager, next"
:total="tableDataALength"
v-if="pageShowA"
>
<el-pagination background
@current-change="handleCurrentChangeA"
:current-page.sync="currentPage1A"
:page-size="pagesize"
:page-sizes="[10, 20, 50, 100]"
layout="sizes,prev, pager, next"
:total="tableDataALength"
v-if="pageShowA">
</el-pagination>
<span slot="footer" class="dialog-footer">
<span slot="footer"
class="dialog-footer">
<el-button @click="dialogA = false">关闭</el-button>
</span>
</el-dialog>
<!-- 从业人员关联案件 -->
<el-dialog title="关联案件" :visible.sync="dialogS" width="64%">
<el-table
element-loading-text="拼命加载中"
ref="itemDataTable"
:data="tableDataS"
tooltip-effect="dark"
max-height="600"
style="margin: 0 auto"
width="100%"
size="small"
>
<el-table-column
align="center"
v-for="(columnTitle, index) in bshglajS.cxDefaultFormThead"
:key="index"
:label="columnTitle.label"
width="200"
:prop="columnTitle.prop"
>
<el-dialog title="关联案件"
:visible.sync="dialogS"
width="64%">
<el-table element-loading-text="拼命加载中"
ref="itemDataTable"
:data="tableDataS"
tooltip-effect="dark"
max-height="600"
style="margin: 0 auto"
width="100%"
size="small">
<el-table-column align="center"
v-for="(columnTitle, index) in bshglajS.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="
<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="
id="open"
v-show="
scope.row[columnTitle.prop] != '' &&
scope.row[columnTitle.prop] != null
"
>展开</a
>
">展开</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="
<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
>
">收起</a>
</div>
</div>
<div v-else>
......@@ -357,79 +346,68 @@
</template>
</el-table-column>
</el-table>
<el-pagination
background
@current-change="handleCurrentChangeS"
:current-page.sync="currentPage1G"
:page-size="pagesize"
:page-sizes="[10, 20, 50, 100]"
layout="sizes,prev, pager, next"
:total="tableDataSLength"
v-if="pageShowS"
>
<el-pagination background
@current-change="handleCurrentChangeS"
:current-page.sync="currentPage1G"
:page-size="pagesize"
:page-sizes="[10, 20, 50, 100]"
layout="sizes,prev, pager, next"
:total="tableDataSLength"
v-if="pageShowS">
</el-pagination>
<span slot="footer" class="dialog-footer">
<span slot="footer"
class="dialog-footer">
<el-button @click="dialogS = false">关闭</el-button>
</span>
</el-dialog>
<el-dialog title="关联案件" :visible.sync="dialogG" width="64%">
<el-table
element-loading-text="拼命加载中"
ref="itemDataTable"
:data="tableDataG"
tooltip-effect="dark"
max-height="600"
style="margin: 0 auto"
width="100%"
size="small"
>
<el-table-column
align="center"
v-for="(columnTitle, index) in bshglajG.cxDefaultFormThead"
:key="index"
:label="columnTitle.label"
width="200"
:prop="columnTitle.prop"
>
<el-dialog title="关联案件"
:visible.sync="dialogG"
width="64%">
<el-table element-loading-text="拼命加载中"
ref="itemDataTable"
:data="tableDataG"
tooltip-effect="dark"
max-height="600"
style="margin: 0 auto"
width="100%"
size="small">
<el-table-column align="center"
v-for="(columnTitle, index) in bshglajG.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="
<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="
id="open"
v-show="
scope.row[columnTitle.prop] != '' &&
scope.row[columnTitle.prop] != null
"
>展开</a
>
">展开</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="
<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
>
">收起</a>
</div>
</div>
<div v-else>
......@@ -438,18 +416,17 @@
</template>
</el-table-column>
</el-table>
<el-pagination
background
@current-change="handleCurrentChangeG"
:current-page.sync="currentPage1S"
:page-size="pagesize"
:page-sizes="[10, 20, 50, 100]"
layout="sizes,prev, pager, next"
:total="tableDataGLength"
v-if="pageShowG"
>
<el-pagination background
@current-change="handleCurrentChangeG"
:current-page.sync="currentPage1S"
:page-size="pagesize"
:page-sizes="[10, 20, 50, 100]"
layout="sizes,prev, pager, next"
:total="tableDataGLength"
v-if="pageShowG">
</el-pagination>
<span slot="footer" class="dialog-footer">
<span slot="footer"
class="dialog-footer">
<el-button @click="dialogG = false">关闭</el-button>
</span>
</el-dialog>
......@@ -465,7 +442,7 @@ import { getZdxxByxxzjbh } from "@/api/zdxx/zdxxgl.js";
import { get, post, postform, postJson } from "@/utils/http.js";
import { deleteZdcyryxx } from "@/api/zdxx/zdcyryxx.js";
import { deleteBbkwp } from "@/api/bkwpxx.js";
import { deleteZdjyhd } from "@/api/zdxx/zdjyhd.js";
import { deleteZdjyhd, zdxzyj } from "@/api/zdxx/zdjyhd.js";
import secret from "@/utils/secret";
import { deleteZdxsxx } from "@/api/zdxsxx.js";
export default {
......@@ -474,7 +451,7 @@ export default {
rightContent,
rightContentDetail,
},
data() {
data () {
return {
cxQueryFieldDetail: [
{
......@@ -667,6 +644,7 @@ export default {
showJYRY: false,
showBK: false,
showXS: false,
showGW: false,
pageBs: "adjustZdxxgl",
pageASs: "adjustZdxxgl",
cxFormDataCY: {
......@@ -694,6 +672,11 @@ export default {
page: 1,
glzdxxzjbh: this.xxzjbh,
},
cxFormDataGW: {
limit: 10,
page: 1,
glzdxxzjbh: this.xxzjbh,
},
cxQueryField: [],
cxDefaultFormTheadCY: [
{
......@@ -838,6 +821,62 @@ export default {
},
],
cxUrlXS: "/zdxsxx/selectZdyrxx",
cxUrlGW: "/fzth/getThjbxxList",
cxDefaultFormTheadGW: [{
/*table默认得表头*/
label: "组织头目",
toInfor: true,
prop: "zztm",
width: "180px",
},
{
label: "登记单位",
prop: "xxdjdwGajgjgdmStr",
width: "200px",
},
{
label: "案发地",
width: "200px",
prop: "afd",
},
{
label: "破案数",
width: "70px",
prop: "pas",
},
{
label: "刑拘人数",
width: "120px",
prop: "xjrs",
},
{
label: "批捕人数",
width: "120px",
prop: "pbrs",
},
{
label: "致伤人数",
width: "120px",
prop: "zshangrs",
},
{
label: "致死人数",
width: "120px",
prop: "zsirs",
},
{
label: "登记人",
prop: "xxdjryXm",
width: "150px",
},
{
label: "登记时间",
width: "150px",
prop: "djsj",
},],
//tab标签页
activeName: "first",
tabIndex: "0",
......@@ -972,9 +1011,9 @@ export default {
currentPage1S: 1,
};
},
mounted() {},
mounted () { },
methods: {
zdRydaxx(scope, type) {
zdRydaxx (scope, type) {
debugger;
if (type == "ryda") {
let base = encodeURIComponent(
......@@ -982,11 +1021,9 @@ export default {
JSON.stringify(JSON.parse(sessionStorage.getItem("user")))
)
);
let path = `${
this.$baseUrl.alyIP14
}/#/jump?token=${base}&path=/rydaIndex/ryGl&zjhms=${scope.zjhm}&zjhm=${
JSON.parse(sessionStorage.getItem("userInfo")).identitycard
}`;
let path = `${this.$baseUrl.alyIP14
}/#/jump?token=${base}&path=/rydaIndex/ryGl&zjhms=${scope.zjhm}&zjhm=${JSON.parse(sessionStorage.getItem("userInfo")).identitycard
}`;
window.open(path, "_blank");
} else {
var userInfo = JSON.parse(sessionStorage.getItem("userInfo"));
......@@ -1004,7 +1041,7 @@ export default {
this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params);
}
},
toDetail(url, PARAMS) {
toDetail (url, PARAMS) {
var temp_form = document.createElement("form");
temp_form.action = url;
temp_form.target = "_blank";
......@@ -1019,12 +1056,12 @@ export default {
document.body.appendChild(temp_form);
temp_form.submit();
},
handleCurrentChangeA(val) {
handleCurrentChangeA (val) {
this.currentPage1A = val;
this.bshglajA.cxFormData.page = val;
this.showDialogA();
},
getInfor() {
getInfor () {
let params = new FormData();
params.append("xxzjbh", this.xxzjbh);
let loading = this.$loading({
......@@ -1041,75 +1078,43 @@ export default {
}
});
},
addCY() {
addCY () {
// this.$router.pushToTab("addZdcyryxx");
this.$router.pushToTab({
path: "/addZdcyryxx",
query: { glxxzjbh: this.xxzjbh },
});
},
editCY(scope) {
editCY (scope) {
this.$router.pushToTab({
path: "/addZdcyryxx",
query: { xxzjbh: scope.row.xxzjbh },
});
},
TOBK(scope) {
TOBK (scope) {
this.$router.pushToTab({
path: "/adjustXsbks",
query: { glxxlx: "0003", bkdxLxdm: "04", bkdx_hm: scope.row.zjhm,glxxXxzjbh: scope.row.glzdxxzjbh},
query: { glxxlx: "0003", bkdxLxdm: "04", bkdx_hm: scope.row.zjhm, glxxXxzjbh: scope.row.glzdxxzjbh },
});
},
TOxxtk(scope) {
var sendData = scope.row;
sendData.csrq = this.$moment(scope.row.csrq).format(
"YYYY-MM-DD HH:mm:ss"
);
sendData.djsj = this.$moment(scope.row.djsj).format(
"YYYY-MM-DD HH:mm:ss"
);
sendData.gxsj = this.$moment(scope.row.gxsj).format(
"YYYY-MM-DD HH:mm:ss"
);
var sendStr = JSON.stringify(sendData);
this.$router.pushToTab({
path: "/addGzry",
query: { xxtkObj: sendStr },
TOxxtk (scope) {
let params = new FormData()
params.append('xxzjbh', scope.row.glzdxxzjbh)
zdxzyj(params).then((res) => {
if (res.success && res.code == 200) {
this.$alert("推送成功!", "提示", {
confirmButtonText: "确定",
type: "success",
callback: () => {
},
});
} else {
loading.close();
this.$message.error("添加失败,请检查数据格式是否正确");
}
});
// let loading = this.$loading({
// lock: true,
// text: "正在保存...",
// spinner: "el-icon-loading",
// background: "rgba(255, 255, 255, 0.7)",
// });
// console.log(scope.row);
// console.log(scope.row.csrq);
// var sendData = scope.row
// debugger
// sendData.csrq = this.$moment(scope.row.csrq).format("YYYY-MM-DD HH:mm:ss")
// sendData.djsj = this.$moment(scope.row.djsj).format("YYYY-MM-DD HH:mm:ss")
// sendData.gxsj = this.$moment(scope.row.gxsj).format("YYYY-MM-DD HH:mm:ss")
// console.log(sendData);
// var params = new FormData()
// for(let item in scope.row) {
// params.append(item,scope.row[item])
// }
// insertGzry(params).then((res) => {
// if (res.success && res.code == 200) {
// this.$alert("推送成功!", "提示", {
// confirmButtonText: "确定",
// type: "success",
// callback: () => {
// loading.close();
// },
// });
// } else {
// loading.close();
// this.$message.error("添加失败,请检查数据格式是否正确");
// }
// });
},
deleCY(scope) {
deleCY (scope) {
this.$confirm("此操作将永久删除该文件, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
......@@ -1136,25 +1141,25 @@ export default {
});
console.log(scope.row.xxzjbh);
},
giveInstructions(scope) {
giveInstructions (scope) {
let path = `${this.$baseUrl.alyIP8}/#/addsqfbzl?type=xdzl&xsbh=${scope.row.xxzjbh}&module=zhendi&xsType=04`;
window.open(path, "_blank");
},
//阵地交易活动
addJY() {
addJY () {
// this.$router.pushToTab("addZdjyhd");
this.$router.pushToTab({
path: "addZdjyhd",
query: { glxxzjbh: this.xxzjbh },
});
},
editJY(scope) {
editJY (scope) {
this.$router.pushToTab({
path: "addZdjyhd",
query: { xxzjbh: scope.row.xxzjbh, glzdxxzjbh: this.xxzjbh },
});
},
deleJY(scope) {
deleJY (scope) {
this.$confirm("此操作将永久删除该文件, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
......@@ -1180,7 +1185,7 @@ export default {
});
});
},
toInforCY(data) {
toInforCY (data) {
this.$router.pushToTab({
path: "/detailZdcyryxx",
query: {
......@@ -1188,7 +1193,7 @@ export default {
},
});
},
toInforJY(data) {
toInforJY (data) {
this.$router.pushToTab({
path: "/detailZdjyhd",
query: {
......@@ -1196,7 +1201,7 @@ export default {
},
});
},
toInforJYRY(data) {
toInforJYRY (data) {
this.$router.pushToTab({
path: "/detailZdjyhd",
query: {
......@@ -1206,7 +1211,7 @@ export default {
});
},
//被布控物品
addBK() {
addBK () {
// this.$router.pushToTab("adjustBbkwpxx");
this.$router.pushToTab({
path: "/adjustBbkwpxx",
......@@ -1215,7 +1220,7 @@ export default {
},
});
},
editBK(data) {
editBK (data) {
this.$router.pushToTab({
path: "/adjustBbkwpxx",
query: {
......@@ -1223,7 +1228,7 @@ export default {
},
});
},
deleBK(scope) {
deleBK (scope) {
this.$confirm("此操作将永久删除该文件, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
......@@ -1249,7 +1254,7 @@ export default {
});
});
},
toInforBK(data) {
toInforBK (data) {
this.$router.pushToTab({
path: "/bbkwpxxDetail",
query: {
......@@ -1258,7 +1263,7 @@ export default {
});
},
//线索信息
addXS() {
addXS () {
// this.$router.pushToTab("adjustZdxsxx");
this.$router.pushToTab({
path: "/adjustZdxsxx",
......@@ -1267,7 +1272,12 @@ export default {
},
});
},
editXS(data) {
addGW () {
this.$router.pushToTab({
path: "/addGwqt",
});
},
editXS (data) {
this.$router.pushToTab({
path: "/adjustZdxsxx",
query: {
......@@ -1275,7 +1285,7 @@ export default {
},
});
},
deleXS(scope) {
deleXS (scope) {
this.$confirm("此操作将永久删除该文件, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
......@@ -1301,11 +1311,11 @@ export default {
});
});
},
TOHBXS(scope) {
TOHBXS (scope) {
let path = `${this.$baseUrl.alyIP8}/#/queryXshb?xxzjbh=${scope.row.xxzjbh}`;
window.open(path, "_blank");
},
toInforXS(data) {
toInforXS (data) {
this.$router.pushToTab({
path: "/zdxsxxDetail",
query: {
......@@ -1313,22 +1323,30 @@ export default {
},
});
},
toInforGW (scope) {
this.$router.pushToTab({
path: "/gwqtDetail",
query: {
xxzjbh: scope.xxzjbh,
},
});
},
//标签方法
handleClick(tab, event) {
handleClick (tab, event) {
// console.log(tab, event);
this.tabIndex = tab.index;
},
handleCurrentChangeS(val) {
handleCurrentChangeS (val) {
this.currentPage1S = val;
this.bshglajS.cxFormData.page = val;
this.showDialogS();
},
handleCurrentChangeG(val) {
handleCurrentChangeG (val) {
this.currentPage1G = val;
this.bshglajG.cxFormData.page = val;
this.showDialogG();
},
showDialogGCY(scope) {
showDialogGCY (scope) {
this.dialogG = true;
var params = new FormData();
params.append("limit", this.bshglajG.cxFormData.limit);
......@@ -1347,7 +1365,7 @@ export default {
}
});
},
showDialogSCY(scope) {
showDialogSCY (scope) {
var params = new FormData();
params.append("limit", this.bshglajG.cxFormData.limit);
params.append("page", this.bshglajG.cxFormData.page);
......@@ -1368,7 +1386,7 @@ export default {
this.dialogS = true;
},
},
created() {
created () {
this.xxzjbh = this.$route.query.xxzjbh;
console.log(this.xxzjbh);
this.getInfor();
......
<template>
<div class="Content">
<right-content
:pageBs="pageBs"
:header="header"
:cxFormData="cxFormData"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
ref="rightContent"
@toInfor="toInfor"
@selectionChange="selectionChange"
>
<right-content :pageBs="pageBs"
:header="header"
:cxFormData="cxFormData"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
ref="rightContent"
@toInfor="toInfor"
@selectionChange="selectionChange">
<!-- @drzjhd="drzjhd" -->
<template #listOperation="scope">
<span class="hbyps" @click="add(scope.scope)">
<i class="el-icon-plus"></i>新增</span
>
<span class="hbyps"
@click="add(scope.scope)">
<i class="el-icon-plus"></i>新增</span>
<!-- <el-button type="primary" size="mini" @click="drzjhd"
>excel导入交易活动</el-button
> -->
</template>
<template #btnGroup="scope">
<span class="hbyp" @click="edit(scope.scope)">修改</span>
<span class="hbyp" @click="dele(scope.scope)">删除</span>
<span class="hbyp"
@click="edit(scope.scope)">修改</span>
<span class="hbyp"
@click="dele(scope.scope)">删除</span>
</template>
</right-content>
......@@ -74,7 +74,7 @@ export default {
components: {
rightContent,
},
data() {
data () {
return {
header: "阵地管控工作管理",
pageBs: "zdxxgl",
......@@ -255,24 +255,28 @@ export default {
newAuth: "M01",
index: "queryZdxx",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryZdcyryxx",
label: "阵地从业人员信息管理",
newAuth: "M01",
index: "queryZdcyryxx",
className: "iconfont icongongnengfuwu",
hasChildren: false,
hasChildren: true,
children: [
{
id: "queryZdxx",
label: "阵地信息管理",
newAuth: "M01",
index: "queryZdxx",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryZdcyryxx",
label: "阵地从业人员信息管理",
newAuth: "M01",
index: "queryZdcyryxx",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
]
},
// {
// id: "queryZdxxs",
// label: "阵地信息查询",
// newAuth: "M01",
// index: "queryZdxxs",
// className: "iconfont icongongnengfuwu",
// hasChildren: false,
// },
{
id: "queryZdjyhd",
label: "阵地活动信息管理",
......@@ -282,6 +286,22 @@ export default {
hasChildren: true,
children: [
{
id: "queryZdxxs",
label: "阵地交易信息采集",
newAuth: "M01",
index: "queryZdxxs",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
// {
// id: "queryZdxsxx",
// label: "阵地线索信息管理",
// newAuth: "M01",
// index: "queryZdxsxx",
// className: "iconfont icongongnengfuwu",
// hasChildren: false,
// },
{
id: "queryqzdjs",
label: "全阵地信息检索",
index: "queryqzdjs",
......@@ -291,7 +311,7 @@ export default {
},
{
id: "zdjjbqk",
label: "全阵地信息统计",
label: "全阵地信息统计分析",
index: "zdjjbqk",
auth: "M0101",
className: "iconfont iconrizhi",
......@@ -307,6 +327,32 @@ export default {
// },
],
},
{
id: "queryZdxxs25",
label: "阵控信息监测预警",
newAuth: "M01",
index: "queryZdxxs25",
className: "iconfont icongongnengfuwu",
hasChildren: true,
children: [
{
id: "queryZdcyryxx22",
label: "阵控信息监测预警",
index: "queryZdcyryxx22",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
{
id: "queryZdXsbk",
label: "阵地监测预警模型管理",
newAuth: "M01",
index: "queryZdXsbk",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
]
},
// {
// id: "queryZdxxs25",
// label: "阵地信息监测预警",
......@@ -341,48 +387,48 @@ export default {
// },
// ],
// },
// {
// id: "queryZdxx3",
// label: "阵地信息研判",
// newAuth: "M01",
// index: "queryZdxx3",
// className: "iconfont icongongnengfuwu",
// hasChildren: true,
// children: [
// {
// id: "queryZdxx3",
// label: "阵地信息研判",
// index: "queryZdxx3",
// auth: "M0101",
// className: "iconfont iconrizhi",
// disabled: false,
// },
// {
// id: "queryZdcyryxx3",
// label: "阵地从业人员信息研判",
// index: "queryZdcyryxx3",
// auth: "M0101",
// className: "iconfont iconrizhi",
// disabled: false,
// },
// {
// id: "queryZdxxs3",
// label: "阵地活动信息研判",
// index: "queryZdxxs3",
// auth: "M0101",
// className: "iconfont iconrizhi",
// disabled: false,
// },
// {
// id: "queryZdxxs34",
// label: "阵地监测预警信息研判",
// index: "queryZdxxs34",
// auth: "M0101",
// className: "iconfont iconrizhi",
// disabled: false,
// },
// ],
// },
{
id: "queryZdxx3",
label: "阵地信息研判",
newAuth: "M01",
index: "queryZdxx3",
className: "iconfont icongongnengfuwu",
hasChildren: true,
children: [
{
id: "zdhome",
label: "阵地信息研判",
index: "zdhome",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
{
id: "queryZdcyryxx3",
label: "阵地从业人员信息研判",
index: "queryZdcyryxx3",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
{
id: "queryZdxxs3",
label: "阵地活动信息研判",
index: "queryZdxxs3",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
{
id: "queryZdxxs34",
label: "阵地监测预警信息研判",
index: "queryZdxxs34",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
],
},
// {
// id: "queryBbkwpxx",
// label: "智能化信息服务",
......@@ -399,30 +445,31 @@ export default {
// className: "iconfont icongongnengfuwu",
// hasChildren: false,
// },
// {
// id: "zdhome",
// label: "阵控信息研判",
// newAuth: "M01",
// index: "zdhome",
// className: "iconfont icongongnengfuwu",
// hasChildren: false,
// },
{
id: "zdhome",
label: "阵控信息研判",
id: "qjgnsyrz",
label: "全局功能使用日志",
newAuth: "M01",
index: "zdhome",
index: "qjgnsyrz",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "qjgnsyrz",
label: "全局功能使用日志",
id: "znhxxfw",
label: "智能化信息服务",
newAuth: "M01",
index: "qjgnsyrz",
index: "3",
className: "iconfont icongongnengfuwu",
hasChildren: false,
}
// {
// id: "queryZdXsbk",
// label: "阵地布控模型管理",
// newAuth: "M01",
// index: "queryZdXsbk",
// className: "iconfont icongongnengfuwu",
// hasChildren: false,
// },
],
selectArr: [],
revokeVisiable: false,
......@@ -433,22 +480,22 @@ export default {
zdXxzjbh: "",
};
},
created() {
created () {
this.$store.commit("user/SET_Menu", this.Menu);
this.$store.commit("user/SET_LeftMenu", this.leftMenus);
this.$store.commit("user/SET_Header", this.header);
},
methods: {
add() {
add () {
this.$router.pushToTab("adjustZdxxgl");
},
edit(scope) {
edit (scope) {
this.$router.pushToTab({
path: "adjustZdxxgl",
query: { xxzjbh: scope.row.xxzjbh },
});
},
dele(scope) {
dele (scope) {
this.$confirm("此操作将永久删除该文件, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
......@@ -474,7 +521,7 @@ export default {
});
});
},
toInfor(scope) {
toInfor (scope) {
this.$router.pushToTab({
path: "/detailZdxx",
query: {
......@@ -482,19 +529,19 @@ export default {
},
});
},
fileOnchange(file, fileList) {
fileOnchange (file, fileList) {
if (fileList.length > 0) {
this.fileArr = [fileList[0]]; // 这一步,是 展示最后一次选择的csv文件
if (fileList.length > 1) this.$message.error("只能上传一个文件!");
}
},
closed() {
closed () {
this.fileArr = [];
},
onChange(file, fileList) {
onChange (file, fileList) {
console.log(file, fileList);
},
selectionChange(scope) {
selectionChange (scope) {
this.selectArr = scope;
},
},
......
<template>
<div class="Content">
<right-content
:pageBs="pageBs"
:header="header"
:cxFormData="cxFormData"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
ref="rightContent"
@add="add"
@toInfor="toInfor"
@toCY="toCY"
@toJY="toJY"
@toBK="toBK"
@toXS="toXS"
@selectionChange="selectionChange"
@drzjhd="drzjhd"
>
<right-content :pageBs="pageBs"
:header="header"
:cxFormData="cxFormData"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
ref="rightContent"
@toInfor="toInfor"
@selectionChange="selectionChange">
<!-- @drzjhd="drzjhd" -->
<template #listOperation="scope">
<span class="hbyps"
@click="add(scope.scope)">
<i class="el-icon-plus"></i>采集</span>
<!-- <el-button type="primary" size="mini" @click="drzjhd"
>excel导入交易活动</el-button
> -->
</template>
<template #btnGroup="scope">
<span class="hbyp" @click="edit(scope.scope)">修改</span>
<span class="hbyp" @click="dele(scope.scope)">删除</span>
<span class="hbyp"
@click="edit(scope.scope)">修改</span>
<!-- <span class="hbyp"
@click="dele(scope.scope)">删除</span> -->
</template>
</right-content>
<!-- 导入 -->
<el-dialog
<!-- <el-dialog
title="导入交易活动"
:visible.sync="revokeVisiable"
width="30%"
......@@ -59,7 +62,7 @@
<el-button @click="revokeVisiable = false">取 消</el-button>
<el-button type="primary" @click="submitCKD">确 定</el-button>
</div>
</el-dialog>
</el-dialog> -->
</div>
</template>
......@@ -71,9 +74,9 @@ export default {
components: {
rightContent,
},
data() {
data () {
return {
header: "阵地信息查询",
header: "阵地管控工作管理",
pageBs: "zdxxgl",
cxFormData: {
djsjStart: "",
......@@ -122,12 +125,20 @@ export default {
col: "3",
},
{
name: "阵地半径范围:",
name: "阵地半径范围",
id: "zdbjfw",
type: "text",
value: "",
placeholder: "请输入",
col: "2",
col: "3",
},
{
name: "阵地编号:",
id: "xxzjbh",
type: "text",
value: "",
placeholder: "请输入",
col: "3",
},
{
name: "阵地管理人员姓名",
......@@ -158,47 +169,72 @@ export default {
],
cxDefaultFormThead: [
{
label: "阵地管理人员姓名",
prop: "xm",
label: "阵地名称",
prop: "zdmc",
toInfor: true,
width: "200",
},
{
label: "物建人",
prop: "wjr",
width: "200",
label: "阵地编号",
prop: "xxzjbh",
width: "260",
},
{
/*table默认得表头*/
label: "联系电话",
prop: "zdlxdh",
width: "200",
label: "登记时间",
prop: "djsj",
},
{
label: "阵地经度",
prop: "zdjd",
width: "200",
},
{
label: "阵地纬度",
prop: "zdwd",
width: "200",
},
{
label: "阵地半径范围",
prop: "zdbjfw",
width: "200",
},
{
label: "证件号码",
prop: "zjhm",
width: "200",
label: "联系电话",
prop: "zdlxdh",
},
{
label: "涉及省份和地区",
prop: "sjsfdqdmStr",
width: "200",
label: "物建人",
prop: "wjr",
},
// {
// label: "物建人",
// prop: "wjr",
// width: "200",
// },
// {
// /*table默认得表头*/
// label: "联系电话",
// prop: "zdlxdh",
// width: "200",
// },
// {
// label: "阵地经度",
// prop: "zdjd",
// width: "200",
// },
// {
// label: "阵地纬度",
// prop: "zdwd",
// width: "200",
// },
// {
// label: "阵地半径范围",
// prop: "zdbjfw",
// width: "200",
// },
// {
// label: "证件号码",
// prop: "zjhm",
// width: "200",
// },
// {
// label: "涉及省份和地区",
// prop: "sjsfdqdmStr",
// width: "200",
// },
],
cxUrl: "/zdxx/selectZdxxglNew",
Menu: [
......@@ -211,6 +247,195 @@ export default {
disabled: false,
},
],
leftMenus: [
//左侧导航(模块第一个页面需要)
{
id: "queryZdxx",
label: "阵地信息管理",
newAuth: "M01",
index: "queryZdxx",
className: "iconfont icongongnengfuwu",
hasChildren: true,
children: [
{
id: "queryZdxx",
label: "阵地信息管理",
newAuth: "M01",
index: "queryZdxx",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryZdcyryxx",
label: "阵地从业人员信息管理",
newAuth: "M01",
index: "queryZdcyryxx",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
]
},
{
id: "queryZdjyhd",
label: "阵地活动信息管理",
newAuth: "M01",
index: "queryZdjyhd",
className: "iconfont icongongnengfuwu",
hasChildren: true,
children: [
{
id: "queryZdxxs",
label: "阵地交易信息采集",
newAuth: "M01",
index: "queryZdxxs",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryqzdjs",
label: "全阵地信息检索",
index: "queryqzdjs",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
{
id: "zdjjbqk",
label: "全阵地信息统计分析",
index: "zdjjbqk",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
// {
// id: "zdhome",
// label: "阵控信息研判",
// index: "zdhome",
// auth: "M0101",
// className: "iconfont iconrizhi",
// disabled: false,
// },
],
},
// {
// id: "queryZdxxs25",
// label: "阵地信息监测预警",
// newAuth: "M01",
// index: "queryZdxxs25",
// className: "iconfont icongongnengfuwu",
// hasChildren: true,
// children: [
// {
// id: "queryZdxx111",
// label: "阵地监测预警模型管理",
// index: "queryZdxx111",
// auth: "M0101",
// className: "iconfont iconrizhi",
// disabled: false,
// },
// {
// id: "queryZdcyryxx22",
// label: "阵地信息监测预警",
// index: "queryZdcyryxx22",
// auth: "M0101",
// className: "iconfont iconrizhi",
// disabled: false,
// },
// {
// id: "queryZdxxs25",
// label: "阵地预警信息处置",
// index: "queryZdxxs25",
// auth: "M0101",
// className: "iconfont iconrizhi",
// disabled: false,
// },
// ],
// },
// {
// id: "queryZdxx3",
// label: "阵地信息研判",
// newAuth: "M01",
// index: "queryZdxx3",
// className: "iconfont icongongnengfuwu",
// hasChildren: true,
// children: [
// {
// id: "queryZdxx3",
// label: "阵地信息研判",
// index: "queryZdxx3",
// auth: "M0101",
// className: "iconfont iconrizhi",
// disabled: false,
// },
// {
// id: "queryZdcyryxx3",
// label: "阵地从业人员信息研判",
// index: "queryZdcyryxx3",
// auth: "M0101",
// className: "iconfont iconrizhi",
// disabled: false,
// },
// {
// id: "queryZdxxs3",
// label: "阵地活动信息研判",
// index: "queryZdxxs3",
// auth: "M0101",
// className: "iconfont iconrizhi",
// disabled: false,
// },
// {
// id: "queryZdxxs34",
// label: "阵地监测预警信息研判",
// index: "queryZdxxs34",
// auth: "M0101",
// className: "iconfont iconrizhi",
// disabled: false,
// },
// ],
// },
// {
// id: "queryBbkwpxx",
// label: "智能化信息服务",
// newAuth: "M01",
// index: "queryBbkwpxx",
// className: "iconfont icongongnengfuwu",
// hasChildren: false,
// },
// {
// id: "queryBbkwpxx",
// label: "被布控物品信息",
// newAuth: "M01",
// index: "queryBbkwpxx",
// className: "iconfont icongongnengfuwu",
// hasChildren: false,
// },
{
id: "zdhome",
label: "阵控信息研判",
newAuth: "M01",
index: "zdhome",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "qjgnsyrz",
label: "全局功能使用日志",
newAuth: "M01",
index: "qjgnsyrz",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryZdXsbk",
label: "阵地布控模型管理",
newAuth: "M01",
index: "queryZdXsbk",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
],
selectArr: [],
revokeVisiable: false,
ckForm: {
......@@ -220,21 +445,22 @@ export default {
zdXxzjbh: "",
};
},
created() {
created () {
this.$store.commit("user/SET_Menu", this.Menu);
// this.$store.commit("user/SET_LeftMenu", this.leftMenus);
this.$store.commit("user/SET_Header", this.header);
},
methods: {
add() {
add () {
this.$router.pushToTab("adjustZdxxgl");
},
edit(scope) {
edit (scope) {
this.$router.pushToTab({
path: "adjustZdxxgl",
query: { xxzjbh: scope.row.xxzjbh },
});
},
dele(scope) {
dele (scope) {
this.$confirm("此操作将永久删除该文件, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
......@@ -260,7 +486,7 @@ export default {
});
});
},
toInfor(scope) {
toInfor (scope) {
this.$router.pushToTab({
path: "/detailZdxx",
query: {
......@@ -268,93 +494,21 @@ export default {
},
});
},
toCY(data) {
this.$router.pushToTab({
path: "/addZdCyryxx",
query: {
glxxzjbh: data.row.xxzjbh,
},
});
},
toJY(data) {
this.$router.pushToTab({
path: "/addZdjyhd",
query: {
glxxzjbh: data.row.xxzjbh,
},
});
},
toBK(data) {
this.$router.pushToTab({
path: "/adjustBbkwpxx",
query: {
glxxzjbh: data.row.xxzjbh,
},
});
},
toXS(data) {
this.$router.pushToTab({
path: "/adjustZdxsxx",
query: {
glxxzjbh: data.row.xxzjbh,
},
});
},
fileOnchange(file, fileList) {
fileOnchange (file, fileList) {
if (fileList.length > 0) {
this.fileArr = [fileList[0]]; // 这一步,是 展示最后一次选择的csv文件
if (fileList.length > 1) this.$message.error("只能上传一个文件!");
}
},
closed() {
closed () {
this.fileArr = [];
},
onChange(file, fileList) {
onChange (file, fileList) {
console.log(file, fileList);
},
selectionChange(scope) {
selectionChange (scope) {
this.selectArr = scope;
},
submitCKD() {
if (this.fileArr.length <= 0) {
this.$message.warning("请选择文件");
} else {
console.log(this.fileArr, this.zdXxzjbh);
let params = new FormData();
params.append("zdxxzjbh", this.zdXxzjbh);
this.fileArr.forEach((i) => {
params.append("file", i.raw);
});
let loading = this.$loading({
lock: true,
text: "正在导入...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
excleImport(params).then((res) => {
if (res.code == 200 && res.success) {
this.$message.success("导入成功");
this.revokeVisiable = false;
this.$router.pushToTab("queryZdjyhd");
sessionStorage.setItem("routerPath", "queryZdjyhd");
setTimeout(() => {
this.$bus.$emit("routerPath");
}, 20);
} else {
this.$message.error("导入失败");
}
loading.close();
});
}
},
drzjhd() {
if (this.selectArr.length != 1) {
this.$message.error("请选择一条数据后操作");
} else {
this.zdXxzjbh = this.selectArr[0].xxzjbh;
this.revokeVisiable = true;
}
},
},
};
</script>
......@@ -416,4 +570,20 @@ export default {
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;
margin-right: 10px;
}
</style>
<template>
<div class="Content">
<right-content
ref="rightContent"
:pageBs="pageBs"
:header="header"
:cxFormData="cxFormData"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
@toInfor="toInfor"
@showDialogG="showDialogG"
@showDialogS="showDialogS"
>
<right-content :pageBs="pageBs"
:header="header"
:cxFormData="cxFormData"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
ref="rightContent"
@toInfor="toInfor"
@selectionChange="selectionChange">
<!-- @drzjhd="drzjhd" -->
<template #listOperation="scope">
<span class="hbyps"
@click="add(scope.scope)">
<i class="el-icon-plus"></i>新增</span>
<!-- <el-button type="primary" size="mini" @click="drzjhd"
>excel导入交易活动</el-button
> -->
</template>
<template #btnGroup="scope">
<span class="hbyp" @click="edit(scope.scope)">修改</span>
<span class="hbyp" @click="dele(scope.scope)">删除</span>
<span class="hbyp" @click="giveInstructions(scope.scope)"
>下达指令</span
>
<span class="hbyp"
@click="edit(scope.scope)">查看预警</span>
<!-- <span class="hbyp"
@click="dele(scope.scope)">删除</span> -->
</template>
</right-content>
<!-- @add="add" -->
<!-- 关联案件 -->
<el-dialog title="关联案件" :visible.sync="dialogS" width="64%">
<el-table
element-loading-text="拼命加载中"
ref="itemDataTable"
:data="tableDataS"
tooltip-effect="dark"
max-height="600"
style="margin: 0 auto"
width="100%"
size="small"
>
<el-table-column
align="center"
v-for="(columnTitle, index) in bshglajS.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>
<el-pagination
background
@current-change="handleCurrentChangeS"
:current-page.sync="currentPage1G"
:page-size="pagesize"
:page-sizes="[10, 20, 50, 100]"
layout="sizes,prev, pager, next"
:total="tableDataSLength"
v-if="pageShowS"
>
</el-pagination>
<span slot="footer" class="dialog-footer">
<el-button @click="dialogS = false">关闭</el-button>
</span>
</el-dialog>
<el-dialog title="关联案件" :visible.sync="dialogG" width="64%">
<el-table
element-loading-text="拼命加载中"
ref="itemDataTable"
:data="tableDataG"
tooltip-effect="dark"
max-height="600"
style="margin: 0 auto"
width="100%"
size="small"
>
<el-table-column
align="center"
v-for="(columnTitle, index) in bshglajG.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>
<el-pagination
background
@current-change="handleCurrentChangeG"
:current-page.sync="currentPage1S"
:page-size="pagesize"
:page-sizes="[10, 20, 50, 100]"
layout="sizes,prev, pager, next"
:total="tableDataGLength"
v-if="pageShowG"
>
</el-pagination>
<span slot="footer" class="dialog-footer">
<el-button @click="dialogG = false">关闭</el-button>
</span>
</el-dialog>
<!-- 导入 -->
<!-- <el-dialog
title="导入交易活动"
:visible.sync="revokeVisiable"
width="30%"
@closed="closed"
>
<el-form :inline="true" :model="ckForm" class="demo-form-inline">
<el-row>
<el-col :span="20" :offset="2" style="margin-top: 20px">
<el-form-item label="文件" style="width:100%">
<el-upload
class="upload-demo"
action="#"
accept=".xls,.xlsx"
:on-change="fileOnchange"
:on-remove="
(flie, fileList) => {
fileArr = fileList;
}
"
:auto-upload="false"
:http-request="() => {}"
:file-list="fileArr"
v-model="ckForm.file"
>
<el-button size="small" type="primary">选择上传</el-button>
</el-upload>
</el-form-item>
</el-col>
</el-row>
</el-form>
<div slot="footer" class="dialog-footer">
<el-button @click="revokeVisiable = false">取 消</el-button>
<el-button type="primary" @click="submitCKD">确 定</el-button>
</div>
</el-dialog> -->
</div>
</template>
<script>
import rightContent from "@c/ptCxForm_components.vue";
import { deleteZdcyryxx, getAjxxByZjhm } from "@/api/zdxx/zdcyryxx.js";
import { deleteZdxxgl, excleImport } from "@/api/zdxx/zdxxgl.js";
export default {
name: "zdcyryxx",
name: "zdxx",
components: {
rightContent,
},
data() {
data () {
return {
header: "阵地从业人员信息",
pageBs: "queryZdcyryxx",
header: "阵地管控工作管理",
pageBs: "zdxxgl",
cxFormData: {
limit: 10,
page: 1,
glzdxxzjbh: "",
djsjStart: "",
djsjEnd: "",
wjr: "",
zdjd: "",
zdwd: "",
xm: "",
zjhm: "",
cysjkssj: "",
cysjjssj: "",
sfhgPdbz: "",
sjsfdqdm: "",
limit: 10,
page: 1,
},
cxQueryField: [
/*立案信息 侦查终结信息 立案信息审批 侦查终结审批通用开始*/
{
name: "姓名",
id: "xm",
name: "物建人",
id: "wjr",
type: "text",
value: "",
placeholder: "",
col: "3",
},
{
name: "证件号码",
id: "zjhm",
name: "登记时间",
id: "djsjStart",
id2: "djsjEnd",
type: "zdyDate",
value: "",
col: "3",
},
{
name: "阵地经度",
id: "zdjd",
type: "text",
value: "",
placeholder: "",
col: "3",
},
{
name: "从业时间",
id: "cysjkssj",
id2: "cysjjssj",
type: "zdyDate",
name: "阵地纬度",
id: "zdwd",
type: "text",
value: "",
placeholder: "",
col: "3",
},
{
name: "是否换岗",
id: "sfhgPdbz",
type: "select",
selectData: [
{ name: "没有", value: "0" },
{ name: "有", value: "1" },
],
name: "阵地半径范围",
id: "zdbjfw",
type: "text",
value: "",
placeholder: "请输入",
col: "3",
},
{
name: "阵地编号:",
id: "xxzjbh",
type: "text",
value: "",
placeholder: "请输入",
col: "3",
},
{
name: "阵地管理人员姓名",
id: "xm",
type: "text",
value: "",
placeholder: "",
col: "3",
},
{
name: "证件号码",
id: "zjhm",
type: "text",
value: "",
placeholder: "",
col: "3",
},
{
name: "涉及省份和地区",
id: "sjsfdqdm",
type: "codeTreeDialog",
props: [], //字典弹框需要的字段
value: "",
col: "3",
codeOptions: [],
codeTree: "CODE_XZQH",
},
],
cxDefaultFormThead: [
{
label: "姓名",
prop: "xm",
label: "阵地名称",
prop: "zdmc",
toInfor: true,
width: "220",
},
{
/*table默认得表头*/
label: "阵地编号",
prop: "glzdxxzjbh",
width: "200",
},
{
/*table默认得表头*/
label: "证件号码",
prop: "zjhm",
width: "200",
label: "阵地编号",
prop: "xxzjbh",
width: "260",
},
{
label: "国籍名称",
prop: "gjmc",
width: "220",
label: "登记时间",
prop: "djsj",
},
{
label: "婚姻",
prop: "hyzkdmStr",
width: "120",
label: "阵地经度",
prop: "zdjd",
},
{
label: "学历",
prop: "xldmStr",
width: "120",
label: "阵地纬度",
prop: "zdwd",
},
{
label: "关联案件",
prop: "sfyaj",
isShowDialog: true,
label: "联系电话",
prop: "zdlxdh",
},
{
label: "是否重点人员",
prop: "sfzdgzry",
width: "120",
label: "物建人",
prop: "wjr",
},
// {
// label: "物建人",
// prop: "wjr",
// width: "200",
// },
// {
// /*table默认得表头*/
// label: "联系电话",
// prop: "zdlxdh",
// width: "200",
// },
// {
// label: "阵地经度",
// prop: "zdjd",
// width: "200",
// },
// {
// label: "阵地纬度",
// prop: "zdwd",
// width: "200",
// },
// {
// label: "阵地半径范围",
// prop: "zdbjfw",
// width: "200",
// },
// {
// label: "证件号码",
// prop: "zjhm",
// width: "200",
// },
// {
// label: "涉及省份和地区",
// prop: "sjsfdqdmStr",
// width: "200",
// },
],
cxUrl: "/zdryxx/selectZdyrxx",
cxUrl: "/zdxx/selectZdxxglNew",
Menu: [
{
id: "queryZdcyryxx22",
label: "阵地信息监测预警",
index: "queryZdcyryxx22",
id: "queryZdxx",
label: "阵地信息列表",
index: "queryZdxx",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
],
//关联案件属性
dialogS: false,
dialogG: false,
bshglajS: {
pageBs: "qyeryrlqbxsGl",
cxFormData: {
page: 1,
limit: 5,
rlqbxxzjbh: "",
leftMenus: [
//左侧导航(模块第一个页面需要)
{
id: "queryZdxx",
label: "阵地信息管理",
newAuth: "M01",
index: "queryZdxx",
className: "iconfont icongongnengfuwu",
hasChildren: true,
children: [
{
id: "queryZdxx",
label: "阵地信息管理",
newAuth: "M01",
index: "queryZdxx",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryZdcyryxx",
label: "阵地从业人员信息管理",
newAuth: "M01",
index: "queryZdcyryxx",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
]
},
cxQueryField: [],
cxDefaultFormThead: [
{
label: "案事件编号",
prop: "asjbh",
toInforDa: true,
},
{
label: "案件名称",
prop: "ajmc",
},
{
label: "案件类别",
prop: "ajlbdm",
},
{
label: "立案日期",
prop: "larq",
},
{
label: "立案单位",
prop: "ladwGajgmc",
},
{
label: "简要案情",
prop: "jyaq",
},
],
cxUrl: "/zdryxx/getAjxxByZjhm",
},
bshglajG: {
pageBs: "qyeryrlqbxsGl",
cxFormData: {
page: 1,
limit: 5,
rlqbxxzjbh: "",
{
id: "queryZdjyhd",
label: "阵地活动信息管理",
newAuth: "M01",
index: "queryZdjyhd",
className: "iconfont icongongnengfuwu",
hasChildren: true,
children: [
{
id: "queryZdxxs",
label: "阵地交易信息采集",
newAuth: "M01",
index: "queryZdxxs",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
// {
// id: "queryZdxsxx",
// label: "阵地线索信息管理",
// newAuth: "M01",
// index: "queryZdxsxx",
// className: "iconfont icongongnengfuwu",
// hasChildren: false,
// },
{
id: "queryqzdjs",
label: "全阵地信息检索",
index: "queryqzdjs",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
{
id: "zdjjbqk",
label: "全阵地信息统计分析",
index: "zdjjbqk",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
// {
// id: "zdhome",
// label: "阵控信息研判",
// index: "zdhome",
// auth: "M0101",
// className: "iconfont iconrizhi",
// disabled: false,
// },
],
},
{
id: "queryZdxxs25",
label: "阵控信息检测预警",
newAuth: "M01",
index: "queryZdxxs25",
className: "iconfont icongongnengfuwu",
hasChildren: true,
children: [
{
id: "queryZdcyryxx22",
label: "阵地检测预警模型管理",
index: "queryZdcyryxx22",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
]
},
// {
// id: "queryZdxxs25",
// label: "阵地信息监测预警",
// newAuth: "M01",
// index: "queryZdxxs25",
// className: "iconfont icongongnengfuwu",
// hasChildren: true,
// children: [
// {
// id: "queryZdxx111",
// label: "阵地监测预警模型管理",
// index: "queryZdxx111",
// auth: "M0101",
// className: "iconfont iconrizhi",
// disabled: false,
// },
// {
// id: "queryZdcyryxx22",
// label: "阵地信息监测预警",
// index: "queryZdcyryxx22",
// auth: "M0101",
// className: "iconfont iconrizhi",
// disabled: false,
// },
// {
// id: "queryZdxxs25",
// label: "阵地预警信息处置",
// index: "queryZdxxs25",
// auth: "M0101",
// className: "iconfont iconrizhi",
// disabled: false,
// },
// ],
// },
// {
// id: "queryZdxx3",
// label: "阵地信息研判",
// newAuth: "M01",
// index: "queryZdxx3",
// className: "iconfont icongongnengfuwu",
// hasChildren: true,
// children: [
// {
// id: "queryZdxx3",
// label: "阵地信息研判",
// index: "queryZdxx3",
// auth: "M0101",
// className: "iconfont iconrizhi",
// disabled: false,
// },
// {
// id: "queryZdcyryxx3",
// label: "阵地从业人员信息研判",
// index: "queryZdcyryxx3",
// auth: "M0101",
// className: "iconfont iconrizhi",
// disabled: false,
// },
// {
// id: "queryZdxxs3",
// label: "阵地活动信息研判",
// index: "queryZdxxs3",
// auth: "M0101",
// className: "iconfont iconrizhi",
// disabled: false,
// },
// {
// id: "queryZdxxs34",
// label: "阵地监测预警信息研判",
// index: "queryZdxxs34",
// auth: "M0101",
// className: "iconfont iconrizhi",
// disabled: false,
// },
// ],
// },
// {
// id: "queryBbkwpxx",
// label: "智能化信息服务",
// newAuth: "M01",
// index: "queryBbkwpxx",
// className: "iconfont icongongnengfuwu",
// hasChildren: false,
// },
// {
// id: "queryBbkwpxx",
// label: "被布控物品信息",
// newAuth: "M01",
// index: "queryBbkwpxx",
// className: "iconfont icongongnengfuwu",
// hasChildren: false,
// },
{
id: "zdhome",
label: "阵控信息研判",
newAuth: "M01",
index: "zdhome",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "qjgnsyrz",
label: "全局功能使用日志",
newAuth: "M01",
index: "qjgnsyrz",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryZdXsbk",
label: "阵地布控模型管理",
newAuth: "M01",
index: "queryZdXsbk",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
cxQueryField: [],
cxDefaultFormThead: [
{
label: "案事件编号",
prop: "asjbh",
toInforDa: true,
},
{
label: "案件名称",
prop: "ajmc",
},
{
label: "案件类别",
prop: "ajlbdm",
},
{
label: "立案日期",
prop: "larq",
},
{
label: "立案单位",
prop: "ladwGajgmc",
},
{
label: "简要案情",
prop: "jyaq",
},
],
cxUrl: "/zdryxx/getAjxxByZjhm",
],
selectArr: [],
revokeVisiable: false,
ckForm: {
file: "",
},
tableDataS: [],
tableDataG: [],
pagesize: 5,
tableDataSLength: "",
tableDataGLength: "",
pageShowS: false,
pageShowG: false,
currentPage1G: 1,
currentPage1S: 1,
fileArr: [],
zdXxzjbh: "",
};
},
created() {
created () {
this.$store.commit("user/SET_Menu", this.Menu);
},
mounted() {
console.log(this.$route.query.glzdxxzjbh);
this.cxFormData.glzdxxzjbh = this.$route.query.glzdxxzjbh;
this.$refs.rightContent.doQuery("yes");
// this.$store.commit("user/SET_LeftMenu", this.leftMenus);
this.$store.commit("user/SET_Header", this.header);
},
methods: {
add() {
this.$router.pushToTab("addZdcyryxx");
add () {
this.$router.pushToTab("adjustZdxxgl");
},
edit(scope) {
edit (scope) {
this.$router.pushToTab({
path: "/addZdcyryxx",
query: { xxzjbh: scope.row.xxzjbh },
path: "/detailZdxx",
query: {
xxzjbh: scope.row.xxzjbh,
},
});
},
dele(scope) {
console.log(11111111);
dele (scope) {
this.$confirm("此操作将永久删除该文件, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
deleteZdcyryxx({
deleteZdxxgl({
xxzjbh: scope.row.xxzjbh,
}).then((res) => {
if (res.success && res.code == 200) {
......@@ -435,70 +513,29 @@ export default {
message: "已取消删除",
});
});
console.log(scope.row.xxzjbh);
},
giveInstructions(scope) {
let path = `${this.$baseUrl.alyIP8}/#/addsqfbzl?type=xdzl&xsbh=${scope.row.xxzjbh}&module=zhendi&xsType=04`;
window.open(path, "_blank");
},
toInfor(data) {
toInfor (scope) {
this.$router.pushToTab({
path: "/detailZdcyryxx",
path: "/detailZdxx",
query: {
xxzjbh: data.xxzjbh,
xxzjbh: scope.xxzjbh,
},
});
},
handleCurrentChangeS(val) {
this.currentPage1S = val;
this.bshglajS.cxFormData.page = val;
this.showDialogS();
fileOnchange (file, fileList) {
if (fileList.length > 0) {
this.fileArr = [fileList[0]]; // 这一步,是 展示最后一次选择的csv文件
if (fileList.length > 1) this.$message.error("只能上传一个文件!");
}
},
handleCurrentChangeG(val) {
this.currentPage1G = val;
this.bshglajG.cxFormData.page = val;
this.showDialogG();
closed () {
this.fileArr = [];
},
showDialogS(data) {
var params = new FormData();
params.append("limit", this.bshglajG.cxFormData.limit);
params.append("page", this.bshglajG.cxFormData.page);
params.append("sgbzxx", 'sheng');
params.append("zjhm", data.row.zjhm);
getAjxxByZjhm(params).then((res) => {
if (res.success && res.code == 200) {
this.tableDataS = [...res.data.rows];
this.tableDataSLength = res.data.total;
if (this.tableDataSLength >= 5) {
this.pageShowS = true;
} else {
this.pageShowS = false;
}
}
});
// this.tableDataS = [ ...this.tableDataS ]
this.dialogS = true;
onChange (file, fileList) {
console.log(file, fileList);
},
showDialogG(data) {
this.dialogG = true;
// console.log(data);
// this.bshglajG.cxFormData.rlqbxxzjbh = data.row.xxzjbh;
var params = new FormData();
params.append("limit", this.bshglajG.cxFormData.limit);
params.append("page", this.bshglajG.cxFormData.page);
params.append("sgbzxx", 'guo');
params.append("zjhm", data.row.zjhm);
getAjxxByZjhm(params).then((res) => {
if (res.success && res.code == 200) {
this.tableDataG = res.data.rows;
this.tableDataGLength = res.data.total;
if (this.tableDataGLength >= 5) {
this.pageShowG = true;
} else {
this.pageShowG = false;
}
}
});
selectionChange (scope) {
this.selectArr = scope;
},
},
};
......@@ -561,4 +598,20 @@ export default {
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;
margin-right: 10px;
}
</style>
<template>
<div class="Content">
<right-content
ref="rightContent"
:pageBs="pageBs"
:header="header"
:cxFormData="cxFormData"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
@toInfor="toInfor"
@showDialogG="showDialogG"
@showDialogS="showDialogS"
>
<right-content ref="rightContent"
:pageBs="pageBs"
:header="header"
:cxFormData="cxFormData"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
@toInfor="toInfor"
@showDialogG="showDialogG"
@showDialogS="showDialogS">
<template #btnGroup="scope">
<span class="hbyp" @click="edit(scope.scope)">修改</span>
<span class="hbyp" @click="dele(scope.scope)">删除</span>
<span class="hbyp" @click="giveInstructions(scope.scope)"
>下达指令</span
>
<span class="hbyp"
@click="edit(scope.scope)">修改</span>
<span class="hbyp"
@click="dele(scope.scope)">删除</span>
<span class="hbyp"
@click="giveInstructions(scope.scope)">下达指令</span>
</template>
</right-content>
<!-- @add="add" -->
<!-- 关联案件 -->
<el-dialog title="关联案件" :visible.sync="dialogS" width="64%">
<el-table
element-loading-text="拼命加载中"
ref="itemDataTable"
:data="tableDataS"
tooltip-effect="dark"
max-height="600"
style="margin: 0 auto"
width="100%"
size="small"
>
<el-table-column
align="center"
v-for="(columnTitle, index) in bshglajS.cxDefaultFormThead"
:key="index"
:label="columnTitle.label"
width="200"
:prop="columnTitle.prop"
>
<el-dialog title="关联案件"
:visible.sync="dialogS"
width="64%">
<el-table element-loading-text="拼命加载中"
ref="itemDataTable"
:data="tableDataS"
tooltip-effect="dark"
max-height="600"
style="margin: 0 auto"
width="100%"
size="small">
<el-table-column align="center"
v-for="(columnTitle, index) in bshglajS.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="
<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="
id="open"
v-show="
scope.row[columnTitle.prop] != '' &&
scope.row[columnTitle.prop] != null
"
>展开</a
>
">展开</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="
<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
>
">收起</a>
</div>
</div>
<div v-else>
......@@ -88,79 +77,68 @@
</template>
</el-table-column>
</el-table>
<el-pagination
background
@current-change="handleCurrentChangeS"
:current-page.sync="currentPage1G"
:page-size="pagesize"
:page-sizes="[10, 20, 50, 100]"
layout="sizes,prev, pager, next"
:total="tableDataSLength"
v-if="pageShowS"
>
<el-pagination background
@current-change="handleCurrentChangeS"
:current-page.sync="currentPage1G"
:page-size="pagesize"
:page-sizes="[10, 20, 50, 100]"
layout="sizes,prev, pager, next"
:total="tableDataSLength"
v-if="pageShowS">
</el-pagination>
<span slot="footer" class="dialog-footer">
<span slot="footer"
class="dialog-footer">
<el-button @click="dialogS = false">关闭</el-button>
</span>
</el-dialog>
<el-dialog title="关联案件" :visible.sync="dialogG" width="64%">
<el-table
element-loading-text="拼命加载中"
ref="itemDataTable"
:data="tableDataG"
tooltip-effect="dark"
max-height="600"
style="margin: 0 auto"
width="100%"
size="small"
>
<el-table-column
align="center"
v-for="(columnTitle, index) in bshglajG.cxDefaultFormThead"
:key="index"
:label="columnTitle.label"
width="200"
:prop="columnTitle.prop"
>
<el-dialog title="关联案件"
:visible.sync="dialogG"
width="64%">
<el-table element-loading-text="拼命加载中"
ref="itemDataTable"
:data="tableDataG"
tooltip-effect="dark"
max-height="600"
style="margin: 0 auto"
width="100%"
size="small">
<el-table-column align="center"
v-for="(columnTitle, index) in bshglajG.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="
<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="
id="open"
v-show="
scope.row[columnTitle.prop] != '' &&
scope.row[columnTitle.prop] != null
"
>展开</a
>
">展开</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="
<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
>
">收起</a>
</div>
</div>
<div v-else>
......@@ -169,18 +147,17 @@
</template>
</el-table-column>
</el-table>
<el-pagination
background
@current-change="handleCurrentChangeG"
:current-page.sync="currentPage1S"
:page-size="pagesize"
:page-sizes="[10, 20, 50, 100]"
layout="sizes,prev, pager, next"
:total="tableDataGLength"
v-if="pageShowG"
>
<el-pagination background
@current-change="handleCurrentChangeG"
:current-page.sync="currentPage1S"
:page-size="pagesize"
:page-sizes="[10, 20, 50, 100]"
layout="sizes,prev, pager, next"
:total="tableDataGLength"
v-if="pageShowG">
</el-pagination>
<span slot="footer" class="dialog-footer">
<span slot="footer"
class="dialog-footer">
<el-button @click="dialogG = false">关闭</el-button>
</span>
</el-dialog>
......@@ -195,7 +172,7 @@ export default {
components: {
rightContent,
},
data() {
data () {
return {
header: "阵地从业人员信息",
pageBs: "queryZdcyryxx",
......@@ -391,25 +368,25 @@ export default {
currentPage1S: 1,
};
},
created() {
created () {
this.$store.commit("user/SET_Menu", this.Menu);
},
mounted() {
mounted () {
console.log(this.$route.query.glzdxxzjbh);
this.cxFormData.glzdxxzjbh = this.$route.query.glzdxxzjbh;
this.$refs.rightContent.doQuery("yes");
// this.$refs.rightContent.doQuery("yes");
},
methods: {
add() {
add () {
this.$router.pushToTab("addZdcyryxx");
},
edit(scope) {
edit (scope) {
this.$router.pushToTab({
path: "/addZdcyryxx",
query: { xxzjbh: scope.row.xxzjbh },
});
},
dele(scope) {
dele (scope) {
console.log(11111111);
this.$confirm("此操作将永久删除该文件, 是否继续?", "提示", {
confirmButtonText: "确定",
......@@ -437,11 +414,11 @@ export default {
});
console.log(scope.row.xxzjbh);
},
giveInstructions(scope) {
giveInstructions (scope) {
let path = `${this.$baseUrl.alyIP8}/#/addsqfbzl?type=xdzl&xsbh=${scope.row.xxzjbh}&module=zhendi&xsType=04`;
window.open(path, "_blank");
},
toInfor(data) {
toInfor (data) {
this.$router.pushToTab({
path: "/detailZdcyryxx",
query: {
......@@ -449,17 +426,17 @@ export default {
},
});
},
handleCurrentChangeS(val) {
handleCurrentChangeS (val) {
this.currentPage1S = val;
this.bshglajS.cxFormData.page = val;
this.showDialogS();
},
handleCurrentChangeG(val) {
handleCurrentChangeG (val) {
this.currentPage1G = val;
this.bshglajG.cxFormData.page = val;
this.showDialogG();
},
showDialogS(data) {
showDialogS (data) {
var params = new FormData();
params.append("limit", this.bshglajG.cxFormData.limit);
params.append("page", this.bshglajG.cxFormData.page);
......@@ -479,7 +456,7 @@ export default {
// this.tableDataS = [ ...this.tableDataS ]
this.dialogS = true;
},
showDialogG(data) {
showDialogG (data) {
this.dialogG = true;
// console.log(data);
// this.bshglajG.cxFormData.rlqbxxzjbh = data.row.xxzjbh;
......
<template>
<div class="Content">
<right-content
:pageBs="pageBs"
:header="header"
:cxFormData="cxFormData"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
ref="rightContent"
@add="add"
@toInfor="toInfor"
@toCY="toCY"
@toJY="toJY"
@toBK="toBK"
@toXS="toXS"
@selectionChange="selectionChange"
@drzjhd="drzjhd"
>
<right-content :pageBs="pageBs"
:header="header"
:cxFormData="cxFormData"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
ref="rightContent"
@toInfor="toInfor"
@selectionChange="selectionChange">
<!-- @drzjhd="drzjhd" -->
<template #listOperation="scope">
<span class="hbyps"
@click="add(scope.scope)">
<i class="el-icon-plus"></i>新增</span>
<!-- <el-button type="primary" size="mini" @click="drzjhd"
>excel导入交易活动</el-button
> -->
</template>
<template #btnGroup="scope">
<span class="hbyp" @click="edit(scope.scope)">修改</span>
<span class="hbyp" @click="dele(scope.scope)">删除</span>
<span class="hbyp"
@click="edit(scope.scope)">查看预警</span>
<!-- <span class="hbyp"
@click="dele(scope.scope)">删除</span> -->
</template>
</right-content>
<!-- 导入 -->
<el-dialog
<!-- <el-dialog
title="导入交易活动"
:visible.sync="revokeVisiable"
width="30%"
......@@ -59,7 +62,7 @@
<el-button @click="revokeVisiable = false">取 消</el-button>
<el-button type="primary" @click="submitCKD">确 定</el-button>
</div>
</el-dialog>
</el-dialog> -->
</div>
</template>
......@@ -71,9 +74,9 @@ export default {
components: {
rightContent,
},
data() {
data () {
return {
header: "阵地信息查询",
header: "阵地管控工作管理",
pageBs: "zdxxgl",
cxFormData: {
djsjStart: "",
......@@ -122,12 +125,20 @@ export default {
col: "3",
},
{
name: "阵地半径范围:",
name: "阵地半径范围",
id: "zdbjfw",
type: "text",
value: "",
placeholder: "请输入",
col: "2",
col: "3",
},
{
name: "阵地编号:",
id: "xxzjbh",
type: "text",
value: "",
placeholder: "请输入",
col: "3",
},
{
name: "阵地管理人员姓名",
......@@ -158,59 +169,299 @@ export default {
],
cxDefaultFormThead: [
{
label: "阵地管理人员姓名",
prop: "xm",
label: "阵地名称",
prop: "zdmc",
toInfor: true,
width: "200",
},
{
label: "物建人",
prop: "wjr",
width: "200",
label: "阵地编号",
prop: "xxzjbh",
width: "260",
},
{
/*table默认得表头*/
label: "联系电话",
prop: "zdlxdh",
width: "200",
label: "登记时间",
prop: "djsj",
},
{
label: "阵地经度",
prop: "zdjd",
width: "200",
},
{
label: "阵地纬度",
prop: "zdwd",
width: "200",
},
{
label: "阵地半径范围",
prop: "zdbjfw",
width: "200",
},
{
label: "证件号码",
prop: "zjhm",
width: "200",
label: "联系电话",
prop: "zdlxdh",
},
{
label: "涉及省份和地区",
prop: "sjsfdqdmStr",
width: "200",
label: "物建人",
prop: "wjr",
},
// {
// label: "物建人",
// prop: "wjr",
// width: "200",
// },
// {
// /*table默认得表头*/
// label: "联系电话",
// prop: "zdlxdh",
// width: "200",
// },
// {
// label: "阵地经度",
// prop: "zdjd",
// width: "200",
// },
// {
// label: "阵地纬度",
// prop: "zdwd",
// width: "200",
// },
// {
// label: "阵地半径范围",
// prop: "zdbjfw",
// width: "200",
// },
// {
// label: "证件号码",
// prop: "zjhm",
// width: "200",
// },
// {
// label: "涉及省份和地区",
// prop: "sjsfdqdmStr",
// width: "200",
// },
],
cxUrl: "/zdxx/selectZdxxglNew",
Menu: [
{
id: "queryZdxxs3",
label: "阵地活动信息研判",
index: "queryZdxxs3",
id: "queryZdxx",
label: "阵地信息列表",
index: "queryZdxx",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
],
leftMenus: [
//左侧导航(模块第一个页面需要)
{
id: "queryZdxx",
label: "阵地信息管理",
newAuth: "M01",
index: "queryZdxx",
className: "iconfont icongongnengfuwu",
hasChildren: true,
children: [
{
id: "queryZdxx",
label: "阵地信息管理",
newAuth: "M01",
index: "queryZdxx",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryZdcyryxx",
label: "阵地从业人员信息管理",
newAuth: "M01",
index: "queryZdcyryxx",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
]
},
{
id: "queryZdjyhd",
label: "阵地活动信息管理",
newAuth: "M01",
index: "queryZdjyhd",
className: "iconfont icongongnengfuwu",
hasChildren: true,
children: [
{
id: "queryZdxxs",
label: "阵地交易信息采集",
newAuth: "M01",
index: "queryZdxxs",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
// {
// id: "queryZdxsxx",
// label: "阵地线索信息管理",
// newAuth: "M01",
// index: "queryZdxsxx",
// className: "iconfont icongongnengfuwu",
// hasChildren: false,
// },
{
id: "queryqzdjs",
label: "全阵地信息检索",
index: "queryqzdjs",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
{
id: "zdjjbqk",
label: "全阵地信息统计分析",
index: "zdjjbqk",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
// {
// id: "zdhome",
// label: "阵控信息研判",
// index: "zdhome",
// auth: "M0101",
// className: "iconfont iconrizhi",
// disabled: false,
// },
],
},
{
id: "queryZdxxs25",
label: "阵控信息检测预警",
newAuth: "M01",
index: "queryZdxxs25",
className: "iconfont icongongnengfuwu",
hasChildren: true,
children: [
{
id: "queryZdcyryxx22",
label: "阵地检测预警模型管理",
index: "queryZdcyryxx22",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
]
},
// {
// id: "queryZdxxs25",
// label: "阵地信息监测预警",
// newAuth: "M01",
// index: "queryZdxxs25",
// className: "iconfont icongongnengfuwu",
// hasChildren: true,
// children: [
// {
// id: "queryZdxx111",
// label: "阵地监测预警模型管理",
// index: "queryZdxx111",
// auth: "M0101",
// className: "iconfont iconrizhi",
// disabled: false,
// },
// {
// id: "queryZdcyryxx22",
// label: "阵地信息监测预警",
// index: "queryZdcyryxx22",
// auth: "M0101",
// className: "iconfont iconrizhi",
// disabled: false,
// },
// {
// id: "queryZdxxs25",
// label: "阵地预警信息处置",
// index: "queryZdxxs25",
// auth: "M0101",
// className: "iconfont iconrizhi",
// disabled: false,
// },
// ],
// },
// {
// id: "queryZdxx3",
// label: "阵地信息研判",
// newAuth: "M01",
// index: "queryZdxx3",
// className: "iconfont icongongnengfuwu",
// hasChildren: true,
// children: [
// {
// id: "queryZdxx3",
// label: "阵地信息研判",
// index: "queryZdxx3",
// auth: "M0101",
// className: "iconfont iconrizhi",
// disabled: false,
// },
// {
// id: "queryZdcyryxx3",
// label: "阵地从业人员信息研判",
// index: "queryZdcyryxx3",
// auth: "M0101",
// className: "iconfont iconrizhi",
// disabled: false,
// },
// {
// id: "queryZdxxs3",
// label: "阵地活动信息研判",
// index: "queryZdxxs3",
// auth: "M0101",
// className: "iconfont iconrizhi",
// disabled: false,
// },
// {
// id: "queryZdxxs34",
// label: "阵地监测预警信息研判",
// index: "queryZdxxs34",
// auth: "M0101",
// className: "iconfont iconrizhi",
// disabled: false,
// },
// ],
// },
// {
// id: "queryBbkwpxx",
// label: "智能化信息服务",
// newAuth: "M01",
// index: "queryBbkwpxx",
// className: "iconfont icongongnengfuwu",
// hasChildren: false,
// },
// {
// id: "queryBbkwpxx",
// label: "被布控物品信息",
// newAuth: "M01",
// index: "queryBbkwpxx",
// className: "iconfont icongongnengfuwu",
// hasChildren: false,
// },
{
id: "zdhome",
label: "阵控信息研判",
newAuth: "M01",
index: "zdhome",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "qjgnsyrz",
label: "全局功能使用日志",
newAuth: "M01",
index: "qjgnsyrz",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryZdXsbk",
label: "阵地布控模型管理",
newAuth: "M01",
index: "queryZdXsbk",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
],
selectArr: [],
revokeVisiable: false,
ckForm: {
......@@ -220,21 +471,24 @@ export default {
zdXxzjbh: "",
};
},
created() {
created () {
this.$store.commit("user/SET_Menu", this.Menu);
// this.$store.commit("user/SET_LeftMenu", this.leftMenus);
this.$store.commit("user/SET_Header", this.header);
},
methods: {
add() {
add () {
this.$router.pushToTab("adjustZdxxgl");
},
edit(scope) {
edit (scope) {
this.$router.pushToTab({
path: "adjustZdxxgl",
query: { xxzjbh: scope.row.xxzjbh },
path: "/detailZdxx",
query: {
xxzjbh: scope.row.xxzjbh,
},
});
},
dele(scope) {
dele (scope) {
this.$confirm("此操作将永久删除该文件, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
......@@ -260,7 +514,7 @@ export default {
});
});
},
toInfor(scope) {
toInfor (scope) {
this.$router.pushToTab({
path: "/detailZdxx",
query: {
......@@ -268,93 +522,21 @@ export default {
},
});
},
toCY(data) {
this.$router.pushToTab({
path: "/addZdCyryxx",
query: {
glxxzjbh: data.row.xxzjbh,
},
});
},
toJY(data) {
this.$router.pushToTab({
path: "/addZdjyhd",
query: {
glxxzjbh: data.row.xxzjbh,
},
});
},
toBK(data) {
this.$router.pushToTab({
path: "/adjustBbkwpxx",
query: {
glxxzjbh: data.row.xxzjbh,
},
});
},
toXS(data) {
this.$router.pushToTab({
path: "/adjustZdxsxx",
query: {
glxxzjbh: data.row.xxzjbh,
},
});
},
fileOnchange(file, fileList) {
fileOnchange (file, fileList) {
if (fileList.length > 0) {
this.fileArr = [fileList[0]]; // 这一步,是 展示最后一次选择的csv文件
if (fileList.length > 1) this.$message.error("只能上传一个文件!");
}
},
closed() {
closed () {
this.fileArr = [];
},
onChange(file, fileList) {
onChange (file, fileList) {
console.log(file, fileList);
},
selectionChange(scope) {
selectionChange (scope) {
this.selectArr = scope;
},
submitCKD() {
if (this.fileArr.length <= 0) {
this.$message.warning("请选择文件");
} else {
console.log(this.fileArr, this.zdXxzjbh);
let params = new FormData();
params.append("zdxxzjbh", this.zdXxzjbh);
this.fileArr.forEach((i) => {
params.append("file", i.raw);
});
let loading = this.$loading({
lock: true,
text: "正在导入...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
excleImport(params).then((res) => {
if (res.code == 200 && res.success) {
this.$message.success("导入成功");
this.revokeVisiable = false;
this.$router.pushToTab("queryZdjyhd");
sessionStorage.setItem("routerPath", "queryZdjyhd");
setTimeout(() => {
this.$bus.$emit("routerPath");
}, 20);
} else {
this.$message.error("导入失败");
}
loading.close();
});
}
},
drzjhd() {
if (this.selectArr.length != 1) {
this.$message.error("请选择一条数据后操作");
} else {
this.zdXxzjbh = this.selectArr[0].xxzjbh;
this.revokeVisiable = true;
}
},
},
};
</script>
......@@ -416,4 +598,20 @@ export default {
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;
margin-right: 10px;
}
</style>
<template>
<div class="Content">
<right-content
:pageBs="pageBs"
:header="header"
:cxFormData="cxFormData"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
ref="rightContent"
@add="add"
@toInfor="toInfor"
@toCY="toCY"
@toJY="toJY"
@toBK="toBK"
@toXS="toXS"
@selectionChange="selectionChange"
@drzjhd="drzjhd"
>
<right-content :pageBs="pageBs"
:header="header"
:cxFormData="cxFormData"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
ref="rightContent"
@add="add"
@toInfor="toInfor"
@toCY="toCY"
@toJY="toJY"
@toBK="toBK"
@toXS="toXS"
@selectionChange="selectionChange"
@drzjhd="drzjhd">
<template #btnGroup="scope">
<span class="hbyp" @click="edit(scope.scope)">修改</span>
<span class="hbyp" @click="dele(scope.scope)">删除</span>
<span class="hbyp"
@click="edit(scope.scope)">修改</span>
<span class="hbyp"
@click="dele(scope.scope)">删除</span>
</template>
</right-content>
<!-- 导入 -->
<el-dialog
title="导入交易活动"
:visible.sync="revokeVisiable"
width="30%"
@closed="closed"
>
<el-form :inline="true" :model="ckForm" class="demo-form-inline">
<el-dialog title="导入交易活动"
:visible.sync="revokeVisiable"
width="30%"
@closed="closed">
<el-form :inline="true"
:model="ckForm"
class="demo-form-inline">
<el-row>
<el-col :span="20" :offset="2" style="margin-top: 20px">
<el-form-item label="文件" style="width:100%">
<el-upload
class="upload-demo"
action="#"
accept=".xls,.xlsx"
:on-change="fileOnchange"
:on-remove="
<el-col :span="20"
:offset="2"
style="margin-top: 20px">
<el-form-item label="文件"
style="width:100%">
<el-upload class="upload-demo"
action="#"
accept=".xls,.xlsx"
:on-change="fileOnchange"
:on-remove="
(flie, fileList) => {
fileArr = fileList;
}
"
:auto-upload="false"
:http-request="() => {}"
:file-list="fileArr"
v-model="ckForm.file"
>
<el-button size="small" type="primary">选择上传</el-button>
:auto-upload="false"
:http-request="() => {}"
:file-list="fileArr"
v-model="ckForm.file">
<el-button size="small"
type="primary">选择上传</el-button>
</el-upload>
</el-form-item>
</el-col>
</el-row>
</el-form>
<div slot="footer" class="dialog-footer">
<div slot="footer"
class="dialog-footer">
<el-button @click="revokeVisiable = false">取 消</el-button>
<el-button type="primary" @click="submitCKD">确 定</el-button>
<el-button type="primary"
@click="submitCKD">确 定</el-button>
</div>
</el-dialog>
</div>
......@@ -71,7 +75,7 @@ export default {
components: {
rightContent,
},
data() {
data () {
return {
header: "阵地信息查询",
pageBs: "zdxxgl",
......@@ -158,8 +162,8 @@ export default {
],
cxDefaultFormThead: [
{
label: "阵地管理人员姓名",
prop: "xm",
label: "阵地名称",
prop: "zdmc",
toInfor: true,
width: "200",
},
......@@ -220,21 +224,21 @@ export default {
zdXxzjbh: "",
};
},
created() {
created () {
this.$store.commit("user/SET_Menu", this.Menu);
this.$store.commit("user/SET_Header", this.header);
},
methods: {
add() {
add () {
this.$router.pushToTab("adjustZdxxgl");
},
edit(scope) {
edit (scope) {
this.$router.pushToTab({
path: "adjustZdxxgl",
query: { xxzjbh: scope.row.xxzjbh },
});
},
dele(scope) {
dele (scope) {
this.$confirm("此操作将永久删除该文件, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
......@@ -260,7 +264,7 @@ export default {
});
});
},
toInfor(scope) {
toInfor (scope) {
this.$router.pushToTab({
path: "/detailZdxx",
query: {
......@@ -268,7 +272,7 @@ export default {
},
});
},
toCY(data) {
toCY (data) {
this.$router.pushToTab({
path: "/addZdCyryxx",
query: {
......@@ -276,7 +280,7 @@ export default {
},
});
},
toJY(data) {
toJY (data) {
this.$router.pushToTab({
path: "/addZdjyhd",
query: {
......@@ -284,7 +288,7 @@ export default {
},
});
},
toBK(data) {
toBK (data) {
this.$router.pushToTab({
path: "/adjustBbkwpxx",
query: {
......@@ -292,7 +296,7 @@ export default {
},
});
},
toXS(data) {
toXS (data) {
this.$router.pushToTab({
path: "/adjustZdxsxx",
query: {
......@@ -300,22 +304,22 @@ export default {
},
});
},
fileOnchange(file, fileList) {
fileOnchange (file, fileList) {
if (fileList.length > 0) {
this.fileArr = [fileList[0]]; // 这一步,是 展示最后一次选择的csv文件
if (fileList.length > 1) this.$message.error("只能上传一个文件!");
}
},
closed() {
closed () {
this.fileArr = [];
},
onChange(file, fileList) {
onChange (file, fileList) {
console.log(file, fileList);
},
selectionChange(scope) {
selectionChange (scope) {
this.selectArr = scope;
},
submitCKD() {
submitCKD () {
if (this.fileArr.length <= 0) {
this.$message.warning("请选择文件");
} else {
......@@ -347,7 +351,7 @@ export default {
});
}
},
drzjhd() {
drzjhd () {
if (this.selectArr.length != 1) {
this.$message.error("请选择一条数据后操作");
} else {
......
<template>
<div class="Content">
<right-content
:pageBs="pageBs"
:header="header"
:cxFormData="cxFormData"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
ref="rightContent"
@add="add"
@toInfor="toInfor"
@toCY="toCY"
@toJY="toJY"
@toBK="toBK"
@toXS="toXS"
@selectionChange="selectionChange"
@drzjhd="drzjhd"
>
<right-content :pageBs="pageBs"
:header="header"
:cxFormData="cxFormData"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
ref="rightContent"
@add="add"
@toInfor="toInfor"
@toCY="toCY"
@toJY="toJY"
@toBK="toBK"
@toXS="toXS"
@selectionChange="selectionChange"
@drzjhd="drzjhd">
<template #btnGroup="scope">
<span class="hbyp" @click="edit(scope.scope)">修改</span>
<span class="hbyp" @click="dele(scope.scope)">删除</span>
<span class="hbyp"
@click="edit(scope.scope)">修改</span>
<span class="hbyp"
@click="dele(scope.scope)">删除</span>
</template>
</right-content>
<!-- 导入 -->
<el-dialog
title="导入交易活动"
:visible.sync="revokeVisiable"
width="30%"
@closed="closed"
>
<el-form :inline="true" :model="ckForm" class="demo-form-inline">
<el-dialog title="导入交易活动"
:visible.sync="revokeVisiable"
width="30%"
@closed="closed">
<el-form :inline="true"
:model="ckForm"
class="demo-form-inline">
<el-row>
<el-col :span="20" :offset="2" style="margin-top: 20px">
<el-form-item label="文件" style="width:100%">
<el-upload
class="upload-demo"
action="#"
accept=".xls,.xlsx"
:on-change="fileOnchange"
:on-remove="
<el-col :span="20"
:offset="2"
style="margin-top: 20px">
<el-form-item label="文件"
style="width:100%">
<el-upload class="upload-demo"
action="#"
accept=".xls,.xlsx"
:on-change="fileOnchange"
:on-remove="
(flie, fileList) => {
fileArr = fileList;
}
"
:auto-upload="false"
:http-request="() => {}"
:file-list="fileArr"
v-model="ckForm.file"
>
<el-button size="small" type="primary">选择上传</el-button>
:auto-upload="false"
:http-request="() => {}"
:file-list="fileArr"
v-model="ckForm.file">
<el-button size="small"
type="primary">选择上传</el-button>
</el-upload>
</el-form-item>
</el-col>
</el-row>
</el-form>
<div slot="footer" class="dialog-footer">
<div slot="footer"
class="dialog-footer">
<el-button @click="revokeVisiable = false">取 消</el-button>
<el-button type="primary" @click="submitCKD">确 定</el-button>
<el-button type="primary"
@click="submitCKD">确 定</el-button>
</div>
</el-dialog>
</div>
......@@ -71,7 +75,7 @@ export default {
components: {
rightContent,
},
data() {
data () {
return {
header: "阵地信息查询",
pageBs: "zdxxgl",
......@@ -158,8 +162,8 @@ export default {
],
cxDefaultFormThead: [
{
label: "阵地管理人员姓名",
prop: "xm",
label: "阵地名称",
prop: "zdmc",
toInfor: true,
width: "200",
},
......@@ -220,21 +224,21 @@ export default {
zdXxzjbh: "",
};
},
created() {
created () {
this.$store.commit("user/SET_Menu", this.Menu);
this.$store.commit("user/SET_Header", this.header);
},
methods: {
add() {
add () {
this.$router.pushToTab("adjustZdxxgl");
},
edit(scope) {
edit (scope) {
this.$router.pushToTab({
path: "adjustZdxxgl",
query: { xxzjbh: scope.row.xxzjbh },
});
},
dele(scope) {
dele (scope) {
this.$confirm("此操作将永久删除该文件, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
......@@ -260,7 +264,7 @@ export default {
});
});
},
toInfor(scope) {
toInfor (scope) {
this.$router.pushToTab({
path: "/detailZdxx",
query: {
......@@ -268,7 +272,7 @@ export default {
},
});
},
toCY(data) {
toCY (data) {
this.$router.pushToTab({
path: "/addZdCyryxx",
query: {
......@@ -276,7 +280,7 @@ export default {
},
});
},
toJY(data) {
toJY (data) {
this.$router.pushToTab({
path: "/addZdjyhd",
query: {
......@@ -284,7 +288,7 @@ export default {
},
});
},
toBK(data) {
toBK (data) {
this.$router.pushToTab({
path: "/adjustBbkwpxx",
query: {
......@@ -292,7 +296,7 @@ export default {
},
});
},
toXS(data) {
toXS (data) {
this.$router.pushToTab({
path: "/adjustZdxsxx",
query: {
......@@ -300,22 +304,22 @@ export default {
},
});
},
fileOnchange(file, fileList) {
fileOnchange (file, fileList) {
if (fileList.length > 0) {
this.fileArr = [fileList[0]]; // 这一步,是 展示最后一次选择的csv文件
if (fileList.length > 1) this.$message.error("只能上传一个文件!");
}
},
closed() {
closed () {
this.fileArr = [];
},
onChange(file, fileList) {
onChange (file, fileList) {
console.log(file, fileList);
},
selectionChange(scope) {
selectionChange (scope) {
this.selectArr = scope;
},
submitCKD() {
submitCKD () {
if (this.fileArr.length <= 0) {
this.$message.warning("请选择文件");
} else {
......@@ -347,7 +351,7 @@ export default {
});
}
},
drzjhd() {
drzjhd () {
if (this.selectArr.length != 1) {
this.$message.error("请选择一条数据后操作");
} else {
......
......@@ -5,45 +5,42 @@
<div class="info">
<h4>{{ basic.title }}</h4>
<ol>
<li v-for="(i, k) in basic.children" :key="k">
<li v-for="(i, k) in basic.children"
:key="k">
<div class="info_name">{{ i.name }}</div>
<div class="info_txt">{{ i.txt }}</div>
</li>
</ol>
</div>
</el-col>
<el-col :span="16" :offset="1">
<el-col :span="16"
:offset="1">
<div class="params">
<h4>{{ operation ? "证物材料上传" : "证物材料" }}</h4>
<div
v-if="operation"
style="display: flex; align-items: center; margin-top: 15px"
>
<span style="font-size: 14px; font-weight: 500; margin-left: 20px"
>物证上传:</span
>
<el-button
size="small"
type="primary"
@click="revokeVisiable = true"
>物证上传</el-button
>
<div v-if="operation"
style="display: flex; align-items: center; margin-top: 15px">
<span style="font-size: 14px; font-weight: 500; margin-left: 20px">物证上传:</span>
<el-button size="small"
type="primary"
@click="revokeVisiable = true">物证上传</el-button>
</div>
<div class="plr20" style="margin-top: 16px; padding-bottom: 30px">
<div class="plr20"
style="margin-top: 16px; padding-bottom: 30px">
<el-collapse v-model="activeNames">
<el-collapse-item
v-for="(i, k) in wzlist"
:key="k"
:name="i.label"
>
<el-collapse-item v-for="(i, k) in wzlist"
:key="k"
:name="i.label">
<template slot="title">
<el-badge :value="i.li.length" class="item"></el-badge>
<el-badge :value="i.li.length"
class="item"></el-badge>
<div class="slot_title">
<span> {{ i.label }}</span>
</div>
</template>
<div class="FileLi" v-for="(m, n) in i.li" :key="n">
<div class="FileLi"
v-for="(m, n) in i.li"
:key="n">
<div>
<span class="defIcon">{{
m.name.split(".").pop().toLowerCase()
......@@ -54,19 +51,13 @@
<div>{{ m.name }}</div>
</div>
<div style="flex: 1; display: flex">
<el-button
v-if="operation"
@click="del(n, i.value, m)"
icon="el-icon-delete-solid"
type="text"
>删除</el-button
>
<el-button
@click="GetDownAsjZjcl(m)"
icon="el-icon-download"
type="text"
>下载</el-button
>
<el-button v-if="operation"
@click="del(n, i.value, m)"
icon="el-icon-delete-solid"
type="text">删除</el-button>
<el-button @click="GetDownAsjZjcl(m)"
icon="el-icon-download"
type="text">下载</el-button>
</div>
</div>
</div>
......@@ -76,82 +67,79 @@
</div>
</el-col>
</el-row>
<el-dialog
title="物证上传"
:visible.sync="revokeVisiable"
width="40%"
@closed="closed"
>
<el-form
ref="form"
:model="form"
label-width="120px"
style="margin-top: 16px; padding-bottom: 30px; width: 75%"
>
<el-dialog title="物证上传"
:visible.sync="revokeVisiable"
width="40%"
@closed="closed">
<el-form ref="form"
:model="form"
label-width="120px"
style="margin-top: 16px; padding-bottom: 30px; width: 75%">
<el-form-item label="证物分类:">
<el-select v-model="form.region" placeholder="证物分类">
<el-option
v-for="i in wzlist"
:key="i.value"
:label="i.label"
:value="i.value"
></el-option>
<el-select v-model="form.region"
placeholder="证物分类">
<el-option v-for="i in wzlist"
:key="i.value"
:label="i.label"
:value="i.value"></el-option>
</el-select>
</el-form-item>
<el-form-item label="模板下载:" v-if="form.region == '08'">
<div @click="downFj('zjclDxl.xlsx')" style="color: #409eff">
<el-form-item label="模板下载:"
v-if="form.region == '08'">
<div @click="downFj('zjclDxl.xlsx')"
style="color: #409eff">
zjclDxl.xlsx
</div>
</el-form-item>
<el-form-item label="模板下载:" v-if="form.region == '09'">
<div @click="downFj('zjclWll.xlsx')" style="color: #409eff">
<el-form-item label="模板下载:"
v-if="form.region == '09'">
<div @click="downFj('zjclWll.xlsx')"
style="color: #409eff">
zjclWll.xlsx
</div>
</el-form-item>
<el-form-item label="模板下载:" v-if="form.region == '10'">
<div @click="downFj('zjclZjl.xlsx')" style="color: #409eff">
<el-form-item label="模板下载:"
v-if="form.region == '10'">
<div @click="downFj('zjclZjl.xlsx')"
style="color: #409eff">
zjclZjl.xlsx
</div>
</el-form-item>
<el-form-item label="嫌疑人姓名:">
<el-input v-model="form.xyrxm" placeholder="嫌疑人姓名"></el-input>
<el-input v-model="form.xyrxm"
placeholder="嫌疑人姓名"></el-input>
</el-form-item>
<el-form-item label="嫌疑人证件号码:">
<el-input
v-model="form.xyrZjhm"
placeholder="嫌疑人证件号码"
></el-input>
<el-input v-model="form.xyrZjhm"
placeholder="嫌疑人证件号码"></el-input>
</el-form-item>
<el-form-item label="附件内容描述:">
<el-input
v-model="form.zjclNrms"
placeholder="附件内容描述"
type="textarea"
></el-input>
<el-input v-model="form.zjclNrms"
placeholder="附件内容描述"
type="textarea"></el-input>
</el-form-item>
<el-form-item label="附件上传:">
<el-upload
class="upload-demo"
ref="upload"
action="#"
:file-list="fileList"
:on-remove="handleRemove"
:on-change="uploadHandleChange"
:auto-upload="false"
:http-request="httpRequest"
>
<el-button slot="trigger" size="small" type="primary"
>选择文件</el-button
>
<span slot="tip" class="el-upload__tip"
>资金流、电信流、网络流只能上传 xlsx* 文件格式</span
>
<el-upload class="upload-demo"
ref="upload"
action="#"
:file-list="fileList"
:on-remove="handleRemove"
:on-change="uploadHandleChange"
:auto-upload="false"
:http-request="httpRequest">
<el-button slot="trigger"
size="small"
type="primary">选择文件</el-button>
<span slot="tip"
class="el-upload__tip">资金流、电信流、网络流只能上传 xlsx* 文件格式</span>
</el-upload>
</el-form-item>
</el-form>
<div slot="footer" class="dialog-footer">
<div slot="footer"
class="dialog-footer">
<el-button @click="revokeVisiable = false">取 消</el-button>
<el-button type="primary" v-debounces="submitZjcl">确 定</el-button>
<el-button type="primary"
v-debounces="submitZjcl">确 定</el-button>
</div>
</el-dialog>
</div>
......@@ -170,7 +158,7 @@ import axios from "@/utils/http.js";
import base from "@/api/base";
export default {
name: "zjclcj",
data() {
data () {
return {
revokeVisiable: false,
asjbh: "",
......@@ -223,16 +211,16 @@ export default {
};
},
methods: {
closed() {
closed () {
this.fileList = [];
this.form.xyrxm = "";
this.form.xyrZjhm = "";
this.form.zjclNrms = "";
},
downFj(type) {
downFj (type) {
window.open(`file/${type}`, "_self");
},
submitZjcl() {
submitZjcl () {
debugger
var params = new FormData();
let self = this;
......@@ -254,14 +242,14 @@ export default {
}
});
},
httpRequest() {},
handleRemove(file) {
httpRequest () { },
handleRemove (file) {
let index = this.fileList.findIndex((item) => item.uid == file.uid);
if (index >= 0) {
this.fileList.splice(index, index + 1);
}
},
uploadHandleChange(file, fileList) {
uploadHandleChange (file, fileList) {
let self = this;
var index = file.name.lastIndexOf(".");
const isJPG = /^.*\.(xlsx)$/i.test(file.name.substring(index));
......@@ -276,15 +264,19 @@ export default {
self.handleRemove(file);
}
},
del(i, type, m) {
let xxzjbh = m.xxzjbh;
del (i, type, m) {
let parmas = {
xxzjbh: m.xxzjbh,
asjbh: this.$route.query.asjbh
}
// let xxzjbh = m.xxzjbh;
this.$confirm("此操作将永久删除该文件, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
delAsjZjcl({ xxzjbh }).then((res) => {
delAsjZjcl(parmas).then((res) => {
if (res.code === 200) {
this.$message({
type: "success",
......@@ -303,7 +295,7 @@ export default {
});
});
},
save() {
save () {
var params = new FormData();
params.append("asjbh", this.asjbh);
params.append("zjclLxdm", this.form.region);
......@@ -323,7 +315,7 @@ export default {
}
});
},
getInfor() {
getInfor () {
let loading = this.$loading({
lock: true,
text: "正在加载...",
......@@ -342,9 +334,10 @@ export default {
loading.close();
});
},
GetDownAsjZjcl(row) {
GetDownAsjZjcl (row) {
let params = new FormData();
params.append("xxzjbh", row.xxzjbh);
params.append("asjbh", this.$route.query.asjbh);
let loading = this.$loading({
lock: true,
text: "正在下载...",
......@@ -371,7 +364,7 @@ export default {
document.body.removeChild(elink);
});
},
getZjtype() {
getZjtype () {
let self = this;
self.wzlist = [];
getZjclLb().then((res) => {
......@@ -411,7 +404,7 @@ export default {
});
},
},
created() {
created () {
let self = this;
this.$store.commit("user/SET_Breadcrumb", this.breadcrumbList);
this.asjbh = this.$route.query.asjbh;
......
<template>
<div class="Content">
<right-content
:pageBs="pageBs"
:header="header"
:cxFormData="cxFormData"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
@toInfor="toInfor"
ref="rightContent"
@selectionChange="selectionChange"
@drzjhd="drzjhd"
>
<right-content :pageBs="pageBs"
:header="header"
:cxFormData="cxFormData"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
@toInfor="toInfor"
ref="rightContent"
@selectionChange="selectionChange"
@drzjhd="drzjhd">
<template #btnGroup="scope">
<el-button @click="edit(scope.scope)" type="text">证据材料管理</el-button>
<el-button @click="edit(scope.scope)"
type="text">证据材料管理</el-button>
</template>
</right-content>
<el-dialog
title="录入证据材料信息"
:visible.sync="revokeVisiable"
width="30%"
@closed="closed"
>
<el-form :inline="true" :model="ckForm" class="demo-form-inline">
<el-dialog title="录入证据材料信息"
:visible.sync="revokeVisiable"
width="30%"
@closed="closed">
<el-form :inline="true"
:model="ckForm"
class="demo-form-inline">
<el-row>
<el-col :span="20" :offset="2" style="margin-top: 20px">
<el-form-item label="文件" style="width:100%">
<el-upload
class="upload-demo"
action="#"
accept=".xls,.xlsx"
:on-change="fileOnchange"
:on-remove="
<el-col :span="20"
:offset="2"
style="margin-top: 20px">
<el-form-item label="文件"
style="width:100%">
<el-upload class="upload-demo"
action="#"
accept=".xls,.xlsx"
:on-change="fileOnchange"
:on-remove="
(flie, fileList) => {
fileArr = fileList;
}
"
:auto-upload="false"
:http-request="() => {}"
:file-list="fileArr"
v-model="ckForm.file"
>
<el-button size="small" type="primary">选择上传</el-button>
:auto-upload="false"
:http-request="() => {}"
:file-list="fileArr"
v-model="ckForm.file">
<el-button size="small"
type="primary">选择上传</el-button>
</el-upload>
</el-form-item>
</el-col>
<el-col :span="20" :offset="2" style="margin-top: 20px">
<el-form-item label="证据材料类型" style="width:100%">
<el-select v-model="zjcl_lxdm" clearable placeholder="请选择">
<el-option
v-for="item in codetreeData.codeOptions"
:key="item.value"
:label="item.label"
:value="item.value"
>
<el-col :span="20"
:offset="2"
style="margin-top: 20px">
<el-form-item label="证据材料类型"
style="width:100%">
<el-select v-model="zjcl_lxdm"
clearable
placeholder="请选择">
<el-option v-for="item in codetreeData.codeOptions"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
</el-form>
<div slot="footer" class="dialog-footer">
<div slot="footer"
class="dialog-footer">
<el-button @click="revokeVisiable = false">取 消</el-button>
<el-button type="primary" @click="submitCKD">确 定</el-button>
<el-button type="primary"
@click="submitCKD">确 定</el-button>
</div>
</el-dialog>
</div>
......@@ -80,7 +86,7 @@ export default {
components: {
rightContent,
},
data() {
data () {
return {
header: "证据材料检查",
pageBs: "queryZjcl",
......@@ -162,7 +168,7 @@ export default {
label: "案件编号",
prop: "asjbh",
toInfor: true,
width:240
width: 240
},
{
label: "案件类别",
......@@ -175,49 +181,49 @@ export default {
{
label: "物证/书证",
prop: "wzsz",
width:80
width: 80
},
{
label: "证人证言",
prop: "zrzy",
width:80
width: 80
},
{
label: "被害人陈述",
prop: "bhrcs",
width:80
width: 80
},
{
label: "犯罪嫌疑人供述和辩解",
prop: "xyrgs",
width:80
width: 80
},
{
label: "鉴定结论",
prop: "jdjl",
width:80
width: 80
},
{
label: "勘查/检查笔录",
prop: "kcbl",
width:80
width: 80
},
{
label: "视听资料以及电子数据",
prop: "stzl",
width:80
width: 80
},
{
label: "其他",
prop: "qtcl",
width:80
width: 80
},
],
cxUrl: "/zjclJc/getAsjZjjcList",
Menu: [
{
id: "queryZjcl",
label: "证据材料检查",
label: "证据材料管理",
index: "queryZjcl",
auth: "M0101",
className: "iconfont iconrizhi",
......@@ -228,7 +234,7 @@ export default {
//左侧导航(模块第一个页面需要)
{
id: "queryZjcl",
label: "证据材料检查",
label: "证据材料管理",
newAuth: "M01",
index: "queryZjcl",
className: "iconfont icongongnengfuwu",
......@@ -288,7 +294,7 @@ export default {
},
};
},
created() {
created () {
this.$store.commit("user/SET_Menu", this.Menu);
this.$store.commit("user/SET_LeftMenu", this.leftMenus);
this.$store.commit("user/SET_Header", this.header);
......@@ -310,15 +316,15 @@ export default {
}
});
if (this.$route.query.asjbh) {
this.$set(this.cxFormData,'asjbh',this.$route.query.asjbh)
this.$set(this.cxFormData, 'asjbh', this.$route.query.asjbh)
this.$refs.rightContent.doQuery("yes");
}
},
methods: {
add() {
add () {
this.$router.pushToTab("/insertZjcl");
},
toInfor(obj) {
toInfor (obj) {
this.$router.pushToTab({
path: "/zjclcj",
query: {
......@@ -326,7 +332,7 @@ export default {
},
});
},
edit(obj) {
edit (obj) {
this.$router.pushToTab({
path: "/zjclcj",
query: {
......@@ -335,10 +341,10 @@ export default {
},
});
},
selectionChange(scope) {
selectionChange (scope) {
this.selectArr = scope;
},
drzjhd() {
drzjhd () {
if (this.selectArr.length != 1) {
this.$message.error("请选择一条数据后操作");
} else {
......@@ -346,10 +352,10 @@ export default {
this.revokeVisiable = true;
}
},
closed() {
closed () {
this.fileArr = [];
},
submitCKD() {
submitCKD () {
if (this.fileArr.length <= 0) {
this.$message.warning("请选择文件");
} else {
......@@ -382,7 +388,7 @@ export default {
});
}
},
fileOnchange(file, fileList) {
fileOnchange (file, fileList) {
if (fileList.length > 0) {
this.fileArr = [fileList[0]]; // 这一步,是 展示最后一次选择的csv文件
if (fileList.length > 1) this.$message.error("只能上传一个文件!");
......
<template>
<div class="Content">
<right-content
:pageBs="pageBs"
:header="header"
:cxFormData="cxFormData"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
@add="add"
@dele="dele"
@toInfor="toInfor"
@edit="edit"
ref="rightContent"
></right-content>
<right-content :pageBs="pageBs"
:header="header"
:cxFormData="cxFormData"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
@add="add"
@dele="dele"
@toInfor="toInfor"
@edit="edit"
ref="rightContent"></right-content>
</div>
</template>
......@@ -24,7 +22,7 @@ export default {
components: {
rightContent,
},
data() {
data () {
return {
header: "检查规则信息",
pageBs: "zjclrz",
......@@ -61,12 +59,17 @@ export default {
{
label: "信息主键编号",
prop: "id",
width:'300'
width: '300'
},
{
label: "案事件编号",
prop: "asjbh",
width: '300'
},
{
label: "关联信息编号",
prop: "glxxid",
width:'300'
width: '300'
},
{
label: "日志类别",
......@@ -98,14 +101,14 @@ export default {
cxUrl: "/zjclLog/selectLogPage",
};
},
created() {
created () {
this.$store.commit("user/SET_Menu", this.Menu);
},
methods: {
add() {
add () {
this.$router.pushToTab("insertJcgz");
},
dele(obj) {
dele (obj) {
this.$confirm("此操作将永久删除该文件, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
......@@ -131,7 +134,7 @@ export default {
});
});
},
toInfor(obj) {
toInfor (obj) {
this.$router.pushToTab({
path: "/detailJcgz",
query: {
......@@ -139,7 +142,7 @@ export default {
},
});
},
edit(obj) {
edit (obj) {
this.$router.pushToTab({
path: "/insertJcgz",
query: {
......
......@@ -58,7 +58,7 @@ module.exports = {
},
proxy: {
"/apialy": {
target: "http://192.168.1.110:8762", //西藏: https://155.1.33.10:20010/ 阿里云:http://39.99.155.173:9022
target: "http://192.168.1.104:8762", //西藏: https://155.1.33.10:20010/ 阿里云:http://39.99.155.173:9022
// ws: true,
changeOrigin: true,
secure: 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