lex-xin 3 lat temu
rodzic
commit
7e8ad5d0df

+ 4 - 3
src/views/protocol/auth.vue

@@ -1,6 +1,6 @@
 <template>
   <div class="studentAuth">
-    <m-header />
+    <!-- <m-header /> -->
     <div class="containerAuth">
       <p class="input-label">家长姓名</p>
       <div class="input-group van-hairline--bottom">
@@ -154,11 +154,12 @@ export default {
       try {
         await realNameAuthentication({ realName: this.parentsName, idcardNo: this.idCardNo })
 
-        // await teacherContractSign()
+        await teacherContractSign()
         this.$toast("实名成功");
         // 协议生成之后返回
         setTimeout(() => {
-          postMessage({ api: 'back', content: { }})
+          postMessage({ api: 'authToBack', content: { }})
+          // postMessage({ api: 'back', content: { }})
         }, 1000);
       } catch(e) {
         //

+ 2 - 2
src/views/protocol/registerProtocol.vue

@@ -2,7 +2,7 @@
   <div class="userProtocol">
     <m-header v-if="headerStatus" />
     <div class="container">
-      <h1 v-if="headerStatus">管乐迷用户注册服务协议</h1>
+      <h1 v-if="headerStatus">共享经济平台注册经营者协议书</h1>
       平台注册经营者(甲方): <br />
       身份证号: <br />
       平台(乙方):天津沃达服务外包有限公司<br />
@@ -163,7 +163,7 @@ export default {
     if (!browser().android && !browser().iPhone) {
       this.headerStatus = true;
     } else {
-      document.title = "用户协议";
+      document.title = "共享经济平台注册经营者协议书";
     }
   },
   methods: {},