|
@@ -65,7 +65,7 @@
|
|
<div class="text-center my-10">
|
|
<div class="text-center my-10">
|
|
<v-btn v-if="!isMobile" class="mr-2 radius button-item" color="success" variant="outlined" target="_blank" to="/recruit/personal/position">{{ $t('position.moreBtn') }}</v-btn>
|
|
<v-btn v-if="!isMobile" class="mr-2 radius button-item" color="success" variant="outlined" target="_blank" to="/recruit/personal/position">{{ $t('position.moreBtn') }}</v-btn>
|
|
<v-btn class="radius button-item" color="primary" :disabled="delivery" @click="sendResumeProcessVerify">{{ delivery ? $t('position.delivered') : $t('position.submitResume') }}</v-btn>
|
|
<v-btn class="radius button-item" color="primary" :disabled="delivery" @click="sendResumeProcessVerify">{{ delivery ? $t('position.delivered') : $t('position.submitResume') }}</v-btn>
|
|
- <span v-if="isMobile && getPersonalToken()" class="ml-2" style="font-size: 14px;text-decoration: underline;" @click="handleSwitchAccounts">切换账号</span>
|
|
|
|
|
|
+ <span v-if="showSwitchAccounts" class="ml-2" style="font-size: 14px;text-decoration: underline;" @click="handleSwitchAccounts">切换账号</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</v-card>
|
|
</v-card>
|
|
@@ -104,10 +104,10 @@ defineOptions({name: 'recruit-personal-shareJob-index'})
|
|
import loginPage from '@/views/common/loginDialog.vue'
|
|
import loginPage from '@/views/common/loginDialog.vue'
|
|
import simplePage from './sendResume/simple.vue'
|
|
import simplePage from './sendResume/simple.vue'
|
|
import selectPage from './sendResume/select.vue'
|
|
import selectPage from './sendResume/select.vue'
|
|
-import { onMounted, reactive, ref } from 'vue';
|
|
|
|
|
|
+import { computed, onMounted, reactive, ref } from 'vue';
|
|
import { getPositionDetails, jobCvRelCheckSend, getPersonJobUnfavorite, getPersonJobFavorite, getJobFavoriteCheck } from '@/api/position'
|
|
import { getPositionDetails, jobCvRelCheckSend, getPersonJobUnfavorite, getPersonJobFavorite, getJobFavoriteCheck } from '@/api/position'
|
|
import { dealDictObjData } from '@/utils/position'
|
|
import { dealDictObjData } from '@/utils/position'
|
|
-import { getPersonalToken } from '@/utils/auth'
|
|
|
|
|
|
+import { getPersonalToken, getToken } from '@/utils/auth'
|
|
import Snackbar from '@/plugins/snackbar'
|
|
import Snackbar from '@/plugins/snackbar'
|
|
import { useI18n } from '@/hooks/web/useI18n'; const { t } = useI18n()
|
|
import { useI18n } from '@/hooks/web/useI18n'; const { t } = useI18n()
|
|
|
|
|
|
@@ -236,6 +236,9 @@ const handleClose = (key) => {
|
|
sendResume[key] = false // 弹窗关闭,重置绑定数据
|
|
sendResume[key] = false // 弹窗关闭,重置绑定数据
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+const showSwitchAccounts = computed(() => {
|
|
|
|
+ return (isMobile.value && getToken())
|
|
|
|
+})
|
|
|
|
|
|
// 切换账号
|
|
// 切换账号
|
|
import { useUserStore } from '@/store/user'; const userStore = useUserStore()
|
|
import { useUserStore } from '@/store/user'; const userStore = useUserStore()
|