更新密码找回uniapp
This commit is contained in:
1 parent
7f9a66da0f
commit
3fdda89833
1304 files changed
+3503
-26132
No files matched your search
@@ -6,7 +6,6 @@
|
||||
<text class="desc">使用业务功能需要先创建企业,或申请挂靠已有企业</text>
|
||||
</view>
|
||||
|
||||
<!-- 审核状态 -->
|
||||
<view v-if="status" class="status-card" :class="statusClass">
|
||||
<text class="status-title">{{ statusTitle }}</text>
|
||||
<text class="status-desc">{{ statusDesc }}</text>
|
||||
@@ -17,7 +16,6 @@
|
||||
<view class="tab" :class="{ active: tab === 'join' }" @tap="tab = 'join'">挂靠企业</view>
|
||||
</view>
|
||||
|
||||
<!-- ============ 创建企业:沿用完整字段与后端校验 ============ -->
|
||||
<view v-if="tab === 'create'" class="card">
|
||||
<view class="field">
|
||||
<text class="label">企业全称 <text class="required">*</text></text>
|
||||
@@ -56,7 +54,6 @@
|
||||
<text class="hint">提交后由平台管理员审核,通过后自动成为该企业管理员</text>
|
||||
</view>
|
||||
|
||||
<!-- ============ 挂靠企业 ============ -->
|
||||
<view v-else class="card">
|
||||
<view class="field">
|
||||
<text class="label">企业全称 <text class="required">*</text></text>
|
||||
@@ -105,10 +102,6 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
/**
|
||||
* 需企业模块的引导页:创建企业(平台审核) / 挂靠企业(租户管理员审核)。
|
||||
* 手机号由后端从微信验证结果读取,前端只读展示,不接受输入。
|
||||
*/
|
||||
import { ref, reactive, computed } from 'vue'
|
||||
import { onShow } from '@dcloudio/uni-app'
|
||||
import {
|
||||
|
||||
@@ -25,10 +25,6 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
/**
|
||||
* 手机号授权后未查到账号:设置密码完成注册(后端同时绑定微信 openid 并签发 tid=0 令牌)。
|
||||
* 注册完成后回到工作台,由 nav 自动继续进入刚才点击的模块。
|
||||
*/
|
||||
import { ref } from 'vue'
|
||||
import { onLoad } from '@dcloudio/uni-app'
|
||||
import { onboardingRegister } from '@/api/onboarding.js'
|
||||
@@ -79,7 +75,6 @@ async function handleSubmit() {
|
||||
setTid(0)
|
||||
setTenantName('')
|
||||
clearHomeCache()
|
||||
// 注册前以游客身份产生的数据并入正式账号
|
||||
if (getGuestToken()) {
|
||||
try {
|
||||
await guestMerge()
|
||||
|
||||
Reference in new issue
Block a user