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
ebd0924d
Commit
ebd0924d
authored
Mar 22, 2022
by
nlp97
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1、增加 身高 体重 输入
2、 取消入院号填写
parent
72697710
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
59 additions
and
23 deletions
+59
-23
README.md
+3
-7
src/components/index.vue
+4
-2
src/components/page3.vue
+5
-5
src/components/page4.vue
+42
-6
src/store/modules/user.js
+1
-1
vue.config.js
+4
-2
No files found.
README.md
View file @
ebd0924d
#四川省医移动端
17 服务器 : C:
\w
wwroot
\m
ultiproj.suvalue.com
166 8019
\\
192.168.18.166
\w
wwroot
\m
ulti-project-manage
\t
estmultiproj.suvalue.com
\m
obile
166
\\
192.168.18.166
\w
wwroot
\t
estmultiproj.suvalue.com
\m
obile
#测试 地址
http://192.168.18.166:8048/api/swagger/index.html
\\
192.168.18.166
\w
wwroot
\t
estflowtone.suvalue.com
src/components/index.vue
View file @
ebd0924d
...
...
@@ -2,7 +2,7 @@
* @Author: ninglupeng
* @Date: 2020-11-24 16:18:58
* @LastEditors: ninglupeng
* @LastEditTime: 2022-03-22 1
2:45:0
1
* @LastEditTime: 2022-03-22 1
6:38:4
1
* @Description:
-->
<
template
>
...
...
@@ -100,7 +100,7 @@ export default {
if
(
this
.
page
==
3
)
{
this
.
$refs
.
vantform
.
validate
([
"inpatientNumber"
,
//
"inpatientNumber",
"agreementFloor"
,
"bedNumber"
,
"agreementSign"
,
...
...
@@ -136,6 +136,8 @@ export default {
.
validate
([
"patientName"
,
//患者姓名
"age"
,
//年龄
"height"
,
//身高
"weight"
,
//体重
"birthday"
,
//出生日期
"gestationalWeeks"
,
//怀孕周期
"occupation"
,
//职业
...
...
src/components/page3.vue
View file @
ebd0924d
...
...
@@ -2,7 +2,7 @@
* @Author: ninglupeng
* @Date: 2020-11-24 16:18:58
* @LastEditors: ninglupeng
* @LastEditTime: 2022-03-2
1 14:32:44
* @LastEditTime: 2022-03-2
2 16:38:15
* @Description:
-->
<
template
>
...
...
@@ -37,7 +37,7 @@
</
template
>
</van-field>
<van-field
<
!-- <
van-field
colon
clearable
v-model="inpatientNumber"
...
...
@@ -46,7 +46,7 @@
placeholder="住院号"
:rules="[{ required: true, message: '请填写住院号' }]"
@blur="setLocalStorge('inpatientNumber')"
></van-field>
></van-field>
-->
<van-field
colon
...
...
@@ -146,7 +146,7 @@ export default {
data
()
{
return
{
AgreementMode
:
"向贵院出具授权委托书指定代理人"
,
inpatientNumber
:
""
,
//入院号
//
inpatientNumber: "", //入院号
agreementFloor
:
""
,
//楼层
bedNumber
:
""
,
//床号
agreementSign
:
""
,
// 患者签字
...
...
@@ -166,7 +166,7 @@ export default {
setLastValue
()
{
let
arr
=
[
"AgreementMode"
,
"inpatientNumber"
,
//入院号
//
"inpatientNumber", //入院号
"agreementFloor"
,
//楼层
"bedNumber"
,
//床号
"agreementSign"
,
// 患者签字
...
...
src/components/page4.vue
View file @
ebd0924d
...
...
@@ -2,7 +2,7 @@
* @Author: ninglupeng
* @Date: 2020-11-24 16:18:58
* @LastEditors: ninglupeng
* @LastEditTime: 2022-03-2
1 16:20:00
* @LastEditTime: 2022-03-2
2 16:21:54
* @Description:
-->
<
template
>
...
...
@@ -76,8 +76,8 @@
if (gender == '男') {
isConceive = '未孕';
gestationalWeeks = '';
setValue('isConceive','未孕');
setValue('gestationalWeeks','');
setValue('isConceive',
'未孕');
setValue('gestationalWeeks',
'');
}
}
"
...
...
@@ -90,6 +90,38 @@
</
template
>
</van-field>
<van-field
colon
clearable
v-model=
"height"
name=
"height"
label=
"身高"
placeholder=
"身高"
type=
"digit"
@
blur=
"setLocalStorge('height')"
:rules=
"[{ required: true, message: '请填写身高' }]"
>
<
template
#
extra
>
CM
</
template
>
</van-field>
<van-field
colon
clearable
v-model=
"weight"
name=
"weight"
label=
"体重"
placeholder=
"体重"
type=
"number"
@
blur=
"setLocalStorge('weight')"
:rules=
"[{ required: true, message: '请填写体重' }]"
>
<
template
#
extra
>
KG
</
template
>
</van-field>
<van-field
colon
clearable
name=
"maritalStatus"
label=
"婚姻状况"
>
<
template
#
input
>
<van-radio-group
...
...
@@ -211,10 +243,10 @@
type=
"textarea"
v-model=
"address"
name=
"address"
label=
"
详细住址
"
placeholder=
"
详细住址
"
label=
"
现居住地
"
placeholder=
"
现居住地
"
@
blur=
"setLocalStorge('address')"
:rules=
"[{ required: true, message: '请填写
详细住址
' }]"
:rules=
"[{ required: true, message: '请填写
现居住地
' }]"
></van-field>
<!-- 有无商业保险 -->
...
...
@@ -244,6 +276,8 @@ export default {
return
{
patientName
:
""
,
//患者姓名
age
:
""
,
//年龄
height
:
""
,
//身高
weight
:
""
,
gender
:
"男"
,
//性别
maritalStatus
:
"未婚"
,
//婚姻状况
birthday
:
""
,
//出生日期
...
...
@@ -276,6 +310,8 @@ export default {
"patientName"
,
//患者姓名
"age"
,
//年龄
"gender"
,
//性别
"height"
,
//身高
"weight"
,
//体重
"maritalStatus"
,
//婚姻状况
"birthday"
,
//出生日期
"isConceive"
,
//怀孕状况
...
...
src/store/modules/user.js
View file @
ebd0924d
...
...
@@ -2,7 +2,7 @@
* @Author: ninglupeng
* @Date: 2022-03-17 15:06:50
* @LastEditors: ninglupeng
* @LastEditTime: 2022-03-2
1 16:15:57
* @LastEditTime: 2022-03-2
2 16:09:11
* @Description:
*/
import
http
from
'@/http/index'
...
...
vue.config.js
View file @
ebd0924d
...
...
@@ -2,7 +2,7 @@
* @Author: ninglupeng
* @Date: 2022-03-17 15:06:50
* @LastEditors: ninglupeng
* @LastEditTime: 2022-03-
18 21:54:52
* @LastEditTime: 2022-03-
22 16:47:57
* @Description:
*/
const
path
=
require
(
'path'
);
...
...
@@ -60,7 +60,9 @@ module.exports = {
port
:
8032
,
//测试端口
proxy
:
{
'/api'
:
{
target
:
'http://flowtone.suvalue.com/'
,
target
:
'http://192.168.18.166:8048'
,
// target: 'http://flowtone.suvalue.com/',
ws
:
true
,
//如果要代理 websockets,配置这个参数
// secure: false, // 如果是https接口,需要配置这个参数
changeOrigin
:
true
,
...
...
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