Commit a2a25275 by 王晓强

带出人员标签

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