flat: 一体机登录修改
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<AppLayout title="就业服务程序">
|
||||
<view v-if="isMachineEnv" class="alipay-login-container">
|
||||
<view v-if="isMachineEnv && !hasLogin" class="alipay-login-container">
|
||||
<!-- 切换 -->
|
||||
<view class="login-method-switch">
|
||||
<view
|
||||
@@ -199,7 +199,7 @@ import useDictStore from '@/stores/useDictStore';
|
||||
import { playTextDirectly } from '@/hook/useTTSPlayer-all-in-one';
|
||||
const { $api, navTo } = inject('globalFunction');
|
||||
const { loginSetToken, getUserResume } = useUserStore();
|
||||
const { isMachineEnv } = storeToRefs(useUserStore());
|
||||
const { isMachineEnv, hasLogin } = storeToRefs(useUserStore());
|
||||
const { getDictSelectOption, oneDictData } = useDictStore();
|
||||
const openSelectPopup = inject('openSelectPopup');
|
||||
|
||||
@@ -336,7 +336,7 @@ function changeEducation() {
|
||||
success: (_, [value]) => {
|
||||
fromValue.education = value.value;
|
||||
state.educationText = value.label;
|
||||
console.log()
|
||||
console.log();
|
||||
},
|
||||
});
|
||||
}
|
||||
@@ -389,7 +389,7 @@ function changeJobs() {
|
||||
}
|
||||
|
||||
function nextStep() {
|
||||
if(!state.experienceText) return $api.msg('请选择工作经验');
|
||||
if (!state.experienceText) return $api.msg('请选择工作经验');
|
||||
tabCurrent.value += 1;
|
||||
}
|
||||
|
||||
@@ -458,9 +458,9 @@ function loginTest() {
|
||||
}
|
||||
|
||||
function complete() {
|
||||
if(!state.areaText) return $api.msg('请选择求职区域');
|
||||
if(!state.jobsText.length) return $api.msg('请选择求职岗位');
|
||||
if(!state.salayText) return $api.msg('请选择期望薪资');
|
||||
if (!state.areaText) return $api.msg('请选择求职区域');
|
||||
if (!state.jobsText.length) return $api.msg('请选择求职岗位');
|
||||
if (!state.salayText) return $api.msg('请选择期望薪资');
|
||||
$api.createRequest('/app/user/resume', fromValue, 'post').then((resData) => {
|
||||
$api.msg('完成');
|
||||
getUserResume();
|
||||
|
||||
Reference in New Issue
Block a user