去除出院沟通页面

parent 97156c2e
......@@ -2,7 +2,7 @@
* @Author: ninglupeng
* @Date: 2020-11-24 16:18:58
* @LastEditors: wsq
* @LastEditTime: 2022-11-04 10:22:55
* @LastEditTime: 2022-11-04 11:27:41
* @Description:
-->
<template>
......@@ -19,10 +19,11 @@
<page4 v-show="page === 4"></page4>
<page5 v-show="page === 5"></page5>
<page6 v-show="page === 6"></page6>
<leaveHospital v-show="page === 7"></leaveHospital>
<!-- <leaveHospital v-show="page === 7"></leaveHospital> -->
<page7 v-show="page === 8"></page7>
<!-- {{ symptom }} -->
<div class="index_form_footer" v-if="page != 1 && page != 2 && page != 8">
<!-- 上一步 -->
<van-button
class="index_form_footer_next"
round
......@@ -33,19 +34,20 @@
@click="back()"
>{{$t('Previousstep')}}</van-button
>
<!-- 下一步 -->
<van-button
class="index_form_footer_next"
round
block
type="info"
native-type="button"
v-if="page != 1 && page != 2 && page != 7 && page != 8"
v-if="page != 1 && page != 2 && page != 6 && page != 8"
@click="next()"
>{{$t('nextstep')}}</van-button
>
<!-- 保存 -->
<van-button
v-if="page == 7"
v-if="page == 6"
class="index_form_footer_next"
round
block
......@@ -242,7 +244,7 @@ export default {
"passivitySmokingYears", //是否被动吸烟年数
])
.then(() => {
this.$store.dispatch("user/setpage", 7);
this.$store.dispatch("user/setpage", 8);
// 验证通过
})
.catch(() => {
......@@ -254,8 +256,8 @@ export default {
submit() {
this.$refs.vantform
.validate([
"leaveSign", //出院签字
"leaveDate", // 签字日期
// "leaveSign", //出院签字
// "leaveDate", // 签字日期
])
.then(() => {
this.$refs.vantform.submit();
......
......@@ -123,7 +123,7 @@ Vue.prototype.$deepCopy = function (data) {
/*---------使用语言包-----------*/
const i18n = new VueI18n({
locale: 'Uygur', // 语言标识
locale: 'zh', // 语言标识
//this.$i18n.locale // 通过切换locale的值来实现语言切换
messages: {
'zh': require('./lang/zh'), // 中文语言包
......
/*
* @Author: ninglupeng
* @Date: 2022-03-17 15:06:50
* @LastEditors: ninglupeng
* @LastEditTime: 2022-11-04 09:46:01
* @LastEditors: wsq
* @LastEditTime: 2022-11-04 11:06:44
* @Description:
*/
import http from '@/http/index'
......@@ -13,7 +13,7 @@ const state = {
token: '',
name: '',
userInfo: {},
page: 6,
page: 1,
}
const mutations = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment