commit
This commit is contained in:
@@ -329,7 +329,7 @@ layout("/layouts/platform.html"){
|
||||
},
|
||||
unionChange(val) {
|
||||
this.pageForm.unitId = null
|
||||
getUnits(val).then((res) => {
|
||||
this.$businessTool.listUnit(val).then((res) => {
|
||||
this.unitOptions = res
|
||||
this.doSearch()
|
||||
})
|
||||
@@ -372,9 +372,9 @@ layout("/layouts/platform.html"){
|
||||
}
|
||||
},
|
||||
created() {
|
||||
getUnions(null).then((res) => {
|
||||
this.$businessTool.listUnion().then((res) => {
|
||||
this.unionOptions = res
|
||||
return getUnits(null)
|
||||
return this.$businessTool.listUnit()
|
||||
}).then((res) => {
|
||||
this.unitOptions = res
|
||||
this.getCascadersActivity()
|
||||
|
||||
@@ -353,7 +353,7 @@ layout("/layouts/platform.html"){
|
||||
},
|
||||
unionChange(val) {
|
||||
this.pageForm.unitId = null
|
||||
getUnits(val).then((res) => {
|
||||
this.$businessTool.listUnit(val).then((res) => {
|
||||
this.unitOptions = res
|
||||
this.doSearch()
|
||||
})
|
||||
@@ -388,9 +388,9 @@ layout("/layouts/platform.html"){
|
||||
},
|
||||
},
|
||||
created() {
|
||||
getUnions(null).then((res) => {
|
||||
this.$businessTool.listUnion().then((res) => {
|
||||
this.unionOptions = res
|
||||
return getUnits(null)
|
||||
return this.$businessTool.listUnit()
|
||||
}).then((res) => {
|
||||
this.unitOptions = res
|
||||
this.getCascadersActivity()
|
||||
|
||||
@@ -174,7 +174,7 @@ layout("/layouts/platform.html"){
|
||||
},
|
||||
unionChange(val) {
|
||||
this.pageForm.unitId = null
|
||||
getUnits(val).then((res) => {
|
||||
this.$businessTool.listUnit(val).then((res) => {
|
||||
this.unitOptions = res
|
||||
this.doSearch()
|
||||
})
|
||||
@@ -192,9 +192,9 @@ layout("/layouts/platform.html"){
|
||||
}
|
||||
},
|
||||
created() {
|
||||
getUnions(null).then((res) => {
|
||||
this.$businessTool.listUnion().then((res) => {
|
||||
this.unionOptions = res
|
||||
return getUnits(null)
|
||||
return this.$businessTool.listUnit()
|
||||
}).then((res) => {
|
||||
this.unitOptions = res
|
||||
this.getCascadersActivity()
|
||||
|
||||
@@ -171,7 +171,7 @@ layout("/layouts/platform.html"){
|
||||
},
|
||||
unionChange(val) {
|
||||
this.pageForm.unitId = null
|
||||
getUnits(val).then((res) => {
|
||||
this.$businessTool.listUnit(val).then((res) => {
|
||||
this.unitOptions = res
|
||||
this.doSearch()
|
||||
})
|
||||
@@ -216,9 +216,9 @@ layout("/layouts/platform.html"){
|
||||
}
|
||||
},
|
||||
created() {
|
||||
getUnions(null).then((res) => {
|
||||
this.$businessTool.listUnion().then((res) => {
|
||||
this.unionOptions = res
|
||||
return getUnits(null)
|
||||
return this.$businessTool.listUnit()
|
||||
}).then((res) => {
|
||||
this.unitOptions = res
|
||||
this.getCascadersActivity()
|
||||
|
||||
@@ -193,7 +193,7 @@ layout("/layouts/platform.html"){
|
||||
},
|
||||
unionChange(val) {
|
||||
this.pageForm.unitId = null
|
||||
getUnits(val).then((res) => {
|
||||
this.$businessTool.listUnit(val).then((res) => {
|
||||
this.unitOptions = res
|
||||
this.doSearch()
|
||||
})
|
||||
@@ -235,9 +235,9 @@ layout("/layouts/platform.html"){
|
||||
},
|
||||
},
|
||||
created() {
|
||||
getUnions(null).then((res) => {
|
||||
this.$businessTool.listUnion().then((res) => {
|
||||
this.unionOptions = res
|
||||
return getUnits(null)
|
||||
return this.$businessTool.listUnit()
|
||||
}).then((res) => {
|
||||
this.unitOptions = res
|
||||
this.getCascadersActivity()
|
||||
|
||||
+1
-1
@@ -285,7 +285,7 @@ layout("/layouts/platform.html"){
|
||||
}
|
||||
},
|
||||
created() {
|
||||
getUnions(null).then(res => {
|
||||
this.$businessTool.listUnion().then(res => {
|
||||
this.$set(this, 'unionOptions', res || [])
|
||||
this.getCascadersActivity()
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user