This commit is contained in:
shijingjing
2022-09-27 08:56:51 +08:00
parent f9d1809e26
commit 7622fd8ca2
3 changed files with 7 additions and 7 deletions

View File

@@ -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, {

View File

@@ -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)
}
})

View File

@@ -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>