Commit f68dcd3b authored by zhengke's avatar zhengke

修复bug

parent 3f27fdcf
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<el-avatar :size="64" :src="userInfo.logo" fit="contain" shape="square" class="borders"></el-avatar> <el-avatar :size="64" :src="userInfo.logo" fit="contain" shape="square" class="borders"></el-avatar>
<div class="q-ml-lg text-white col"> <div class="q-ml-lg text-white col">
<div class="" style="font-size: 20px;">{{ userInfo.company }}</div> <div class="" style="font-size: 20px;">{{ userInfo.company }}</div>
<div class="q-mt-sm" style="color: rgba(255,255,255,.5);">组织ID:{{ userInfo.cardno??'8023009875069650985' }}</div> <!-- <div class="q-mt-sm" style="color: rgba(255,255,255,.5);">组织ID:{{ userInfo.cardno??'8023009875069650985' }}</div> -->
</div> </div>
<div class="text-white">{{ userTheme?.desc }}</div> <div class="text-white">{{ userTheme?.desc }}</div>
<div :style="{'background':vipTheme.color}" v-if="userTheme?.name=='FREE'" class="text-white pingfangr q-ml-lg rounded cusor-pointer q-py-md q-px-lg no-select">升级为VIP</div> <div :style="{'background':vipTheme.color}" v-if="userTheme?.name=='FREE'" class="text-white pingfangr q-ml-lg rounded cusor-pointer q-py-md q-px-lg no-select">升级为VIP</div>
...@@ -137,7 +137,6 @@ const getDataStatistics = async () => { ...@@ -137,7 +137,6 @@ const getDataStatistics = async () => {
TravelDesign.value = response.data.data TravelDesign.value = response.data.data
} }
} }
const rediceTo = (path:string)=>{ const rediceTo = (path:string)=>{
router.push({path}) router.push({path})
} }
......
...@@ -198,7 +198,7 @@ const bindHandler = async () =>{ ...@@ -198,7 +198,7 @@ const bindHandler = async () =>{
if(response.data.resultCode == ApiResult.SUCCESS){ if(response.data.resultCode == ApiResult.SUCCESS){
if(dialogType.value==1) { if(dialogType.value==1) {
ElMessage.success({message:'绑定邮箱成功'}) ElMessage.success({message:'绑定邮箱成功'})
getInfo getInfo()
} }
if(dialogType.value==2) { if(dialogType.value==2) {
ElMessage.success({message:'更换密码成功'}) ElMessage.success({message:'更换密码成功'})
......
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
<template #title> <template #title>
<div class="row items-center"> <div class="row items-center">
<div class="col">请按参考模板填写内容;字段不符合规则,则不予以导入</div> <div class="col">请按参考模板填写内容;字段不符合规则,则不予以导入</div>
<div class="text-primary row items-center cusor-pointer q-ml-md"> <div class="text-primary row items-center cusor-pointer q-ml-md" @click="goDownload">
<IconToBottom size="16" class="q-mr-sm"></IconToBottom> <IconToBottom size="16" class="q-mr-sm"></IconToBottom>
<span>下载导入模板</span> <span>下载导入模板</span>
</div> </div>
...@@ -160,8 +160,8 @@ const closed = () => { ...@@ -160,8 +160,8 @@ const closed = () => {
} }
const goDownload = (type:any) =>{ const goDownload = (type:any) =>{
if(type==1) window.open(UploadResults.value.DownloadUrl) if(type==1) window.location.href = UploadResults.value.DownloadUrl
else window.open(UploadResults.value.DownloadUrl) else window.location.href ='https://imgfile.oytour.com/static/pptist/pptusertemplate.xlsx'
} }
//导入文件地址 //导入文件地址
const getUploadActionUrl=()=>{ const getUploadActionUrl=()=>{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment