Browse Source

返乡登记成功页功能

wgl 4 năm trước cách đây
mục cha
commit
c9d8fcc208

+ 5 - 1
src/projects/business/views/Other/Return/Questionnaire.vue

@@ -116,6 +116,8 @@
 				</button>
 			</div>
 		</div>
+
+		<loading :visible="isLoading"></loading>
 	</div>
 </template>
 
@@ -366,7 +368,9 @@
 
 						var _this = this;
 						mui.alert('提交成功', '提示', function() {
-							_this.getInfo();
+							_this.$router.push({
+								name: 'OtherReturnSuccess'
+							});
 						});
 
 					}).catch(error => {

+ 45 - 5
src/projects/business/views/Other/Return/Success.vue

@@ -1,13 +1,53 @@
 <template>
-<div>
-    <div class="von-fx-content">
-		<img src="~$project/assets/img/fx01.jpg" alt="" >
-		<a href=""><img src="~$project/assets/img/fx02.jpg" alt="" ></a>
+	<div>
+		<common @asynCallBack="asynCallBack"></common>
+
+		<div class="von-fx-content">
+			<img src="http://rccs.oss-cn-hangzhou.aliyuncs.com/jp_housekeeper/img/fx01.jpg">
+			<router-link :to="{name:'MasterHealthWorkerReport',query:{from:'return'}}"><img src="~$project/assets/img/fx02.jpg"></router-link>
+		</div>
+
+		<loading :visible="isLoading"></loading>
 	</div>
-</div>
 </template>
 
 <script>
+	import Common from '$project/components/Common.vue'
+	import Loading from '$project/components/Loading.vue'
+	import {
+		mapGetters,
+		mapMutations
+	} from 'vuex'
+	export default {
+		name: 'OtherReturnSuccess',
+		components: {
+			Common,
+			Loading
+		},
+		data() {
+			return {
+				isLoading: false,
+
+				pageTitle: '填报成功',
+			}
+		},
+		created() {},
+		methods: {
+			asynCallBack() {},
+		},
+		mounted() {},
+		destroyed() {},
+		computed: {
+			...mapGetters({
+				openId: 'wx_openid',
+				token: 'token',
+				person_data: 'person_data',
+				person_popedom: 'person_popedom',
+				menu_list: 'menu_list',
+				common_menu_list: 'common_menu_list',
+			})
+		}
+	}
 </script>
 
 <style scoped src="$project/assets/css/xpwyfyy.css"></style>