Commit c339f257 by sunchao

申请加盟

parent bc02e096
<template> <template>
<view class="container"> <view class="container">
<view class="title">
<view>
<text class="line"></text>
基本资料
</view>
<text class="page_mark"> 1/8</text>
</view>
<view class="content">
<view class="contentDetail employ">
<view class="contentItem">
<text>邀请码</text>
<input type="text" class="form-control" />
</view>
<view class="contentItem">
<text>申请身份</text>
<input type="text" class="form-control"/>
</view>
<view class="contentItem">
<text>所属组织</text>
<input type="text" class="form-control" />
</view>
<view class="contentItem">
<text>姓名</text>
<input type="text" class="form-control" />
</view>
<view class="contentItem">
<text>证件类型</text>
<input type="text" class="form-control" />
</view>
<view class="contentItem">
<text>证件号码</text>
<view>
<input type="text" class="form-control" />
</view>
</view>
<view class="contentItem">
<text>出生日期</text>
<view><input type="text" class="form-control" /></view>
</view>
<view class="contentItem">
<text>居住地址</text>
<view><input type="text" class="form-control" /></view>
</view>
</view>
</view>
<footer class="fixed">
保存并下一步
</footer>
</view> </view>
</template> </template>
...@@ -21,5 +68,29 @@ ...@@ -21,5 +68,29 @@
} }
</script> </script>
<style> <style lang="scss">
.container {
font-size: 36rpx;
background: #fff;
min-height: 100%;
.title{
padding: 20rpx 30rpx 0 30rpx;
display: flex;
justify-content: space-between;
font-weight: bold;
align-items: center;
font-size: 36rpx;
view {
display: flex;
align-items: center;
.line{
width: 10rpx;
height: 36rpx;
display: inline-block;
background: #FA882F;
margin-right: 10rpx;
}
}
}
}
</style> </style>
\ No newline at end of file
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
<text>姓名:</text><input class="uni-input" type="text" placeholder="请输入姓名" v-model="userName"/> <text>姓名:</text><input class="uni-input" type="text" placeholder="请输入姓名" v-model="userName"/>
</view> </view>
<view class="others_item"> <view class="others_item">
<text>认证编号:</text><input class="uni-input" type="text" placeholder="请输证书编号" v-model="cerCode"/> <text>认证编号:</text><input class="uni-input" type="text" placeholder="请输证书编号" v-model="authenticationCode"/>
</view> </view>
</view> </view>
<view class="search_btn" @click="confirmSearch()"> <view class="search_btn" @click="confirmSearch()">
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
{name:'他人认证查询',id:2,des:'帮助用人单位鉴别证书是否真实有效'} {name:'他人认证查询',id:2,des:'帮助用人单位鉴别证书是否真实有效'}
], ],
userName:null, userName:null,
cerCode:null, authenticationCode:null,
queryType:null queryType:null
} }
}, },
...@@ -67,7 +67,7 @@ ...@@ -67,7 +67,7 @@
}) })
return; return;
} }
if(!this.cerCode){ if(!this.authenticationCode){
uni.showToast({ uni.showToast({
title: '请输入证书编号', title: '请输入证书编号',
duration: 2000, duration: 2000,
...@@ -77,7 +77,7 @@ ...@@ -77,7 +77,7 @@
} }
} }
uni.navigateTo({ uni.navigateTo({
url:`../authentication-query/authentication-result?queryType=${this.queryType}&userName=${this.userName}&cerCode=${this.cerCode}` url:`../authentication-query/authentication-result?queryType=${this.queryType}&userName=${this.userName}&authenticationCode=${this.authenticationCode}`
}) })
} }
} }
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<text>姓名:</text><input class="uni-input" type="text" placeholder="请输入姓名" v-model="userName"/> <text>姓名:</text><input class="uni-input" type="text" placeholder="请输入姓名" v-model="userName"/>
</view> </view>
<view class="others_item"> <view class="others_item">
<text>认证编号:</text><input class="uni-input" type="text" placeholder="请输证书编号" v-model="cerCode"/> <text>认证编号:</text><input class="uni-input" type="text" placeholder="请输证书编号" v-model="authenticationCode"/>
</view> </view>
</view> </view>
<view class="certifyListContent" v-if="userCertificates?.length>0"> <view class="certifyListContent" v-if="userCertificates?.length>0">
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
data(){ data(){
return { return {
userName:null, userName:null,
cerCode:null, authenticationCode:null,
queryType:null, queryType:null,
userCertificates:[] userCertificates:[]
} }
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
onLoad(){ onLoad(){
this.userName = common.getQueryString('userName')=='null'?undefined:common.getQueryString('userName'); this.userName = common.getQueryString('userName')=='null'?undefined:common.getQueryString('userName');
this.cerCode = common.getQueryString('cerCode')=='null'?undefined:common.getQueryString('cerCode'); this.authenticationCode = common.getQueryString('authenticationCode')=='null'?undefined:common.getQueryString('authenticationCode');
this.queryType = common.getQueryString('queryType'); this.queryType = common.getQueryString('queryType');
console.log(this.queryType) console.log(this.queryType)
this.getResult(); this.getResult();
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
queryType:this.queryType, queryType:this.queryType,
userId:uni.getStorageSync('cffp_userId'), userId:uni.getStorageSync('cffp_userId'),
userName:this.userName, userName:this.userName,
cerCode:this.cerCode authenticationCode:this.authenticationCode
} }
api.userCertificateResult(param).then((res)=>{ api.userCertificateResult(param).then((res)=>{
if(res['success']){ if(res['success']){
......
...@@ -8,12 +8,12 @@ ...@@ -8,12 +8,12 @@
<view class="bg"> <view class="bg">
<image src="/static/mypoint_pic.png" mode="widthFix"></image> <image src="/static/mypoint_pic.png" mode="widthFix"></image>
</view> </view>
<ul class="nav"> <view class="nav">
<li class="nav_item" v-for="navItem in navList" @click="selectNav(navItem)" <view class="nav_item" v-for="navItem in navList" @click="selectNav(navItem)"
:class="{'selected':navItem.timeFlag==timeFlag}"> :class="{'selected':navItem.timeFlag==timeFlag}">
<text>{{navItem.name}}</text> <text>{{navItem.name}}</text>
</li> </view>
</ul> </view>
<view class="opt_wrapper"> <view class="opt_wrapper">
<view style="width: 33%;">销售以来</view> <view style="width: 33%;">销售以来</view>
<!-- 年月时间选择 --> <!-- 年月时间选择 -->
...@@ -170,7 +170,7 @@ ...@@ -170,7 +170,7 @@
align-items: center; align-items: center;
height: 80rpx; height: 80rpx;
width: 100%; width: 100%;
li{ .nav_item{
width: 33%; width: 33%;
text-align: center; text-align: center;
} }
......
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