From e6276ef236f80989bfc764bd9bf7d95978d17dda Mon Sep 17 00:00:00 2001 From: yangzhi <765157588@qq.com> Date: Fri, 15 Apr 2022 14:41:33 +0800 Subject: [PATCH] 超哥牛批 --- src/App.vue | 3 +++ src/common/config.js | 4 ++++ src/common/mixins.js | 4 +++- src/views/user/picuserimport.vue | 6 ++++-- src/views/user/userlist.vue | 987 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 5 files changed, 614 insertions(+), 390 deletions(-) create mode 100644 src/common/config.js diff --git a/src/App.vue b/src/App.vue index 8db17cb..3908542 100644 --- a/src/App.vue +++ b/src/App.vue @@ -13,6 +13,9 @@ export default { .flex{ display: flex; } +.aligin-center{ + align-items: center; +} .page-box{ display: flex; align-items: center; diff --git a/src/common/config.js b/src/common/config.js new file mode 100644 index 0000000..ae63f1b --- /dev/null +++ b/src/common/config.js @@ -0,0 +1,4 @@ +let BASE_URL = 'https://inteview.t1j2.com' +export { + BASE_URL +} \ No newline at end of file diff --git a/src/common/mixins.js b/src/common/mixins.js index e9aa4d9..6781481 100644 --- a/src/common/mixins.js +++ b/src/common/mixins.js @@ -1,10 +1,12 @@ import { getToken } from '@/utils/auth' +import { BASE_URL } from '@/common/config' export default { data() { return { - Authorization: '' + Authorization: '', + BASE_URL: BASE_URL }; }, created() { diff --git a/src/views/user/picuserimport.vue b/src/views/user/picuserimport.vue index e3e0715..16118fc 100644 --- a/src/views/user/picuserimport.vue +++ b/src/views/user/picuserimport.vue @@ -36,17 +36,18 @@ > - 上传待解析图片 + 上传简历 @@ -172,6 +173,7 @@ export default { methods: { handleExceed() {}, handleSuccess(res) { + this.$refs.uploader.clearFiles(); this.search(); }, search(){ diff --git a/src/views/user/userlist.vue b/src/views/user/userlist.vue index 4814a4c..e556d9b 100644 --- a/src/views/user/userlist.vue +++ b/src/views/user/userlist.vue @@ -1,11 +1,13 @@ - - + - + @@ -21,53 +23,111 @@ - 搜索 重置 - 邀请面试 + 邀请面试 - - - - - 导入用户 - + + 下载模板 + + 导入用户 + + - - - - 所属分类 - - - - - + + + 所属分类 + + + + - + - + - - - - + - + {{ scope.row.fullName }} @@ -75,36 +135,51 @@ - + {{ scope.row.phone1 }} - - - {{row.TestPaperTitle || '无'}} - + + + {{ row.TestPaperTitle || "无" }} - + {{ scope.row.phone1 }} - - - - - - - - + + + + + + + + + + @@ -114,19 +189,39 @@ - 编辑 - 删除 + 编辑 + 删除 - + - - @@ -135,15 +230,24 @@ --> - - {{'['+item.id+'] '+(item.TestPaperTitle || - '未命名')}} + + {{ + "[" + item.id + "] " + (item.TestPaperTitle || "未命名") + }} - + - - + - - + + {{ scope.row.AnswerTime.replace("T", " ") }} - - + {{ scope.row.StartTime.replace("T", " ") }} - + {{ scope.row.EndTime.replace("T", " ") }} - - + + - 观看直播 - 答题详情 + 观看直播 + 答题详情 - - - + 确定 - - - - - + + - - + 取消 @@ -208,14 +347,31 @@ - - - + + - + - + @@ -226,7 +382,11 @@ - + @@ -235,345 +395,398 @@ - - + + - - + + - - 取消 - 提交 + + 取消 + 提交 - + - \ No newline at end of file -- libgit2 0.21.4