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
97ac255b
Commit
97ac255b
authored
Apr 16, 2022
by
DESKTOP-KM66R2T\Administrator
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加其他症状
parent
b37eab16
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
33 additions
and
7 deletions
+33
-7
src/components/index.vue
+2
-1
src/components/page5.vue
+28
-3
vue.config.js
+3
-3
No files found.
src/components/index.vue
View file @
97ac255b
...
@@ -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-04-1
3 10:15:14
* @LastEditTime: 2022-04-1
6 15:28:22
* @Description:
* @Description:
-->
-->
<
template
>
<
template
>
...
@@ -177,6 +177,7 @@ export default {
...
@@ -177,6 +177,7 @@ export default {
"normalDate"
,
//未发生异常时间
"normalDate"
,
//未发生异常时间
"inHospitalDate"
,
//120转运时间
"inHospitalDate"
,
//120转运时间
"beforeIsolationPoint"
,
"beforeIsolationPoint"
,
"otherSymptom"
,
//其他症状
"symptom"
,
//患者症状
"symptom"
,
//患者症状
"covidVaccine"
,
//接种针数
"covidVaccine"
,
//接种针数
"vaccineType"
,
//疫苗公司
"vaccineType"
,
//疫苗公司
...
...
src/components/page5.vue
View file @
97ac255b
...
@@ -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-04-1
3 10:47:47
* @LastEditTime: 2022-04-1
6 15:27:49
* @Description:
* @Description:
-->
-->
<
template
>
<
template
>
...
@@ -192,7 +192,10 @@
...
@@ -192,7 +192,10 @@
() =>
{
() =>
{
if (HasSymptom == '否') {
if (HasSymptom == '否') {
symptom = [];
symptom = [];
otherSymptom='';
setValue('symptom', '');
setValue('symptom', '');
setValue('otherSymptom', '');
}
}
setLocalStorge('HasSymptom');
setLocalStorge('HasSymptom');
}
}
...
@@ -242,8 +245,28 @@
...
@@ -242,8 +245,28 @@
</template>
</template>
</van-field>
</van-field>
<!-- {{ symptom }} -->
<!-- -->
<van-field
colon
v-if=
"symptom.includes('其他')"
clearable
autosize
type=
"textarea"
v-model=
"otherSymptom"
name=
"otherSymptom"
label=
"其他症状"
placeholder=
"其他症状"
:rules=
"[
{
required: symptom.includes('其他') ? true : false,
message: '请填写其他症状',
},
]"
@
blur=
"setLocalStorge('otherSymptom')"
></van-field>
<van-field
<van-field
colon
colon
...
@@ -389,6 +412,7 @@ export default {
...
@@ -389,6 +412,7 @@ export default {
HasSymptom
:
"否"
,
//有无症状
HasSymptom
:
"否"
,
//有无症状
symptom
:
[],
//患者症状
symptom
:
[],
//患者症状
otherSymptom
:
''
,
//其他症状
HasCOVIDVaccine
:
"是"
,
HasCOVIDVaccine
:
"是"
,
covidVaccine
:
""
,
//接种针数
covidVaccine
:
""
,
//接种针数
vaccineType
:
""
,
//疫苗公司
vaccineType
:
""
,
//疫苗公司
...
@@ -438,6 +462,7 @@ export default {
...
@@ -438,6 +462,7 @@ export default {
"unusualDate"
,
//核酸检测异常时间
"unusualDate"
,
//核酸检测异常时间
"normalDate"
,
//未发生异常时间
"normalDate"
,
//未发生异常时间
"inHospitalDate"
,
//120转运时间
"inHospitalDate"
,
//120转运时间
"otherSymptom"
,
//其他症状
"beforeIsolationPoint"
,
//之前隔离点
"beforeIsolationPoint"
,
//之前隔离点
"HasSymptom"
,
//有无症状
"HasSymptom"
,
//有无症状
...
...
vue.config.js
View file @
97ac255b
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: ninglupeng
* @Author: ninglupeng
* @Date: 2022-03-17 15:06:50
* @Date: 2022-03-17 15:06:50
* @LastEditors: wsq
* @LastEditors: wsq
* @LastEditTime: 2022-04-1
3 09:46:59
* @LastEditTime: 2022-04-1
6 15:29:13
* @Description:
* @Description:
*/
*/
const
path
=
require
(
'path'
);
const
path
=
require
(
'path'
);
...
@@ -62,8 +62,8 @@ module.exports = {
...
@@ -62,8 +62,8 @@ module.exports = {
'/api'
:
{
'/api'
:
{
//target: 'http://192.168.18.166:8048',
//target: 'http://192.168.18.166:8048',
target
:
'http://flowtone3.suvalue.com'
,
target
:
'http://flowtone3.suvalue.com'
,
//方舱
// target: 'http://flowtone.suvalue.com/',
// target: 'http://flowtone.suvalue.com/',
//正式
ws
:
true
,
//如果要代理 websockets,配置这个参数
ws
:
true
,
//如果要代理 websockets,配置这个参数
// secure: false, // 如果是https接口,需要配置这个参数
// secure: false, // 如果是https接口,需要配置这个参数
changeOrigin
:
true
,
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