feat : 编辑我的简历需要认证

This commit is contained in:
2025-12-25 15:32:44 +08:00
parent 9eaca78b19
commit aa87305301

View File

@@ -36,7 +36,7 @@
<image
class="button-click"
src="@/static/icon/edit1.png"
@click="navTo('/packageA/pages/personalInfo/personalInfo')"
@click="handleNavTo('/packageA/pages/personalInfo/personalInfo')"
></image>
</view>
</view>
@@ -74,7 +74,7 @@
<image
class="icon"
src="@/static/icon/edit1.png"
@click="navTo('/packageA/pages/jobExpect/jobExpect')"
@click="handleNavTo('/packageA/pages/jobExpect/jobExpect')"
></image>
</view>
<view class="mys-text">
@@ -97,7 +97,7 @@
<view class="mys-info" style="padding: 0">
<view class="mys-h4">
<text>工作经历</text>
<view class="mys-edit-icon btn-tada" @click="navTo('/packageA/pages/workExp/workExp')">
<view class="mys-edit-icon btn-tada" @click="handleNavTo('/packageA/pages/workExp/workExp')">
<image class="icon button-click btn-feel" src="@/static/icon/plus.png"></image>
<view class="txt">添加</view>
</view>
@@ -108,7 +108,7 @@
<image
class="icon btn-feel"
src="@/static/icon/edit1.png"
@click="navTo(`/packageA/pages/workExp/workExp?id=${item.id}`)"
@click="handleNavTo(`/packageA/pages/workExp/workExp?id=${item.id}`)"
></image>
</view>
<view class="mys-text fl_box fl_justbet">
@@ -139,7 +139,7 @@ import { storeToRefs } from 'pinia';
import useUserStore from '@/stores/useUserStore';
import useDictStore from '@/stores/useDictStore';
const { userInfo, isMiniProgram,isMachineEnv } = storeToRefs(useUserStore());
const { getUserResume } = useUserStore();
const { getUserResume, checkAuth } = useUserStore();
const { getDictData, oneDictData } = useDictStore();
import { playTextDirectly } from '@/hook/useTTSPlayer-all-in-one';
import config from '@/config.js';
@@ -151,6 +151,13 @@ onLoad(() => {
getUserResume();
});
function handleNavTo(url) {
if(!checkAuth()) {
return
}
navTo(url)
}
function closeNotice() {
showNotice.value = false;
}