bug
This commit is contained in:
@@ -9,7 +9,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="home-list">
|
<div class="home-list">
|
||||||
<div class="item" hover-class="bg-hover" @click="$linkTo(`./DetailGetway?id=${item.id}`)"
|
<div class="item" hover-class="bg-hover" @click="$linkTo(`./getewayDetail?id=${item.id}`)"
|
||||||
v-for="(item, index) in list" :key="index">
|
v-for="(item, index) in list" :key="index">
|
||||||
<div class="item-top">
|
<div class="item-top">
|
||||||
<h2>{{ item.name }}</h2>
|
<h2>{{ item.name }}</h2>
|
||||||
@@ -74,7 +74,7 @@ export default {
|
|||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
toReport() {
|
toReport() {
|
||||||
this.$linkTo('./AddGetway')
|
this.$linkTo('./getewayAdd')
|
||||||
},
|
},
|
||||||
getList() {
|
getList() {
|
||||||
this.$instance.post(`/app/appepidemicpreventionregisterinfo/list`, null, {
|
this.$instance.post(`/app/appepidemicpreventionregisterinfo/list`, null, {
|
||||||
|
|||||||
@@ -380,10 +380,10 @@ export default {
|
|||||||
|
|
||||||
|
|
||||||
onLoad(o) {
|
onLoad(o) {
|
||||||
if(o) {
|
if(o.length) {
|
||||||
this.form.id = o?.id;
|
this.form.id = o?.id
|
||||||
this.form.gatewayId = o?.gatewayId
|
|
||||||
this.getInfo(o.id)
|
this.getInfo(o.id)
|
||||||
|
this.form.gatewayId = decodeURIComponent(o.scene) || ''
|
||||||
}
|
}
|
||||||
this.$areaId = this.user.$areaId
|
this.$areaId = this.user.$areaId
|
||||||
this.travelTypeDict = this.$dict.getDict('EP_travelType')
|
this.travelTypeDict = this.$dict.getDict('EP_travelType')
|
||||||
@@ -596,7 +596,7 @@ export default {
|
|||||||
uni.$emit('update')
|
uni.$emit('update')
|
||||||
this.$toast('提交成功')
|
this.$toast('提交成功')
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
uni.reLaunch({url:'./AppgetewayRegister'})
|
uni.reLaunch({url:'./AppGetewayRegister'})
|
||||||
}, 400)
|
}, 400)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -186,7 +186,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="btn-wrapper" v-if="info.handleType == 0">
|
<div class="btn-wrapper" v-if="info.handleType == 0">
|
||||||
<div class="btn" @click="$linkTo(`./AddGetway?id=${info.id}`)" hover-class="text-hover">编辑</div>
|
<div class="btn" @click="$linkTo(`./getewayAdd?id=${info.id}`)" hover-class="text-hover">编辑</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
Reference in New Issue
Block a user