去除出院沟通页面

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