修复网格选择
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
<AiTopFixed v-if="isAdmin">
|
<AiTopFixed v-if="isAdmin">
|
||||||
<div class="pad-t32"></div>
|
<div class="pad-t32"></div>
|
||||||
<div class="select-gird">
|
<div class="select-gird">
|
||||||
<AiPagePicker type="custom" @select="confirmSelect"
|
<AiPagePicker type="custom" @select="confirmSelect" v-model="girdId"
|
||||||
:ops="{url:'../AppGridManagement/SelectGird',label: 'girdName'}">
|
:ops="{url:'../AppGridManagement/SelectGird',label: 'girdName'}">
|
||||||
<div flex class="center">
|
<div flex class="center">
|
||||||
<img src="./components/img/gird-icon.png" alt="" class="gird-icon">
|
<img src="./components/img/gird-icon.png" alt="" class="gird-icon">
|
||||||
@@ -123,8 +123,7 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
...mapActions(['injectJWeixin', 'wxInvoke']),
|
...mapActions(['injectJWeixin', 'wxInvoke']),
|
||||||
confirmSelect(v) {
|
confirmSelect(v) {
|
||||||
this.girdId = v?.[0].id
|
this.girdName = v?.girdName
|
||||||
this.girdName = v?.[0].girdName
|
|
||||||
this.getListInit()
|
this.getListInit()
|
||||||
this.getTotal()
|
this.getTotal()
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -168,7 +168,7 @@ export default {
|
|||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
handleSelectGrid(v) {
|
handleSelectGrid(v) {
|
||||||
this.form.girdName = v?.[0]?.girdName || ""
|
this.form.girdName = v?.girdName || ""
|
||||||
},
|
},
|
||||||
chooseAddress() {
|
chooseAddress() {
|
||||||
uni.chooseLocation({
|
uni.chooseLocation({
|
||||||
|
|||||||
@@ -435,7 +435,7 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
handleSelectGrid(v) {
|
handleSelectGrid(v) {
|
||||||
this.form.girdName = v?.[0]?.girdName || ""
|
this.form.girdName = v?.girdName || ""
|
||||||
},
|
},
|
||||||
|
|
||||||
submit() {
|
submit() {
|
||||||
|
|||||||
Reference in New Issue
Block a user