Commit a2a25275 by 王晓强

带出人员标签

parent 7a9bbd94
......@@ -62,15 +62,15 @@ axios.interceptors.request.use(
// response 响应拦截器
axios.interceptors.response.use(
response => {
console.log('响应拦截器查看',response);
// console.log('响应拦截器查看',response);
const status = response.data.code;
console.log('=====', status);
// console.log('=====', status);
const message = response.data.message;
var relUrlIp = window.location.host.substring(
0,
window.location.host.length - 5
);
console.log('88888', window.location.host);
// console.log('88888', window.location.host);
var self = this
if (status == "401") {
MessageBox.confirm("系统登录超时,请重新登录", "提示", {
......@@ -110,7 +110,7 @@ axios.interceptors.response.use(
message:error.message,
type:'error'
})
console.log('0000000000000000');
// console.log('0000000000000000');
return Promise.reject(new Error(error));
}
);
......
......@@ -79,7 +79,7 @@ export default {
};
},
activated() {
console.log("11111111111111111111111111111111");
// console.log("11111111111111111111111111111111");
},
methods: {
initPieZdrwtxz(data) {
......@@ -654,13 +654,13 @@ export default {
name: "现有重点人(未化解)",
type: "line",
// type: "bar",
stack: "业务",//折叠显示
// stack: "业务",//折叠显示
// data: ["2", "6", "12", "9", "2", '23', '15', "6", "12", "9", "2", '23', '15'],
data: data.whj,
barWidth : 25,
//显示颜色
itemStyle:{
normal:{color:"#5087ec"}
normal:{color:"red"}
},
label: { // 图形上的文本标签
show: false,
......@@ -673,7 +673,7 @@ export default {
name: "新增",
type: "line",
// type: "bar",
stack: "业务",
// stack: "业务",
// data: ["8", "23", "49", "7", "16", '12', '10', "36", "12", "9", "32", '23', '5'],
data: data.xz,
barWidth : 25,
......@@ -684,14 +684,14 @@ export default {
color: '#eee'
},
itemStyle:{
normal:{color:"#68bbc4"}
normal:{color:"#4bd277"}
}
},
{
name: "涉稳重点人(已化解)",
type: "line",
// type: "bar",
stack: "业务",
// stack: "业务",
// data: ["8", "23", "49", "7", "16", '12', '10', "36", "12", "9", "32", '23', '5'],
data: data.yhj,
barWidth : 25,
......@@ -702,7 +702,7 @@ export default {
color: '#eee'
},
itemStyle:{
normal:{color:"#4bd277"}
normal:{color:"#68bbc4"}
}
}
]
......@@ -710,7 +710,7 @@ export default {
zdrzsfxoption && zdrzsfxChart.setOption(zdrzsfxoption);
},
initBarQtzsfx(data) {
// console.log(data);
console.log(data);
var qtzsfxChartDom = document.getElementById("qtzsfx");
var qtzsfxChart = echarts.init(qtzsfxChartDom);
......@@ -863,7 +863,7 @@ export default {
},
scale: true, //自适应
// min:0, //取0为最小刻度
// max: 120, //取100为最大刻度
// max: 90, //取100为最大刻度
},
// tooltip: {
// position: ['70%', '70%'],
......@@ -876,83 +876,82 @@ export default {
},
series: [
{
name: "现有重点人(未化解)",
type: "line",
// type: "bar",
stack: "业务",//折叠显示
// data: ["2", "6", "12", "9", "2", '23', '15', "6", "12", "9", "2", '23', '15'],
data: data.whj,
barWidth : 25,
//显示颜色
itemStyle:{
normal:{color:"#5087ec"}
},
label: { // 图形上的文本标签
show: false,
position: 'insideTop', // 相对位置
rotate: 0, // 旋转角度
color: '#eee'
}
},
{
name: "新增",
type: "line",
// type: "bar",
stack: "业务",
// data: ["8", "23", "49", "7", "16", '12', '10', "36", "12", "9", "32", '23', '5'],
data: data.xz,
barWidth : 25,
label: { // 图形上的文本标签
show: false,
position: 'insideTop', // 相对位置
rotate: 0, // 旋转角度
color: '#eee'
},
itemStyle:{
normal:{color:"#68bbc4"}
}
},
{
name: "涉稳重点人(已化解)",
type: "line",
// type: "bar",
stack: "业务",
// data: ["8", "23", "49", "7", "16", '12', '10', "36", "12", "9", "32", '23', '5'],
data: data.yhj,
barWidth : 25,
label: { // 图形上的文本标签
show: false,
position: 'insideTop', // 相对位置
rotate: 0, // 旋转角度
color: '#eee'
name: "现有群体(未化解)",
type: "line",
// type: "bar",
// stack: "业务",//折叠显示
// data: ["2", "6", "12", "9", "2", '23', '15', "6", "12", "9", "2", '23', '15'],
data: data.whj,
barWidth : 25,
//显示颜色
itemStyle:{
normal:{color:"red"}
},
label: { // 图形上的文本标签
show: false,
position: 'insideTop', // 相对位置
rotate: 0, // 旋转角度
color: '#eee'
}
},
itemStyle:{
normal:{color:"#4bd277"}
{
name: "新增",
type: "line",
// type: "bar",
// stack: "业务",
// data: ["8", "23", "49", "7", "16", '12', '10', "36", "12", "9", "32", '23', '5'],
data: data.xz,
barWidth : 25,
label: { // 图形上的文本标签
show: false,
position: 'insideTop', // 相对位置
rotate: 0, // 旋转角度
color: '#eee'
},
itemStyle:{
normal:{color:"#4bd277"}
}
},
{
name: "涉稳群体(已化解)",
type: "line",
// type: "bar",
// stack: "业务",
// data: ["8", "23", "49", "7", "16", '12', '10', "36", "12", "9", "32", '23', '5'],
data: data.yhj,
barWidth : 25,
label: { // 图形上的文本标签
show: false,
position: 'insideTop', // 相对位置
rotate: 0, // 旋转角度
color: '#eee'
},
itemStyle:{
normal:{color:"#68bbc4"}
}
}
}
]
};
qtzsfxoption && qtzsfxChart.setOption(qtzsfxoption);
},
queryZdrwtxz() {
let params = new FormData();
post("/xqapi/swtj/zdrWtxz", params).then((res) => {
if (res.code == "200") {
// this.tableData = res.data.rows;
// this.tableDataLength = res.data.count;
this.initPieZdrwtxz(res.data.data)
let params = new FormData();
post("/xqapi/swtj/zdrWtxz", params).then((res) => {
if (res.code == "200") {
// this.tableData = res.data.rows;
// this.tableDataLength = res.data.count;
this.initPieZdrwtxz(res.data.data)
}else if(res.code == "202") {
this.$notify.error({
title: "登录超时!",
message: res.msg,
});
this.$router.replace({ path: "/Login/swptLogin" });
this.$notify.error({
title: "登录超时!",
message: res.msg,
});
this.$router.replace({ path: "/Login/swptLogin" });
} else {
console.log(res.message);
this.$notify.error({
title: "系统异常",
message: res.msg,
});
this.$notify.error({
title: "系统异常",
message: res.msg,
});
}
});
},
......@@ -968,7 +967,6 @@ export default {
});
this.$router.replace({ path: "/Login/swptLogin" });
} else {
console.log(res.message);
this.$notify.error({
title: "系统异常",
message: res.msg,
......@@ -988,7 +986,6 @@ export default {
});
this.$router.replace({ path: "/Login/swptLogin" });
} else {
console.log(res.message);
this.$notify.error({
title: "系统异常",
message: res.msg,
......@@ -1008,7 +1005,6 @@ export default {
});
this.$router.replace({ path: "/Login/swptLogin" });
} else {
console.log(res.message);
this.$notify.error({
title: "系统异常",
message: res.msg,
......@@ -1028,7 +1024,6 @@ export default {
});
this.$router.replace({ path: "/Login/swptLogin" });
} else {
console.log(res.message);
this.$notify.error({
title: "系统异常",
message: res.msg,
......
......@@ -1091,23 +1091,23 @@
</el-row>
<el-row>
<el-col :span="5">
<div v-if="zpList.length > 0" style="width: 150px; height: 185px; margin-top:10px;margin-left:20px;">
<div v-if="zpList.length > 0" style="width: 160px; height: 220px; margin-top:25px;margin-left:20px;">
<el-carousel>
<el-carousel-item v-for="(item, i) in zpList" :key="i">
<template slot-scope="scope">
<el-popover placement="top-start" trigger="click"> <!--trigger属性值:hover、click、focus 和 manual-->
<a :href="item.fileCode" target="_blank" title="查看最大化图片">
<img :src="item.fileCode" style="width: 300px;height: 300px">
<img :src="item.fileCode" style="width: 400px;height: 400px">
</a>
<img slot="reference" :src="item.fileCode" style="width: 130px; height: 175px; cursor:pointer">
<img slot="reference" :src="item.fileCode" style="width: 155px; height: 210px; cursor:pointer">
</el-popover>
</template>
</el-carousel-item>
</el-carousel>
</div>
<div v-else style="width: 150px; height: 185px; margin-top:10px;margin-left:20px;">
<div v-else style="width: 160px; height: 220px; margin-top:25px;margin-left:20px;">
<el-image
style="width: 150px; height: 185px; margin-top:10px;margin-left:20px;"
style="width: 155px; height: 210px; margin-top:10px;margin-left:20px;"
:src="perLogo"
></el-image>
</div>
......@@ -1141,18 +1141,17 @@
</el-row>
<el-row>
<el-col :span="12" :offset="0">
<el-form-item label="联系电话:">
<el-form-item label="联系电话1:">
<span> {{ XQZdrDiolog.lxdh }}</span>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="民族:">
<div v-for="(v, i) in rkmzdmList" :key="i">
<span v-if="XQZdrDiolog.mzdm === v.id">{{v.text}}</span>
</div>
<el-form-item label="联系电话2:">
<span> {{ XQZdrDiolog.lxdh2 }}</span>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12" :offset="0">
<el-form-item label="政治面貌:">
......@@ -1170,6 +1169,15 @@
</el-col>
</el-row>
<el-row>
<el-col :span="12">
<el-form-item label="民族:">
<div v-for="(v, i) in rkmzdmList" :key="i">
<span v-if="XQZdrDiolog.mzdm === v.id">{{v.text}}</span>
</div>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="18" :offset="0">
<el-form-item label="户籍地址:" >
<span> {{ XQZdrDiolog.hjdDzxz }}</span>
......@@ -1183,6 +1191,13 @@
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="18" :offset="0">
<el-form-item label="人员标签:">
<span> {{ XQZdrDiolog.bqxxmc }}</span>
</el-form-item>
</el-col>
</el-row>
</el-col>
</el-row>
......@@ -1253,6 +1268,20 @@
<el-row>
<el-col :span="20" :offset="2">
<el-form-item label="车牌信息:">
<span> {{ XQZdrDiolog.cph }}</span>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="20" :offset="2">
<el-form-item label="房产信息:">
<span> {{ XQZdrDiolog.fcxx }}</span>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="20" :offset="2">
<el-form-item label="备注:">
<span> {{ XQZdrDiolog.bz }}</span>
</el-form-item>
......@@ -2159,6 +2188,7 @@ export default {
this.gzzbqkListZdr = res.data.swgzzb;
this.XQdialogZdrVisible = true;
this.ryid = res.data.ryid[0].id;
this.XQZdrDiolog.bqxxmc = res.data.ryid[0].bqxxmc;
this.zpList = res.data.zpList;
} else if(res.code == "202") {
this.$notify.error({
......
......@@ -333,7 +333,7 @@
<el-form
:model="XZformDiolog"
size="mini"
label-width="80px"
label-width="90px"
ref="XZformDiolog"
:rules="rules"
class="el-from-xz"
......@@ -343,25 +343,25 @@
</el-row>
<el-row>
<el-col :span="4">
<div v-if="zpList.length > 0" style="width: 150px; height: 185px;margin-top:10px;margin-left:10px;margin-bottom:5px;" @mouseenter="imgAllenter($event)" @mouseleave ="imgAllleave($event)">
<el-col :span="5">
<div v-if="zpList.length > 0" style="width: 165px; height: 220px;margin-top:25px;margin-left:10px;margin-bottom:5px;" @mouseenter="imgAllenter($event)" @mouseleave ="imgAllleave($event)">
<el-carousel>
<el-carousel-item v-for="(item, i) in zpList" :key="i">
<template slot-scope="scope">
<el-popover placement="top-start" trigger="click"> <!--trigger属性值:hover、click、focus 和 manual-->
<a :href="item.fileCode" target="_blank" title="查看最大化图片">
<img :src="item.fileCode" style="width: 300px;height: 300px">
<img :src="item.fileCode" style="width: 400px;height: 400px">
</a>
<img slot="reference" :src="item.fileCode" style="width: 130px; height: 175px; cursor:pointer">
<img slot="reference" :src="item.fileCode" style="width:160px; height:210px;object-fit:fill; cursor:pointer">
</el-popover>
<el-button icon="el-icon-delete" circle v-show="delFlag" style="margin-left:-75px;" size="small" @click="delImg(item,i)"></el-button>
<el-button icon="el-icon-delete" circle v-show="delFlag" style="margin-left:-95px;" size="small" @click="delImg(item,i)"></el-button>
</template>
</el-carousel-item>
</el-carousel>
</div>
<div v-else style="width: 150px; height: 185px;margin-top:10px;margin-left:10px;margin-bottom:5px;">
<div v-else style="width:165px; height:220px;margin-top:25px;margin-left:10px;margin-bottom:5px;">
<el-image
style="width: 130px; height: 175px;object-fit: contain;"
style="width:160px; height:210px;object-fit:fill;"
:src="perLogo"
></el-image>
</div>
......@@ -375,12 +375,12 @@
:show-file-list="false"
accept=".jpg,.jpeg,.png,.JPG,.JPEG"
>
<el-button size="mini" type="primary" style="display:inline-block;width:130px;">上传头像</el-button>
<el-button size="mini" type="primary" style="display:inline-block;width:160px;">上传头像</el-button>
</el-upload>
</div>
</div>
</el-col>
<el-col :span="18">
<el-col :span="17">
<el-row>
<el-col :span="12">
<el-form-item label="证件号码" prop="zjhm" >
......@@ -431,7 +431,7 @@
</el-row>
<el-row>
<el-col :span="12">
<el-form-item label="联系电话" prop="lxdh">
<el-form-item label="联系电话1" prop="lxdh">
<el-input
v-model="XZformDiolog.lxdh"
style="display: inline-block; width: 90%"
......@@ -439,23 +439,15 @@
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="民族">
<el-select
v-model="XZformDiolog.mzdm"
<el-form-item label="联系电话2" prop="lxdh2">
<el-input
v-model="XZformDiolog.lxdh2"
style="display: inline-block; width: 100%"
placeholder="请选择民族"
>
<el-option
v-for="item in rkmzdmList"
:key="item.id"
:label="item.text"
:value="item.id"
>
</el-option>
</el-select>
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12">
<el-form-item label="政治面貌">
......@@ -493,6 +485,25 @@
</el-col>
</el-row>
<el-row>
<el-col :span="12">
<el-form-item label="民族">
<el-select
v-model="XZformDiolog.mzdm"
style="display: inline-block; width: 90%"
placeholder="请选择民族"
>
<el-option
v-for="item in rkmzdmList"
:key="item.id"
:label="item.text"
:value="item.id"
>
</el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="24">
<el-form-item label="户籍地址" prop="hjdDzxz">
<el-input v-model="XZformDiolog.hjdDzxz"></el-input>
......@@ -524,6 +535,18 @@
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="24">
<el-form-item label="人员标签">
<el-input
v-model="XZformDiolog.bqxxmc"
style="display: inline-block; width: 100%"
:disabled="true"
class="rt-input"
></el-input>
</el-form-item>
</el-col>
</el-row>
</el-col>
</el-row>
......@@ -651,6 +674,20 @@
<el-row>
<el-col :span="20" :offset="2">
<el-form-item label="车牌信息">
<el-input type="text" v-model="XZformDiolog.cph"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="20" :offset="2">
<el-form-item label="房产信息">
<el-input type="textarea" v-model="XZformDiolog.fcxx"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="20" :offset="2">
<el-form-item label="备注">
<el-input type="textarea" v-model="XZformDiolog.bz"></el-input>
</el-form-item>
......@@ -741,7 +778,7 @@
class="el-dialog-xg"
top="20px"
>
<el-form :model="XGformDiolog" size="mini" label-width="80px" ref="XGformDiolog" :rules="rules" class="el-from-xg">
<el-form :model="XGformDiolog" size="mini" label-width="90px" ref="XGformDiolog" :rules="rules" class="el-from-xg">
<el-row>
<el-col :span="5">
<span style="color: #b58076">基本信息</span>
......@@ -762,25 +799,25 @@
</el-row>
<el-row>
<el-col :span="4">
<div v-if="zpList.length > 0" style="width: 150px; height: 185px;margin-top:10px;margin-left:10px;margin-bottom:5px;" @mouseenter="imgAllenter($event)" @mouseleave ="imgAllleave($event)">
<el-col :span="5">
<div v-if="zpList.length > 0" style="width: 165px; height: 220px;margin-top:25px;margin-left:10px;margin-bottom:5px;" @mouseenter="imgAllenter($event)" @mouseleave ="imgAllleave($event)">
<el-carousel>
<el-carousel-item v-for="(item, i) in zpList" :key="i">
<template slot-scope="scope">
<el-popover placement="top-start" trigger="click"> <!--trigger属性值:hover、click、focus 和 manual-->
<a :href="item.fileCode" target="_blank" title="查看最大化图片">
<img :src="item.fileCode" style="width: 300px;height: 300px">
<img :src="item.fileCode" style="width: 400px;height: 400px;object-fit:fill;">
</a>
<img slot="reference" :src="item.fileCode" style="width: 130px; height: 175px; cursor:pointer">
<img slot="reference" :src="item.fileCode" style="width:160px;height:210px;object-fit:fill;cursor:pointer">
</el-popover>
<el-button icon="el-icon-delete" circle v-show="delFlag" style="margin-left:-75px;" size="small" @click="delImg(item,i)"></el-button>
<el-button icon="el-icon-delete" circle v-show="delFlag" style="margin-left:-95px;" size="small" @click="delImg(item,i)"></el-button>
</template>
</el-carousel-item>
</el-carousel>
</div>
<div v-else style="width: 150px; height: 185px;margin-top:10px;margin-left:10px;margin-bottom:5px;">
<div v-else style="width:165px;height:220px;margin-top:25px;margin-left:10px;margin-bottom:5px;">
<el-image
style="width: 130px; height: 175px;object-fit: contain;"
style="width: 160px; height: 210px;object-fit:fill;"
:src="perLogo"
></el-image>
......@@ -795,13 +832,13 @@
:show-file-list="false"
accept=".jpg,.jpeg,.png,.JPG,.JPEG"
>
<el-button size="mini" type="primary" style="display:inline-block;width:130px;">上传头像</el-button>
<el-button size="mini" type="primary" style="display:inline-block;width:160px;">上传头像</el-button>
</el-upload>
</div>
</div>
</el-col>
<el-col :span="18">
<el-col :span="17">
<el-row>
<el-col :span="12" >
<el-form-item label="证件号码" prop="zjhm">
......@@ -847,28 +884,17 @@
</el-row>
<el-row>
<el-col :span="12" >
<el-form-item label="联系电话" prop="lxdh">
<el-form-item label="联系电话1" prop="lxdh">
<el-input v-model="XGformDiolog.lxdh"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="民族">
<el-select
v-model="XGformDiolog.mzdm"
style="display: inline-block; width: 100%"
placeholder="请选择民族"
>
<el-option
v-for="item in rkmzdmList"
:key="item.id"
:label="item.text"
:value="item.id"
>
</el-option>
</el-select>
<el-form-item label="联系电话2" prop="lxdh2">
<el-input v-model="XGformDiolog.lxdh2"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12" >
<el-form-item label="政治面貌">
......@@ -905,6 +931,26 @@
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12">
<el-form-item label="民族">
<el-select
v-model="XGformDiolog.mzdm"
style="display: inline-block; width: 100%"
placeholder="请选择民族"
>
<el-option
v-for="item in rkmzdmList"
:key="item.id"
:label="item.text"
:value="item.id"
>
</el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="24" >
<el-form-item label="户籍地址" prop="hjdDzxz">
......@@ -936,6 +982,13 @@
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="24" >
<el-form-item label="人员标签" >
<el-input v-model="XGformDiolog.bqxxmc" :disabled="true" class="rt-input"></el-input>
</el-form-item>
</el-col>
</el-row>
</el-col>
</el-row>
<el-row>
......@@ -1094,6 +1147,21 @@
<el-row>
<el-col :span="20" :offset="2">
<el-form-item label="车牌信息">
<el-input type="text" v-model="XGformDiolog.cph"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="20" :offset="2">
<el-form-item label="房产信息">
<el-input type="textarea" v-model="XGformDiolog.fcxx"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="20" :offset="2">
<el-form-item label="备注">
<el-input type="textarea" v-model="XGformDiolog.bz"></el-input>
</el-form-item>
......@@ -1279,23 +1347,23 @@
</el-row>
<el-row>
<el-col :span="5">
<div v-if="zpList.length > 0" style="width: 150px; height: 185px; margin-top:10px;margin-left:10px;">
<div v-if="zpList.length > 0" style="width: 165px; height: 220px; margin-top:25px;margin-left:10px;">
<el-carousel>
<el-carousel-item v-for="(item, i) in zpList" :key="i">
<template slot-scope="scope">
<el-popover placement="top-start" trigger="click"> <!--trigger属性值:hover、click、focus 和 manual-->
<a :href="item.fileCode" target="_blank" title="查看最大化图片">
<img :src="item.fileCode" style="width: 300px;height: 300px">
<img :src="item.fileCode" style="width: 400px;height: 400px;object-fit:fill;">
</a>
<img slot="reference" :src="item.fileCode" style="width: 130px; height: 175px; cursor:pointer">
<img slot="reference" :src="item.fileCode" style="width: 155px; height: 210px;object-fit:fill;cursor:pointer">
</el-popover>
</template>
</el-carousel-item>
</el-carousel>
</div>
<div v-else style="width: 150px; height: 185px; margin-top:10px;margin-left:10px;">
<div v-else style="width: 165px; height: 220px; margin-top:25px;margin-left:10px;">
<el-image
style="width: 150px; height: 185px; margin-top:10px;margin-left:10px;"
style="width:155px; height:210px; margin-top:10px;margin-left:10px;object-fit:fill;"
:src="perLogo"
></el-image>
</div>
......@@ -1329,18 +1397,17 @@
</el-row>
<el-row>
<el-col :span="12" :offset="0">
<el-form-item label="联系电话:">
<el-form-item label="联系电话1:">
<span> {{ XGformDiolog.lxdh }}</span>
</el-form-item>
</el-col>
<el-col :span="10">
<el-form-item label="名族:">
<div v-for="(v, i) in rkmzdmList" :key="i">
<span v-if="XGformDiolog.mzdm === v.id">{{v.text}}</span>
</div>
<el-form-item label="联系电话2:">
<span> {{ XGformDiolog.lxdh2 }}</span>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12" :offset="0">
<el-form-item label="政治面貌:">
......@@ -1358,6 +1425,15 @@
</el-col>
</el-row>
<el-row>
<el-col :span="12">
<el-form-item label="民族:">
<div v-for="(v, i) in rkmzdmList" :key="i">
<span v-if="XGformDiolog.mzdm === v.id">{{v.text}}</span>
</div>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="22" :offset="0">
<el-form-item label="户籍地址:" >
<span> {{ XGformDiolog.hjdDzxz }}</span>
......@@ -1371,6 +1447,13 @@
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="22" :offset="0">
<el-form-item label="人员标签:">
<span> {{ XGformDiolog.bqxxmc }}</span>
</el-form-item>
</el-col>
</el-row>
</el-col>
</el-row>
......@@ -1439,6 +1522,21 @@
</el-col>
</el-row>
<el-row>
<el-col :span="20" :offset="2">
<el-form-item label="车牌信息:">
<span> {{ XGformDiolog.cph }}</span>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="20" :offset="2">
<el-form-item label="房产信息:">
<span> {{ XGformDiolog.fcxx }}</span>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="20" :offset="2">
<el-form-item label="备注:">
......@@ -1893,7 +1991,7 @@ export default {
//涉稳标签集合
swbqList: [
],
//
//
rkmzdmList: [
],
//性别
......@@ -2161,13 +2259,13 @@ export default {
this.curpage = val;
this.$set(this.selectPage, "limit", val);
this.querySwzdr();
console.log(`每页 ${val} 条`);
// console.log(`每页 ${val} 条`);
},
handleCurrentChange(val) {
this.atPage = val;
this.$set(this.selectPage, "page", val);
this.querySwzdr();
console.log(`当前页: ${val}`);
// console.log(`当前页: ${val}`);
},
addSwzdr() {
this.zpList = [];
......@@ -2217,7 +2315,6 @@ export default {
});
this.$router.replace({ path: "/Login/swptLogin" });
} else {
console.log(res.message);
this.$notify.error({
title: "错误",
message: res.msg,
......@@ -2245,20 +2342,22 @@ export default {
let params = new FormData();
this.XGdialogFormVisible = true;
params.id= id;
console.log(this.bqXgForm);
// console.log(this.bqXgForm);
post("/xqapi/swzdry/selectSwzdryById", params).then((res) => {
if (res.code == "200") {
// debugger
// this.selectZpByRyid(res.data.ryid[0].ryid);
this.zpList = res.data.zpList;
console.log(this.zpList.length);
this.XGformDiolog = res.data.rows.swzdy;
this.XGformDiolog.bqxxmc = res.data.ryid[0].bqxxmc;
this.gzzbqkList = res.data.swgzzb;
this.optionsMlp[0].id = res.data.rows.swzdy.jzdMlpdm;
this.optionsMlp[0].text = res.data.rows.swzdy.jzdMlpxz;
this.optionsChjg[0].id = res.data.rows.swzdy.jzdDzid;
this.optionsChjg[0].text = res.data.rows.swzdy.jzdDzxz.replace(res.data.rows.swzdy.jzdMlpxz,'');
this.XGformDiolog.jzdDzxz = res.data.rows.swzdy.jzdDzxz.replace(res.data.rows.swzdy.jzdMlpxz,'');
console.log(this.optionsMlp[0])
// console.log(this.optionsMlp[0])
if(res.data.rows.swzdy.bqList.length > 0){
// 编辑时 标签默认赋值
// console.log(this.bqXgForm);
......@@ -2266,9 +2365,9 @@ export default {
let bqId = res.data.rows.swzdy.bqList.join(',')+',';
this.$set(this.bqXgForm, "bqId", bqId);
let bqName = res.data.rows.swzdy.bqStr+',';
console.log('======='+bqName);
// console.log('======='+bqName);
this.$set(this.bqXgForm, "bqName", bqName);
console.log(this.bqXgForm);
// console.log(this.bqXgForm);
}
} else if(res.code == "202") {
this.$notify.error({
......@@ -2333,7 +2432,7 @@ export default {
}
});
} else {
console.log('error submit!!');
// console.log('error submit!!');
return false;
}
});
......@@ -2380,6 +2479,7 @@ export default {
this.gzzbqkList = res.data.swgzzb;
this.XQdialogFormVisible = true;
this.ryid = res.data.ryid[0].id;
this.XGformDiolog.bqxxmc = res.data.ryid[0].bqxxmc;
// console.log('==========================');
// console.log(res.data.ryid[0]);
// this.selectZpByRyid(res.data.ryid[0].ryid);
......@@ -2428,7 +2528,7 @@ export default {
});
this.$router.replace({ path: "/Login/swptLogin" });
} else {
console.log(res.message);
// console.log(res.message);
this.$notify.error({
title: "系统异常",
message: res.msg,
......@@ -2453,7 +2553,7 @@ export default {
});
this.$router.replace({ path: "/Login/swptLogin" });
} else {
console.log(res.message);
// console.log(res.message);
this.$notify.error({
title: "系统异常",
message: res.msg,
......@@ -2493,10 +2593,10 @@ export default {
},
//调取人员网格档案
getRywgda() {
console.log(this.ryid)
// console.log(this.ryid)
// let url = "http://192.168.1.137:8080/SQJW3/gatewayPage?serviceName=syrkAdapter&method=createRkInfoFile&condition={'ryid':'','syrkid':'a5b3fb0dd2df4f98992b9c306d33eeea','zdrkid':'','ywlx':'','zkdl':'','shid':'','zkxl':''}"
let url = "http://10.144.111.5:8080/SQJW3/gatewayPage?serviceName=syrkAdapter&method=createRkInfoFile&condition={'ryid':'','syrkid':'" + this.ryid + "','zdrkid':'','ywlx':'','zkdl':'','shid':'','zkxl':''}"
console.log(url)
// console.log(url)
window.open(url, '_blank');
},
//新增 专班工作及现实表现
......@@ -2572,7 +2672,7 @@ export default {
});
this.$router.replace({ path: "/Login/swptLogin" });
} else {
console.log(res.message);
// console.log(res.message);
this.$notify.error({
title: "系统异常",
message: res.msg,
......@@ -2652,7 +2752,7 @@ export default {
});
this.$router.replace({ path: "/Login/swptLogin" });
} else {
console.log(res.message);
// console.log(res.message);
this.$notify.error({
title: "系统异常",
message: res.msg,
......@@ -2666,7 +2766,7 @@ export default {
},
chooseMlpXz(e){
// debugger
console.log("选择门楼牌",e)
// console.log("选择门楼牌",e)
// let textCode = e.target.value //e.target.value的值为当前选中的option的value值。
// let textCode = e.target.value //e.target.value的值为当前选中的option的value值。
var newitem = this.optionsMlp.filter((item,index,a)=>{
......@@ -2706,7 +2806,7 @@ export default {
});
this.$router.replace({ path: "/Login/swptLogin" });
} else {
console.log(res.message);
// console.log(res.message);
this.$notify.error({
title: "系统异常",
message: res.msg,
......@@ -2753,7 +2853,7 @@ export default {
});
this.$router.replace({ path: "/Login/swptLogin" });
} else {
console.log(res.message);
// console.log(res.message);
this.$notify.error({
title: "系统异常",
message: res.msg,
......@@ -2792,6 +2892,7 @@ export default {
}
}else{
// debugger
this.$set(this.XZformDiolog, "bqxxmc", res.data.jbxx.bqxxmc);
this.$set(this.XZformDiolog, "ryid", res.data.jbxx.id);
this.$set(this.XZformDiolog, "xm", res.data.jbxx.xm);
this.$set(this.XZformDiolog, "xbdm", res.data.jbxx.xbdm);
......@@ -2828,7 +2929,7 @@ export default {
});
this.$router.replace({ path: "/Login/swptLogin" });
} else {
console.log(res.message);
// console.log(res.message);
this.$notify.error({
title: "系统异常",
message: res.msg,
......@@ -2855,7 +2956,7 @@ export default {
});
this.$router.replace({ path: "/Login/swptLogin" });
} else {
console.log(res.message);
// console.log(res.message);
this.$notify.error({
title: "系统异常",
message: res.msg,
......@@ -2927,7 +3028,7 @@ export default {
});
this.$router.replace({ path: "/Login/swptLogin" });
} else {
console.log(res.message);
// console.log(res.message);
this.$notify.error({
title: "错误",
message: res.msg,
......@@ -2935,7 +3036,7 @@ export default {
}
});
} else {
console.log('error submit!!');
// console.log('error submit!!');
return false;
}
});
......@@ -2943,8 +3044,8 @@ export default {
},
queryMlpAsync(queryString, cb) {
// debugger
console.log("+++++queryString+++++++")
console.log(queryString)
// console.log("+++++queryString+++++++")
// console.log(queryString)
var restaurants = [];
let params = new FormData();
......@@ -2969,7 +3070,7 @@ export default {
});
this.$router.replace({ path: "/Login/swptLogin" });
} else {
console.log(res.message);
// console.log(res.message);
this.$notify.error({
title: "系统异常",
message: res.msg,
......@@ -2994,8 +3095,8 @@ export default {
this.XGformDiolog.jzdDzxz = '';
},
queryJzdXZAsync(queryString, cb) {
console.log("+++++queryString+++++++")
console.log(queryString)
// console.log("+++++queryString+++++++")
// console.log(queryString)
var restaurants = [];
let params = new FormData();
......@@ -3022,7 +3123,7 @@ export default {
});
this.$router.replace({ path: "/Login/swptLogin" });
} else {
console.log(res.message);
// console.log(res.message);
this.$notify.error({
title: "系统异常",
message: res.msg,
......@@ -3032,8 +3133,8 @@ export default {
},
queryJzdXGAsync(queryString, cb) {
console.log("+++++queryString+++++++")
console.log(queryString)
// console.log("+++++queryString+++++++")
// console.log(queryString)
var restaurants = [];
let params = new FormData();
......@@ -3060,7 +3161,6 @@ export default {
});
this.$router.replace({ path: "/Login/swptLogin" });
} else {
console.log(res.message);
this.$notify.error({
title: "系统异常",
message: res.msg,
......@@ -3076,7 +3176,7 @@ export default {
this.XGformDiolog.jzdDzid = item.id;
},
handleFileSuccess(response, file, fileList) {
console.log(response)
// console.log(response)
if(response.code == 200){
this.zpList.push(response.data);
}else{
......@@ -3087,7 +3187,7 @@ export default {
// 图层图标 鼠标移入
imgAllenter($event) {
// $event.currentTarget.className = 'active';
console.log('1.1');
// console.log('1.1');
this.delFlag = true;
},
// 图层图标 鼠标移出
......@@ -3097,11 +3197,11 @@ export default {
this.delFlag = false;
},
delImg1(item,i) {
console.log(i);
console.log(item);
// console.log(i);
// console.log(item);
this.zpList.splice(i,1)
if(item.ID !== 'New'){
console.log(item.ID);
// console.log(item.ID);
let params = new FormData();
params.id = item.ID;
......@@ -3118,7 +3218,6 @@ export default {
});
this.$router.replace({ path: "/Login/swptLogin" });
} else {
console.log(res.message);
this.$notify.error({
title: "系统异常",
message: res.msg,
......@@ -3138,12 +3237,8 @@ export default {
this.$confirm('是否确认删除照片数据项?')
.then(_ => {
console.log(i);
console.log(item);
this.zpList.splice(i,1)
if(item.ID !== 'New'){
console.log(item.ID);
let params = new FormData();
params.id = item.ID;
post("/xqapi/swzdry/delFile", params).then((res) => {
......@@ -3159,7 +3254,6 @@ export default {
});
this.$router.replace({ path: "/Login/swptLogin" });
} else {
console.log(res.message);
this.$notify.error({
title: "系统异常",
message: res.msg,
......@@ -3209,6 +3303,13 @@ export default {
};
</script>
<style lang="scss" scoped>
.rt-input /deep/ .el-input__inner {
color: rgb(17, 17, 19) !important;
cursor: pointer;
}
</style>
<style lang="scss">
@mixin setPosition() {
position: absolute;
......
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