Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mallapp
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
viitto
mallapp
Commits
f3e8e7d6
Commit
f3e8e7d6
authored
Oct 25, 2022
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增表单
parent
9648603b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
214 additions
and
94 deletions
+214
-94
activeSignUp.vue
pages/kotra/activeSignUp.vue
+214
-94
No files found.
pages/kotra/activeSignUp.vue
View file @
f3e8e7d6
...
...
@@ -121,16 +121,18 @@
line-height
:
80
rpx
;
border-radius
:
20
rpx
;
}
.activeStar
{
color
:
red
;
margin-right
:
5
rpx
;
font-size
:
23
rpx
;
.activeStar
{
color
:
red
;
margin-right
:
5
rpx
;
font-size
:
23
rpx
;
}
</
style
>
<
template
>
<view
class=
"activeSignUp"
>
<view
class=
"activeTopImg"
>
<image
mode=
"heightFit"
style=
"width:100%;height:100%"
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/signBack.png"
/>
<image
mode=
"heightFit"
style=
"width:100%;height:100%"
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/signBack.png"
/>
</view>
<view
class=
"active_Main"
>
<view
style=
"width:100%;height:35px;"
>
...
...
@@ -146,7 +148,8 @@
<input
class=
"activeSign_Input"
placeholder=
"请输入对应名称"
v-model=
"signMsg.CompanyName"
/>
</view>
<view
class=
"activeMainDiv"
style=
"border-bottom:1px solid #F5F6F7"
>
<view
class=
"activeSignName"
style=
"margin-bottom:30rpx;"
><text
class=
"activeStar"
>
*
</text>
性质(单选)
</view>
<view
class=
"activeSignName"
style=
"margin-bottom:30rpx;"
><text
class=
"activeStar"
>
*
</text>
性质(单选)
</view>
<view
class=
"active_Nature"
>
<text
v-for=
"(item,index) in natureList"
@
click=
"getckedId(item,index)"
:class=
"
{'checkedNature':commonIndex==index}" :key="index">
{{
item
.
Name
}}
</text>
...
...
@@ -157,14 +160,16 @@
<text>
*
</text>
联系人
<text
style=
"font-size:26rpx"
>
(
{{
signMsg
.
FirstShopLinkManList
.
length
}}
)
</text>
</view>
<view
class=
"active_ContractContrent"
v-for=
"(item,index) in signMsg.FirstShopLinkManList"
:key=
"index"
>
<view
class=
"active_ContractContrent"
v-for=
"(item,index) in signMsg.FirstShopLinkManList"
:key=
"index"
>
<view
class=
"active_Conleft"
>
<view
class=
"AContra_Name"
>
{{
item
.
LinkMan
}}
</view>
<view>
<image
mode=
"heightFit"
@
click=
"editSignPerson(item,index)"
style=
"width:32rpx;height:32rpx"
src=
"@/static/images/aedit.png"
>
<image
mode=
"heightFit"
@
click=
"removeSignPerson(index)"
style=
"width:33rpx;height:33rpx;margin-left:40rpx;"
src=
"@/static/images/adel.png"
>
<image
mode=
"heightFit"
@
click=
"editSignPerson(item,index)"
style=
"width:32rpx;height:32rpx"
src=
"@/static/images/aedit.png"
>
<image
mode=
"heightFit"
@
click=
"removeSignPerson(index)"
style=
"width:33rpx;height:33rpx;margin-left:40rpx;"
src=
"@/static/images/adel.png"
>
</view>
</view>
<view
class=
"active_ConRight"
style=
"padding-left:10px;"
>
...
...
@@ -188,6 +193,15 @@
<view
class=
"activeSignName"
><text
class=
"activeStar"
>
*
</text>
姓名
</view>
<input
class=
"activeSign_Input"
v-model=
"pMsg.LinkMan"
placeholder=
"请输入您的姓名"
/>
</view>
<!-- 新增年龄 -->
<view
class=
"activeMainDiv"
>
<view
class=
"activeSignName"
>
年龄
</view>
<input
type=
"number"
class=
"activeSign_Input"
v-model=
"pMsg.Age"
placeholder=
"请输入您的年龄"
/>
</view>
<view
class=
"activeMainDiv"
>
<view
class=
"activeSignName"
>
身份证号码
</view>
<input
type=
"number"
class=
"activeSign_Input"
v-model=
"pMsg.IdCard"
placeholder=
"请输入您的身份证号码"
/>
</view>
<view
class=
"activeMainDiv"
>
<view
class=
"activeSignName"
>
公司职务
</view>
<input
class=
"activeSign_Input"
v-model=
"pMsg.Post"
placeholder=
"请输入您在公司的职务"
/>
...
...
@@ -200,6 +214,78 @@
<view
class=
"activeSignName"
><text
class=
"activeStar"
>
*
</text>
手机号
</view>
<input
class=
"activeSign_Input"
v-model=
"pMsg.LinkTel"
placeholder=
"请输入您的11位手机号码"
/>
</view>
<!-- 新增表单 -->
<view
class=
"activeMainDiv"
>
<view
class=
"activeSignName"
>
是否完成新冠接种
</view>
<u-radio-group
v-model=
"pMsg.IsInoculate"
:size=
"36"
>
<u-radio
shape=
"circle"
:name=
"1"
>
是
</u-radio>
<u-radio
shape=
"circle"
:name=
"0"
>
否
</u-radio>
</u-radio-group>
</view>
<view
class=
"activeMainDiv"
>
<view
class=
"activeSignName"
>
1、活动前21天有港台地区和国外旅居史
</view>
<u-radio-group
v-model=
"pMsg.IsGATLJ"
:size=
"36"
>
<u-radio
shape=
"circle"
:name=
"1"
>
是
</u-radio>
<u-radio
shape=
"circle"
:name=
"0"
>
否
</u-radio>
</u-radio-group>
<!-- <view class="activeSignName" style='margin-top: 20rpx;'>备注</view> -->
<input
class=
"activeSign_Input"
style=
'margin-top: 20rpx;'
v-model=
"pMsg.GATLJRemark"
placeholder=
"备注"
/>
</view>
<view
class=
"activeMainDiv"
>
<view
class=
"activeSignName"
>
2、活动前14天内有境内中高风险地区及所在县(市、区)旅居史。
</view>
<u-radio-group
v-model=
"pMsg.IsZGFX"
:size=
"36"
>
<u-radio
shape=
"circle"
:name=
"1"
>
是
</u-radio>
<u-radio
shape=
"circle"
:name=
"0"
>
否
</u-radio>
</u-radio-group>
<!-- <view class="activeSignName" style='margin-top: 20rpx;'>备注</view> -->
<input
class=
"activeSign_Input"
style=
'margin-top: 20rpx;'
v-model=
"pMsg.ZGFXRemark"
placeholder=
"备注"
/>
</view>
<view
class=
"activeMainDiv"
>
<view
class=
"activeSignName"
>
3、活动前14天有来自新冠肺炎确诊病例、无症状感染者报告社区的发热和/或有呼吸道症状患者接触史。
</view>
<u-radio-group
v-model=
"pMsg.IsQZJC"
:size=
"36"
>
<u-radio
shape=
"circle"
:name=
"1"
>
是
</u-radio>
<u-radio
shape=
"circle"
:name=
"0"
>
否
</u-radio>
</u-radio-group>
<!-- <view class="activeSignName" style='margin-top: 20rpx;'>备注</view> -->
<input
class=
"activeSign_Input"
style=
'margin-top: 20rpx;'
v-model=
"pMsg.QZJCRemark"
placeholder=
"备注"
/>
</view>
<view
class=
"activeMainDiv"
>
<view
class=
"activeSignName"
>
4、活动前14天有居家隔离医学观察人员接触史
</view>
<u-radio-group
v-model=
"pMsg.IsJJGLGX"
:size=
"36"
>
<u-radio
shape=
"circle"
:name=
"1"
>
是
</u-radio>
<u-radio
shape=
"circle"
:name=
"0"
>
否
</u-radio>
</u-radio-group>
<!-- <view class="activeSignName" style='margin-top: 20rpx;'>备注</view> -->
<input
class=
"activeSign_Input"
style=
'margin-top: 20rpx;'
v-model=
"pMsg.JJGLGXRemark"
placeholder=
"备注"
/>
</view>
<view
class=
"activeMainDiv"
>
<view
class=
"activeSignName"
>
5、已治愈出院的确诊病例和已解除集中隔离医学观察的无症状感染者,尚在随访或医学观察期内
</view>
<u-radio-group
v-model=
"pMsg.IsZYCYJCGL"
:size=
"36"
>
<u-radio
shape=
"circle"
:name=
"1"
>
是
</u-radio>
<u-radio
shape=
"circle"
:name=
"0"
>
否
</u-radio>
</u-radio-group>
<!-- <view class="activeSignName" style='margin-top: 20rpx;'>备注</view> -->
<input
class=
"activeSign_Input"
style=
'margin-top: 20rpx;'
v-model=
"pMsg.ZYCYJCGLRemark"
placeholder=
"备注"
/>
</view>
<view
class=
"activeMainDiv"
>
<view
class=
"activeSignName"
>
6、被判定为新冠肺炎病毒感染者(确诊病例或无症状感染者)的密切接触者和密接的密接。
</view>
<u-radio-group
v-model=
"pMsg.IsMJ"
:size=
"36"
>
<u-radio
shape=
"circle"
:name=
"1"
>
是
</u-radio>
<u-radio
shape=
"circle"
:name=
"0"
>
否
</u-radio>
</u-radio-group>
<!-- <view class="activeSignName" style='margin-top: 20rpx;'>备注</view> -->
<input
class=
"activeSign_Input"
style=
'margin-top: 20rpx;'
v-model=
"pMsg.MJRemark"
placeholder=
"备注"
/>
</view>
、
<view
class=
"activeMainDiv"
>
<view
class=
"activeSignName"
>
7、有发热、干咳、乏力、咽痛、嗅(味)觉减退、腹泻等症状,且未排除传染病感染者
</view>
<u-radio-group
v-model=
"pMsg.IsFRGK"
:size=
"36"
>
<u-radio
shape=
"circle"
:name=
"1"
>
是
</u-radio>
<u-radio
shape=
"circle"
:name=
"0"
>
否
</u-radio>
</u-radio-group>
<!-- <view class="activeSignName" style='margin-top: 20rpx;'>备注</view> -->
<input
class=
"activeSign_Input"
style=
'margin-top: 20rpx;'
v-model=
"pMsg.FRGKRemark"
placeholder=
"备注"
/>
</view>
<!-- 新增表单 -->
</view>
<
template
v-if=
"signMsg.FirstShopLinkManList.length==0"
>
<view>
...
...
@@ -212,35 +298,36 @@
<view
class=
"ac_CancelBtn"
@
click=
"isShowAdd=false"
>
取消
</view>
</view>
<view
v-if=
"!isShowAdd"
>
<view
class=
"ac_CancelBtn"
style=
"width:300rpx;margin:auto;color:#F70027;border-color:#F70027"
@
click=
"goOnAdd()"
>
继续添加联系人
</view>
<view
class=
"ac_CancelBtn"
style=
"width:300rpx;margin:auto;color:#F70027;border-color:#F70027"
@
click=
"goOnAdd()"
>
继续添加联系人
</view>
</view>
</
template
>
<view
style=
"font-size: 16px;margin-top: 52rpx;font-weight: 600;"
>
2021中国(成都)首店经济发展大会疫情防控提醒
</view>
<view
style=
"font-size: 16px;margin-top: 52rpx;font-weight: 600;"
>
2022中国(成都)首店经济发展大会疫情防控提醒
</view>
<view
style=
"font-size:13px !important;margin-top: 24rpx;"
>
1、
本次大会不接待14天内有国内中高风险地区旅居史人员;
1、
请如实填写,有异常情况的,请及时报告。
</view>
<view
style=
"font-size:13px !important;margin-top: 24rpx;"
>
2、省外参会人员需持72小时以内的核酸检测阴性证明报告;
1、请如实填写,有异常情况的,请及时报告。
</view>
<view
style=
"font-size:13px !important;margin-top: 24rpx;"
>
3、
请佩戴口罩、测温、扫场所码,出示绿码进入会场
。
3、
按照填报当天全国疫情中高风险地区调整情况
。
</view>
<view
style=
"font-size:13px !important;margin-top: 24rpx;"
>
谢谢配合
</view>
<!-- 新增表单 -->
<!-- <view class="active_InTitle" style="margin-top: 40rpx;">
<text class="activeStar">*</text>
流行病学史筛查和症状监测情况表
</view> -->
<!-- 新增表单 -->
</view>
<view>
<view
class=
"ac_upBtn"
style=
"width:90%;margin:25rpx auto"
@
click=
"goSignUp()"
>
提交
</view>
</view>
</view>
<auth
v-if=
"showAuth"
@
changeuserinfo=
"reloadUserinfo"
@
gbAuth=
"gbAuth"
></auth>
<auth
v-if=
"showAuth"
@
changeuserinfo=
"reloadUserinfo"
@
gbAuth=
"gbAuth"
></auth>
</view>
</template>
...
...
@@ -263,16 +350,33 @@
Remark
:
''
,
FirstShopLinkManList
:
[]
},
pMsg
:{
pMsg
:
{
LinkMan
:
''
,
LinkTel
:
''
,
Post
:
''
,
CountryInfo
:
''
CountryInfo
:
''
,
Age
:
null
,
IdCard
:
''
,
IsInoculate
:
null
,
IsGATLJ
:
null
,
GATLJRemark
:
''
,
IsZGFX
:
null
,
ZGFXRemark
:
''
,
IsQZJC
:
null
,
QZJCRemark
:
''
,
IsJJGLGX
:
null
,
JJGLGXRemark
:
''
,
IsZYCYJCGL
:
null
,
ZYCYJCGLRemark
:
''
,
IsMJ
:
null
,
MJRemark
:
''
,
IsFRGK
:
null
,
FRGKRemark
:
''
},
isShowAdd
:
true
,
isEdit
:
false
,
EditIndex
:
-
1
,
showAuth
:
false
,
isShowAdd
:
true
,
isEdit
:
false
,
EditIndex
:
-
1
,
showAuth
:
false
,
u
:
{}
}
},
...
...
@@ -281,11 +385,11 @@
this
.
mc
=
this
.
$uiConfig
.
mainColor
;
this
.
u
=
uni
.
getStorageSync
(
"mall_UserInfo"
);
if
(
!
this
.
u
)
{
this
.
u
=
{
nickName
:
"未登录"
,
avatarUrl
:
""
,
};
this
.
showAuth
=
true
;
this
.
u
=
{
nickName
:
"未登录"
,
avatarUrl
:
""
,
};
this
.
showAuth
=
true
;
}
else
{
this
.
getNatureList
();
}
...
...
@@ -308,12 +412,12 @@
},
methods
:
{
reloadUserinfo
()
{
this
.
u
=
uni
.
getStorageSync
(
"mall_UserInfo"
);
this
.
getNatureList
();
this
.
u
=
uni
.
getStorageSync
(
"mall_UserInfo"
);
this
.
getNatureList
();
},
//关闭登录窗口
gbAuth
()
{
uni
.
navigateBack
()
uni
.
navigateBack
()
},
//获取性质
getNatureList
()
{
...
...
@@ -335,77 +439,93 @@
},
//提交联系人信息
addPerson
()
{
if
(
!
this
.
isEdit
)
{
if
(
this
.
pMsg
.
LinkMan
==
''
)
{
if
(
!
this
.
isEdit
)
{
if
(
this
.
pMsg
.
LinkMan
==
''
)
{
uni
.
showToast
({
title
:
'请输入姓名'
,
icon
:
'none'
title
:
'请输入姓名'
,
icon
:
'none'
})
return
}
if
(
this
.
pMsg
.
LinkTel
==
''
)
{
if
(
this
.
pMsg
.
LinkTel
==
''
)
{
uni
.
showToast
({
title
:
'请输入联系手机号'
,
icon
:
'none'
title
:
'请输入联系手机号'
,
icon
:
'none'
})
return
}
this
.
signMsg
.
FirstShopLinkManList
.
push
(
JSON
.
parse
(
JSON
.
stringify
(
this
.
pMsg
)));
this
.
isShowAdd
=
false
;
}
else
{
this
.
signMsg
.
FirstShopLinkManList
[
this
.
EditIndex
]
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
pMsg
));
if
(
this
.
signMsg
.
FirstShopLinkManList
[
this
.
EditIndex
].
LinkMan
==
''
)
{
this
.
isShowAdd
=
false
;
}
else
{
this
.
signMsg
.
FirstShopLinkManList
[
this
.
EditIndex
]
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
pMsg
));
if
(
this
.
signMsg
.
FirstShopLinkManList
[
this
.
EditIndex
].
LinkMan
==
''
)
{
uni
.
showToast
({
title
:
'请输入姓名'
,
icon
:
'none'
title
:
'请输入姓名'
,
icon
:
'none'
})
return
}
if
(
this
.
signMsg
.
FirstShopLinkManList
[
this
.
EditIndex
].
LinkTel
==
''
)
{
if
(
this
.
signMsg
.
FirstShopLinkManList
[
this
.
EditIndex
].
LinkTel
==
''
)
{
uni
.
showToast
({
title
:
'请输入联系手机号'
,
icon
:
'none'
title
:
'请输入联系手机号'
,
icon
:
'none'
})
return
}
this
.
isShowAdd
=
false
;
this
.
isShowAdd
=
false
;
}
},
//继续添加联系人
goOnAdd
(){
this
.
isShowAdd
=
true
;
this
.
isEdit
=
false
;
goOnAdd
()
{
this
.
isShowAdd
=
true
;
this
.
isEdit
=
false
;
this
.
clearInput
();
},
//清空方法
clearInput
(){
this
.
pMsg
.
LinkMan
=
''
;
this
.
pMsg
.
LinkTel
=
''
;
this
.
pMsg
.
Post
=
''
;
this
.
pMsg
.
CountryInfo
=
''
;
clearInput
()
{
this
.
pMsg
.
LinkMan
=
''
;
this
.
pMsg
.
LinkTel
=
''
;
this
.
pMsg
.
Post
=
''
;
this
.
pMsg
.
CountryInfo
=
''
;
this
.
pMsg
.
Age
=
''
this
.
pMsg
.
IdCard
=
''
,
this
.
pMsg
.
IsInoculate
=
null
,
this
.
pMsg
.
IsGATLJ
=
null
,
this
.
pMsg
.
GATLJRemark
=
''
,
this
.
pMsg
.
IsZGFX
=
null
,
this
.
pMsg
.
ZGFXRemark
=
''
,
this
.
pMsg
.
IsQZJC
=
null
,
this
.
pMsg
.
QZJCRemark
=
''
,
this
.
pMsg
.
IsJJGLGX
=
null
,
this
.
pMsg
.
JJGLGXRemark
=
''
,
this
.
pMsg
.
IsZYCYJCGL
=
null
,
this
.
pMsg
.
ZYCYJCGLRemark
=
''
,
this
.
pMsg
.
IsMJ
=
null
,
this
.
pMsg
.
MJRemark
=
''
,
this
.
pMsg
.
IsFRGK
=
null
,
this
.
pMsg
.
FRGKRemark
=
''
},
//删除联系人
removeSignPerson
(
index
){
let
that
=
this
removeSignPerson
(
index
)
{
let
that
=
this
uni
.
showModal
({
title
:
"提示"
,
content
:
"确认删除?"
,
success
:
function
(
res
)
{
if
(
res
.
confirm
)
{
that
.
signMsg
.
FirstShopLinkManList
.
splice
(
index
,
1
);
that
.
clearInput
();
that
.
isShowAdd
=
true
;
that
.
isEdit
=
false
;
}
else
if
(
res
.
cancel
)
{
}
},
title
:
"提示"
,
content
:
"确认删除?"
,
success
:
function
(
res
)
{
if
(
res
.
confirm
)
{
that
.
signMsg
.
FirstShopLinkManList
.
splice
(
index
,
1
);
that
.
clearInput
();
that
.
isShowAdd
=
true
;
that
.
isEdit
=
false
;
}
else
if
(
res
.
cancel
)
{}
},
});
},
//编辑联系人
editSignPerson
(
item
,
index
)
{
this
.
isShowAdd
=
true
;
this
.
isEdit
=
true
;
editSignPerson
(
item
,
index
)
{
this
.
isShowAdd
=
true
;
this
.
isEdit
=
true
;
this
.
EditIndex
=
index
;
this
.
pMsg
.
LinkMan
=
item
.
LinkMan
;
this
.
pMsg
.
LinkTel
=
item
.
LinkTel
;
...
...
@@ -414,24 +534,24 @@
},
//立即报名
goSignUp
()
{
if
(
this
.
signMsg
.
CompanyName
==
''
)
{
if
(
this
.
signMsg
.
CompanyName
==
''
)
{
uni
.
showToast
({
title
:
'请输入单位/企业/机构名称'
,
icon
:
'none'
title
:
'请输入单位/企业/机构名称'
,
icon
:
'none'
})
return
}
if
(
this
.
signMsg
.
Nature
==
''
)
{
if
(
this
.
signMsg
.
Nature
==
''
)
{
uni
.
showToast
({
title
:
'请选择性质'
,
icon
:
'none'
title
:
'请选择性质'
,
icon
:
'none'
})
return
}
if
(
this
.
signMsg
.
FirstShopLinkManList
.
length
==
0
)
{
if
(
this
.
signMsg
.
FirstShopLinkManList
.
length
==
0
)
{
uni
.
showToast
({
title
:
'请至少提交1个联系人信息'
,
icon
:
'none'
title
:
'请至少提交1个联系人信息'
,
icon
:
'none'
})
return
}
...
...
@@ -442,14 +562,14 @@
(
res
)
=>
{
if
(
res
.
resultCode
==
1
)
{
uni
.
showToast
({
title
:
res
.
message
,
icon
:
'none'
title
:
res
.
message
,
icon
:
'none'
})
setTimeout
(()
=>
{
setTimeout
(()
=>
{
uni
.
redirectTo
({
url
:
"/pages/kotra/signSuccse"
url
:
"/pages/kotra/signSuccse"
})
},
1000
)
},
1000
)
}
}
);
...
...
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