Commit 140cbb56 authored by 郝聪敏's avatar 郝聪敏

添加prettierrc配置文件

parent 16973291
root = true
[*]
charset = utf-8
indent_style = space
indent_size = 2
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
...@@ -12,3 +12,5 @@ yarn-error.log* ...@@ -12,3 +12,5 @@ yarn-error.log*
*.ntvs* *.ntvs*
*.njsproj *.njsproj
*.sln *.sln
.eslintcache
\ No newline at end of file
module.exports = {
"printWidth": 200,
"trailingComma": "es5",
"singleQuote": true,
}
\ No newline at end of file
...@@ -6,27 +6,27 @@ ...@@ -6,27 +6,27 @@
<script> <script>
window.onload = function() { window.onload = function() {
document.addEventListener("touchstart", function(event) { document.addEventListener('touchstart', function(event) {
if (event.touches.length > 1) { if (event.touches.length > 1) {
event.preventDefault(); event.preventDefault();
} }
}); });
document.addEventListener("gesturestart", function(event) { document.addEventListener('gesturestart', function(event) {
event.preventDefault(); event.preventDefault();
}); });
}; };
export default { export default {
name: "App", name: 'App',
data() { data() {
return { return {
appClass: "pc" appClass: 'pc',
}; };
}, },
created: function() { created: function() {
if (document.documentElement.clientWidth <= 640) { if (document.documentElement.clientWidth <= 640) {
this.appClass = "mobile"; this.appClass = 'mobile';
}
} }
},
}; };
</script> </script>
...@@ -38,7 +38,7 @@ export default { ...@@ -38,7 +38,7 @@ export default {
width: 100%; width: 100%;
cursor: auto; cursor: auto;
text-align: left; text-align: left;
font-family: "PingFangSC-Regular", "Avenir", Helvetica, Arial, sans-serif; font-family: 'PingFangSC-Regular', 'Avenir', Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
color: #2c3e50; color: #2c3e50;
......
import axios from "../service/http.service"; import axios from '../service/http.service';
import { sapi } from "../config"; import { sapi } from '../config';
import qs from "qs"; import qs from 'qs';
// 获取个人信息 // 获取个人信息
export function getpersonMassage(params) { export function getpersonMassage(params) {
// params=qs.stringify(params) // params=qs.stringify(params)
return axios.get(`${sapi}/api/login/me`, params, { return axios.get(`${sapi}/api/login/me`, params, {
headers: { headers: {
"Content-Type": "application/json" 'Content-Type': 'application/json',
} },
}); });
} }
// 用户退出 // 用户退出
...@@ -15,31 +15,31 @@ export function loginOUT() { ...@@ -15,31 +15,31 @@ export function loginOUT() {
// params=qs.stringify(params) // params=qs.stringify(params)
return axios.get(`${sapi}/api/login/logout`, { return axios.get(`${sapi}/api/login/logout`, {
headers: { headers: {
"Content-Type": "application/json" 'Content-Type': 'application/json',
} },
}); });
} }
// 通过某一来源查询简历信息 // 通过某一来源查询简历信息
export function adoptOneSeeResumeList(parmars) { export function adoptOneSeeResumeList(parmars) {
return axios.post(`${sapi}/api/resume/findListBySource`, parmars, { return axios.post(`${sapi}/api/resume/findListBySource`, parmars, {
headers: { headers: {
"Content-Type": "application/json" 'Content-Type': 'application/json',
} },
}); });
} }
// 通过渠道机简历信息 // 通过渠道机简历信息
export function getChannelMassage() { export function getChannelMassage() {
return axios.get(`${sapi}/api/resume/getSourceList`, { return axios.get(`${sapi}/api/resume/getSourceList`, {
headers: { headers: {
"Content-Type": "application/json" 'Content-Type': 'application/json',
} },
}); });
} }
// 判断是否为超级管理员 // 判断是否为超级管理员
export function judeAdmin() { export function judeAdmin() {
return axios.get(`${sapi}/api/user/isAdmin`, { return axios.get(`${sapi}/api/user/isAdmin`, {
headers: { headers: {
"Content-Type": "application/json" 'Content-Type': 'application/json',
} },
}); });
} }
import axios from "../service/http.service"; import axios from '../service/http.service';
import { sapi } from "../config"; import { sapi } from '../config';
import qs from "qs"; import qs from 'qs';
// 更改约面信息 // 更改约面信息
export function changeinterviewMassage(parmars) { export function changeinterviewMassage(parmars) {
return axios.post(`${sapi}/api/resumeInterview/update`, parmars, { return axios.post(`${sapi}/api/resumeInterview/update`, parmars, {
headers: { headers: {
"Content-Type": "application/json;" 'Content-Type': 'application/json;',
} },
}); });
} }
// 重启面试 // 重启面试
...@@ -14,34 +14,34 @@ export function oppenInterview(tid, tstatus) { ...@@ -14,34 +14,34 @@ export function oppenInterview(tid, tstatus) {
console.log(tid, tstatus); console.log(tid, tstatus);
return axios.post(`${sapi}/api/resumeFlow/reset/${tid}/${tstatus}`, { return axios.post(`${sapi}/api/resumeFlow/reset/${tid}/${tstatus}`, {
headers: { headers: {
"Content-Type": "application/json;" 'Content-Type': 'application/json;',
} },
}); });
} }
// 终止面试 // 终止面试
export function SInterview(tid) { export function SInterview(tid) {
return axios.post(`${sapi}/api/resumeFlow/end/${tid}`, { return axios.post(`${sapi}/api/resumeFlow/end/${tid}`, {
headers: { headers: {
"Content-Type": "application/json;" 'Content-Type': 'application/json;',
} },
}); });
} }
// 面试管理查询 // 面试管理查询
export function SerchList(parmars, status) { export function SerchList(parmars, status) {
return axios.post(`${sapi}/api/interview/findListByQueryVO`, parmars, { return axios.post(`${sapi}/api/interview/findListByQueryVO`, parmars, {
headers: { headers: {
"Content-Type": "application/json;", 'Content-Type': 'application/json;',
"X-Requested-With": "XMLHttpRequest", 'X-Requested-With': 'XMLHttpRequest',
status status,
} },
}); });
} }
// 查看简历详情页 // 查看简历详情页
export function seedetail(parmars) { export function seedetail(parmars) {
return axios.get(`${sapi}/api/html/get/${parmars.uid}`, { return axios.get(`${sapi}/api/html/get/${parmars.uid}`, {
headers: { headers: {
"Content-Type": "application/json" 'Content-Type': 'application/json',
} },
}); });
} }
// 面试官查询 // 面试官查询
...@@ -52,39 +52,39 @@ export function Serchinterviewor() { ...@@ -52,39 +52,39 @@ export function Serchinterviewor() {
export function SerchInvitationOwer() { export function SerchInvitationOwer() {
return axios.post(`${sapi}/api/interview/findInviterList`, { return axios.post(`${sapi}/api/interview/findInviterList`, {
headers: { headers: {
"Content-Type": "application/json;" 'Content-Type': 'application/json;',
} },
}); });
} }
// 新增约面信息 // 新增约面信息
export function NewAddInterview(parmars) { export function NewAddInterview(parmars) {
return axios.post(`${sapi}/api/resumeInterview/add`, parmars, { return axios.post(`${sapi}/api/resumeInterview/add`, parmars, {
headers: { headers: {
"Content-Type": "application/json;" 'Content-Type': 'application/json;',
} },
}); });
} }
// 查询记录 // 查询记录
export function recodeLIST(parmars) { export function recodeLIST(parmars) {
return axios.post(`${sapi}/api/resumeFlow/history/${parmars.resumeId}`, { return axios.post(`${sapi}/api/resumeFlow/history/${parmars.resumeId}`, {
headers: { headers: {
"Content-Type": "application/json" 'Content-Type': 'application/json',
} },
}); });
} }
// 变更状态 // 变更状态
export function changestatus(tid, tstatus) { export function changestatus(tid, tstatus) {
return axios.post(`${sapi}/api/resumeFlow/uploadStatus/${tid}/${tstatus}`, { return axios.post(`${sapi}/api/resumeFlow/uploadStatus/${tid}/${tstatus}`, {
headers: { headers: {
"Content-Type": "application/json" 'Content-Type': 'application/json',
} },
}); });
} }
// 获取终止面试前的前一个状态 // 获取终止面试前的前一个状态
export function formstatus(parmars) { export function formstatus(parmars) {
return axios.post(`${sapi}/api/resumeFlow/getPreReset/${parmars.resumeId}`, { return axios.post(`${sapi}/api/resumeFlow/getPreReset/${parmars.resumeId}`, {
headers: { headers: {
"Content-Type": "application/json" 'Content-Type': 'application/json',
} },
}); });
} }
import axios from "../service/http.service"; import axios from '../service/http.service';
import { sapi } from "../config"; import { sapi } from '../config';
import qs from "qs"; import qs from 'qs';
// 登录 // 登录
export function login(params) { export function login(params) {
// params=qs.stringify(params) // params=qs.stringify(params)
return axios.post(`${sapi}/api/login/doLogin`, params, { return axios.post(`${sapi}/api/login/doLogin`, params, {
headers: { headers: {
"Content-Type": "application/json" 'Content-Type': 'application/json',
} },
}); });
} }
// 修改密码 // 修改密码
...@@ -15,7 +15,7 @@ export function updatePsd(params) { ...@@ -15,7 +15,7 @@ export function updatePsd(params) {
// params=qs.stringify(params) // params=qs.stringify(params)
return axios.post(`${sapi}/api/login/modifyPassword`, params, { return axios.post(`${sapi}/api/login/modifyPassword`, params, {
headers: { headers: {
"Content-Type": "application/json" 'Content-Type': 'application/json',
} },
}); });
} }
import axios from "../service/http.service"; import axios from '../service/http.service';
import { sapi } from "../config"; import { sapi } from '../config';
import qs from "qs"; import qs from 'qs';
// 查询简历列表 // 查询简历列表
export function serchList(parmars) { export function serchList(parmars) {
return axios.post(`${sapi}/api/resume/findList`, parmars, { return axios.post(`${sapi}/api/resume/findList`, parmars, {
headers: { headers: {
"Content-Type": "application/json" 'Content-Type': 'application/json',
} },
}); });
} }
// 下载简历(单条) // 下载简历(单条)
...@@ -14,88 +14,73 @@ export function downloadone(parmars) { ...@@ -14,88 +14,73 @@ export function downloadone(parmars) {
parmars = qs.stringify(parmars); parmars = qs.stringify(parmars);
return axios.post(`${sapi}/api/resumeFile/download/formatted/one`, parmars, { return axios.post(`${sapi}/api/resumeFile/download/formatted/one`, parmars, {
headers: { headers: {
"Content-Type": "application/x-www-form-urlencoded" 'Content-Type': 'application/x-www-form-urlencoded',
} },
}); });
} }
// 搜索 // 搜索
export function sousuoList(parmars, status) { export function sousuoList(parmars, status) {
return axios.post(`${sapi}/api/resume/findListByQueryVO`, parmars, { return axios.post(`${sapi}/api/resume/findListByQueryVO`, parmars, {
headers: { headers: {
"Content-Type": "application/json", 'Content-Type': 'application/json',
status status,
} },
}); });
} }
// 查看简历详情页 // 查看简历详情页
export function seedetail(parmars) { export function seedetail(parmars) {
return axios.get(`${sapi}/api/html/get/${parmars.uid}`, { return axios.get(`${sapi}/api/html/get/${parmars.uid}`, {
headers: { headers: {
"Content-Type": "application/json" 'Content-Type': 'application/json',
} },
}); });
} }
// 简历pass // 简历pass
export function PASS(parmars) { export function PASS(parmars) {
return axios.post( return axios.post(`${sapi}/api/resumeFlow/uploadStatus/${parmars.id}/${parmars.status}`, '', {
`${sapi}/api/resumeFlow/uploadStatus/${parmars.id}/${parmars.status}`,
"",
{
headers: { headers: {
"Content-Type": "application/json" 'Content-Type': 'application/json',
} },
} });
);
} }
// 待处理 // 待处理
export function TODORes(parmars) { export function TODORes(parmars) {
return axios.post( return axios.post(`${sapi}/api/resumeFlow/uploadStatus/${parmars.id}/${parmars.status}`, '', {
`${sapi}/api/resumeFlow/uploadStatus/${parmars.id}/${parmars.status}`,
"",
{
headers: { headers: {
"Content-Type": "application/json" 'Content-Type': 'application/json',
} },
} });
);
} }
// 备选 // 备选
export function OPTION(parmars) { export function OPTION(parmars) {
return axios.post( return axios.post(`${sapi}/api/resumeFlow/uploadStatus/${parmars.id}/${parmars.status}`, '', {
`${sapi}/api/resumeFlow/uploadStatus/${parmars.id}/${parmars.status}`,
"",
{
headers: { headers: {
"Content-Type": "application/json" 'Content-Type': 'application/json',
} },
} });
);
} }
// 删除简历 // 删除简历
export function deleteREsume(deleteallArr) { export function deleteREsume(deleteallArr) {
return axios.post(`${sapi}/api/resume/delete`, JSON.stringify(deleteallArr), { return axios.post(`${sapi}/api/resume/delete`, JSON.stringify(deleteallArr), {
headers: { headers: {
"Content-Type": "application/json" 'Content-Type': 'application/json',
} },
}); });
} }
// 单条下载简历 // 单条下载简历
export function downloadOne(parmars) { export function downloadOne(parmars) {
return axios.get( return axios.get(`${sapi}/api/resume/download/formatted/one?resumeId=${parmars.resumeId}`, {
`${sapi}/api/resume/download/formatted/one?resumeId=${parmars.resumeId}`,
{
headers: { headers: {
// 'Content-Type':'application/x-www-form-urlencoded' // 'Content-Type':'application/x-www-form-urlencoded'
} },
} });
);
} }
// 批量下载简历 // 批量下载简历
export function downloadALL() { export function downloadALL() {
return axios.get(`${sapi}/api/resumeFile/download/formatted/compress`, { return axios.get(`${sapi}/api/resumeFile/download/formatted/compress`, {
headers: { headers: {
"Content-Type": "application/x-www-form-urlencoded" 'Content-Type': 'application/x-www-form-urlencoded',
} },
}); });
} }
// 导出列表 // 导出列表
...@@ -104,8 +89,8 @@ export function exportLIST(parmars) { ...@@ -104,8 +89,8 @@ export function exportLIST(parmars) {
`${sapi}/api/excel/output?optSource=${parmars.optSource}&keywordString=${parmars.keywordString}&company=${parmars.company}&ownerSex=${parmars.ownerSex}&highestDegreeNum=${parmars.highestDegreeNum}&flowStatusList=${parmars.flowStatusList}&ownerWorkYears1=${parmars.ownerWorkYears1}&ownerWorkYears2=${parmars.ownerWorkYears2}`, `${sapi}/api/excel/output?optSource=${parmars.optSource}&keywordString=${parmars.keywordString}&company=${parmars.company}&ownerSex=${parmars.ownerSex}&highestDegreeNum=${parmars.highestDegreeNum}&flowStatusList=${parmars.flowStatusList}&ownerWorkYears1=${parmars.ownerWorkYears1}&ownerWorkYears2=${parmars.ownerWorkYears2}`,
{ {
headers: { headers: {
"Content-Type": "application/json" 'Content-Type': 'application/json',
} },
} }
); );
} }
...@@ -113,69 +98,66 @@ export function exportLIST(parmars) { ...@@ -113,69 +98,66 @@ export function exportLIST(parmars) {
export function recodeLIST(parmars) { export function recodeLIST(parmars) {
return axios.post(`${sapi}/api/resumeFlow/history/${parmars.resumeId}`, { return axios.post(`${sapi}/api/resumeFlow/history/${parmars.resumeId}`, {
headers: { headers: {
"Content-Type": "application/json" 'Content-Type': 'application/json',
} },
}); });
} }
// 通过某一来源查询简历信息 // 通过某一来源查询简历信息
export function adoptOneSeeResumeList(parmars) { export function adoptOneSeeResumeList(parmars) {
return axios.post(`${sapi}/api/resume/findListBySource`, parmars, { return axios.post(`${sapi}/api/resume/findListBySource`, parmars, {
headers: { headers: {
"Content-Type": "application/json" 'Content-Type': 'application/json',
} },
}); });
} }
// 新增约面信息 // 新增约面信息
export function addinterview(parmars) { export function addinterview(parmars) {
return axios.post(`${sapi}/api/resumeInterview/add`, parmars, { return axios.post(`${sapi}/api/resumeInterview/add`, parmars, {
headers: { headers: {
"Content-Type": "application/json" 'Content-Type': 'application/json',
} },
}); });
} }
// 修改流程状态 // 修改流程状态
export function updatastatus(parmars) { export function updatastatus(parmars) {
return axios.post( return axios.post(`${sapi}/api/resumeFlow/uploadStatus/${parmars.id}/${parmars.status}`, {
`${sapi}/api/resumeFlow/uploadStatus/${parmars.id}/${parmars.status}`,
{
headers: { headers: {
"Content-Type": "application/json" 'Content-Type': 'application/json',
} },
} });
);
} }
// 获取邮件模板 // 获取邮件模板
export function getEmailMoo() { export function getEmailMoo() {
return axios.post(`${sapi}/api/emailTemplate/getAllTemplateList`, { return axios.post(`${sapi}/api/emailTemplate/getAllTemplateList`, {
headers: { headers: {
"Content-Type": "application/json" 'Content-Type': 'application/json',
} },
}); });
} }
// 根据获取id邮件模板内容 // 根据获取id邮件模板内容
export function getEmailContent(parmars) { export function getEmailContent(parmars) {
return axios.post(`${sapi}/api/emailTemplate/loadTemplate`, parmars, { return axios.post(`${sapi}/api/emailTemplate/loadTemplate`, parmars, {
headers: { headers: {
"Content-Type": "application/json" 'Content-Type': 'application/json',
} },
}); });
} }
// 上传图片 // 上传图片
export function uploadimage() { export function uploadimage() {
return axios.get(`${sapi}/api/ckeditor/uploadImage`, { return axios.get(`${sapi}/api/ckeditor/uploadImage`, {
headers: { headers: {
"Content-Type": "application/json" 'Content-Type': 'application/json',
} },
}); });
} }
// 发送邮件 // 发送邮件
export function sendEmail(parmars) { export function sendEmail(parmars) {
return axios.post(`${sapi}/api/sendMail/sendEmailTemplate`, parmars, { return axios.post(`${sapi}/api/sendMail/sendEmailTemplate`, parmars, {
headers: { headers: {
"Content-Type": "multipart/form-data" 'Content-Type': 'multipart/form-data',
// 'Content-Disposition':'multipart/form-data' // 'Content-Disposition':'multipart/form-data'
// 'Content-Type':'application/json' // 'Content-Type':'application/json'
} },
}); });
} }
export function findCompanyEmailByKey(key) { export function findCompanyEmailByKey(key) {
...@@ -186,41 +168,38 @@ export function findCompanyEmailByKey(key) { ...@@ -186,41 +168,38 @@ export function findCompanyEmailByKey(key) {
export function forwardResume(params) { export function forwardResume(params) {
return axios.post(`${sapi}/api/resume/forwardResume`, params, { return axios.post(`${sapi}/api/resume/forwardResume`, params, {
headers: { headers: {
"Content-Type": "application/json" 'Content-Type': 'application/json',
} },
}); });
} }
export function getPdf(parmars) { export function getPdf(parmars) {
return axios.get(`${sapi}/api/resume/getResumePdfByResumeId/${parmars.uid}`, { return axios.get(`${sapi}/api/resume/getResumePdfByResumeId/${parmars.uid}`, {
responseType: "arraybuffer", responseType: 'arraybuffer',
headers: { headers: {
"Content-Type": "application/json" 'Content-Type': 'application/json',
} },
}); });
} }
// 是否展示原件的PDF // 是否展示原件的PDF
export function isShowPDF(parmars) { export function isShowPDF(parmars) {
return axios.get(`${sapi}/api/resume/isShowOriPdf/${parmars.uid}`, { return axios.get(`${sapi}/api/resume/isShowOriPdf/${parmars.uid}`, {
headers: { headers: {
"Content-Type": "application/json" 'Content-Type': 'application/json',
} },
}); });
} }
export function getpdfUrl(parmars) { export function getpdfUrl(parmars) {
return axios.get(`${sapi}/api/resume/getResumePdfUrl/${parmars.uid}`, { return axios.get(`${sapi}/api/resume/getResumePdfUrl/${parmars.uid}`, {
headers: { headers: {
"Content-Type": "application/json" 'Content-Type': 'application/json',
} },
}); });
} }
// 获取职位列表 // 获取职位列表
export function getlist(parmars) { export function getlist(parmars) {
return axios.get( return axios.get(`${sapi}/api/resume/findPositionList?optSourceCode=${parmars.optSourceCode}`, {
`${sapi}/api/resume/findPositionList?optSourceCode=${parmars.optSourceCode}`,
{
headers: { headers: {
"Content-Type": "application/json" 'Content-Type': 'application/json',
} },
} });
);
} }
import axios from "../service/http.service"; import axios from '../service/http.service';
import { sapi } from "../config"; import { sapi } from '../config';
import qs from "qs"; import qs from 'qs';
// 账号列表查询 // 账号列表查询
export function queryaccountList(params) { export function queryaccountList(params) {
return axios.post(`${sapi}/api/user/findList`, params, { return axios.post(`${sapi}/api/user/findList`, params, {
headers: { headers: {
"Content-Type": "application/json;" 'Content-Type': 'application/json;',
} },
}); });
} }
// 添加账户 // 添加账户
export function addAccount(params) { export function addAccount(params) {
return axios.post(`${sapi}/api/user/add`, params, { return axios.post(`${sapi}/api/user/add`, params, {
headers: { headers: {
"Content-Type": "application/json" 'Content-Type': 'application/json',
} },
}); });
} }
// 删除单条账户 // 删除单条账户
export function Delateaccount(parmars) { export function Delateaccount(parmars) {
return axios.get(`${sapi}/api/user/delete/${parmars.id}`, { return axios.get(`${sapi}/api/user/delete/${parmars.id}`, {
headers: { headers: {
"Content-Type": "application/json" 'Content-Type': 'application/json',
} },
}); });
} }
// 批量删除 // 批量删除
export function delateAllAccount(DelateARR) { export function delateAllAccount(DelateARR) {
return axios.post(`${sapi}//api/user/delete`, JSON.stringify(DelateARR), { return axios.post(`${sapi}//api/user/delete`, JSON.stringify(DelateARR), {
headers: { headers: {
"Content-Type": "application/json" 'Content-Type': 'application/json',
} },
}); });
} }
// 恢复初始密码 // 恢复初始密码
export function recoveryPassword(parmars) { export function recoveryPassword(parmars) {
return axios.post(`${sapi}/api/user/initial/${parmars.id}`, { return axios.post(`${sapi}/api/user/initial/${parmars.id}`, {
headers: { headers: {
"Content-Type": "application/json" 'Content-Type': 'application/json',
} },
}); });
} }
// 查询邮箱列表 // 查询邮箱列表
export function queryemailList(parmars) { export function queryemailList(parmars) {
return axios.post(`${sapi}/api/email/list`, parmars, { return axios.post(`${sapi}/api/email/list`, parmars, {
headers: { headers: {
"Content-Type": "application/json" 'Content-Type': 'application/json',
} },
}); });
} }
// 同步邮箱 // 同步邮箱
export function Synchronization(parmars) { export function Synchronization(parmars) {
return axios.post(`${sapi}/api/email/bindAndSync`, parmars, { return axios.post(`${sapi}/api/email/bindAndSync`, parmars, {
headers: { headers: {
"Content-Type": "application/json" 'Content-Type': 'application/json',
} },
}); });
} }
// 解绑邮箱 // 解绑邮箱
export function jiebangEmail(id) { export function jiebangEmail(id) {
return axios.post(`${sapi}/api/email/unbind/${id}`, { return axios.post(`${sapi}/api/email/unbind/${id}`, {
headers: { headers: {
"Content-Type": "application/x-www-form-urlencoded" 'Content-Type': 'application/x-www-form-urlencoded',
} },
}); });
} }
// 修改邮箱并重新绑定 // 修改邮箱并重新绑定
export function updateemailTWO(parmars) { export function updateemailTWO(parmars) {
return axios.post(`${sapi}/api/email/modify`, parmars, { return axios.post(`${sapi}/api/email/modify`, parmars, {
headers: { headers: {
"Content-Type": "application/json" 'Content-Type': 'application/json',
} },
}); });
} }
// 批量解绑邮箱 // 批量解绑邮箱
export function UntyingAll(UntyingAllARR) { export function UntyingAll(UntyingAllARR) {
return axios.post( return axios.post(`${sapi}/api/email/unbind/batch`, JSON.stringify(UntyingAllARR), {
`${sapi}/api/email/unbind/batch`,
JSON.stringify(UntyingAllARR),
{
headers: { headers: {
"Content-Type": "application/json" 'Content-Type': 'application/json',
} },
} });
);
} }
// 获取二维码 // 获取二维码
export function getErcode() { export function getErcode() {
return axios.get(`${sapi}/api/qrCode/getInterviewQrcode`, { return axios.get(`${sapi}/api/qrCode/getInterviewQrcode`, {
headers: { headers: {
"Content-Type": "application/json" 'Content-Type': 'application/json',
} },
}); });
} }
// //修改账户 // //修改账户
export function updateAccount(parmars) { export function updateAccount(parmars) {
return axios.post(`${sapi}/api/user/modify/${parmars.id}`, parmars, { return axios.post(`${sapi}/api/user/modify/${parmars.id}`, parmars, {
headers: { headers: {
"Content-Type": "application/json" 'Content-Type': 'application/json',
} },
}); });
} }
import axios from "../service/http.service"; import axios from '../service/http.service';
import { sapi } from "../config"; import { sapi } from '../config';
import qs from "qs"; import qs from 'qs';
// 提交应聘登记表 // 提交应聘登记表
export function submitMassage(params) { export function submitMassage(params) {
// params=qs.stringify(params) // params=qs.stringify(params)
return axios.post(`${sapi}/api/interview/arrive`, params, { return axios.post(`${sapi}/api/interview/arrive`, params, {
headers: { "Content-Type": "application/json" } headers: { 'Content-Type': 'application/json' },
}); });
} }
import axios from "../service/http.service"; import axios from '../service/http.service';
import { sapi } from "../config"; import { sapi } from '../config';
import qs from "qs"; import qs from 'qs';
// 获取上传批次号 // 获取上传批次号
export function getuploadNumber() { export function getuploadNumber() {
// params=qs.stringify(params) // params=qs.stringify(params)
return axios.get(`${sapi}/api/resume/upload/batchNum`, { return axios.get(`${sapi}/api/resume/upload/batchNum`, {
headers: { headers: {
"Content-Type": "application/json" 'Content-Type': 'application/json',
} },
}); });
} }
// 上传文件 // 上传文件
...@@ -17,31 +17,31 @@ export function uploadfile(parmars) { ...@@ -17,31 +17,31 @@ export function uploadfile(parmars) {
// 'Content-Type':'multipart/form-data', // 'Content-Type':'multipart/form-data',
processData: false, processData: false,
contentType: false, contentType: false,
async: false async: false,
} },
}); });
} }
// 查询上传列表记录 // 查询上传列表记录
export function serchList(parmars) { export function serchList(parmars) {
return axios.post(`${sapi}/api/resume/upload/history`, parmars, { return axios.post(`${sapi}/api/resume/upload/history`, parmars, {
headers: { headers: {
"Content-Type": "application/json" 'Content-Type': 'application/json',
} },
}); });
} }
// 查询简历详情 // 查询简历详情
export function serchRESUMEdetail(parmars) { export function serchRESUMEdetail(parmars) {
return axios.get(`${sapi}/api/html/get/${parmars.uid}`, { return axios.get(`${sapi}/api/html/get/${parmars.uid}`, {
headers: { headers: {
"Content-Type": "application/json" 'Content-Type': 'application/json',
} },
}); });
} }
// 查询简历详情 // 查询简历详情
export function deleteREsumeUPLOad(deleteallArr) { export function deleteREsumeUPLOad(deleteallArr) {
return axios.post(`${sapi}/api/resume/delete`, JSON.stringify(deleteallArr), { return axios.post(`${sapi}/api/resume/delete`, JSON.stringify(deleteallArr), {
headers: { headers: {
"Content-Type": "application/json" 'Content-Type': 'application/json',
} },
}); });
} }
...@@ -3,12 +3,7 @@ ...@@ -3,12 +3,7 @@
<!-- bidirectional data binding(双向数据绑定) --> <!-- bidirectional data binding(双向数据绑定) -->
<Modal v-model="modal" :fullscreen="fullscreen"> <Modal v-model="modal" :fullscreen="fullscreen">
<Input v-model="value"></Input> <Input v-model="value"></Input>
<editor <editor @getValue="getInfo" :uploadUrl="uploadUrl" :value="value" height="400px"></editor>
@getValue="getInfo"
:uploadUrl="uploadUrl"
:value="value"
height="400px"
></editor>
<div slot="footer"> <div slot="footer">
<Button @click="getInfo">获取内容</Button> <Button @click="getInfo">获取内容</Button>
</div> </div>
...@@ -20,77 +15,69 @@ ...@@ -20,77 +15,69 @@
</Input> </Input>
</FormItem> </FormItem>
<FormItem prop="password"> <FormItem prop="password">
<Input <Input type="password" v-model="formInline.password" placeholder="Password">
type="password"
v-model="formInline.password"
placeholder="Password"
>
<Icon type="ios-lock-outline" slot="prepend"></Icon> <Icon type="ios-lock-outline" slot="prepend"></Icon>
</Input> </Input>
</FormItem> </FormItem>
<FormItem> <FormItem>
<Button type="primary" @click="handleSubmit('formInline')" <Button type="primary" @click="handleSubmit('formInline')">Signin</Button>
>Signin</Button
>
</FormItem> </FormItem>
</Form> </Form>
</div> </div>
</template> </template>
<script> <script>
import editor from "./ckeditor.vue"; import editor from './ckeditor.vue';
import { sapi } from "../config/index.js"; import { sapi } from '../config/index.js';
import localStorage from "../service/localstorage.service.js"; import localStorage from '../service/localstorage.service.js';
export default { export default {
data() { data() {
return { return {
modal: true, modal: true,
fullscreen: true, fullscreen: true,
content: "<h2>I am Example</h2>", content: '<h2>I am Example</h2>',
content1: "<h2>I am Example</h2>", content1: '<h2>I am Example</h2>',
uploadUrl: `${sapi}/api/ckeditor/uploadImage?token=${localStorage.get( uploadUrl: `${sapi}/api/ckeditor/uploadImage?token=${localStorage.get('token')}&&backUrl=/getimage`,
"token" value: '22',
)}&&backUrl=/getimage`,
value: "22",
editorOption: { editorOption: {
// some quill options // some quill options
}, },
formInline: { formInline: {
user: "", user: '',
password: "" password: '',
}, },
ruleInline: { ruleInline: {
user: [ user: [
{ {
required: false, required: false,
message: "Please fill in the user name", message: 'Please fill in the user name',
trigger: "blur", trigger: 'blur',
pattern: /^1[3456789]\d{9}$/, pattern: /^1[3456789]\d{9}$/,
validator: function(rule, value, call) { validator: function(rule, value, call) {
console.log(rule, value); console.log(rule, value);
return call(new Error()); return call(new Error());
} },
} },
], ],
password: [ password: [
{ {
required: true, required: true,
message: "Please fill in the password.", message: 'Please fill in the password.',
trigger: "blur" trigger: 'blur',
}, },
{ {
type: "string", type: 'string',
min: 6, min: 6,
message: "The password length cannot be less than 6 bits", message: 'The password length cannot be less than 6 bits',
trigger: "blur" trigger: 'blur',
} },
] ],
} },
}; };
}, },
watch: {}, watch: {},
components: { components: {
editor editor,
}, },
// manually control the data synchronization // manually control the data synchronization
// 如果需要手动控制数据同步,父组件需要显式地处理changed事件 // 如果需要手动控制数据同步,父组件需要显式地处理changed事件
...@@ -106,12 +93,12 @@ export default { ...@@ -106,12 +93,12 @@ export default {
// this.$Message.error('Fail!'); // this.$Message.error('Fail!');
// } // }
// }) // })
this.$refs[name].validateField("user", error => { this.$refs[name].validateField('user', error => {
console.log("------", error); console.log('------', error);
}); });
} },
}, },
computed: {}, computed: {},
mounted() {} mounted() {},
}; };
</script> </script>
...@@ -3,17 +3,15 @@ ...@@ -3,17 +3,15 @@
</template> </template>
<script> <script>
function GetQueryString(name) { function GetQueryString(name) {
var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i"); var reg = new RegExp('(^|&)' + name + '=([^&]*)(&|$)', 'i');
var r = window.location.search.substr(1).match(reg); // 获取url中"?"符后的字符串并正则匹配 var r = window.location.search.substr(1).match(reg); // 获取url中"?"符后的字符串并正则匹配
var context = ""; var context = '';
if (r != null) { if (r != null) {
context = r[2]; context = r[2];
} }
reg = null; reg = null;
r = null; r = null;
return context == null || context == "" || context == "undefined" return context == null || context == '' || context == 'undefined' ? '' : decodeURIComponent(context);
? ""
: decodeURIComponent(context);
} }
export default { export default {
data() { data() {
...@@ -21,11 +19,7 @@ export default { ...@@ -21,11 +19,7 @@ export default {
}, },
mounted() { mounted() {
console.log(777); console.log(777);
window.parent.CKEDITOR.tools.callFunction( window.parent.CKEDITOR.tools.callFunction(GetQueryString('CKEditorFuncNum'), GetQueryString('ImageUrl'), GetQueryString('Message'));
GetQueryString("CKEditorFuncNum"), },
GetQueryString("ImageUrl"),
GetQueryString("Message")
);
}
}; };
</script> </script>
This diff is collapsed.
<template> <template>
<div class="loadingmark"> <div class="loadingmark">
<div class="loading-audio"> <div class="loading-audio">
<svg <svg :width="width + 'px'" :height="height + 'px'" xmlns="http://www.w3.org/2000/svg" :viewBox="viewBox" preserveAspectRatio="xMidYMid">
:width="width + 'px'"
:height="height + 'px'"
xmlns="http://www.w3.org/2000/svg"
:viewBox="viewBox"
preserveAspectRatio="xMidYMid"
>
<g transform="translate(20 50)"> <g transform="translate(20 50)">
<circle <circle cx="0" cy="0" r="7" fill="#11a181" transform="scale(0.99275 0.99275)" class="circle" />
cx="0"
cy="0"
r="7"
fill="#11a181"
transform="scale(0.99275 0.99275)"
class="circle"
/>
</g> </g>
<g transform="translate(40 50)"> <g transform="translate(40 50)">
<circle <circle cx="0" cy="0" r="7" fill="#11a181" transform="scale(0.773605 0.773605)" class="circle1" />
cx="0"
cy="0"
r="7"
fill="#11a181"
transform="scale(0.773605 0.773605)"
class="circle1"
/>
</g> </g>
<g transform="translate(60 50)"> <g transform="translate(60 50)">
<circle <circle cx="0" cy="0" r="7" fill="#11a181" transform="scale(0.42525 0.42525)" class="circle2" />
cx="0"
cy="0"
r="7"
fill="#11a181"
transform="scale(0.42525 0.42525)"
class="circle2"
/>
</g> </g>
<g transform="translate(80 50)"> <g transform="translate(80 50)">
<circle <circle cx="0" cy="0" r="7" fill="#11a181" transform="scale(0.113418 0.113418)" class="circle3" />
cx="0"
cy="0"
r="7"
fill="#11a181"
transform="scale(0.113418 0.113418)"
class="circle3"
/>
</g> </g>
</svg> </svg>
</div> </div>
...@@ -55,25 +21,25 @@ ...@@ -55,25 +21,25 @@
</template> </template>
<script> <script>
export default { export default {
name: "loading", name: 'loading',
props: { props: {
width: { width: {
type: Number, type: Number,
default: 80 default: 80,
}, },
height: { height: {
type: Number, type: Number,
default: 80 default: 80,
} },
}, },
created() { created() {
this.viewBox = "0 0" + " " + (this.width + 10) + " " + this.height; this.viewBox = '0 0' + ' ' + (this.width + 10) + ' ' + this.height;
}, },
data() { data() {
return { return {
viewBox: "" viewBox: '',
}; };
} },
}; };
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
......
const sapi = "http://recruitapi-ai3.liangkebang.net"; const sapi = 'http://recruitapi-ai3.liangkebang.net';
export { sapi }; export { sapi };
module.exports = module.exports = process.env.NODE_ENV === 'production' ? require('./prod.config.js') : require('./env.config.js');
process.env.NODE_ENV === "production"
? require("./prod.config.js")
: require("./env.config.js");
const sapi = "//api.stantoo.com"; const sapi = '//api.stantoo.com';
export { sapi }; export { sapi };
This diff is collapsed.
...@@ -12,44 +12,20 @@ ...@@ -12,44 +12,20 @@
<h3>登录</h3> <h3>登录</h3>
</div> </div>
<div class="login_content"> <div class="login_content">
<Form <Form ref="formInline" :model="formInline" :rules="ruleInline" style="height:161px">
ref="formInline"
:model="formInline"
:rules="ruleInline"
style="height:161px"
>
<FormItem prop="user" style="height:60px"> <FormItem prop="user" style="height:60px">
<Input <Input type="text" v-model="formInline.user" placeholder="请输入企业邮箱账号" class="wordStyle" size="large">
type="text"
v-model="formInline.user"
placeholder="请输入企业邮箱账号"
class="wordStyle"
size="large"
>
<Icon type="ios-person-outline" slot="prepend"></Icon> <Icon type="ios-person-outline" slot="prepend"></Icon>
</Input> </Input>
</FormItem> </FormItem>
<FormItem prop="password"> <FormItem prop="password">
<Input <Input type="password" v-model="formInline.password" placeholder="请输入密码" class="wordStyle" @keyup.enter.native="login" size="large">
type="password"
v-model="formInline.password"
placeholder="请输入密码"
class="wordStyle"
@keyup.enter.native="login"
size="large"
>
<Icon type="ios-lock-outline" slot="prepend"></Icon> <Icon type="ios-lock-outline" slot="prepend"></Icon>
</Input> </Input>
<span <span style="color:red;margin-top;5px" v-show="noteconTime == true">{{ notecontent }}</span>
style="color:red;margin-top;5px"
v-show="noteconTime == true"
>{{ notecontent }}</span
>
</FormItem> </FormItem>
</Form> </Form>
<Button type="primary" class="loginBtu" @click.prevent="login" <Button type="primary" class="loginBtu" @click.prevent="login">登录</Button>
>登录</Button
>
</div> </div>
<div class="copy"> <div class="copy">
...@@ -61,66 +37,66 @@ ...@@ -61,66 +37,66 @@
</div> </div>
</template> </template>
<script> <script>
import { login } from "../../api/login.server.js"; import { login } from '../../api/login.server.js';
import localstorage from "../../service/localstorage.service.js"; import localstorage from '../../service/localstorage.service.js';
export default { export default {
data() { data() {
return { return {
channelarr: [], channelarr: [],
notecontent: "", notecontent: '',
noteconTime: false, noteconTime: false,
ISIDMIN: "", ISIDMIN: '',
formInline: { formInline: {
user: "", user: '',
password: "" password: '',
}, },
ruleInline: { ruleInline: {
user: [ user: [
{ {
required: true, required: true,
pattern: /\w[-\w.+]*@([A-Za-z0-9][-A-Za-z0-9]+\.)+[A-Za-z]{2,14}/, pattern: /\w[-\w.+]*@([A-Za-z0-9][-A-Za-z0-9]+\.)+[A-Za-z]{2,14}/,
message: "请输入正确的邮箱账号", message: '请输入正确的邮箱账号',
trigger: "blur" trigger: 'blur',
} },
], ],
password: [ password: [
{ required: true, message: "请输入正确的密码", trigger: "blur" } { required: true, message: '请输入正确的密码', trigger: 'blur' },
// { type: 'string', min: 4, message: '请输入正确的密码', trigger: 'blur' } // { type: 'string', min: 4, message: '请输入正确的密码', trigger: 'blur' }
] ],
} },
}; };
}, },
methods: { methods: {
handleSubmit(name) { handleSubmit(name) {
this.$refs[name].validate(valid => { this.$refs[name].validate(valid => {
if (valid) { if (valid) {
this.$Message.success("Success!"); this.$Message.success('Success!');
} else { } else {
this.$Message.error("Fail!"); this.$Message.error('Fail!');
} }
}); });
}, },
login() { login() {
const params = { const params = {
userCode: this.formInline.user, userCode: this.formInline.user,
password: this.formInline.password password: this.formInline.password,
}; };
if (this.formInline.user == "" || this.formInline.password == "") { if (this.formInline.user == '' || this.formInline.password == '') {
return; return;
} }
login(params).then(res => { login(params).then(res => {
if (res.data.body.code == "100") { if (res.data.body.code == '100') {
this.$router.push({ this.$router.push({
name: "update", name: 'update',
params: { userCode: this.formInline.user } params: { userCode: this.formInline.user },
}); });
return; return;
} }
if (res.data.success == true) { if (res.data.success == true) {
this.ISIDMIN = res.data.body; this.ISIDMIN = res.data.body;
localstorage.set("token", res.data.body.token); localstorage.set('token', res.data.body.token);
this.$router.push({ name: "allResume" }); this.$router.push({ name: 'allResume' });
localstorage.set("isADMIN", JSON.stringify(this.ISIDMIN)); localstorage.set('isADMIN', JSON.stringify(this.ISIDMIN));
return; return;
} }
if (res.data.success == false) { if (res.data.success == false) {
...@@ -131,8 +107,8 @@ export default { ...@@ -131,8 +107,8 @@ export default {
}, 3000); }, 3000);
} }
}); });
} },
} },
}; };
</script> </script>
<style scoped> <style scoped>
......
...@@ -14,44 +14,19 @@ ...@@ -14,44 +14,19 @@
<div class="updatePsd_content"> <div class="updatePsd_content">
<Form ref="formInline" :model="formInline" class="formcontent"> <Form ref="formInline" :model="formInline" class="formcontent">
<FormItem class="formitemcontent"> <FormItem class="formitemcontent">
<Input <Input type="password" v-model="formInline.password" placeholder="Password" class="wordStyle2" @on-change="verification" size="large">
type="password"
v-model="formInline.password"
placeholder="Password"
class="wordStyle2"
@on-change="verification"
size="large"
>
<Icon type="ios-lock-outline" slot="prepend"></Icon> <Icon type="ios-lock-outline" slot="prepend"></Icon>
</Input> </Input>
<span style="color:Grey;margin-left:30px" v-show="fistcontent" <span style="color:Grey;margin-left:30px" v-show="fistcontent">4-20位且不得与默认密码相同</span>
>4-20位且不得与默认密码相同</span
>
</FormItem> </FormItem>
<FormItem style="margin-top:-20px" class="formitemcontent"> <FormItem style="margin-top:-20px" class="formitemcontent">
<Input <Input type="password" v-model="formInline.passwordTwo" placeholder="Password" class="wordStyle2" @keyup.enter.native="loginT" size="large">
type="password"
v-model="formInline.passwordTwo"
placeholder="Password"
class="wordStyle2"
@keyup.enter.native="loginT"
size="large"
>
<Icon type="ios-lock-outline" slot="prepend"></Icon> <Icon type="ios-lock-outline" slot="prepend"></Icon>
</Input> </Input>
<span <span style="color:Grey;margin-left:30px;color:red" v-show="twocontent">{{ twocontentmessage }}</span>
style="color:Grey;margin-left:30px;color:red"
v-show="twocontent"
>{{ twocontentmessage }}</span
>
</FormItem> </FormItem>
</Form> </Form>
<Button <Button type="primary" style="height:40px;width:100%;border-radius: 5px;background:rgb(0, 146, 255);color:rgb(255,255,255);font-size:18px;margin-top:10px" @click="loginT">登录</Button>
type="primary"
style="height:40px;width:100%;border-radius: 5px;background:rgb(0, 146, 255);color:rgb(255,255,255);font-size:18px;margin-top:10px"
@click="loginT"
>登录</Button
>
</div> </div>
<div class="copy"> <div class="copy">
<p>量化派为你提供全程服务</p> <p>量化派为你提供全程服务</p>
...@@ -62,29 +37,29 @@ ...@@ -62,29 +37,29 @@
</div> </div>
</template> </template>
<script> <script>
import { updatePsd } from "../../api/login.server.js"; import { updatePsd } from '../../api/login.server.js';
export default { export default {
data() { data() {
return { return {
formInline: { formInline: {
passwordTwo: "", passwordTwo: '',
password: "" password: '',
}, },
fistcontent: true, fistcontent: true,
twocontent: false, twocontent: false,
twocontentmessage: "", twocontentmessage: '',
channelarr: [], channelarr: [],
Massage: "", Massage: '',
ISIDMIN: "" ISIDMIN: '',
}; };
}, },
methods: { methods: {
handleSubmit(name) { handleSubmit(name) {
this.$refs[name].validate(valid => { this.$refs[name].validate(valid => {
if (valid) { if (valid) {
this.$Message.success("Success!"); this.$Message.success('Success!');
} else { } else {
this.$Message.error("Fail!"); this.$Message.error('Fail!');
} }
}); });
}, },
...@@ -92,21 +67,18 @@ export default { ...@@ -92,21 +67,18 @@ export default {
const params = { const params = {
userCode: this.$route.params.userCode, userCode: this.$route.params.userCode,
password: this.formInline.password, password: this.formInline.password,
confirmPassWord: this.formInline.passwordTwo confirmPassWord: this.formInline.passwordTwo,
}; };
if (this.formInline.passwordTwo !== this.formInline.password) { if (this.formInline.passwordTwo !== this.formInline.password) {
this.twocontentmessage = "输入密码不一致,请重新输入"; this.twocontentmessage = '输入密码不一致,请重新输入';
this.twocontent = true; this.twocontent = true;
setTimeout(() => { setTimeout(() => {
this.twocontent = false; this.twocontent = false;
}, 3000); }, 3000);
return; return;
} }
if ( if (this.formInline.passwordTwo.length < 4 || this.formInline.password.length < 4) {
this.formInline.passwordTwo.length < 4 || this.twocontentmessage = '请输入4-20位密码';
this.formInline.password.length < 4
) {
this.twocontentmessage = "请输入4-20位密码";
this.twocontent = true; this.twocontent = true;
setTimeout(() => { setTimeout(() => {
this.twocontent = false; this.twocontent = false;
...@@ -114,28 +86,28 @@ export default { ...@@ -114,28 +86,28 @@ export default {
return; return;
} }
if (this.formInline.password.length > 20) { if (this.formInline.password.length > 20) {
this.twocontentmessage = "请输入4-20位密码"; this.twocontentmessage = '请输入4-20位密码';
setTimeout(() => { setTimeout(() => {
this.twocontent = false; this.twocontent = false;
}, 3000); }, 3000);
return; return;
} }
if (this.formInline.password.length < 4) { if (this.formInline.password.length < 4) {
this.twocontentmessage = "请输入4-20位密码"; this.twocontentmessage = '请输入4-20位密码';
setTimeout(() => { setTimeout(() => {
this.twocontent = false; this.twocontent = false;
}, 3000); }, 3000);
return; return;
} }
if (this.formInline.password.length == 0) { if (this.formInline.password.length == 0) {
this.twocontentmessage = "密码不能为空"; this.twocontentmessage = '密码不能为空';
setTimeout(() => { setTimeout(() => {
this.twocontent = false; this.twocontent = false;
}, 3000); }, 3000);
return; return;
} }
if (this.formInline.passwordTwo.length == 0) { if (this.formInline.passwordTwo.length == 0) {
this.twocontentmessage = "请输入相同的确认密码"; this.twocontentmessage = '请输入相同的确认密码';
setTimeout(() => { setTimeout(() => {
this.twocontent = false; this.twocontent = false;
}, 3000); }, 3000);
...@@ -144,9 +116,9 @@ export default { ...@@ -144,9 +116,9 @@ export default {
updatePsd(params).then(res => { updatePsd(params).then(res => {
if (res.data.success == true) { if (res.data.success == true) {
this.ISIDMIN = res.data.body; this.ISIDMIN = res.data.body;
localStorage.setItem("isADMIN", JSON.stringify(this.ISIDMIN)); localStorage.setItem('isADMIN', JSON.stringify(this.ISIDMIN));
localStorage.setItem("token", res.data.body.token); localStorage.setItem('token', res.data.body.token);
this.$router.replace({ name: "allResume" }); this.$router.replace({ name: 'allResume' });
} }
if (res.data.success == false) { if (res.data.success == false) {
this.Massage = res.data.body.message; this.Massage = res.data.body.message;
...@@ -160,7 +132,7 @@ export default { ...@@ -160,7 +132,7 @@ export default {
}, },
verification() { verification() {
if (this.formInline.password == 123456) { if (this.formInline.password == 123456) {
this.twocontentmessage = "输入密码与初始密码相同,请重新输入"; this.twocontentmessage = '输入密码与初始密码相同,请重新输入';
setTimeout(() => { setTimeout(() => {
this.twocontent = false; this.twocontent = false;
}, 3000); }, 3000);
...@@ -168,7 +140,7 @@ export default { ...@@ -168,7 +140,7 @@ export default {
if (this.formInline.password.length == 0) { if (this.formInline.password.length == 0) {
this.fistcontent = true; this.fistcontent = true;
} }
if (this.formInline.password == "") { if (this.formInline.password == '') {
this.fistcontent = true; this.fistcontent = true;
} }
if (this.formInline.password.length < 4) { if (this.formInline.password.length < 4) {
...@@ -180,8 +152,8 @@ export default { ...@@ -180,8 +152,8 @@ export default {
if (this.formInline.password.length > 20) { if (this.formInline.password.length > 20) {
this.fistcontent = true; this.fistcontent = true;
} }
} },
} },
}; };
</script> </script>
<style scoped> <style scoped>
......
This diff is collapsed.
This diff is collapsed.
...@@ -18,13 +18,13 @@ ...@@ -18,13 +18,13 @@
</div> </div>
</template> </template>
<script> <script>
import { getErcode, downloadErcode } from "../../api/stystem.server.js"; import { getErcode, downloadErcode } from '../../api/stystem.server.js';
import { sapi } from "../../config"; import { sapi } from '../../config';
export default { export default {
data() { data() {
return { return {
url: "", url: '',
url2: "" url2: '',
}; };
}, },
methods: { methods: {
...@@ -38,11 +38,11 @@ export default { ...@@ -38,11 +38,11 @@ export default {
}, },
downPic(img) { downPic(img) {
window.location.href = `${sapi}/api/qrCode/downQrCode`; window.location.href = `${sapi}/api/qrCode/downQrCode`;
} },
}, },
mounted() { mounted() {
this.getercode(); this.getercode();
} },
}; };
</script> </script>
<style> <style>
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
import Vue from "vue"; import Vue from 'vue';
import Router from "vue-router"; import Router from 'vue-router';
const home = r => const home = r => require.ensure([], () => r(require('@/components/home.vue')), 'home');
require.ensure([], () => r(require("@/components/home.vue")), "home");
// const changepsd = r => require.ensure([], () => r(require('@/components/changepsd.vue')), 'changepsd'); // const changepsd = r => require.ensure([], () => r(require('@/components/changepsd.vue')), 'changepsd');
const login = r => const login = r => require.ensure([], () => r(require('@/page/login/login.vue')), 'login');
require.ensure([], () => r(require("@/page/login/login.vue")), "login"); const update = r => require.ensure([], () => r(require('@/page/login/update.vue')), 'update');
const update = r => const pdfdetail = r => require.ensure([], () => r(require('@/page/resume/pdfdetail.vue')), 'pdfdetail');
require.ensure([], () => r(require("@/page/login/update.vue")), "update"); const resumeDetail = r => require.ensure([], () => r(require('@/page/resume/resumeDetail.vue')), 'resumeDetail');
const pdfdetail = r => const interview = r => require.ensure([], () => r(require('@/page/interview/interview.vue')), 'interview');
require.ensure( const allResume = r => require.ensure([], () => r(require('@/page/resume/allResume.vue')), 'allResume');
[], const channel = r => require.ensure([], () => r(require('@/page/resume/channel.vue')), 'channel');
() => r(require("@/page/resume/pdfdetail.vue")), const account = r => require.ensure([], () => r(require('@/page/system/account.vue')), 'account');
"pdfdetail" const emailMange = r => require.ensure([], () => r(require('@/page/system/emailMange.vue')), 'emailMange');
); const QRcode = r => require.ensure([], () => r(require('@/page/system/QRcode.vue')), 'QRcode');
const resumeDetail = r => const upload = r => require.ensure([], () => r(require('@/page/upload/upload.vue')), 'upload');
require.ensure( const sweepCode = r => require.ensure([], () => r(require('@/page/sweepCode/sweepCode.vue')), 'sweepCode');
[], const editor = r => require.ensure([], () => r(require('@/components/editor.vue')), 'editor');
() => r(require("@/page/resume/resumeDetail.vue")), const getimage = r => require.ensure([], () => r(require('@/components/getimage.vue')), 'getimage');
"resumeDetail"
);
const interview = r =>
require.ensure(
[],
() => r(require("@/page/interview/interview.vue")),
"interview"
);
const allResume = r =>
require.ensure(
[],
() => r(require("@/page/resume/allResume.vue")),
"allResume"
);
const channel = r =>
require.ensure([], () => r(require("@/page/resume/channel.vue")), "channel");
const account = r =>
require.ensure([], () => r(require("@/page/system/account.vue")), "account");
const emailMange = r =>
require.ensure(
[],
() => r(require("@/page/system/emailMange.vue")),
"emailMange"
);
const QRcode = r =>
require.ensure([], () => r(require("@/page/system/QRcode.vue")), "QRcode");
const upload = r =>
require.ensure([], () => r(require("@/page/upload/upload.vue")), "upload");
const sweepCode = r =>
require.ensure(
[],
() => r(require("@/page/sweepCode/sweepCode.vue")),
"sweepCode"
);
const editor = r =>
require.ensure([], () => r(require("@/components/editor.vue")), "editor");
const getimage = r =>
require.ensure([], () => r(require("@/components/getimage.vue")), "getimage");
// z注释 // z注释
Vue.use(Router); Vue.use(Router);
export default new Router({ export default new Router({
mode: "history", mode: 'history',
routes: [ routes: [
{ {
path: "/", path: '/',
redirect: "/home" redirect: '/home',
}, },
{ {
path: "/login", path: '/login',
name: "login", name: 'login',
component: login, component: login,
meta: { meta: {
allowBack: false allowBack: false,
} },
}, },
{ {
path: "/sweepCode", path: '/sweepCode',
name: "sweepCode", name: 'sweepCode',
component: sweepCode component: sweepCode,
}, },
{ {
path: "/update", path: '/update',
name: "update", name: 'update',
component: update component: update,
}, },
{ {
path: "/getimage", path: '/getimage',
name: "getimage", name: 'getimage',
component: getimage component: getimage,
}, },
{ {
path: "/resumeDetail", path: '/resumeDetail',
name: "resumeDetail", name: 'resumeDetail',
component: resumeDetail component: resumeDetail,
}, },
{ {
path: "/pdfdetail", path: '/pdfdetail',
name: "pdfdetail", name: 'pdfdetail',
component: pdfdetail component: pdfdetail,
}, },
{ {
path: "/editor", path: '/editor',
name: "editor", name: 'editor',
component: editor component: editor,
}, },
{ {
path: "/home", path: '/home',
name: "home", name: 'home',
component: home, component: home,
children: [ children: [
{ {
path: "/interview", path: '/interview',
name: "interview", name: 'interview',
component: interview component: interview,
}, },
{ {
path: "/allResume", path: '/allResume',
name: "allResume", name: 'allResume',
component: allResume component: allResume,
}, },
{ {
path: "/channel/:channelname", path: '/channel/:channelname',
name: "channel", name: 'channel',
component: channel component: channel,
}, },
{ {
path: "/account", path: '/account',
name: "account", name: 'account',
component: account component: account,
}, },
{ {
path: "/emailMange", path: '/emailMange',
name: "emailMange", name: 'emailMange',
component: emailMange component: emailMange,
}, },
{ {
path: "/QRcode", path: '/QRcode',
name: "QRcode", name: 'QRcode',
component: QRcode component: QRcode,
}, },
{ {
path: "/upload", path: '/upload',
name: "upload", name: 'upload',
component: upload component: upload,
} },
] ],
} },
] ],
}); });
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
module.exports = require("es6-promise"); module.exports = require('es6-promise');
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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