|
|
@@ -861,7 +861,6 @@
|
|
|
this.infoId = this.serviceId
|
|
|
this.initDatas()
|
|
|
this.auditget()
|
|
|
- this.GetItemsDatas()
|
|
|
this.getDictOptions()
|
|
|
this.getfilelist1()
|
|
|
this.getbusList1()
|
|
|
@@ -890,6 +889,30 @@
|
|
|
this.LinkCityAry.push(this.formData.LinkProvince)
|
|
|
this.LinkCityAry.push(this.formData.LinkCity)
|
|
|
this.LinkCityAry.push(this.formData.LinkStreet)
|
|
|
+ this.GetItemsDatas()
|
|
|
+ })
|
|
|
+ .catch(err => {
|
|
|
+ console.error(err);
|
|
|
+ });
|
|
|
+ }
|
|
|
+ },
|
|
|
+ GetItemsDatas() {
|
|
|
+ if (this.MInfoId) {
|
|
|
+ api.getEntityThen(this.MInfoId, this.$axios)
|
|
|
+ .then(res => {
|
|
|
+ this.InfoData = []
|
|
|
+ this.infochangedata = res.data.items
|
|
|
+ if (this.infochangedata) {
|
|
|
+ for (var i = 0; i < this.infochangedata.length; i++) {
|
|
|
+ if (this.infochangedata[i].SelectItem != "Province" && this.infochangedata[i].SelectItem !=
|
|
|
+ "City" && this.infochangedata[i].SelectItem != "Street" && this.infochangedata[i]
|
|
|
+ .SelectItem != "LinkProvince" && this.infochangedata[i].SelectItem != "LinkCity" && this
|
|
|
+ .infochangedata[i].SelectItem != "LinkStreet") {
|
|
|
+ this.InfoData.push(this.infochangedata[i])
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ console.log("-this.InfoData---",this.InfoData)
|
|
|
})
|
|
|
.catch(err => {
|
|
|
console.error(err);
|
|
|
@@ -1098,17 +1121,6 @@
|
|
|
}
|
|
|
|
|
|
},
|
|
|
- GetItemsDatas() {
|
|
|
- if (this.infoId) {
|
|
|
- api.getEntityThen(this.infoId, this.$axios)
|
|
|
- .then(res => {
|
|
|
- this.infochangedata = res.data.items;
|
|
|
- })
|
|
|
- .catch(err => {
|
|
|
- console.error(err);
|
|
|
- });
|
|
|
- }
|
|
|
- },
|
|
|
getDictOptions() {
|
|
|
let params = {
|
|
|
status: this.formData.Status,
|