Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
ShanghaiGongwei
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
宁路鹏
ShanghaiGongwei
Commits
24df1e15
Commit
24df1e15
authored
Nov 04, 2022
by
DESKTOP-KM66R2T\Administrator
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去除出院沟通页面
parent
97156c2e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
12 deletions
+14
-12
src/components/index.vue
+10
-8
src/main.js
+1
-1
src/store/modules/user.js
+3
-3
No files found.
src/components/index.vue
View file @
24df1e15
...
...
@@ -2,7 +2,7 @@
* @Author: ninglupeng
* @Date: 2020-11-24 16:18:58
* @LastEditors: wsq
* @LastEditTime: 2022-11-04 1
0:22:55
* @LastEditTime: 2022-11-04 1
1: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
();
...
...
src/main.js
View file @
24df1e15
...
...
@@ -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'
),
// 中文语言包
...
...
src/store/modules/user.js
View file @
24df1e15
/*
* @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
=
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment