Commit 61829021 by 叶富雄

Merge remote-tracking branch 'origin/dev_xzeq' into dev_xzeq

parents 61716be1 3b9e5cca
......@@ -74,6 +74,7 @@ Vue.use(VueRouter);
const mainRouters = [
...indexRoutes,
...zdxxRoutes,
...zdsswpRoutes,
sfRoutes,
xxtkRoutes,
hxgcRoutes,
......@@ -111,7 +112,6 @@ const mainRouters = [
brainPhotoXxxxRoutes,
rwddRoutes,
zcxwRoutes,
zdsswpRoutes,
jcyjzxt,
...qgccjRoutes,
{
......
......@@ -8,14 +8,7 @@ const menuLayouts = [
},
component: () => import("@/views/zdxx/zdxxgl/sswp/ssdy/addZdssdy.vue")
},
{
path: "/detailZdssdy",
name: "detailZdssdy",
meta: {
title: '损失弹药详情'
},
component: () => import("@/views/zdxx/zdxxgl/sswp/ssdy/detailZdssdy.vue")
},
{
path: "/addZdssfjdc",
name: "addZdssfjdc",
......@@ -24,14 +17,7 @@ const menuLayouts = [
},
component: () => import("@/views/zdxx/zdxxgl/sswp/ssfjdc/addZdssfjdc.vue")
},
{
path: "/detailZdssfjdc",
name: "detailZdssfjdc",
meta: {
title: '损失非机动车详情'
},
component: () => import("@/views/zdxx/zdxxgl/sswp/ssfjdc/detailZdssfjdc.vue")
},
{
path: "/addZdssjdc",
name: "addZdssjdc",
......@@ -40,14 +26,7 @@ const menuLayouts = [
},
component: () => import("@/views/zdxx/zdxxgl/sswp/ssjdc/addZdssjdc.vue")
},
{
path: "/detailZdssjdc",
name: "detailZdssjdc",
meta: {
title: '损失机动车详情'
},
component: () => import("@/views/zdxx/zdxxgl/sswp/ssjdc/detailZdssjdc.vue")
},
{
path: "/addZdsskl",
name: "addZdsskl",
......@@ -56,14 +35,7 @@ const menuLayouts = [
},
component: () => import("@/views/zdxx/zdxxgl/sswp/sskl/addZdsskl.vue")
},
{
path: "/detailZdsskl",
name: "detailZdsskl",
meta: {
title: '损失卡类详情'
},
component: () => import("@/views/zdxx/zdxxgl/sswp/sskl/detailZdsskl.vue")
},
{
path: "/addZdssqtwp",
name: "addZdssqtwp",
......@@ -72,14 +44,7 @@ const menuLayouts = [
},
component: () => import("@/views/zdxx/zdxxgl/sswp/ssqtwp/addZdssqtwp.vue")
},
{
path: "/detailZdssqtwp",
name: "detailZdssqtwp",
meta: {
title: '损失其他物品详情'
},
component: () => import("@/views/zdxx/zdxxgl/sswp/ssqtwp/detailZdssqtwp.vue")
},
{
path: "/addZdssqz",
name: "addZdssqz",
......@@ -88,14 +53,7 @@ const menuLayouts = [
},
component: () => import("@/views/zdxx/zdxxgl/sswp/ssqz/addZdssqz.vue")
},
{
path: "/detailZdssqz",
name: "detailZdssqz",
meta: {
title: '损失枪支详情'
},
component: () => import("@/views/zdxx/zdxxgl/sswp/ssqz/detailZdssqz.vue")
},
{
path: "/addZdssww",
name: "addZdssww",
......@@ -104,14 +62,7 @@ const menuLayouts = [
},
component: () => import("@/views/zdxx/zdxxgl/sswp/ssww/addZdssww.vue")
},
{
path: "/detailZdssww",
name: "detailZdssww",
meta: {
title: '损失文物详情'
},
component: () => import("@/views/zdxx/zdxxgl/sswp/ssww/detailZdssww.vue")
},
{
path: "/addZdssydtxsb",
name: "addZdssydtxsb",
......@@ -120,14 +71,7 @@ const menuLayouts = [
},
component: () => import("@/views/zdxx/zdxxgl/sswp/ssydtxsb/addZdssydtxsb.vue")
},
{
path: "/detailZdssydtxsb",
name: "detailZdssydtxsb",
meta: {
title: '损失移动通讯设备详情'
},
component: () => import("@/views/zdxx/zdxxgl/sswp/ssydtxsb/detailZdssydtxsb.vue")
},
{
path: "/addZdsszj",
name: "addZdsszj",
......@@ -136,18 +80,84 @@ const menuLayouts = [
},
component: () => import("@/views/zdxx/zdxxgl/sswp/sszj/addZdsszj.vue")
},
{
];
export default [{
path: "/right",
component: menuLayout,
children: [...menuLayouts]
},
{
path: "/detailZdssdy",
name: "detailZdssdy",
meta: {
title: '损失弹药详情'
},
component: () => import("@/views/zdxx/zdxxgl/sswp/ssdy/detailZdssdy.vue")
},
{
path: "/detailZdssfjdc",
name: "detailZdssfjdc",
meta: {
title: '损失非机动车详情'
},
component: () => import("@/views/zdxx/zdxxgl/sswp/ssfjdc/detailZdssfjdc.vue")
},
{
path: "/detailZdssjdc",
name: "detailZdssjdc",
meta: {
title: '损失机动车详情'
},
component: () => import("@/views/zdxx/zdxxgl/sswp/ssjdc/detailZdssjdc.vue")
},
{
path: "/detailZdsskl",
name: "detailZdsskl",
meta: {
title: '损失卡类详情'
},
component: () => import("@/views/zdxx/zdxxgl/sswp/sskl/detailZdsskl.vue")
},
{
path: "/detailZdssqtwp",
name: "detailZdssqtwp",
meta: {
title: '损失其他物品详情'
},
component: () => import("@/views/zdxx/zdxxgl/sswp/ssqtwp/detailZdssqtwp.vue")
},
{
path: "/detailZdssqz",
name: "detailZdssqz",
meta: {
title: '损失枪支详情'
},
component: () => import("@/views/zdxx/zdxxgl/sswp/ssqz/detailZdssqz.vue")
},
{
path: "/detailZdssww",
name: "detailZdssww",
meta: {
title: '损失文物详情'
},
component: () => import("@/views/zdxx/zdxxgl/sswp/ssww/detailZdssww.vue")
},
{
path: "/detailZdssydtxsb",
name: "detailZdssydtxsb",
meta: {
title: '损失移动通讯设备详情'
},
component: () => import("@/views/zdxx/zdxxgl/sswp/ssydtxsb/detailZdssydtxsb.vue")
},
{
path: "/detailZdsszj",
name: "detailZdsszj",
meta: {
title: '损失证件详情'
},
component: () => import("@/views/zdxx/zdxxgl/sswp/sszj/detailZdsszj.vue")
},
},
];
\ No newline at end of file
export default {
path: "/right",
component: menuLayout,
children: [...menuLayouts]
};
\ No newline at end of file
......@@ -87,20 +87,14 @@ const menuLayouts = [
isAdd: true,
},
component: () => import("@/views/zdxx/zdjyhd/addZdjyhd.vue")
}, {
path: "/detailZdcyryxx",
name: "detailZdcyryxx",
meta: {
title: '阵地从业人员信息详情'
},
component: () => import("@/views/zdxx/zdcyryxx/detailZdcyryxx.vue")
}, {
path: "/detailZdjyhd",
name: "detailZdjyhd",
{
path: "/zdxxtj",
name: "zdxxtj",
meta: {
title: '阵地交易活动详情'
title: '阵地信息统计'
},
component: () => import("@/views/zdxx/zdjyhd/detailZdjyhd.vue")
component: () => import("@/views/zdxx/zdxxgl/zdxxtj.vue")
},
{
path: "/zdxxtj",
......@@ -110,7 +104,63 @@ const menuLayouts = [
},
component: () => import("@/views/zdxx/zdxxgl/zdxxtj.vue")
},
//.....................
{
path: "/queryZdxx111",
name: "queryZdxx111",
meta: {
title: '阵地信息统计'
},
component: () => import("@/views/zdxx/zdxxgl/zdym/queryZdxx111.vue")
},
{
path: "/queryZdcyryxx22",
name: "queryZdcyryxx22",
meta: {
title: '阵地信息统计'
},
component: () => import("@/views/zdxx/zdxxgl/zdym/queryZdcyryxx22.vue")
},
{
path: "/queryZdxx3",
name: "queryZdxx3",
meta: {
title: '阵地信息统计'
},
component: () => import("@/views/zdxx/zdxxgl/zdym/queryZdxx3.vue")
},
{
path: "/queryZdxxs25",
name: "queryZdxxs25",
meta: {
title: '阵地信息统计'
},
component: () => import("@/views/zdxx/zdxxgl/zdym/queryZdxxs25.vue")
},
{
path: "/queryZdcyryxx3",
name: "queryZdcyryxx3",
meta: {
title: '阵地信息统计'
},
component: () => import("@/views/zdxx/zdxxgl/zdym/queryZdcyryxx3.vue")
},
{
path: "/queryZdxxs3",
name: "queryZdxxs3",
meta: {
title: '阵地信息统计'
},
component: () => import("@/views/zdxx/zdxxgl/zdym/queryZdxxs3.vue")
},
{
path: "/queryZdxxs34",
name: "queryZdxxs34",
meta: {
title: '阵地信息统计'
},
component: () => import("@/views/zdxx/zdxxgl/zdym/queryZdxxs34.vue")
},
];
export default [
......@@ -125,5 +175,28 @@ export default [
title: '阵地信息详情'
},
component: () => import("@/views/zdxx/zdxxgl/detailZdxx.vue")
}
},
{
path: "/detailZdcyryxx",
name: "detailZdcyryxx",
meta: {
title: '阵地从业人员信息详情'
},
component: () => import("@/views/zdxx/zdcyryxx/detailZdcyryxx.vue")
}, {
path: "/detailZdjyhd",
name: "detailZdjyhd",
meta: {
title: '阵地交易活动详情'
},
component: () => import("@/views/zdxx/zdjyhd/detailZdjyhd.vue")
},
{
path: "/zdxsxxDetail",
name: "zdxsxxDetail",
meta: {
title: '阵地线索信息详情'
},
component: () => import("@/views/zdxx/zdxsxx/zdxsxxDetail.vue")
},
]
\ No newline at end of file
......@@ -158,6 +158,15 @@ const checkEmpty = (rule, value, callback) => {
}
};
const twentyTwoZwbh = (rule, value, callback) => {
let patter = /^[0-9]{22}/;//验证是否22位数字
if (!patter.test(value)) {
return callback(new Error("请输入22位数字指纹编号!"));
} else {
callback();//必须有此项回调,否则验证会一直不通过
}
};
export default {
//必填
checkEmpty: [
......@@ -340,4 +349,9 @@ export default {
validatStraightly: [{
trigger: "blur",
}],
twentyTwoZwbh: [{
validator: twentyTwoZwbh,
trigger: "blur",
message: "请输入正确的编号"
}]
}
......@@ -57,6 +57,7 @@
value: "",
placeholder: "请输入",
col: "2",
prop: 'twentyTwoZwbh'
},
],
},
......
......@@ -68,7 +68,7 @@
data() {
return {
tableColumnDefinition:[
{label:'源信息', prop:'zwbh',spare:'zpDzwjnr'}
// {label:'源信息', prop:'zwbh',spare:'zpDzwjnr', width: '600'}
],
transformFormTable: {bdzt},
table: false,
......@@ -107,6 +107,7 @@
},
],
cxDefaultFormThead: [
{label:'源信息', prop:'zwbh',spare:'zpDzwjnr', width: '130'},
{label: "图片名称", prop: "zpDzwjbt"},
{label: "建立时间", prop: "djsj"},
{label: "比中状态", prop: "bdzt"},
......
<template>
<el-table
:data="tableData"
style="width: 100%">
<el-table-column
prop="date"
label="姓名"
width="180">
</el-table-column>
<el-table-column
prop="name"
label="身份证号"
width="180">
</el-table-column>
<el-table-column
prop="address"
label="照片">
</el-table-column>
<el-table-column
prop="address2"
label="性别">
</el-table-column>
<el-table-column
prop="address"
label="户籍地">
</el-table-column>
<el-table-column
prop="address2"
label="信息来源">
</el-table-column>
</el-table>
</template>
<script>
export default {
name: "dcsfxx",
components: {
},
data() {
return {
};
},
methods: {
},
created() {
}
};
</script>
<style scoped lang="scss">
</style>
<template>
<div class="swtzxxglRoutes" style="margin: 20px;">
<el-tabs v-if="!loading" v-model="activeName" type="border-card" @tab-click="handleClick">
<el-tab-pane label="人像信息管理" name="RX"><addRxxx></addRxxx></el-tab-pane>
<el-tab-pane label="DNA信息管理" name="DNA"><DNAlist :info="info"></DNAlist></el-tab-pane>
<el-tab-pane label="虹膜信息管理" name="HM"><addHmxx :info="info"></addHmxx></el-tab-pane>
<el-tab-pane label="声纹信息管理" name="SW"><SWlist :info="info"></SWlist></el-tab-pane>
<el-tab-pane label="足迹信息管理" name="ZJ"><addZjxx></addZjxx></el-tab-pane>
<el-tab-pane label="平面指纹信息管理" name="PM"><addZwxx></addZwxx></el-tab-pane>
<el-tab-pane label="滚动指纹信息管理" name="GD"><addGDZwxx></addGDZwxx></el-tab-pane>
<div class="swtzxxglRoutes">
<div class="ryjbxx text-cont">
<h1>人员基本信息</h1>
<el-row>
<el-col :span="8"><span>姓名:</span>6</el-col>
<el-col :span="8"><span>别名:</span>6</el-col>
<el-col :span="8"><span>证件类型:</span>6</el-col>
<el-col :span="8"><span>证件号码:</span>6</el-col>
<el-col :span="8"><span>出生日期:</span>6</el-col>
<el-col :span="8"><span>性别:</span>6</el-col>
<el-col :span="8"><span>名族:</span>6</el-col>
<el-col :span="8"><span>国籍:</span>6</el-col>
<el-col :span="8"><span>籍贯:</span>6</el-col>
<el-col :span="8"><span>宗教信仰:</span>6</el-col>
<el-col :span="8"><span>户籍地区:</span>6</el-col>
<el-col :span="8"><span>户籍地地址:</span>6</el-col>
<el-col :span="8"><span>现住址:</span>6</el-col>
</el-row>
</div>
<div class="swtzxxbd text-cont">
<h1>生物特征信息比对</h1>
<el-tabs v-model="activeName" type="card" @tab-click="handleClick">
<el-tab-pane label="人像信息比对" name="first"></el-tab-pane>
<el-tab-pane label="指纹信息比对" name="second"></el-tab-pane>
<el-tab-pane label="足迹信息比对" name="third"></el-tab-pane>
<el-tab-pane label="DNA信息比对" name="fourth"></el-tab-pane>
</el-tabs>
<el-table
:data="tableData"
style="width: 100%">
<el-table-column
prop="date"
label="人像图片"
width="180">
</el-table-column>
<el-table-column
prop="name"
label="图片名称"
width="180">
</el-table-column>
<el-table-column
prop="address"
label="建立时间">
</el-table-column>
<el-table-column
prop="address2"
label="比中状态">
</el-table-column>
<el-table-column
label="操作"
width="150">
<template slot-scope="scope">
<el-button @click="handleClick(scope.row)" type="text" size="small">发起比对</el-button>
<el-button type="text" size="small" @click="showBdjg">比对结果</el-button>
</template>
</el-table-column>
</el-table>
</div>
<div class="dcsfxx text-cont">
<h1>多重身份信息</h1>
<dcsfxx></dcsfxx>
</div>
<el-drawer
destroy-on-close
title="人像比中信息"
:visible.sync="table"
direction="rtl"
size="840px">
<compare-info
@changeTable="changeTable"
:table="table"
:rxcc="rxcc"
cxUrl="/Rxbzrw/selectJglist"
cxUrl2="/Rxbzrw/selectDetain"
cxUrl3='/Rxbzrw/updateRxbdrdById'
cxUrl4='/Rxbzrw/selectRdJglist'>
</compare-info>
</el-drawer>
</div>
</template>
<script>
import addRxxx from '@p/dswtz/rxxx/addRxxx.vue'
import DNAlist from '@p/dswtz/dnaxx/DNAlist.vue'
import addHmxx from '@p/dswtz/hmxx/addHmxx.vue'
import SWlist from '@p/dswtz/swxx/SWlist.vue'
import addZjxx from '@p/dswtz/zjxx/addZjxx.vue'
import addZwxx from '@p/dswtz/zwxx/addZwxx.vue'
import addGDZwxx from '@p/dswtz/zwxx/addGDZwxx.vue'
import { selectRyxxById} from "@/api/dswtzxx.js";
import compareInfo from "@c/compareInfo.vue";
import dcsfxx from "./components/dcsfxx.vue";
export default {
components: {
addRxxx,DNAlist,addHmxx,SWlist,addZjxx,addZwxx,addGDZwxx
compareInfo,
dcsfxx
},
data() {
return {
activeName: 'RX',
rxcc: false,
activeName: 'first',
xxzjbh: '',
info:{},
loading:true
table: false,
loading:true,
tableData: [{
date: '888',
name: 'tt.png',
address: '2021-09-02 12:00:00',
address2: '未比对'
}]
};
},
methods: {
handleClick(tab, event) {
console.log(tab, event);
},
showBdjg() {
this.table = true
},
changeTable() {
this.table = false
}
},
created() {
......@@ -50,10 +131,53 @@
};
</script>
<style lang="scss">
.swtzxxglRoutes {
.swtzxxglRoutes{
margin: 20px;
padding: 20px;
background: #fff;
.text-cont{
margin-bottom: 10px;
h1{
font-size: 16px;
font-family: Source Han Sans CN;
font-weight: 600;
color: #ff8d1e;
border-bottom: 1px solid #e4e4e4;
padding-bottom: 10px;
}
.el-tabs{
margin: 10px 0;
}
.el-row{
.el-col{
color: #808591;
font-size: 15px;
line-height: 2.5;
font-weight: bold;
span{
display: inline-block;
color: #363636;
width: 90px;
}
}
}
}
#formCommonPage .button {
width: calc(100% - 285px) !important;
left: 240px !important;
}
}
</style>
<style scoped lang="scss">
@import "@/assets/styles/rightContent.scss";
::v-deep .el-drawer__header{
height: 38px;
line-height: 38px;
margin-bottom: 0;
padding: 0;
padding-left: 25px;
font-size: 15px;
border-bottom: 1px solid #C7C7C7;
}
</style>
......@@ -228,7 +228,7 @@ export default {
},
{
label: "关联省内线索",
prop: "qtcount",
prop: "glsnxss",
width: "auto",
},
{
......@@ -270,38 +270,6 @@ export default {
};
},
methods: {
getCode() {
let arr = [];
var params = new FormData();
if (this.formData.djsjkssj == null) {
params.append("djsjkssj", "");
} else {
params.append("djsjkssj", this.formData.djsjkssj);
}
if (this.formData.djsjjssj == null) {
params.append("djsjjssj", "");
} else {
params.append("djsjjssj", this.formData.djsjjssj);
}
params.append("xsfbdw", this.formData.xsfbdw);
getRlqbxxtj(params).then((res) => {
if (res.success && res.code == 200) {
console.log(res.data.rows);
arr = res.data.rows;
// this.pieEchartsDate = [];
// arr.map((i) => {
// if (i.count != 0) {
// this.pieEchartsDate.push({
// name: i.name,
// value: i.count,
// });
// }
// });
// console.log(this.pieEchartsDate);
// this.startMyEcharts(this.pieEchartsDate);
}
});
},
showDialog(dwcode, label) {
console.log(dwcode);
console.log(label);
......@@ -345,9 +313,21 @@ export default {
});
var self = this;
// let cxFormDataCopy = JSON.parse(JSON.stringify(self.cxFormData));
console.log(this.formData.djsjkssj);
console.log(this.formData.djsjjssj);
var params = new FormData();
if (this.formData.djsjkssj == null) {
params.append("djsjkssj", "");
} else {
params.append("djsjkssj", this.formData.djsjkssj);
}
if (this.formData.djsjjssj == null) {
params.append("djsjjssj", "");
} else {
params.append("djsjjssj", this.formData.djsjjssj);
}
// params.append("djsjkssj", this.formData.djsjkssj);
// params.append("djsjjssj", this.formData.djsjjssj);
params.append("xsfbdw", this.formData.xsfbdw);
getRlqbxxtj(params).then((res) => {
if (res.success && res.code == 200) {
......
......@@ -57,6 +57,7 @@
value: "",
placeholder: "请输入",
col: "2",
prop: 'twentyTwoZwbh'
},
],
},
......
......@@ -56,6 +56,7 @@
value: "",
placeholder: "请输入",
col: "2",
prop: 'twentyTwoZwbh'
},
],
},
......
......@@ -67,7 +67,7 @@
data() {
return {
tableColumnDefinition:[
{label:'源信息', prop:'zwbh',spare:'zpDzwjnr'}
// {label:'源信息', prop:'zwbh',spare:'zpDzwjnr'}
],
transformFormTable: {bdzt},
table: false,
......@@ -106,6 +106,7 @@
},
],
cxDefaultFormThead: [
{label:'源信息', prop:'zwbh',spare:'zpDzwjnr', width: '130'},
{label: "图片名称", prop: "zpDzwjbt"},
{label: "建立时间", prop: "djsj"},
{label: "比中状态", prop: "bdzt"},
......
......@@ -75,7 +75,7 @@
data() {
return {
tableColumnDefinition:[
{label:'源信息', prop:'zwbh',spare:'zpDzwjnr'}
// {label:'源信息', prop:'zwbh',spare:'zpDzwjnr'}
],
transformFormTable: {bdzt, rdbs},
table: false,
......@@ -114,6 +114,7 @@
},
],
cxDefaultFormThead: [
{label:'源信息', prop:'zwbh',spare:'zpDzwjnr', width: '130'},
{label: "图片名称", prop: "zpDzwjbt"},
{label: "建立时间", prop: "djsj"},
{label: "比中状态", prop: "bdzt"},
......
......@@ -20,7 +20,7 @@
</right-content>
<el-dialog title="权限信息" :visible.sync="dialogVisible" width="50%">
<el-checkbox-group v-model="ywlx" style="margin: 20px;" >
<el-checkbox :label="i.id" v-for="(i,k) in cxQueryField[3]['codeOptions']" :key='k' >{{i.label}}</el-checkbox>
<el-checkbox :label="i.id" v-for="(i,k) in ywlxData" :key='k' >{{i.label}}</el-checkbox>
</el-checkbox-group>
<span slot="footer" class="dialog-footer">
<el-button @click="dialogVisible = false">取 消</el-button>
......@@ -96,6 +96,37 @@
listOperation:false,
dialogVisible: false,
dialogTableVisible: false,
ywlxData:[
{
"label":"跨区域系列案件",
"id":"0"
},
{
"label":"通用",
"id":"1"
},
{
"label":"非接触性诈骗",
"id":"2"
},
{
"label":"涉枪类案件",
"id":"3"
},
{
"label":"刑事技术比中",
"id":"4"
},
{
"label":"指令反馈",
"id":"5"
}
],
grFrom:{
name:'',
unitCode:'',
......
......@@ -246,7 +246,7 @@ export default {
let myChart = this.$echarts.init(document.getElementById("charts"));
myChart.setOption({
title: {
text: "阵地交易活动场所统计",
text: "阵地场所统计",
padding: [20, 24],
textStyle: {
color: "#333333",
......
......@@ -1557,6 +1557,14 @@ export default {
});
});
},
toInforCY(data) {
this.$router.pushToTab({
path: "/detailZdcyryxx",
query: {
xxzjbh: data.xxzjbh,
},
});
},
toInforJY(data) {
this.$router.pushToTab({
path: "/detailZdjyhd",
......
......@@ -311,7 +311,7 @@ export default {
{
id: "queryZdxx111",
label: "阵地监测预警模型管理",
index: "queryZdxx1",
index: "queryZdxx111",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
......@@ -319,7 +319,7 @@ export default {
{
id: "queryZdcyryxx22",
label: "阵地信息监测预警",
index: "queryZdcyryxx",
index: "queryZdcyryxx22",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
......@@ -345,7 +345,7 @@ export default {
{
id: "queryZdxx3",
label: "阵地信息研判",
index: "queryZdxx",
index: "queryZdxx3",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
......@@ -353,7 +353,7 @@ export default {
{
id: "queryZdcyryxx3",
label: "阵地从业人员信息研判",
index: "queryZdcyryxx",
index: "queryZdcyryxx3",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
......@@ -361,7 +361,7 @@ export default {
{
id: "queryZdxxs3",
label: "阵地活动信息研判",
index: "queryZdxxs",
index: "queryZdxxs3",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
......@@ -369,7 +369,7 @@ export default {
{
id: "queryZdxxs34",
label: "阵地监测预警信息研判",
index: "queryZdxxs",
index: "queryZdxxs34",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
......@@ -377,10 +377,10 @@ export default {
],
},
{
id: "queryBbkwpxxs",
id: "queryBbkwpxx",
label: "智能化信息服务",
newAuth: "M01",
index: "queryBbkwpxxs",
index: "queryBbkwpxx",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
......
......@@ -55,7 +55,7 @@ export default {
created() {
this.$store.commit("user/SET_Menu", this.Menu);
this.$router.push("zdryxlyj");
debugger;
// debugger;
},
};
</script>
......
<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"
>
<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
>
</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>
</div>
</template>
<script>
import rightContent from "@c/ptCxForm_components.vue";
import { deleteZdcyryxx, getAjxxByZjhm } from "@/api/zdxx/zdcyryxx.js";
export default {
name: "zdcyryxx",
components: {
rightContent,
},
data() {
return {
header: "阵地从业人员信息",
pageBs: "queryZdcyryxx",
cxFormData: {
limit: 10,
page: 1,
glzdxxzjbh: "",
xm: "",
zjhm: "",
cysjkssj: "",
cysjjssj: "",
sfhgPdbz: "",
},
cxQueryField: [
{
name: "姓名",
id: "xm",
type: "text",
value: "",
placeholder: "",
col: "3",
},
{
name: "证件号码",
id: "zjhm",
type: "text",
value: "",
placeholder: "",
col: "3",
},
{
name: "从业时间",
id: "cysjkssj",
id2: "cysjjssj",
type: "zdyDate",
value: "",
col: "3",
},
{
name: "是否换岗",
id: "sfhgPdbz",
type: "select",
selectData: [
{ name: "没有", value: "0" },
{ name: "有", value: "1" },
],
value: "",
placeholder: "",
col: "3",
},
],
cxDefaultFormThead: [
{
label: "姓名",
prop: "xm",
toInfor: true,
width: "220",
},
{
/*table默认得表头*/
label: "阵地编号",
prop: "glzdxxzjbh",
width: "200",
},
{
/*table默认得表头*/
label: "证件号码",
prop: "zjhm",
width: "200",
},
{
label: "国籍名称",
prop: "gjmc",
width: "220",
},
{
label: "婚姻",
prop: "hyzkdmStr",
width: "120",
},
{
label: "学历",
prop: "xldmStr",
width: "120",
},
{
label: "关联案件",
prop: "sfyaj",
isShowDialog: true,
},
{
label: "是否重点人员",
prop: "sfzdgzry",
width: "120",
},
],
cxUrl: "/zdryxx/selectZdyrxx",
Menu: [
{
id: "queryZdcyryxx22",
label: "阵地信息监测预警",
index: "queryZdcyryxx22",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
],
//关联案件属性
dialogS: false,
dialogG: false,
bshglajS: {
pageBs: "qyeryrlqbxsGl",
cxFormData: {
page: 1,
limit: 5,
rlqbxxzjbh: "",
},
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: "",
},
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",
},
tableDataS: [],
tableDataG: [],
pagesize: 5,
tableDataSLength: "",
tableDataGLength: "",
pageShowS: false,
pageShowG: false,
currentPage1G: 1,
currentPage1S: 1,
};
},
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");
},
methods: {
add() {
this.$router.pushToTab("addZdcyryxx");
},
edit(scope) {
this.$router.pushToTab({
path: "/addZdcyryxx",
query: { xxzjbh: scope.row.xxzjbh },
});
},
dele(scope) {
console.log(11111111);
this.$confirm("此操作将永久删除该文件, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
deleteZdcyryxx({
xxzjbh: scope.row.xxzjbh,
}).then((res) => {
if (res.success && res.code == 200) {
this.$message({
type: "success",
message: "删除成功",
});
this.$refs.rightContent.doQuery("yes");
}
});
})
.catch(() => {
this.$message({
type: "info",
message: "已取消删除",
});
});
console.log(scope.row.xxzjbh);
},
giveInstructions(scope) {
let path = `http://39.99.155.173:9003/#/addsqfbzl?type=xdzl&xsbh=${scope.row.xxzjbh}&module=zhendi&xsType=04`;
window.open(path, "_blank");
},
toInfor(data) {
this.$router.pushToTab({
path: "/detailZdcyryxx",
query: {
xxzjbh: data.xxzjbh,
},
});
},
handleCurrentChangeS(val) {
this.currentPage1S = val;
this.bshglajS.cxFormData.page = val;
this.showDialogS();
},
handleCurrentChangeG(val) {
this.currentPage1G = val;
this.bshglajG.cxFormData.page = val;
this.showDialogG();
},
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;
},
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;
}
}
});
},
},
};
</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">
@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;
}
</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"
>
<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
>
</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>
</div>
</template>
<script>
import rightContent from "@c/ptCxForm_components.vue";
import { deleteZdcyryxx, getAjxxByZjhm } from "@/api/zdxx/zdcyryxx.js";
export default {
name: "zdcyryxx",
components: {
rightContent,
},
data() {
return {
header: "阵地从业人员信息",
pageBs: "queryZdcyryxx",
cxFormData: {
limit: 10,
page: 1,
glzdxxzjbh: "",
xm: "",
zjhm: "",
cysjkssj: "",
cysjjssj: "",
sfhgPdbz: "",
},
cxQueryField: [
{
name: "姓名",
id: "xm",
type: "text",
value: "",
placeholder: "",
col: "3",
},
{
name: "证件号码",
id: "zjhm",
type: "text",
value: "",
placeholder: "",
col: "3",
},
{
name: "从业时间",
id: "cysjkssj",
id2: "cysjjssj",
type: "zdyDate",
value: "",
col: "3",
},
{
name: "是否换岗",
id: "sfhgPdbz",
type: "select",
selectData: [
{ name: "没有", value: "0" },
{ name: "有", value: "1" },
],
value: "",
placeholder: "",
col: "3",
},
],
cxDefaultFormThead: [
{
label: "姓名",
prop: "xm",
toInfor: true,
width: "220",
},
{
/*table默认得表头*/
label: "阵地编号",
prop: "glzdxxzjbh",
width: "200",
},
{
/*table默认得表头*/
label: "证件号码",
prop: "zjhm",
width: "200",
},
{
label: "国籍名称",
prop: "gjmc",
width: "220",
},
{
label: "婚姻",
prop: "hyzkdmStr",
width: "120",
},
{
label: "学历",
prop: "xldmStr",
width: "120",
},
{
label: "关联案件",
prop: "sfyaj",
isShowDialog: true,
},
{
label: "是否重点人员",
prop: "sfzdgzry",
width: "120",
},
],
cxUrl: "/zdryxx/selectZdyrxx",
Menu: [
{
id: "queryZdcyryxx3",
label: "阵地从业人员信息研判",
index: "queryZdcyryxx3",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
],
//关联案件属性
dialogS: false,
dialogG: false,
bshglajS: {
pageBs: "qyeryrlqbxsGl",
cxFormData: {
page: 1,
limit: 5,
rlqbxxzjbh: "",
},
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: "",
},
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",
},
tableDataS: [],
tableDataG: [],
pagesize: 5,
tableDataSLength: "",
tableDataGLength: "",
pageShowS: false,
pageShowG: false,
currentPage1G: 1,
currentPage1S: 1,
};
},
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");
},
methods: {
add() {
this.$router.pushToTab("addZdcyryxx");
},
edit(scope) {
this.$router.pushToTab({
path: "/addZdcyryxx",
query: { xxzjbh: scope.row.xxzjbh },
});
},
dele(scope) {
console.log(11111111);
this.$confirm("此操作将永久删除该文件, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
deleteZdcyryxx({
xxzjbh: scope.row.xxzjbh,
}).then((res) => {
if (res.success && res.code == 200) {
this.$message({
type: "success",
message: "删除成功",
});
this.$refs.rightContent.doQuery("yes");
}
});
})
.catch(() => {
this.$message({
type: "info",
message: "已取消删除",
});
});
console.log(scope.row.xxzjbh);
},
giveInstructions(scope) {
let path = `http://39.99.155.173:9003/#/addsqfbzl?type=xdzl&xsbh=${scope.row.xxzjbh}&module=zhendi&xsType=04`;
window.open(path, "_blank");
},
toInfor(data) {
this.$router.pushToTab({
path: "/detailZdcyryxx",
query: {
xxzjbh: data.xxzjbh,
},
});
},
handleCurrentChangeS(val) {
this.currentPage1S = val;
this.bshglajS.cxFormData.page = val;
this.showDialogS();
},
handleCurrentChangeG(val) {
this.currentPage1G = val;
this.bshglajG.cxFormData.page = val;
this.showDialogG();
},
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;
},
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;
}
}
});
},
},
};
</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">
@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;
}
</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"
>
<template #btnGroup="scope">
<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-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 { deleteZdxxgl, excleImport } from "@/api/zdxx/zdxxgl.js";
export default {
name: "zdxx",
components: {
rightContent,
},
data() {
return {
header: "阵地信息查询",
pageBs: "zdxxgl",
cxFormData: {
djsjStart: "",
djsjEnd: "",
wjr: "",
zdjd: "",
zdwd: "",
xm: "",
zjhm: "",
sjsfdqdm: "",
limit: 10,
page: 1,
},
cxQueryField: [
/*立案信息 侦查终结信息 立案信息审批 侦查终结审批通用开始*/
{
name: "物见人",
id: "wjr",
type: "text",
value: "",
placeholder: "",
col: "3",
},
{
name: "登记时间",
id: "djsjStart",
id2: "djsjEnd",
type: "zdyDate",
value: "",
col: "3",
},
{
name: "阵地经度",
id: "zdjd",
type: "text",
value: "",
placeholder: "",
col: "3",
},
{
name: "阵地纬度",
id: "zdwd",
type: "text",
value: "",
placeholder: "",
col: "3",
},
{
name: "阵地半径范围:",
id: "zdbjfw",
type: "text",
value: "",
placeholder: "请输入",
col: "2",
},
{
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",
toInfor: true,
width: "200",
},
{
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: "queryZdxx111",
label: "阵地监测预警模型管理",
index: "queryZdxx111",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
],
selectArr: [],
revokeVisiable: false,
ckForm: {
file: "",
},
fileArr: [],
zdXxzjbh: "",
};
},
created() {
this.$store.commit("user/SET_Menu", this.Menu);
this.$store.commit("user/SET_Header", this.header);
},
methods: {
add() {
this.$router.pushToTab("adjustZdxxgl");
},
edit(scope) {
this.$router.pushToTab({
path: "adjustZdxxgl",
query: { xxzjbh: scope.row.xxzjbh },
});
},
dele(scope) {
this.$confirm("此操作将永久删除该文件, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
deleteZdxxgl({
xxzjbh: scope.row.xxzjbh,
}).then((res) => {
if (res.success && res.code == 200) {
this.$message({
type: "success",
message: "删除成功",
});
this.$refs.rightContent.doQuery("yes");
}
});
})
.catch(() => {
this.$message({
type: "info",
message: "已取消删除",
});
});
},
toInfor(scope) {
this.$router.push({
path: "/detailZdxx",
query: {
xxzjbh: scope.xxzjbh,
},
});
},
toCY(data) {
this.$router.push({
path: "/addZdCyryxx",
query: {
glxxzjbh: data.row.xxzjbh,
},
});
},
toJY(data) {
this.$router.push({
path: "/addZdjyhd",
query: {
glxxzjbh: data.row.xxzjbh,
},
});
},
toBK(data) {
this.$router.push({
path: "/adjustBbkwpxx",
query: {
glxxzjbh: data.row.xxzjbh,
},
});
},
toXS(data) {
this.$router.push({
path: "/adjustZdxsxx",
query: {
glxxzjbh: data.row.xxzjbh,
},
});
},
fileOnchange(file, fileList) {
if (fileList.length > 0) {
this.fileArr = [fileList[0]]; // 这一步,是 展示最后一次选择的csv文件
if (fileList.length > 1) this.$message.error("只能上传一个文件!");
}
},
closed() {
this.fileArr = [];
},
onChange(file, fileList) {
console.log(file, fileList);
},
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.push("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>
<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">
@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;
}
</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"
>
<template #btnGroup="scope">
<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-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 { deleteZdxxgl, excleImport } from "@/api/zdxx/zdxxgl.js";
export default {
name: "zdxx",
components: {
rightContent,
},
data() {
return {
header: "阵地信息查询",
pageBs: "zdxxgl",
cxFormData: {
djsjStart: "",
djsjEnd: "",
wjr: "",
zdjd: "",
zdwd: "",
xm: "",
zjhm: "",
sjsfdqdm: "",
limit: 10,
page: 1,
},
cxQueryField: [
/*立案信息 侦查终结信息 立案信息审批 侦查终结审批通用开始*/
{
name: "物见人",
id: "wjr",
type: "text",
value: "",
placeholder: "",
col: "3",
},
{
name: "登记时间",
id: "djsjStart",
id2: "djsjEnd",
type: "zdyDate",
value: "",
col: "3",
},
{
name: "阵地经度",
id: "zdjd",
type: "text",
value: "",
placeholder: "",
col: "3",
},
{
name: "阵地纬度",
id: "zdwd",
type: "text",
value: "",
placeholder: "",
col: "3",
},
{
name: "阵地半径范围:",
id: "zdbjfw",
type: "text",
value: "",
placeholder: "请输入",
col: "2",
},
{
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",
toInfor: true,
width: "200",
},
{
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",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
],
selectArr: [],
revokeVisiable: false,
ckForm: {
file: "",
},
fileArr: [],
zdXxzjbh: "",
};
},
created() {
this.$store.commit("user/SET_Menu", this.Menu);
this.$store.commit("user/SET_Header", this.header);
},
methods: {
add() {
this.$router.pushToTab("adjustZdxxgl");
},
edit(scope) {
this.$router.pushToTab({
path: "adjustZdxxgl",
query: { xxzjbh: scope.row.xxzjbh },
});
},
dele(scope) {
this.$confirm("此操作将永久删除该文件, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
deleteZdxxgl({
xxzjbh: scope.row.xxzjbh,
}).then((res) => {
if (res.success && res.code == 200) {
this.$message({
type: "success",
message: "删除成功",
});
this.$refs.rightContent.doQuery("yes");
}
});
})
.catch(() => {
this.$message({
type: "info",
message: "已取消删除",
});
});
},
toInfor(scope) {
this.$router.push({
path: "/detailZdxx",
query: {
xxzjbh: scope.xxzjbh,
},
});
},
toCY(data) {
this.$router.push({
path: "/addZdCyryxx",
query: {
glxxzjbh: data.row.xxzjbh,
},
});
},
toJY(data) {
this.$router.push({
path: "/addZdjyhd",
query: {
glxxzjbh: data.row.xxzjbh,
},
});
},
toBK(data) {
this.$router.push({
path: "/adjustBbkwpxx",
query: {
glxxzjbh: data.row.xxzjbh,
},
});
},
toXS(data) {
this.$router.push({
path: "/adjustZdxsxx",
query: {
glxxzjbh: data.row.xxzjbh,
},
});
},
fileOnchange(file, fileList) {
if (fileList.length > 0) {
this.fileArr = [fileList[0]]; // 这一步,是 展示最后一次选择的csv文件
if (fileList.length > 1) this.$message.error("只能上传一个文件!");
}
},
closed() {
this.fileArr = [];
},
onChange(file, fileList) {
console.log(file, fileList);
},
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.push("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>
<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">
@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;
}
</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"
>
<template #btnGroup="scope">
<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-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 { deleteZdxxgl, excleImport } from "@/api/zdxx/zdxxgl.js";
export default {
name: "zdxx",
components: {
rightContent,
},
data() {
return {
header: "阵地信息查询",
pageBs: "zdxxgl",
cxFormData: {
djsjStart: "",
djsjEnd: "",
wjr: "",
zdjd: "",
zdwd: "",
xm: "",
zjhm: "",
sjsfdqdm: "",
limit: 10,
page: 1,
},
cxQueryField: [
/*立案信息 侦查终结信息 立案信息审批 侦查终结审批通用开始*/
{
name: "物见人",
id: "wjr",
type: "text",
value: "",
placeholder: "",
col: "3",
},
{
name: "登记时间",
id: "djsjStart",
id2: "djsjEnd",
type: "zdyDate",
value: "",
col: "3",
},
{
name: "阵地经度",
id: "zdjd",
type: "text",
value: "",
placeholder: "",
col: "3",
},
{
name: "阵地纬度",
id: "zdwd",
type: "text",
value: "",
placeholder: "",
col: "3",
},
{
name: "阵地半径范围:",
id: "zdbjfw",
type: "text",
value: "",
placeholder: "请输入",
col: "2",
},
{
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",
toInfor: true,
width: "200",
},
{
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: "queryZdxxs25",
label: "阵地预警信息处置",
index: "queryZdxxs25",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
],
selectArr: [],
revokeVisiable: false,
ckForm: {
file: "",
},
fileArr: [],
zdXxzjbh: "",
};
},
created() {
this.$store.commit("user/SET_Menu", this.Menu);
this.$store.commit("user/SET_Header", this.header);
},
methods: {
add() {
this.$router.pushToTab("adjustZdxxgl");
},
edit(scope) {
this.$router.pushToTab({
path: "adjustZdxxgl",
query: { xxzjbh: scope.row.xxzjbh },
});
},
dele(scope) {
this.$confirm("此操作将永久删除该文件, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
deleteZdxxgl({
xxzjbh: scope.row.xxzjbh,
}).then((res) => {
if (res.success && res.code == 200) {
this.$message({
type: "success",
message: "删除成功",
});
this.$refs.rightContent.doQuery("yes");
}
});
})
.catch(() => {
this.$message({
type: "info",
message: "已取消删除",
});
});
},
toInfor(scope) {
this.$router.push({
path: "/detailZdxx",
query: {
xxzjbh: scope.xxzjbh,
},
});
},
toCY(data) {
this.$router.push({
path: "/addZdCyryxx",
query: {
glxxzjbh: data.row.xxzjbh,
},
});
},
toJY(data) {
this.$router.push({
path: "/addZdjyhd",
query: {
glxxzjbh: data.row.xxzjbh,
},
});
},
toBK(data) {
this.$router.push({
path: "/adjustBbkwpxx",
query: {
glxxzjbh: data.row.xxzjbh,
},
});
},
toXS(data) {
this.$router.push({
path: "/adjustZdxsxx",
query: {
glxxzjbh: data.row.xxzjbh,
},
});
},
fileOnchange(file, fileList) {
if (fileList.length > 0) {
this.fileArr = [fileList[0]]; // 这一步,是 展示最后一次选择的csv文件
if (fileList.length > 1) this.$message.error("只能上传一个文件!");
}
},
closed() {
this.fileArr = [];
},
onChange(file, fileList) {
console.log(file, fileList);
},
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.push("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>
<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">
@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;
}
</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"
>
<template #btnGroup="scope">
<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-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 { deleteZdxxgl, excleImport } from "@/api/zdxx/zdxxgl.js";
export default {
name: "zdxx",
components: {
rightContent,
},
data() {
return {
header: "阵地信息查询",
pageBs: "zdxxgl",
cxFormData: {
djsjStart: "",
djsjEnd: "",
wjr: "",
zdjd: "",
zdwd: "",
xm: "",
zjhm: "",
sjsfdqdm: "",
limit: 10,
page: 1,
},
cxQueryField: [
/*立案信息 侦查终结信息 立案信息审批 侦查终结审批通用开始*/
{
name: "物见人",
id: "wjr",
type: "text",
value: "",
placeholder: "",
col: "3",
},
{
name: "登记时间",
id: "djsjStart",
id2: "djsjEnd",
type: "zdyDate",
value: "",
col: "3",
},
{
name: "阵地经度",
id: "zdjd",
type: "text",
value: "",
placeholder: "",
col: "3",
},
{
name: "阵地纬度",
id: "zdwd",
type: "text",
value: "",
placeholder: "",
col: "3",
},
{
name: "阵地半径范围:",
id: "zdbjfw",
type: "text",
value: "",
placeholder: "请输入",
col: "2",
},
{
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",
toInfor: true,
width: "200",
},
{
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: "queryZdxx",
label: "阵地信息列表",
index: "queryZdxx",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
],
selectArr: [],
revokeVisiable: false,
ckForm: {
file: "",
},
fileArr: [],
zdXxzjbh: "",
};
},
created() {
this.$store.commit("user/SET_Menu", this.Menu);
this.$store.commit("user/SET_Header", this.header);
},
methods: {
add() {
this.$router.pushToTab("adjustZdxxgl");
},
edit(scope) {
this.$router.pushToTab({
path: "adjustZdxxgl",
query: { xxzjbh: scope.row.xxzjbh },
});
},
dele(scope) {
this.$confirm("此操作将永久删除该文件, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
deleteZdxxgl({
xxzjbh: scope.row.xxzjbh,
}).then((res) => {
if (res.success && res.code == 200) {
this.$message({
type: "success",
message: "删除成功",
});
this.$refs.rightContent.doQuery("yes");
}
});
})
.catch(() => {
this.$message({
type: "info",
message: "已取消删除",
});
});
},
toInfor(scope) {
this.$router.push({
path: "/detailZdxx",
query: {
xxzjbh: scope.xxzjbh,
},
});
},
toCY(data) {
this.$router.push({
path: "/addZdCyryxx",
query: {
glxxzjbh: data.row.xxzjbh,
},
});
},
toJY(data) {
this.$router.push({
path: "/addZdjyhd",
query: {
glxxzjbh: data.row.xxzjbh,
},
});
},
toBK(data) {
this.$router.push({
path: "/adjustBbkwpxx",
query: {
glxxzjbh: data.row.xxzjbh,
},
});
},
toXS(data) {
this.$router.push({
path: "/adjustZdxsxx",
query: {
glxxzjbh: data.row.xxzjbh,
},
});
},
fileOnchange(file, fileList) {
if (fileList.length > 0) {
this.fileArr = [fileList[0]]; // 这一步,是 展示最后一次选择的csv文件
if (fileList.length > 1) this.$message.error("只能上传一个文件!");
}
},
closed() {
this.fileArr = [];
},
onChange(file, fileList) {
console.log(file, fileList);
},
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.push("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>
<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">
@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;
}
</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"
>
<template #btnGroup="scope">
<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-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 { deleteZdxxgl, excleImport } from "@/api/zdxx/zdxxgl.js";
export default {
name: "zdxx",
components: {
rightContent,
},
data() {
return {
header: "阵地信息查询",
pageBs: "zdxxgl",
cxFormData: {
djsjStart: "",
djsjEnd: "",
wjr: "",
zdjd: "",
zdwd: "",
xm: "",
zjhm: "",
sjsfdqdm: "",
limit: 10,
page: 1,
},
cxQueryField: [
/*立案信息 侦查终结信息 立案信息审批 侦查终结审批通用开始*/
{
name: "物见人",
id: "wjr",
type: "text",
value: "",
placeholder: "",
col: "3",
},
{
name: "登记时间",
id: "djsjStart",
id2: "djsjEnd",
type: "zdyDate",
value: "",
col: "3",
},
{
name: "阵地经度",
id: "zdjd",
type: "text",
value: "",
placeholder: "",
col: "3",
},
{
name: "阵地纬度",
id: "zdwd",
type: "text",
value: "",
placeholder: "",
col: "3",
},
{
name: "阵地半径范围:",
id: "zdbjfw",
type: "text",
value: "",
placeholder: "请输入",
col: "2",
},
{
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",
toInfor: true,
width: "200",
},
{
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: "queryZdxxs34",
label: "阵地监测预警信息研判",
index: "queryZdxxs34",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
],
selectArr: [],
revokeVisiable: false,
ckForm: {
file: "",
},
fileArr: [],
zdXxzjbh: "",
};
},
created() {
this.$store.commit("user/SET_Menu", this.Menu);
this.$store.commit("user/SET_Header", this.header);
},
methods: {
add() {
this.$router.pushToTab("adjustZdxxgl");
},
edit(scope) {
this.$router.pushToTab({
path: "adjustZdxxgl",
query: { xxzjbh: scope.row.xxzjbh },
});
},
dele(scope) {
this.$confirm("此操作将永久删除该文件, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
deleteZdxxgl({
xxzjbh: scope.row.xxzjbh,
}).then((res) => {
if (res.success && res.code == 200) {
this.$message({
type: "success",
message: "删除成功",
});
this.$refs.rightContent.doQuery("yes");
}
});
})
.catch(() => {
this.$message({
type: "info",
message: "已取消删除",
});
});
},
toInfor(scope) {
this.$router.push({
path: "/detailZdxx",
query: {
xxzjbh: scope.xxzjbh,
},
});
},
toCY(data) {
this.$router.push({
path: "/addZdCyryxx",
query: {
glxxzjbh: data.row.xxzjbh,
},
});
},
toJY(data) {
this.$router.push({
path: "/addZdjyhd",
query: {
glxxzjbh: data.row.xxzjbh,
},
});
},
toBK(data) {
this.$router.push({
path: "/adjustBbkwpxx",
query: {
glxxzjbh: data.row.xxzjbh,
},
});
},
toXS(data) {
this.$router.push({
path: "/adjustZdxsxx",
query: {
glxxzjbh: data.row.xxzjbh,
},
});
},
fileOnchange(file, fileList) {
if (fileList.length > 0) {
this.fileArr = [fileList[0]]; // 这一步,是 展示最后一次选择的csv文件
if (fileList.length > 1) this.$message.error("只能上传一个文件!");
}
},
closed() {
this.fileArr = [];
},
onChange(file, fileList) {
console.log(file, fileList);
},
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.push("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>
<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">
@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;
}
</style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment