Commit 2d651eab authored by 5359's avatar 5359

历史注册用户调整

parent fee526b6
...@@ -78,7 +78,7 @@ ...@@ -78,7 +78,7 @@
组织机构名称: 组织机构名称:
</div> </div>
<div class="list_right" style="width:61%;"> <div class="list_right" style="width:61%;">
<input type="text" class="edit" v-model="organizationName" @blur="goTop()" /> <input type="text" class="edit" v-model="organizationName" @blur="goTop()"/>
</div> </div>
</div> </div>
<div class="info_list" v-if="orgAuthStatus !='SUCCESS'"> <div class="info_list" v-if="orgAuthStatus !='SUCCESS'">
...@@ -91,7 +91,7 @@ ...@@ -91,7 +91,7 @@
组织机构名称: 组织机构名称:
</div> </div>
<div class="list_right" style="width:61%;"> <div class="list_right" style="width:61%;">
<input type="text" class="edit" v-model="organizationName" readonly /> <input type="text" class="edit" v-model="organizationName" readonly/>
</div> </div>
</div> </div>
<div class="info_list" v-if="orgAuthStatus =='SUCCESS'"> <div class="info_list" v-if="orgAuthStatus =='SUCCESS'">
...@@ -104,7 +104,7 @@ ...@@ -104,7 +104,7 @@
统一社会信用代码: 统一社会信用代码:
</div> </div>
<div class="list_right" style="width:52%;"> <div class="list_right" style="width:52%;">
<input type="text" class="edit" v-model="socialCode" @blur="goTop()" /> <input type="text" class="edit" v-model="socialCode" @blur="goTop()"/>
</div> </div>
</div> </div>
<div class="info_list" v-if="orgAuthStatus !='SUCCESS'"> <div class="info_list" v-if="orgAuthStatus !='SUCCESS'">
...@@ -117,14 +117,14 @@ ...@@ -117,14 +117,14 @@
统一社会信用代码: 统一社会信用代码:
</div> </div>
<div class="list_right" style="width:52%;"> <div class="list_right" style="width:52%;">
<input type="text" class="edit" v-model="socialCode" readonly /> <input type="text" class="edit" v-model="socialCode" readonly/>
</div> </div>
</div> </div>
<div class="info_list" style="border-bottom:none;"> <div class="info_list" style="border-bottom:none;">
<div class="list_left2">请上传营业执照照片</div> <div class="list_left2">请上传营业执照照片</div>
</div> </div>
<div class="bus-license"> <div class="bus-license">
<img :src="busLic" alt class="pic" @click="uploadBusLic()" /> <img :src="busLic" alt class="pic" @click="uploadBusLic()"/>
</div> </div>
<div class="info_list" v-if="faceAuthStatus =='SUCCESS'"> <div class="info_list" v-if="faceAuthStatus =='SUCCESS'">
<div class="list_left" style="width:43%;"> <div class="list_left" style="width:43%;">
...@@ -136,7 +136,7 @@ ...@@ -136,7 +136,7 @@
法定代表人姓名: 法定代表人姓名:
</div> </div>
<div class="list_right" style="width:57%;"> <div class="list_right" style="width:57%;">
<input type="text" class="edit" v-model="legalRepresentativeName" @blur="goTop()" /> <input type="text" class="edit" v-model="legalRepresentativeName" @blur="goTop()"/>
</div> </div>
</div> </div>
<div class="info_list" v-if="faceAuthStatus !='SUCCESS'"> <div class="info_list" v-if="faceAuthStatus !='SUCCESS'">
...@@ -149,7 +149,7 @@ ...@@ -149,7 +149,7 @@
法定代表人姓名: 法定代表人姓名:
</div> </div>
<div class="list_right" style="width:57%;"> <div class="list_right" style="width:57%;">
<input type="text" class="edit" v-model="legalRepresentativeName" readonly /> <input type="text" class="edit" v-model="legalRepresentativeName" readonly/>
</div> </div>
</div> </div>
<div class="info_list" v-if="faceAuthStatus =='SUCCESS'"> <div class="info_list" v-if="faceAuthStatus =='SUCCESS'">
...@@ -180,7 +180,7 @@ ...@@ -180,7 +180,7 @@
法定代表人身份证号码: 法定代表人身份证号码:
</div> </div>
<div class="list_right" style="width:46%;"> <div class="list_right" style="width:46%;">
<input type="text" class="edit" v-model="legalRepresentativeCardNumber" readonly /> <input type="text" class="edit" v-model="legalRepresentativeCardNumber" readonly/>
</div> </div>
</div> </div>
<div class="info_list"> <div class="info_list">
...@@ -210,7 +210,7 @@ ...@@ -210,7 +210,7 @@
<div <div
style="border:1px solid #b2b2b2;width:140px;height:100px;margin:0 auto;border-radius:5px;position:relative;" style="border:1px solid #b2b2b2;width:140px;height:100px;margin:0 auto;border-radius:5px;position:relative;"
> >
<img :src="cardUp" alt class="pic" @click="uploadUpImg()" /> <img :src="cardUp" alt class="pic" @click="uploadUpImg()"/>
</div> </div>
</div> </div>
<!-- <div style="height:100px;margin-top:30px" v-if="faceAuthStatus =='SUCCESS'"> <!-- <div style="height:100px;margin-top:30px" v-if="faceAuthStatus =='SUCCESS'">
...@@ -229,7 +229,8 @@ ...@@ -229,7 +229,8 @@
position: relative; position: relative;
left: 50%;" left: 50%;"
@click="next_step()" @click="next_step()"
>下一步</button> >下一步
</button>
<p/> <p/>
<button v-if="showStatus== 1" <button v-if="showStatus== 1"
@click="go_forword()" @click="go_forword()"
...@@ -251,7 +252,7 @@ ...@@ -251,7 +252,7 @@
经办人姓名: 经办人姓名:
</div> </div>
<div class="list_right" style="width:61%;"> <div class="list_right" style="width:61%;">
<input type="text" class="edit" v-model="jbName" @blur="goTop()" /> <input type="text" class="edit" v-model="jbName" @blur="goTop()"/>
</div> </div>
</div> </div>
<div class="info_list" v-if="faceAuthStatus !='SUCCESS'"> <div class="info_list" v-if="faceAuthStatus !='SUCCESS'">
...@@ -264,7 +265,7 @@ ...@@ -264,7 +265,7 @@
经办人姓名: 经办人姓名:
</div> </div>
<div class="list_right" style="width:61%;"> <div class="list_right" style="width:61%;">
<input type="text" class="edit" v-model="jbName" readonly /> <input type="text" class="edit" v-model="jbName" readonly/>
</div> </div>
</div> </div>
...@@ -278,7 +279,7 @@ ...@@ -278,7 +279,7 @@
经办人身份证号: 经办人身份证号:
</div> </div>
<div class="list_right" style="width:59%;"> <div class="list_right" style="width:59%;">
<input type="text" class="edit" v-model="jbIdNumber" @blur="goTop()" /> <input type="text" class="edit" v-model="jbIdNumber" @blur="goTop()"/>
</div> </div>
</div> </div>
<div class="info_list" v-if="faceAuthStatus !='SUCCESS'"> <div class="info_list" v-if="faceAuthStatus !='SUCCESS'">
...@@ -291,7 +292,7 @@ ...@@ -291,7 +292,7 @@
经办人身份证号: 经办人身份证号:
</div> </div>
<div class="list_right" style="width:59%;"> <div class="list_right" style="width:59%;">
<input type="text" class="edit" v-model="jbIdNumber" readonly /> <input type="text" class="edit" v-model="jbIdNumber" readonly/>
</div> </div>
</div> </div>
<div class="info_list"> <div class="info_list">
...@@ -320,7 +321,7 @@ ...@@ -320,7 +321,7 @@
<div <div
style="border:1px solid #b2b2b2;width:140px;height:100px;margin:0 auto;border-radius:5px;position:relative;" style="border:1px solid #b2b2b2;width:140px;height:100px;margin:0 auto;border-radius:5px;position:relative;"
> >
<img :src="cardUp1" alt class="pic" @click="uploadUpImg1()" /> <img :src="cardUp1" alt class="pic" @click="uploadUpImg1()"/>
</div> </div>
</div> </div>
<!-- <div style="height:100px;margin-top:30px" v-if="faceAuthStatus =='SUCCESS'"> <!-- <div style="height:100px;margin-top:30px" v-if="faceAuthStatus =='SUCCESS'">
...@@ -341,7 +342,7 @@ ...@@ -341,7 +342,7 @@
组织机构名称: 组织机构名称:
</div> </div>
<div class="list_right" style="width:61%;"> <div class="list_right" style="width:61%;">
<input type="text" class="edit" v-model="organizationName1" @blur="goTop()" /> <input type="text" class="edit" v-model="organizationName1" @blur="goTop()"/>
</div> </div>
</div> </div>
<div class="info_list" v-if="orgAuthStatus !='SUCCESS'"> <div class="info_list" v-if="orgAuthStatus !='SUCCESS'">
...@@ -354,7 +355,7 @@ ...@@ -354,7 +355,7 @@
组织机构名称: 组织机构名称:
</div> </div>
<div class="list_right" style="width:61%;"> <div class="list_right" style="width:61%;">
<input type="text" class="edit" v-model="organizationName1" readonly /> <input type="text" class="edit" v-model="organizationName1" readonly/>
</div> </div>
</div> </div>
<div class="info_list" v-if="orgAuthStatus =='SUCCESS'"> <div class="info_list" v-if="orgAuthStatus =='SUCCESS'">
...@@ -367,7 +368,7 @@ ...@@ -367,7 +368,7 @@
统一社会信用代码: 统一社会信用代码:
</div> </div>
<div class="list_right" style="width:52%;"> <div class="list_right" style="width:52%;">
<input type="text" class="edit" v-model="socialCode1" @blur="goTop()" /> <input type="text" class="edit" v-model="socialCode1" @blur="goTop()"/>
</div> </div>
</div> </div>
<div class="info_list" v-if="orgAuthStatus !='SUCCESS'"> <div class="info_list" v-if="orgAuthStatus !='SUCCESS'">
...@@ -380,14 +381,14 @@ ...@@ -380,14 +381,14 @@
统一社会信用代码: 统一社会信用代码:
</div> </div>
<div class="list_right" style="width:52%;"> <div class="list_right" style="width:52%;">
<input type="text" class="edit" v-model="socialCode1" readonly /> <input type="text" class="edit" v-model="socialCode1" readonly/>
</div> </div>
</div> </div>
<div class="info_list" style="border-bottom:none;"> <div class="info_list" style="border-bottom:none;">
<div class="list_left2">请上传营业执照照片</div> <div class="list_left2">请上传营业执照照片</div>
</div> </div>
<div class="bus-license"> <div class="bus-license">
<img :src="busLic1" alt class="pic" @click="uploadBusLic1()" /> <img :src="busLic1" alt class="pic" @click="uploadBusLic1()"/>
</div> </div>
<div class="info_list"> <div class="info_list">
<div class="list_left" style="width:43%;"> <div class="list_left" style="width:43%;">
...@@ -490,7 +491,7 @@ ...@@ -490,7 +491,7 @@
组织机构名称: 组织机构名称:
</div> </div>
<div class="list_right" style="width:61%;"> <div class="list_right" style="width:61%;">
<input type="text" class="edit" v-model="organizationName" readonly /> <input type="text" class="edit" v-model="organizationName" readonly/>
</div> </div>
</div> </div>
<div class="info_list"> <div class="info_list">
...@@ -503,7 +504,7 @@ ...@@ -503,7 +504,7 @@
统一社会信用代码: 统一社会信用代码:
</div> </div>
<div class="list_right" style="width:52%;"> <div class="list_right" style="width:52%;">
<input type="text" class="edit" v-model="socialCode" readonly /> <input type="text" class="edit" v-model="socialCode" readonly/>
</div> </div>
</div> </div>
<!-- <div class="info_list" style="border-bottom:none;"> <!-- <div class="info_list" style="border-bottom:none;">
...@@ -519,7 +520,7 @@ ...@@ -519,7 +520,7 @@
class="uppic" class="uppic"
disabled disabled
/>--> />-->
<img :src="busLic2" alt class="pic" @click="previewImage(authOrgAttachmentId)" /> <img :src="busLic2" alt class="pic" @click="previewImage(authOrgAttachmentId)"/>
</div> </div>
<div class="info_list"> <div class="info_list">
<div class="list_left" style="width:43%;"> <div class="list_left" style="width:43%;">
...@@ -531,7 +532,7 @@ ...@@ -531,7 +532,7 @@
法定代表人姓名: 法定代表人姓名:
</div> </div>
<div class="list_right" style="width:57%;"> <div class="list_right" style="width:57%;">
<input type="text" class="edit" v-model="legalRepresentativeName" readonly /> <input type="text" class="edit" v-model="legalRepresentativeName" readonly/>
</div> </div>
</div> </div>
<div class="info_list"> <div class="info_list">
...@@ -544,7 +545,7 @@ ...@@ -544,7 +545,7 @@
法定代表人身份证号码: 法定代表人身份证号码:
</div> </div>
<div class="list_right" style="width:46%;"> <div class="list_right" style="width:46%;">
<input type="text" class="edit" v-model="legalRepresentativeCardNumber" readonly /> <input type="text" class="edit" v-model="legalRepresentativeCardNumber" readonly/>
</div> </div>
</div> </div>
<div class="info_list"> <div class="info_list">
...@@ -557,7 +558,7 @@ ...@@ -557,7 +558,7 @@
手机号码: 手机号码:
</div> </div>
<div class="list_right" style="width:70%;"> <div class="list_right" style="width:70%;">
<input type="text" class="edit" v-model="legalPhoneNumber" readonly /> <input type="text" class="edit" v-model="legalPhoneNumber" readonly/>
</div> </div>
</div> </div>
<!-- <div style="margin: 10px 0 0 14px;color:#636363"> <!-- <div style="margin: 10px 0 0 14px;color:#636363">
...@@ -576,7 +577,7 @@ ...@@ -576,7 +577,7 @@
class="uppic" class="uppic"
disabled disabled
/>--> />-->
<img :src="cardUp2" alt class="pic" @click="previewImage(authAttachmentId)" /> <img :src="cardUp2" alt class="pic" @click="previewImage(authAttachmentId)"/>
</div> </div>
</div> </div>
<p style="margin-top:10px;text-align:center;color:#636363">正面</p> <p style="margin-top:10px;text-align:center;color:#636363">正面</p>
...@@ -584,7 +585,8 @@ ...@@ -584,7 +585,8 @@
class="next_step" class="next_step"
style="width:120px;height:30px;border-radius:15px;background-color:#09bb07;color:#FFFFFF;margin:100px 0 0 -60px;position:relative;left:50%;" style="width:120px;height:30px;border-radius:15px;background-color:#09bb07;color:#FFFFFF;margin:100px 0 0 -60px;position:relative;left:50%;"
@click="logout()" @click="logout()"
>注销</button> >注销
</button>
</div> </div>
<!-- 组织其他员工 --> <!-- 组织其他员工 -->
<div v-if="staffType ==='组织其他员工'"> <div v-if="staffType ==='组织其他员工'">
...@@ -598,7 +600,7 @@ ...@@ -598,7 +600,7 @@
经办人姓名: 经办人姓名:
</div> </div>
<div class="list_right" style="width:61%;"> <div class="list_right" style="width:61%;">
<input type="text" class="edit" v-model="jbName" readonly /> <input type="text" class="edit" v-model="jbName" readonly/>
</div> </div>
</div> </div>
...@@ -612,7 +614,7 @@ ...@@ -612,7 +614,7 @@
经办人身份证号: 经办人身份证号:
</div> </div>
<div class="list_right" style="width:52%;"> <div class="list_right" style="width:52%;">
<input type="text" class="edit" v-model="jbIdNumber" readonly /> <input type="text" class="edit" v-model="jbIdNumber" readonly/>
</div> </div>
</div> </div>
<div class="info_list"> <div class="info_list">
...@@ -625,7 +627,7 @@ ...@@ -625,7 +627,7 @@
手机号码: 手机号码:
</div> </div>
<div class="list_right" style="width:70%;"> <div class="list_right" style="width:70%;">
<input type="text" class="edit" v-model="jbPhoneNumber" readonly /> <input type="text" class="edit" v-model="jbPhoneNumber" readonly/>
</div> </div>
</div> </div>
<!-- <div style="margin: 10px 0 0 14px;color:#636363"> <!-- <div style="margin: 10px 0 0 14px;color:#636363">
...@@ -644,7 +646,7 @@ ...@@ -644,7 +646,7 @@
class="uppic" class="uppic"
disabled disabled
/>--> />-->
<img :src="cardUp3" alt class="pic" @click="previewImage(authAttachmentId)" /> <img :src="cardUp3" alt class="pic" @click="previewImage(authAttachmentId)"/>
</div> </div>
</div> </div>
<p style="margin-top:10px;text-align:center;color:#636363">正面</p> <p style="margin-top:10px;text-align:center;color:#636363">正面</p>
...@@ -658,7 +660,7 @@ ...@@ -658,7 +660,7 @@
组织机构名称: 组织机构名称:
</div> </div>
<div class="list_right" style="width:61%;"> <div class="list_right" style="width:61%;">
<input type="text" class="edit" v-model="organizationName1" readonly /> <input type="text" class="edit" v-model="organizationName1" readonly/>
</div> </div>
</div> </div>
<div class="info_list"> <div class="info_list">
...@@ -671,7 +673,7 @@ ...@@ -671,7 +673,7 @@
统一社会信用代码: 统一社会信用代码:
</div> </div>
<div class="list_right" style="width:52%;"> <div class="list_right" style="width:52%;">
<input type="text" class="edit" v-model="socialCode1" readonly /> <input type="text" class="edit" v-model="socialCode1" readonly/>
</div> </div>
</div> </div>
<!-- <div class="info_list" style="border-bottom:none;"> <!-- <div class="info_list" style="border-bottom:none;">
...@@ -687,7 +689,7 @@ ...@@ -687,7 +689,7 @@
class="uppic" class="uppic"
disabled disabled
/>--> />-->
<img :src="busLic3" alt class="pic" @click="previewImage(authOrgAttachmentId)" /> <img :src="busLic3" alt class="pic" @click="previewImage(authOrgAttachmentId)"/>
</div> </div>
<div class="info_list"> <div class="info_list">
<div class="list_left" style="width:43%;"> <div class="list_left" style="width:43%;">
...@@ -699,7 +701,7 @@ ...@@ -699,7 +701,7 @@
法定代表人姓名: 法定代表人姓名:
</div> </div>
<div class="list_right" style="width:57%;"> <div class="list_right" style="width:57%;">
<input type="text" class="edit" v-model="legalRepresentativeName1" readonly /> <input type="text" class="edit" v-model="legalRepresentativeName1" readonly/>
</div> </div>
</div> </div>
<div class="info_list"> <div class="info_list">
...@@ -712,14 +714,15 @@ ...@@ -712,14 +714,15 @@
法定代表人身份证号码: 法定代表人身份证号码:
</div> </div>
<div class="list_right" style="width:46%;"> <div class="list_right" style="width:46%;">
<input type="text" class="edit" v-model="legalRepresentativeCardNumber1" readonly /> <input type="text" class="edit" v-model="legalRepresentativeCardNumber1" readonly/>
</div> </div>
</div> </div>
<button <button
class="next_step" class="next_step"
style="width:120px;height:30px;border-radius:15px;background-color:#09bb07;color:#FFFFFF;margin:100px 0 0 -60px;position:relative;left:50%;" style="width:120px;height:30px;border-radius:15px;background-color:#09bb07;color:#FFFFFF;margin:100px 0 0 -60px;position:relative;left:50%;"
@click="logout()" @click="logout()"
>注销</button> >注销
</button>
</div> </div>
</list-item> </list-item>
</h-content> </h-content>
...@@ -727,9 +730,10 @@ ...@@ -727,9 +730,10 @@
</template> </template>
<script> <script>
// import { Grid, GridItem } from "vux"; // import { Grid, GridItem } from "vux";
import { getUrlParam } from "@/scripts/utils"; import {getUrlParam} from "@/scripts/utils";
export default {
export default {
data() { data() {
return { return {
// agentType: "Y", // agentType: "Y",
...@@ -789,11 +793,13 @@ export default { ...@@ -789,11 +793,13 @@ export default {
this.wxConfig(); this.wxConfig();
this.getUserInfo(); this.getUserInfo();
}, },
activated: function() { activated: function () {
this.status = ""; //判断请求是否成功的状态 this.status = ""; //判断请求是否成功的状态
}, },
mounted() {}, mounted() {
updated: function() {}, },
updated: function () {
},
methods: { methods: {
// 是否是代理店 // 是否是代理店
// isAgent() { // isAgent() {
...@@ -826,7 +832,7 @@ export default { ...@@ -826,7 +832,7 @@ export default {
apiKey: "handexinxi", apiKey: "handexinxi",
url: clientUrl url: clientUrl
}; };
hlsHttp.post(url, param).then(function(res) { hlsHttp.post(url, param).then(function (res) {
wx.config({ wx.config({
beta: true, beta: true,
debug: false, // 开启调试模式,调用的所有api的返回值会在客户端alert出来,若要查看传入的参数,可以在pc端打开,参数信息会通过log打出,仅在pc端时才会打印。 debug: false, // 开启调试模式,调用的所有api的返回值会在客户端alert出来,若要查看传入的参数,可以在pc端打开,参数信息会通过log打出,仅在pc端时才会打印。
...@@ -843,7 +849,7 @@ export default { ...@@ -843,7 +849,7 @@ export default {
"hideOptionMenu" "hideOptionMenu"
] // 必填,需要使用的JS接口列表,所有JS接口列表见附录2 ] // 必填,需要使用的JS接口列表,所有JS接口列表见附录2
}); });
wx.ready(function() { wx.ready(function () {
wx.hideOptionMenu(); wx.hideOptionMenu();
}); });
}); });
...@@ -860,7 +866,7 @@ export default { ...@@ -860,7 +866,7 @@ export default {
count: 1, //张数, 默认9 count: 1, //张数, 默认9
sizeType: ["compressed"], //建议压缩图 sizeType: ["compressed"], //建议压缩图
sourceType: ["album", "camera"], // 来源是相册、相机 sourceType: ["album", "camera"], // 来源是相册、相机
success: function(res) { success: function (res) {
self.cardUp = res.localIds[0]; self.cardUp = res.localIds[0];
self.uploadToWeixinServer(res.localIds[0], "cardUp"); self.uploadToWeixinServer(res.localIds[0], "cardUp");
} }
...@@ -873,7 +879,7 @@ export default { ...@@ -873,7 +879,7 @@ export default {
count: 1, //张数, 默认9 count: 1, //张数, 默认9
sizeType: ["compressed"], //建议压缩图 sizeType: ["compressed"], //建议压缩图
sourceType: ["album", "camera"], // 来源是相册、相机 sourceType: ["album", "camera"], // 来源是相册、相机
success: function(res) { success: function (res) {
self.cardUp1 = res.localIds[0]; self.cardUp1 = res.localIds[0];
self.uploadToWeixinServer(res.localIds[0], "cardUp1"); self.uploadToWeixinServer(res.localIds[0], "cardUp1");
} }
...@@ -885,7 +891,7 @@ export default { ...@@ -885,7 +891,7 @@ export default {
count: 1, //张数, 默认9 count: 1, //张数, 默认9
sizeType: ["compressed"], //建议压缩图 sizeType: ["compressed"], //建议压缩图
sourceType: ["album", "camera"], // 来源是相册、相机 sourceType: ["album", "camera"], // 来源是相册、相机
success: function(res) { success: function (res) {
self.busLic = res.localIds[0]; self.busLic = res.localIds[0];
self.uploadToWeixinServer(res.localIds[0], "busLic"); self.uploadToWeixinServer(res.localIds[0], "busLic");
} }
...@@ -898,7 +904,7 @@ export default { ...@@ -898,7 +904,7 @@ export default {
count: 1, //张数, 默认9 count: 1, //张数, 默认9
sizeType: ["compressed"], //建议压缩图 sizeType: ["compressed"], //建议压缩图
sourceType: ["album", "camera"], // 来源是相册、相机 sourceType: ["album", "camera"], // 来源是相册、相机
success: function(res) { success: function (res) {
self.busLic1 = res.localIds[0]; self.busLic1 = res.localIds[0];
self.uploadToWeixinServer(res.localIds[0], "busLic1"); self.uploadToWeixinServer(res.localIds[0], "busLic1");
} }
...@@ -910,7 +916,7 @@ export default { ...@@ -910,7 +916,7 @@ export default {
wx.uploadImage({ wx.uploadImage({
localId: localId, localId: localId,
isShowProgressTips: 1, // 默认为1,显示进度提示 isShowProgressTips: 1, // 默认为1,显示进度提示
success: function(res) { success: function (res) {
if (type == "cardUp") { if (type == "cardUp") {
self.uploadCardToserver(res.serverId); self.uploadCardToserver(res.serverId);
} else if (type == "cardUp1") { } else if (type == "cardUp1") {
...@@ -935,7 +941,7 @@ export default { ...@@ -935,7 +941,7 @@ export default {
fileName: new Date().getTime() + ".jpg" fileName: new Date().getTime() + ".jpg"
}; };
vm.hlsPopup.showLoading("请稍等"); vm.hlsPopup.showLoading("请稍等");
vm.$post(url, param).then(function(res) { vm.$post(url, param).then(function (res) {
vm.hlsPopup.hideLoading(); vm.hlsPopup.hideLoading();
vm.legalRepresentativeName = res["姓名"]; vm.legalRepresentativeName = res["姓名"];
vm.legalRepresentativeCardNumber = res["公民身份号码"]; vm.legalRepresentativeCardNumber = res["公民身份号码"];
...@@ -958,7 +964,7 @@ export default { ...@@ -958,7 +964,7 @@ export default {
fileName: new Date().getTime() + ".jpg" fileName: new Date().getTime() + ".jpg"
}; };
vm.hlsPopup.showLoading("请稍等"); vm.hlsPopup.showLoading("请稍等");
vm.$post(url, param).then(function(res) { vm.$post(url, param).then(function (res) {
vm.hlsPopup.hideLoading(); vm.hlsPopup.hideLoading();
vm.jbName = res["姓名"]; vm.jbName = res["姓名"];
vm.jbIdNumber = res["公民身份号码"]; vm.jbIdNumber = res["公民身份号码"];
...@@ -981,7 +987,7 @@ export default { ...@@ -981,7 +987,7 @@ export default {
fileName: new Date().getTime() + ".jpg" fileName: new Date().getTime() + ".jpg"
}; };
vm.hlsPopup.showLoading("请稍等"); vm.hlsPopup.showLoading("请稍等");
vm.$post(url, param).then(function(res) { vm.$post(url, param).then(function (res) {
vm.hlsPopup.hideLoading(); vm.hlsPopup.hideLoading();
vm.socialCode = res["社会信用代码"]; vm.socialCode = res["社会信用代码"];
vm.organizationName = res["单位名称"]; vm.organizationName = res["单位名称"];
...@@ -1004,7 +1010,7 @@ export default { ...@@ -1004,7 +1010,7 @@ export default {
fileName: new Date().getTime() + ".jpg" fileName: new Date().getTime() + ".jpg"
}; };
vm.hlsPopup.showLoading("请稍等"); vm.hlsPopup.showLoading("请稍等");
vm.$post(url, param).then(function(res) { vm.$post(url, param).then(function (res) {
vm.hlsPopup.hideLoading(); vm.hlsPopup.hideLoading();
vm.socialCode1 = res["社会信用代码"]; vm.socialCode1 = res["社会信用代码"];
vm.organizationName1 = res["单位名称"]; vm.organizationName1 = res["单位名称"];
...@@ -1083,7 +1089,7 @@ export default { ...@@ -1083,7 +1089,7 @@ export default {
"http://sign.hitachics.com/www/#/UserRegister/CompanyRegister?Regstatus=1" "http://sign.hitachics.com/www/#/UserRegister/CompanyRegister?Regstatus=1"
}; };
vm.hlsPopup.showLoading("请稍等"); vm.hlsPopup.showLoading("请稍等");
vm.$post(url, param).then(function(res) { vm.$post(url, param).then(function (res) {
vm.hlsPopup.hideLoading(); vm.hlsPopup.hideLoading();
if (res.code == 0) { if (res.code == 0) {
vm.$vux.toast.text(res.message, "middle"); vm.$vux.toast.text(res.message, "middle");
...@@ -1147,7 +1153,7 @@ export default { ...@@ -1147,7 +1153,7 @@ export default {
"http://sign.hitachics.com/www/#/UserRegister/CompanyRegister?Regstatus=2" "http://sign.hitachics.com/www/#/UserRegister/CompanyRegister?Regstatus=2"
}; };
vm.hlsPopup.showLoading("请稍等"); vm.hlsPopup.showLoading("请稍等");
vm.$post(url, param).then(function(res) { vm.$post(url, param).then(function (res) {
vm.hlsPopup.hideLoading(); vm.hlsPopup.hideLoading();
if (res.code == 0) { if (res.code == 0) {
vm.$vux.toast.text(res.message, "middle"); vm.$vux.toast.text(res.message, "middle");
...@@ -1180,7 +1186,7 @@ export default { ...@@ -1180,7 +1186,7 @@ export default {
hlsPopup.showConfirm({ hlsPopup.showConfirm({
title: "提示", title: "提示",
content: "请确认合同是否都已下载完成,注销后无法下载,请知悉,谢谢!", content: "请确认合同是否都已下载完成,注销后无法下载,请知悉,谢谢!",
onConfirm: function(index) { onConfirm: function (index) {
if (index === 1) { if (index === 1) {
let url = let url =
process.env.rootPath + "/organizations/outerOrgans/delete"; process.env.rootPath + "/organizations/outerOrgans/delete";
...@@ -1188,7 +1194,7 @@ export default { ...@@ -1188,7 +1194,7 @@ export default {
openId: window.localStorage.openId openId: window.localStorage.openId
}; };
vm.hlsPopup.showLoading("请稍等"); vm.hlsPopup.showLoading("请稍等");
vm.$post(url, param).then(function(res) { vm.$post(url, param).then(function (res) {
vm.hlsPopup.hideLoading(); vm.hlsPopup.hideLoading();
if (res.code == 0) { if (res.code == 0) {
vm.$vux.toast.text(res.message, "middle"); vm.$vux.toast.text(res.message, "middle");
...@@ -1236,13 +1242,13 @@ export default { ...@@ -1236,13 +1242,13 @@ export default {
success: suc success: suc
}; };
vm.hlsPopup.showLoading("请稍等"); vm.hlsPopup.showLoading("请稍等");
vm.$post(url, param).then(function(res) { vm.$post(url, param).then(function (res) {
vm.hlsPopup.hideLoading(); vm.hlsPopup.hideLoading();
}); });
}, },
// 键盘消失,页面返回顶部 // 键盘消失,页面返回顶部
goTop() { goTop() {
setTimeout(function() { setTimeout(function () {
var scrollHeight = var scrollHeight =
document.documentElement.scrollTop || document.body.scrollTop || 0; document.documentElement.scrollTop || document.body.scrollTop || 0;
console.log(scrollHeight); console.log(scrollHeight);
...@@ -1268,12 +1274,14 @@ export default { ...@@ -1268,12 +1274,14 @@ export default {
// // "oBdoRwFp6UN_KzchaPIEPynR9poM" // // "oBdoRwFp6UN_KzchaPIEPynR9poM"
// "oBdoRwI9gj9Brbe9iqlDCg5G2dDc"; // "oBdoRwI9gj9Brbe9iqlDCg5G2dDc";
vm.hlsPopup.showLoading("请稍等"); vm.hlsPopup.showLoading("请稍等");
vm.$post(url).then(function(res) { vm.$post(url).then(function (res) {
vm.hlsPopup.hideLoading(); vm.hlsPopup.hideLoading();
// console.log(res.rows.length); // console.log(res.rows.length);
if (res.rows) { if (res.rows) {
if (res.rows.length > 0) { if (res.rows.length > 0) {
var data = res.rows[0]; var data = res.rows[0];
var historyFlag = data.historyFlag;
if (historyFlag == 'N') {
vm.userInfo = data; vm.userInfo = data;
vm.faceAuthStatus = data.faceAuthStatus; vm.faceAuthStatus = data.faceAuthStatus;
vm.orgAuthStatus = data.orgAuthStatus; vm.orgAuthStatus = data.orgAuthStatus;
...@@ -1369,15 +1377,16 @@ export default { ...@@ -1369,15 +1377,16 @@ export default {
} }
} }
} }
}
}); });
} }
} }
}; };
</script> </script>
<style lang="less" type="text/less" scoped> <style lang="less" type="text/less" scoped>
@import "../../../styles/vue-1px.less"; @import "../../../styles/vue-1px.less";
.companyRegister { .companyRegister {
.reg-content { .reg-content {
padding: 20px 10px; padding: 20px 10px;
font-size: 14px; font-size: 14px;
...@@ -1464,23 +1473,23 @@ export default { ...@@ -1464,23 +1473,23 @@ export default {
left: 50%; left: 50%;
} }
} }
} }
// iPhoneX适配 // iPhoneX适配
@media (device-width: 375px) and (device-height: 812px) and (-webkit-min-device-pixel-ratio: 3) { @media (device-width: 375px) and (device-height: 812px) and (-webkit-min-device-pixel-ratio: 3) {
.platform-ios { .platform-ios {
#home { #home {
} }
} }
} }
// iPhoneX Max适配 // iPhoneX Max适配
@media (device-width: 414px) and (device-height: 896px) { @media (device-width: 414px) and (device-height: 896px) {
.platform-ios { .platform-ios {
.platform-ios { .platform-ios {
#home { #home {
} }
} }
} }
} }
</style> </style>
...@@ -492,6 +492,8 @@ ...@@ -492,6 +492,8 @@
if (res.rows) { if (res.rows) {
if (res.rows.length > 0) { if (res.rows.length > 0) {
var data = res.rows[0]; var data = res.rows[0];
var historyFlag=data.historyFlag;
if(historyFlag=='N'){
vm.cardUp = vm.cardUp =
process.env.rootPath + process.env.rootPath +
"/app/fileViewSvc?attachment_id=" + "/app/fileViewSvc?attachment_id=" +
...@@ -507,6 +509,7 @@ ...@@ -507,6 +509,7 @@
vm.showStatus = "1"; vm.showStatus = "1";
} }
} }
}
}); });
} }
}, },
......
...@@ -8,19 +8,19 @@ ...@@ -8,19 +8,19 @@
:class="['item-entry',{'add-bg-color':isClick1}]" :class="['item-entry',{'add-bg-color':isClick1}]"
@click="goPersonalPage()" @click="goPersonalPage()"
> >
<img src="../../../assets/userRegister/people.png" v-show="isHighLight" /> <img src="../../../assets/userRegister/people.png" v-show="isHighLight"/>
<img src="../../../assets/userRegister/people-light.png" v-show="!isHighLight" /> <img src="../../../assets/userRegister/people-light.png" v-show="!isHighLight"/>
<span class="text-entry">个人</span> <span class="text-entry">个人</span>
</div> </div>
<div :class="['item-entry',{'add-bg-color':isClick2}]" @click="goCompanyPage()"> <div :class="['item-entry',{'add-bg-color':isClick2}]" @click="goCompanyPage()">
<img src="../../../assets/userRegister/company.png" v-show="isHighLight1" /> <img src="../../../assets/userRegister/company.png" v-show="isHighLight1"/>
<img src="../../../assets/userRegister/company-light.png" v-show="!isHighLight1" /> <img src="../../../assets/userRegister/company-light.png" v-show="!isHighLight1"/>
<span class="text-entry">企业</span> <span class="text-entry">企业</span>
</div> </div>
</div> </div>
<div class="tips"> <div class="tips">
<p class="tips-item"> <p class="tips-item">
<img src="../../../assets/userRegister/tips.png" alt /> <img src="../../../assets/userRegister/tips.png" alt/>
<span>温馨提示:</span> <span>温馨提示:</span>
</p> </p>
<p class="tips-item">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;您可选择用户类型进行用户信息注册及实名认证。</p> <p class="tips-item">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;您可选择用户类型进行用户信息注册及实名认证。</p>
...@@ -32,8 +32,9 @@ ...@@ -32,8 +32,9 @@
</template> </template>
<script> <script>
import { getUrlParam } from "@/scripts/utils"; import {getUrlParam} from "@/scripts/utils";
export default {
export default {
data() { data() {
return { return {
isClick1: false, isClick1: false,
...@@ -48,7 +49,7 @@ export default { ...@@ -48,7 +49,7 @@ export default {
}; };
}, },
components: {}, components: {},
activated: function() { activated: function () {
// console.log(1111111111111111111111) // console.log(1111111111111111111111)
// if (window.localStorage.openId) { // if (window.localStorage.openId) {
// this.getUserInfo('1111'); // this.getUserInfo('1111');
...@@ -60,7 +61,8 @@ export default { ...@@ -60,7 +61,8 @@ export default {
this.getUserInfo(); this.getUserInfo();
} }
}, },
updated: function() {}, updated: function () {
},
methods: { methods: {
// 获取token // 获取token
// getToken() { // getToken() {
...@@ -174,12 +176,14 @@ export default { ...@@ -174,12 +176,14 @@ export default {
"/sign/info/hclc/query/by/openid?openId=" + "/sign/info/hclc/query/by/openid?openId=" +
window.localStorage.openId; window.localStorage.openId;
vm.hlsPopup.showLoading("请稍等"); vm.hlsPopup.showLoading("请稍等");
vm.$post(url).then(function(res) { vm.$post(url).then(function (res) {
vm.hlsPopup.hideLoading(); vm.hlsPopup.hideLoading();
if (res.rows) { if (res.rows) {
if (res.rows.length > 0) { if (res.rows.length > 0) {
console.log(res.rows); console.log(res.rows);
var results = res.rows[0]; var results = res.rows[0];
var historyFlag = data.historyFlag;
if (historyFlag == 'N') {
vm.ctitype = results.ctitype; vm.ctitype = results.ctitype;
if (results.ctitype == 1) { if (results.ctitype == 1) {
vm.userInfo = results; vm.userInfo = results;
...@@ -199,6 +203,7 @@ export default { ...@@ -199,6 +203,7 @@ export default {
} }
} }
} }
}
}); });
}, },
// 调用微信接口的基础配置 // 调用微信接口的基础配置
...@@ -223,7 +228,7 @@ export default { ...@@ -223,7 +228,7 @@ export default {
apiKey: "handexinxi", apiKey: "handexinxi",
url: clientUrl url: clientUrl
}; };
hlsHttp.post(url, param).then(function(res) { hlsHttp.post(url, param).then(function (res) {
wx.config({ wx.config({
beta: true, beta: true,
debug: false, // 开启调试模式,调用的所有api的返回值会在客户端alert出来,若要查看传入的参数,可以在pc端打开,参数信息会通过log打出,仅在pc端时才会打印。 debug: false, // 开启调试模式,调用的所有api的返回值会在客户端alert出来,若要查看传入的参数,可以在pc端打开,参数信息会通过log打出,仅在pc端时才会打印。
...@@ -240,18 +245,18 @@ export default { ...@@ -240,18 +245,18 @@ export default {
"hideOptionMenu" "hideOptionMenu"
] // 必填,需要使用的JS接口列表,所有JS接口列表见附录2 ] // 必填,需要使用的JS接口列表,所有JS接口列表见附录2
}); });
wx.ready(function() { wx.ready(function () {
wx.hideOptionMenu(); wx.hideOptionMenu();
}); });
}); });
} }
} }
}; };
</script> </script>
<style lang="less" type="text/less"> <style lang="less" type="text/less">
@import "../../../styles/vue-1px.less"; @import "../../../styles/vue-1px.less";
.userRegister { .userRegister {
.reg-content { .reg-content {
padding: 20px; padding: 20px;
padding-top: 150px; padding-top: 150px;
...@@ -294,23 +299,23 @@ export default { ...@@ -294,23 +299,23 @@ export default {
} }
} }
} }
} }
// iPhoneX适配 // iPhoneX适配
@media (device-width: 375px) and (device-height: 812px) and (-webkit-min-device-pixel-ratio: 3) { @media (device-width: 375px) and (device-height: 812px) and (-webkit-min-device-pixel-ratio: 3) {
.platform-ios { .platform-ios {
#home { #home {
} }
} }
} }
// iPhoneX Max适配 // iPhoneX Max适配
@media (device-width: 414px) and (device-height: 896px) { @media (device-width: 414px) and (device-height: 896px) {
.platform-ios { .platform-ios {
.platform-ios { .platform-ios {
#home { #home {
} }
} }
} }
} }
</style> </style>
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