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