28022
This commit is contained in:
@@ -28,7 +28,7 @@ export default {
|
||||
|
||||
methods: {
|
||||
toServiceList(item) {
|
||||
this.$linkTo(`./serviceList?id=${item.id}&title=${item.name}&subTitle=${item.desc}`)
|
||||
this.$linkTo(`./list?id=${item.id}&title=${item.name}&subTitle=${item.desc}`)
|
||||
},
|
||||
|
||||
getList() {
|
||||
|
||||
@@ -996,9 +996,11 @@ export default {
|
||||
.then((res) => {
|
||||
if (res.code === 0) {
|
||||
this.$toast('申请成功')
|
||||
uni.reLaunch({
|
||||
url: `./serviceResult?title=${this.info.processName}`,
|
||||
})
|
||||
setTimeout(() => {
|
||||
uni.reLaunch({
|
||||
url: `./result?title=${this.info.processName}`,
|
||||
})
|
||||
}, 600)
|
||||
} else {
|
||||
// this.$hideLoading()
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div class="service">
|
||||
<div class="service-list">
|
||||
<div class="service-item" hover-class="bg-hover" @click="toDetail('./serviceNotice?id=' + item.id)" v-for="(item, index) in list" :key="index">
|
||||
<div class="service-item" hover-class="bg-hover" @click="toDetail('./notice?id=' + item.id)" v-for="(item, index) in list" :key="index">
|
||||
<div class="service-item__wrapper">
|
||||
<h2>{{ item.processName }}</h2>
|
||||
<i class="iconfont"></i>
|
||||
@@ -89,13 +89,13 @@ export default {
|
||||
// },
|
||||
|
||||
toSubmit() {
|
||||
this.$linkTo('./serviceForm?id=' + this.id, 'idNumber')
|
||||
this.$linkTo('./form?id=' + this.id, 'idNumber')
|
||||
},
|
||||
},
|
||||
onShareAppMessage() {
|
||||
return {
|
||||
title: this.title,
|
||||
path: `./serviceNotice?id=${this.id}`,
|
||||
path: `./notice?id=${this.id}`,
|
||||
}
|
||||
},
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div class="service-result">
|
||||
<div class="service-result" v-if="showPage">
|
||||
<image src="/static/img/service-success.png" />
|
||||
<h2>申请成功,等待审批!</h2>
|
||||
<div class="text">
|
||||
@@ -15,12 +15,19 @@
|
||||
export default {
|
||||
appName: '加载中...',
|
||||
data() {
|
||||
return {}
|
||||
return {
|
||||
showPage: false,
|
||||
title: '',
|
||||
}
|
||||
},
|
||||
onshow(query) {
|
||||
onLoad(query) {
|
||||
this.title = query.title
|
||||
uni.setNavigationBarTitle({
|
||||
title: query.title,
|
||||
title: this.title,
|
||||
})
|
||||
if (this.title) {
|
||||
this.showPage = true
|
||||
}
|
||||
},
|
||||
|
||||
methods: {
|
||||
Reference in New Issue
Block a user