Commit b2efa683 by lp784568205

修改了标注的重值功能

parent 978da8ac
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -498,7 +498,7 @@ export default {
} else {
if (this.pageBszfc == "queryAjNM") {
this.$router.pushToTab({
path: "queryAjNM",
path: "ajbzDetailNM",
query: {
asjbh: scope.asjbh,
bzzt: scope.bzzt,
......@@ -506,7 +506,7 @@ export default {
});
} else if (this.pageBs == "queryAjHN") {
this.$router.pushToTab({
path: "ajbzDetailNM",
path: "ajbzDetailHN",
query: {
asjbh: scope.asjbh,
bzzt: scope.bzzt,
......
......@@ -633,9 +633,9 @@
>
<el-option
v-for="item in options"
:key="item.value"
:key="item.id"
:label="item.label"
:value="item.value"
:value="item.id"
>
</el-option>
</el-select>
......@@ -863,75 +863,75 @@ export default {
qqq: "qqq",
otherid: "otherid",
options: [
{
value: "mobile",
label: "手机号",
},
{
value: "personid",
label: "身份证号",
},
{
value: "yhkh",
label: "银行卡号",
},
{
value: "mac",
label: "MAC",
},
{
value: "vin",
label: "车架号",
},
{
value: "qq",
label: "QQ号",
},
{
value: "wx",
label: "微信ID",
},
{
value: "email",
label: "Email地址",
},
{
value: "imsi",
label: "IMSI",
},
{
value: "imei",
label: "IMEI",
},
{
value: "ip",
label: "IP",
},
{
value: "zfb",
label: "支付宝账号",
},
{
value: "carid",
label: "车牌号",
},
{
value: "url",
label: "网址url",
},
{
value: "app",
label: "APP名称",
},
{
value: "qqq",
label: "QQ群",
},
{
value: "otherid",
label: "其他",
},
// {
// value: "mobile",
// label: "手机号",
// },
// {
// value: "personid",
// label: "身份证号",
// },
// {
// value: "yhkh",
// label: "银行卡号",
// },
// {
// value: "mac",
// label: "MAC",
// },
// {
// value: "vin",
// label: "车架号",
// },
// {
// value: "qq",
// label: "QQ号",
// },
// {
// value: "wx",
// label: "微信ID",
// },
// {
// value: "email",
// label: "Email地址",
// },
// {
// value: "imsi",
// label: "IMSI",
// },
// {
// value: "imei",
// label: "IMEI",
// },
// {
// value: "ip",
// label: "IP",
// },
// {
// value: "zfb",
// label: "支付宝账号",
// },
// {
// value: "carid",
// label: "车牌号",
// },
// {
// value: "url",
// label: "网址url",
// },
// {
// value: "app",
// label: "APP名称",
// },
// {
// value: "qqq",
// label: "QQ群",
// },
// {
// value: "otherid",
// label: "其他",
// },
],
options1: [
{
......@@ -980,6 +980,11 @@ export default {
//this.getBz();
this.isCheck = this.$route.query.isCheck;
this.bzzt = this.$route.query.bzzt;
axios.get(`JsonData/CODE_BLHLX.json`).then((response) => {
if (response.success === true) {
this.options = response.data.rows;
}
});
},
methods: {
initAjlbTree() {
......@@ -991,20 +996,15 @@ export default {
this.parentLb.parentId = "";
if (this.ajzlb != null && this.ajzlb != "") {
alert(1);
axios.get(`JsonData/CODE_AJXZ.json`).then((response) => {
if (response.success === true) {
debugger;
this.laData = response.data.rows.filter((val) => {
return val.parentId == `${this.ajzlb}0000`;
});
console.log(this.laData);
this.parentLb.id = this.ajxzlb;
}
});
if (this.ajxzlb != null && this.ajxzlb != "") {
alert(2);
setTimeout(() => {
if (this.$refs.tree3) {
this.$refs.tree3.setCurrentKey(this.ajxzlb);
......@@ -1015,17 +1015,12 @@ export default {
if (response.success === true) {
this.xaData = response.data.rows.filter((val) => {
if (val.id.indexOf(this.ajzlb, 0) == 0) {
console.log(val.id);
return val;
}
});
console.log(this.xaData);
}
});
console.log(this.ajxlb);
if (this.ajxlb != null && this.ajxlb != "") {
alert(3);
setTimeout(() => {
this.$refs.tree2.setCurrentKey(this.ajxlb);
}, 500);
......@@ -1033,15 +1028,12 @@ export default {
}
} else {
// let ajxzId = this.ajzlb + "0000";
alert(22);
axios
.get(`JsonData/CODE_AJXLB.json`)
.then((response) => {
if (response.success === true) {
console.log(respi);
this.xaData = response.data.rows.filter((val) => {
if (val.id.indexOf(this.ajzlb, 0) == 0) {
console.log(val.id);
if (val.parentId.indexOf(this.ajzlb, 0) == 0) {
return val;
}
});
......@@ -1053,7 +1045,6 @@ export default {
});
}
} else {
alert(11);
this.getQuery();
}
console.log(this.parentLb);
......@@ -1266,7 +1257,6 @@ export default {
getAsjxxDetail({
asjbh: this.asjbh,
}).then((res) => {
debugger;
this.ajmc = res.data.rows.ajmc;
this.ajlbdmStr = res.data.rows.ajlbdmStr;
this.ajxzlbStr = res.data.rows.ajxzlbStr;
......@@ -1275,7 +1265,6 @@ export default {
this.ajzlb = res.data.rows.ajzlb;
this.ajxzlb = res.data.rows.ajxzlb;
this.zatzjyqk = res.data.rows.zatzjyqk;
debugger;
this.ajxlb = res.data.rows.ajxlb;
this.asjfssjKssjStr = res.data.rows.asjfssjKssjStr;
......@@ -1441,8 +1430,11 @@ export default {
});
axios.get(`JsonData/CODE_AJXLB.json`).then((response) => {
if (response.success === true) {
console.log(response.data.rows);
this.laData = response.data.rows;
this.xaData = response.data.rows.filter((val) => {
if (val.id.indexOf(this.ajzlb, 0) == 0) {
return val;
}
});;
}
});
},
......
......@@ -1001,7 +1001,6 @@ export default {
this.laData = response.data.rows.filter((val) => {
return val.parentId == `${this.ajzlb}0000`;
});
console.log(this.laData);
this.parentLb.id = this.ajxzlb;
}
});
......@@ -1016,14 +1015,11 @@ export default {
if (response.success === true) {
this.xaData = response.data.rows.filter((val) => {
if (val.id.indexOf(this.ajzlb, 0) == 0) {
console.log(val.id);
return val;
}
});
console.log(this.xaData);
}
});
console.log(this.ajxlb);
if (this.ajxlb != null && this.ajxlb != "") {
setTimeout(() => {
this.$refs.tree2.setCurrentKey(this.ajxlb);
......@@ -1036,14 +1032,11 @@ export default {
.get(`JsonData/CODE_AJXLB.json`)
.then((response) => {
if (response.success === true) {
console.log(response);
this.xaData = response.data.rows.filter((val) => {
if (val.parentId.indexOf(this.ajzlb, 0) == 0) {
console.log(val.id);
return val;
}
});
console.log(this.xaData);
}
})
.catch((err) => {
......@@ -1437,8 +1430,11 @@ export default {
});
axios.get(`JsonData/CODE_AJXLB.json`).then((response) => {
if (response.success === true) {
console.log(response.data.rows);
this.laData = response.data.rows;
this.xaData = response.data.rows.filter((val) => {
if (val.id.indexOf(this.ajzlb, 0) == 0) {
return val;
}
});;
}
});
},
......
......@@ -70,7 +70,7 @@ export default {
{
name: "立案单位",
id: "Ladw_gajgjgdms",
type: "CodeTreeDialog",
type: "codeTreeDialog",
props: [], //字典弹框需要的字段
value: "",
col: "3",
......
......@@ -70,7 +70,7 @@ export default {
{
name: "立案单位",
id: "Ladw_gajgjgdms",
type: "CodeTreeDialog",
type: "codeTreeDialog",
props: [], //字典弹框需要的字段
value: "",
col: "3",
......
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