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