2 files added
4 files modified
| | |
| | | <el-button link type="primary" style="color: #fff" @click="openApply()" v-preReClick>专家申请</el-button> |
| | | <el-button link type="primary" style="color: #fff" @click="openCheck" v-preReClick>专家评定进度查询</el-button> |
| | | </div> |
| | | <div style="margin-top: 10px;display: flex;align-items: center"> |
| | | <!-- <div style="margin-top: 10px;display: flex;align-items: center"> |
| | | <img :src="info" style="width: 20px;height: auto;margin-right: 6px"/> |
| | | <el-button link type="primary" style="color: yellow;text-decoration: underline;font-size: 18px" @click="openFile()" v-preReClick>2025年第三方评定工作的通知</el-button> |
| | | </div> |
| | | </div> --> |
| | | </div> |
| | | </el-col> |
| | | </el-row> |
| | |
| | | <template> |
| | | <div class="login"> |
| | | <login-form ref="loginRef"/> |
| | | <el-dialog |
| | | v-model="tipVisible" |
| | | title="提示" |
| | | width="600" |
| | | align-center |
| | | center |
| | | > |
| | | <span>2026年度专家申请已开始。</span> |
| | | <template #footer> |
| | | <div class="dialog-footer"> |
| | | <el-button @click="tipVisible = false">关闭</el-button> |
| | | <el-button type="primary" @click="openApply()"> |
| | | 点此申请 |
| | | </el-button> |
| | | </div> |
| | | </template> |
| | | </el-dialog> |
| | | <!-- 底部 --> |
| | | <div class="el-login-footer"> |
| | | <span>Copyright ©2023-{{nowYear}} All Rights Reserved.</span> |
| | |
| | | import {onMounted, ref, reactive, watch, defineAsyncComponent, nextTick, onUnmounted} from "vue" |
| | | import useUserStore from '@/store/modules/user' |
| | | import LoginForm from './components/loginForm' |
| | | import {getSettings} from "@/api/backManage/evaluate"; |
| | | const { proxy } = getCurrentInstance() |
| | | const route = useRoute() |
| | | const router = useRouter() |
| | |
| | | } |
| | | |
| | | const noticeRef = ref(null) |
| | | |
| | | const tipVisible = ref(true) |
| | | const state = reactive({ |
| | | activeMenu: 1, |
| | | date: '', |
| | |
| | | dayTime: '', |
| | | checkDetails: false |
| | | }) |
| | | |
| | | const getApplyStatus = async ()=>{ |
| | | const res = await getSettings() |
| | | if(res.code == 200){ |
| | | return res.data |
| | | }else{ |
| | | ElMessage.warning(res.msg) |
| | | return '0' |
| | | } |
| | | } |
| | | |
| | | const openApply = async () => { |
| | | const status = await getApplyStatus(); |
| | | if(status == '1'){ |
| | | const routePath = '/fillForm'; |
| | | const resolvedRoute = router.resolve(routePath); |
| | | const fullPath = resolvedRoute.href |
| | | window.open(fullPath, '_blank'); |
| | | }else{ |
| | | ElMessage.warning('抱歉,专家申请暂未开启,请联系相关人员进行处理') |
| | | } |
| | | } |
| | | |
| | | // 当前时间 |
| | | const getDateTime = () => { |
| | |
| | | justify-content: center; |
| | | height: 100%; |
| | | } |
| | | |
| | | ::v-deep(.el-overlay-dialog){ |
| | | .el-dialog:not(.is-fullscreen){ |
| | | margin-top: auto !important; |
| | | .el-dialog__body{ |
| | | padding-top: 50px; |
| | | padding-bottom: 50px; |
| | | font-size: 20px; |
| | | } |
| | | } |
| | | } |
| | | .el-login-footer { |
| | | height: 40px; |
| | | line-height: 40px; |
| | |
| | | <Plus/> |
| | | </el-icon> |
| | | <template #tip> |
| | | <div class="el-upload__tip">上传jpg/png图片尺寸小于5M,最多可上传8张</div> |
| | | <div class="el-upload__tip">上传jpg/png图片尺寸小于5M,最多可上传8张<el-link href="/public/adviceTemplate.docx" type="primary" style="display: inline;margin-left: 10px;">下载模版</el-link></div> |
| | | </template> |
| | | </el-upload> |
| | | </el-form-item> |
| | |
| | | <Plus/> |
| | | </el-icon> |
| | | <template #tip> |
| | | <div class="el-upload__tip">上传jpg/png图片尺寸小于5M,最多可上传8张</div> |
| | | <div class="el-upload__tip">上传jpg/png图片尺寸小于5M,最多可上传8张<el-link href="/public/unitTemplate.docx" type="primary" style="display: inline;margin-left: 10px;">下载模版</el-link></div> |
| | | </template> |
| | | </el-upload> |
| | | </el-form-item> |
| | |
| | | <el-upload accept="image/*" multiple :action="state.uploadUrl" :headers="state.header" method="post" :disabled="state.disable" :on-success="(res, uploadFile)=>handleAvatarSuccess(res, uploadFile,'本人')" :on-exceed="showTip" :on-preview="handlePictureCardPreview" :limit='8' v-model:file-list="state.proAdviceList" list-type="picture-card" :before-upload="picSize" :on-remove="(file, uploadFiles)=>handleRemove(file, uploadFiles,'本人')" :before-remove="(uploadFile, uploadFiles)=>beforeRemove(uploadFile, uploadFiles,'本人')"> |
| | | <el-icon><Plus /></el-icon> |
| | | <template #tip> |
| | | <div class="el-upload__tip">上传jpg/png图片尺寸小于5M,最多可上传8张</div> |
| | | <div class="el-upload__tip">上传jpg/png图片尺寸小于5M,最多可上传8张<el-link href="/public/adviceTemplate.docx" type="primary" style="display: inline;margin-left: 10px;">下载模版</el-link></div> |
| | | </template> |
| | | </el-upload> |
| | | </el-form-item> |
| | |
| | | <el-upload accept="image/*" multiple :action="state.uploadUrl" :headers="state.header" method="post" :disabled="state.disable" :on-success="(res, uploadFile)=>handleAvatarSuccess(res, uploadFile,'单位')" :on-exceed="showTip" :on-preview="handlePictureCardPreview" :limit='8' v-model:file-list="state.adviceList" list-type="picture-card" :before-upload="picSize" :on-remove="(file, uploadFiles)=>handleRemove(file, uploadFiles,'单位')" :before-remove="(uploadFile, uploadFiles)=>beforeRemove(uploadFile, uploadFiles,'单位')"> |
| | | <el-icon><Plus /></el-icon> |
| | | <template #tip> |
| | | <div class="el-upload__tip">上传jpg/png图片尺寸小于5M,最多可上传8张</div> |
| | | <div class="el-upload__tip">上传jpg/png图片尺寸小于5M,最多可上传8张<el-link href="/public/unitTemplate.docx" type="primary" style="display: inline;margin-left: 10px;">下载模版</el-link></div> |
| | | </template> |
| | | </el-upload> |
| | | </el-form-item> |
| | |
| | | flex-direction: column; |
| | | align-items: flex-start; |
| | | } |
| | | |
| | | } |
| | | </style> |