diff --git a/package.json b/package.json index d01037e..c3d8bbb 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,7 @@ "dependencies": { "axios": "^0.21.0", "core-js": "^3.6.5", + "dayjs": "^1.10.3", "element-ui": "^2.14.1", "postcss": "^8.1.10", "vue": "^2.6.11", diff --git a/src/components/EntryInformation.vue b/src/components/EntryInformation.vue index c93a362..8d6fb2a 100644 --- a/src/components/EntryInformation.vue +++ b/src/components/EntryInformation.vue @@ -6,18 +6,17 @@ - - + + - + - + - - + @@ -30,8 +29,20 @@ export default { return { idCard: "", //身份证 bankCard: "", //银行卡 - studentStatusCertificate: "" //学籍证明 + studentStatusCertificate: "", //学籍证明 + form:{}, + url:"" }; + }, + mounted(){ + this.url = this.galoData.url + this.$http("/findEntryInfo",{ + params: { + entryid: this.$route.query.id + } + }).then((res)=>{ + this.form = res.data.resp + }) } }; diff --git a/src/components/EntryStatus.vue b/src/components/EntryStatus.vue index 62eaa55..826353e 100644 --- a/src/components/EntryStatus.vue +++ b/src/components/EntryStatus.vue @@ -1,279 +1,396 @@ - - - - - 正在查看 xxxxxx 入职情况 - - 添加入职情况 - - - - - - - - - - - + + + + + 正在查看 xxxxxx 入职情况 + + 添加入职情况 + + + + + + + + {{gettime(scope.row.entrytime)}} + + + + + + - - - - - - - - - - - + + + + + + + + + + + + - - - - 编辑 - 详情 - - - - - - - - - - - - - - - - - - - - - - - 点击上传身份证 - - 只能上传jpg/png文件,且不超过500kb + + + + + 编辑 + 详情 + + + - - - 点击上传银行卡 - - 只能上传jpg/png文件,且不超过500kb - - - - 点击上传学籍证明 - - 只能上传jpg/png文件,且不超过500kb - - - - 点击上传其他资料 - - 只能上传jpg/png文件,且不超过500kb - - - - - - - - - - - - - - - - - - - - - - - - 取 消 - 确 定 + + - - - + + + + + + + + + + + + + + + + 点击上传身份证正面 + + 只能上传jpg/png文件 + + + + 点击上传身份证反面 + + 只能上传jpg/png文件 + + + + 点击上传银行卡 + + 只能上传jpg/png文件 + + + + 点击上传学籍证明 + + 只能上传jpg/png文件 + + + + 点击上传其他资料 + + 只能上传jpg/png文件 + + + + + + + + + + + + + + + + + + + + + + + + 取 消 + 确 定 + + + diff --git a/src/components/ISituation.vue b/src/components/ISituation.vue index 12ce517..6bb81c6 100644 --- a/src/components/ISituation.vue +++ b/src/components/ISituation.vue @@ -214,6 +214,7 @@ export default { console.log(res) if(res.data.code==200){ this.aisDialogVisible=false + this.getlist() } }) }else{ @@ -221,6 +222,8 @@ export default { console.log(res) if(res.data.code==200){ this.aisDialogVisible=false + this.getlist() + } }) } @@ -260,6 +263,7 @@ export default { console.log(res) if(res.data.code==200){ this.aisDialogVisible2=false + this.getlist() } }) }else{ @@ -267,7 +271,9 @@ export default { console.log(res) if(res.data.code==200){ this.aisDialogVisible2=false + this.getlist() } + }) } }else{ @@ -282,6 +288,7 @@ export default { }, // 添加面试情况 addInterviewSituation() { + this.form = {} this.title = true; this.aisDialogVisible = true; }, @@ -299,12 +306,12 @@ export default { this.aisDialogVisible2 = true; }, addTrialPost() { + this.form2 = {} this.title2 = true; this.aisDialogVisible2 = true; }, - }, - mounted() { - this.$http + getlist(){ + this.$http .get("/findTestResults", { params: { interviewerid: this.$route.query.uid }, }) @@ -321,6 +328,10 @@ export default { console.log(res); this.tableData = res.data.resp; }); + } + }, + mounted() { + this.getlist() }, }; diff --git a/src/components/Invitation.vue b/src/components/Invitation.vue index 258a3c6..9dee81a 100644 --- a/src/components/Invitation.vue +++ b/src/components/Invitation.vue @@ -141,9 +141,9 @@ export default { this.form.interviewerid = this.$route.query.uid; this.form.invitationtime = new Date(this.form.invitationtime).getFullYear() + - "/" + + "-" + parseInt(new Date(this.form.invitationtime).getMonth() + 1) + - "/" + + "-" + new Date(this.form.invitationtime).getDate(); if (this.title) { this.$http @@ -151,6 +151,7 @@ export default { .then((res) => { console.log(res); if (res.data.code == 200) { + this.getlist() this.aisDialogVisible = false; } }); @@ -160,6 +161,7 @@ export default { .then((res) => { console.log(res); if (res.data.code == 200) { + this.getlist() this.aisDialogVisible = false; } }); @@ -176,6 +178,7 @@ export default { }, // 添加邀约情况 add() { + this.form = {} this.title = true; this.aisDialogVisible = true; }, @@ -190,10 +193,8 @@ export default { // console.log(res) // }) }, - }, - mounted() { - console.log(this.$route.query); - this.$http + getlist(){ + this.$http .get("/findInvitations", { params: { interviewerid: this.$route.query.uid }, }) @@ -201,6 +202,11 @@ export default { console.log(res); this.tableData = res.data.resp; }); + } + }, + mounted() { + console.log(this.$route.query); + this.getlist() }, }; diff --git a/src/components/UserList.vue b/src/components/UserList.vue index bf41e8d..4382ccd 100644 --- a/src/components/UserList.vue +++ b/src/components/UserList.vue @@ -97,6 +97,7 @@ type="success" round icon="el-icon-takeaway-box" + @click="daochu" >导出 @@ -110,21 +111,23 @@ style="float: right; padding: 3px 0" class="upload-demo" ref="upload" - action="https://jsonplaceholder.typicode.com/posts/" + action="http://192.168.1.2:8090/personnal/upload" :on-preview="handlePreview" :on-remove="handleRemove" + :on-change="selfile" :file-list="fileList" :auto-upload="false" + :limit="1" + :show-file-list="false" > - 选取文件 + > --> 上传到服务器导入表格 @@ -225,6 +228,7 @@