Commit e9872640 by lp784568205

修改了内蒙标注和海南标注

parent c8afe2df
......@@ -911,7 +911,6 @@ export default {
// value: "zfb",
// label: "支付宝账号",
// },
// {
// value: "carid",
// label: "车牌号",
......@@ -1001,6 +1000,14 @@ export default {
this.laData = response.data.rows.filter((val) => {
return val.parentId == `${this.ajzlb}0000`;
});
function compare(id) {
return function (a, b) {
var value1 = a[id];
var value2 = b[id];
return value1 - value2;
};
}
this.laData.sort(compare("id"));
this.parentLb.id = this.ajxzlb;
}
});
......@@ -1112,6 +1119,7 @@ export default {
type: "success",
})
.then(() => {
window.opener.location.reload();
window.close();
})
.catch(() => {
......@@ -1187,6 +1195,7 @@ export default {
array[1];
},
shrHighlight(val) {
if (this.jyaq.indexOf(val) >= 0) {
var array = this.jyaq.split(val);
this.jyaq =
array[0] +
......@@ -1194,6 +1203,9 @@ export default {
val +
"</span>" +
array[1];
} else {
this.$message('简要情况中无该标识号信息')
}
},
ajbzRrturn() {
//this.getBz();
......@@ -1424,7 +1436,7 @@ export default {
axios.get(`JsonData/CODE_AJXZ.json`).then((response) => {
if (response.success === true) {
this.laData = response.data.rows.filter((val) => {
return val.parentId != "";
return val.parentId == `${this.ajzlb}0000`;
});
}
});
......@@ -1434,7 +1446,7 @@ export default {
if (val.id.indexOf(this.ajzlb, 0) == 0) {
return val;
}
});;
});
}
});
},
......@@ -1521,40 +1533,40 @@ export default {
// }
},
zaHandleNodeClick(res) {
this.laData = [];
this.xaData = [];
this.parentLb.id = "";
this.parentLb.childId = "";
this.parentLb.parentId = res.id;
// queryCodeByType({type: 'CODE_AJLB', id: res.id}).then((res) => {
// if (res.rows != null && res.rows.length > 0) {
// this.zaData = res.rows;
// zaHandleNodeClick(res) {
// this.laData = [];
// this.xaData = [];
// this.parentLb.id = "";
// this.parentLb.childId = "";
// this.parentLb.parentId = res.id;
// // queryCodeByType({type: 'CODE_AJLB', id: res.id}).then((res) => {
// // if (res.rows != null && res.rows.length > 0) {
// // this.zaData = res.rows;
// // }
// // }).catch((err) => {
// // console.log(err);
// // this.$message.error("数据加载失败");
// // });
// axios.get(`JsonData/CODE_AJLB.json`).then((response) => {
// if (response.success === true) {
// this.zaData = response.data.rows;
// }
// }).catch((err) => {
// console.log(err);
// this.$message.error("数据加载失败");
// });
axios.get(`JsonData/CODE_AJLB.json`).then((response) => {
if (response.success === true) {
this.zaData = response.data.rows;
}
});
let ajxzId = res.id + "0000";
// queryCodeByType({type: 'CODE_AJXZ', id: ajxzId}).then((res) => {
// if (res.rows != null && res.rows.length > 0) {
// this.laData = res.rows;
// let ajxzId = res.id + "0000";
// // queryCodeByType({type: 'CODE_AJXZ', id: ajxzId}).then((res) => {
// // if (res.rows != null && res.rows.length > 0) {
// // this.laData = res.rows;
// // }
// // }).catch((err) => {
// // console.log(err);
// // this.$message.error("数据加载失败");
// // });
// axios.get(`JsonData/CODE_AJXZ.json`).then((response) => {
// if (response.success === true) {
// this.laData = response.data.rows;
// }
// }).catch((err) => {
// console.log(err);
// this.$message.error("数据加载失败");
// });
axios.get(`JsonData/CODE_AJXZ.json`).then((response) => {
if (response.success === true) {
this.laData = response.data.rows;
}
});
},
// },
xaHandleNodeClick(data) {
this.parentLb.childId = data.id;
axios.get(`JsonData/CODE_AJXZ.json`).then((response) => {
......@@ -1572,28 +1584,20 @@ export default {
this.xaData = [];
this.parentLb.childId = "";
this.parentLb.id = res.id;
// queryCodeByType({type: 'CODE_AJXZ', id: res.id}).then((res) => {
// if (res.rows != null && res.rows.length > 0) {
// this.laData = res.rows;
// }
// }).catch((err) => {
// console.log(err);
// this.$message.error("数据加载失败");
// });
// axios.get(`JsonData/CODE_AJXZ.json`).then((response) => {
// if (response.success === true) {
// this.laData = response.data.rows;
// }
// });
var laDataData = [];
axios.get(`JsonData/CODE_AJXZ.json`).then((response) => {
if (response.success === true) {
response.data.rows.map((item) => {
if (item.parentId == res.id) {
laDataData.push(item);
}
});
if (laDataData.length > 0) {
this.laData = laDataData;
}
}
});
// queryCodeByType({type: 'CODE_AJXLB', id: res.id}).then((res) => {
// if (res.rows != null && res.rows.length > 0) {
// this.xaData = res.rows;
// }
// }).catch((err) => {
// console.log(err);
// this.$message.error("数据加载失败");
// });
axios.get(`JsonData/CODE_AJXLB.json`).then((response) => {
if (response.success === true) {
this.xaData = response.data.rows.filter((val) => {
......
......@@ -911,7 +911,6 @@ export default {
// value: "zfb",
// label: "支付宝账号",
// },
// {
// value: "carid",
// label: "车牌号",
......@@ -1001,6 +1000,14 @@ export default {
this.laData = response.data.rows.filter((val) => {
return val.parentId == `${this.ajzlb}0000`;
});
function compare(id) {
return function (a, b) {
var value1 = a[id];
var value2 = b[id];
return value1 - value2;
};
}
this.laData.sort(compare("id"));
this.parentLb.id = this.ajxzlb;
}
});
......@@ -1112,6 +1119,7 @@ export default {
type: "success",
})
.then(() => {
window.opener.location.reload();
window.close();
})
.catch(() => {
......@@ -1187,6 +1195,7 @@ export default {
array[1];
},
shrHighlight(val) {
if (this.jyaq.indexOf(val) >= 0) {
var array = this.jyaq.split(val);
this.jyaq =
array[0] +
......@@ -1194,6 +1203,9 @@ export default {
val +
"</span>" +
array[1];
} else {
this.$message('简要情况中无该标识号信息')
}
},
ajbzRrturn() {
//this.getBz();
......@@ -1424,7 +1436,7 @@ export default {
axios.get(`JsonData/CODE_AJXZ.json`).then((response) => {
if (response.success === true) {
this.laData = response.data.rows.filter((val) => {
return val.parentId != "";
return val.parentId == `${this.ajzlb}0000`;
});
}
});
......@@ -1434,7 +1446,7 @@ export default {
if (val.id.indexOf(this.ajzlb, 0) == 0) {
return val;
}
});;
});
}
});
},
......@@ -1521,40 +1533,40 @@ export default {
// }
},
zaHandleNodeClick(res) {
this.laData = [];
this.xaData = [];
this.parentLb.id = "";
this.parentLb.childId = "";
this.parentLb.parentId = res.id;
// queryCodeByType({type: 'CODE_AJLB', id: res.id}).then((res) => {
// if (res.rows != null && res.rows.length > 0) {
// this.zaData = res.rows;
// zaHandleNodeClick(res) {
// this.laData = [];
// this.xaData = [];
// this.parentLb.id = "";
// this.parentLb.childId = "";
// this.parentLb.parentId = res.id;
// // queryCodeByType({type: 'CODE_AJLB', id: res.id}).then((res) => {
// // if (res.rows != null && res.rows.length > 0) {
// // this.zaData = res.rows;
// // }
// // }).catch((err) => {
// // console.log(err);
// // this.$message.error("数据加载失败");
// // });
// axios.get(`JsonData/CODE_AJLB.json`).then((response) => {
// if (response.success === true) {
// this.zaData = response.data.rows;
// }
// }).catch((err) => {
// console.log(err);
// this.$message.error("数据加载失败");
// });
axios.get(`JsonData/CODE_AJLB.json`).then((response) => {
if (response.success === true) {
this.zaData = response.data.rows;
}
});
let ajxzId = res.id + "0000";
// queryCodeByType({type: 'CODE_AJXZ', id: ajxzId}).then((res) => {
// if (res.rows != null && res.rows.length > 0) {
// this.laData = res.rows;
// let ajxzId = res.id + "0000";
// // queryCodeByType({type: 'CODE_AJXZ', id: ajxzId}).then((res) => {
// // if (res.rows != null && res.rows.length > 0) {
// // this.laData = res.rows;
// // }
// // }).catch((err) => {
// // console.log(err);
// // this.$message.error("数据加载失败");
// // });
// axios.get(`JsonData/CODE_AJXZ.json`).then((response) => {
// if (response.success === true) {
// this.laData = response.data.rows;
// }
// }).catch((err) => {
// console.log(err);
// this.$message.error("数据加载失败");
// });
axios.get(`JsonData/CODE_AJXZ.json`).then((response) => {
if (response.success === true) {
this.laData = response.data.rows;
}
});
},
// },
xaHandleNodeClick(data) {
this.parentLb.childId = data.id;
axios.get(`JsonData/CODE_AJXZ.json`).then((response) => {
......@@ -1572,28 +1584,20 @@ export default {
this.xaData = [];
this.parentLb.childId = "";
this.parentLb.id = res.id;
// queryCodeByType({type: 'CODE_AJXZ', id: res.id}).then((res) => {
// if (res.rows != null && res.rows.length > 0) {
// this.laData = res.rows;
// }
// }).catch((err) => {
// console.log(err);
// this.$message.error("数据加载失败");
// });
// axios.get(`JsonData/CODE_AJXZ.json`).then((response) => {
// if (response.success === true) {
// this.laData = response.data.rows;
// }
// });
var laDataData = [];
axios.get(`JsonData/CODE_AJXZ.json`).then((response) => {
if (response.success === true) {
response.data.rows.map((item) => {
if (item.parentId == res.id) {
laDataData.push(item);
}
});
if (laDataData.length > 0) {
this.laData = laDataData;
}
}
});
// queryCodeByType({type: 'CODE_AJXLB', id: res.id}).then((res) => {
// if (res.rows != null && res.rows.length > 0) {
// this.xaData = res.rows;
// }
// }).catch((err) => {
// console.log(err);
// this.$message.error("数据加载失败");
// });
axios.get(`JsonData/CODE_AJXLB.json`).then((response) => {
if (response.success === true) {
this.xaData = response.data.rows.filter((val) => {
......
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