Commit 45b767f16f42545cf0593ed8928a4f9d13de95da
1 parent
98e2221b
超哥加油
Showing
1 changed file
with
47 additions
and
4 deletions
src/views/user/userlist.vue
| ... | ... | @@ -27,9 +27,8 @@ |
| 27 | 27 | <el-button type="success" @click="search">搜索</el-button> |
| 28 | 28 | <el-button type="success" @click="resetSearch">重置</el-button> |
| 29 | 29 | <el-button |
| 30 | - v-if="selectedList.length" | |
| 31 | 30 | type="primary" |
| 32 | - @click="handleInviteInterview" | |
| 31 | + @click="handleInviteInterview(scope.row)" | |
| 33 | 32 | >邀请面试</el-button |
| 34 | 33 | > |
| 35 | 34 | </el-form-item> |
| ... | ... | @@ -37,7 +36,10 @@ |
| 37 | 36 | </div> |
| 38 | 37 | |
| 39 | 38 | <div class="flex aligin-center"> |
| 40 | - <el-link :href="BASE_URL+'/temp/用户导入模板.xlsx'" target="_blank" type="primary" | |
| 39 | + <el-link | |
| 40 | + :href="BASE_URL + '/temp/用户导入模板.xlsx'" | |
| 41 | + target="_blank" | |
| 42 | + type="primary" | |
| 41 | 43 | >下载模板</el-link |
| 42 | 44 | > |
| 43 | 45 | <el-upload |
| ... | ... | @@ -133,6 +135,16 @@ |
| 133 | 135 | <span>{{ scope.row.fullName }}</span> |
| 134 | 136 | </template> |
| 135 | 137 | </el-table-column> |
| 138 | + <el-table-column prop="date" label="系统推荐" width="150px"> | |
| 139 | + <template slot-scope="scope"> | |
| 140 | + <el-rate | |
| 141 | + v-model="scope.row.stars" | |
| 142 | + disabled | |
| 143 | + text-color="#ff9900" | |
| 144 | + > | |
| 145 | + </el-rate> | |
| 146 | + </template> | |
| 147 | + </el-table-column> | |
| 136 | 148 | <el-table-column prop="date" label="电话号码"> |
| 137 | 149 | <template slot-scope="scope"> |
| 138 | 150 | <el-tooltip |
| ... | ... | @@ -157,6 +169,8 @@ |
| 157 | 169 | <span>{{ row.TestPaperTitle || "无" }}</span> |
| 158 | 170 | </template> |
| 159 | 171 | </el-table-column> |
| 172 | + <el-table-column prop="processName" label="面试进度"> | |
| 173 | + </el-table-column> | |
| 160 | 174 | <el-table-column prop="date" label="电话号码"> |
| 161 | 175 | <template slot-scope="scope"> |
| 162 | 176 | <el-tooltip |
| ... | ... | @@ -187,7 +201,7 @@ |
| 187 | 201 | </template> |
| 188 | 202 | </el-table-column> |
| 189 | 203 | |
| 190 | - <el-table-column prop="date" label="操作" width="180"> | |
| 204 | + <el-table-column prop="date" label="操作" width="220"> | |
| 191 | 205 | <template slot-scope="scope"> |
| 192 | 206 | <el-button |
| 193 | 207 | type="text" |
| ... | ... | @@ -198,6 +212,13 @@ |
| 198 | 212 | > |
| 199 | 213 | <el-button |
| 200 | 214 | type="text" |
| 215 | + icon="el-icon-edit" | |
| 216 | + @click="handleInviteInterviewOnsite(scope.row)" | |
| 217 | + circle | |
| 218 | + >邀请面试</el-button | |
| 219 | + > | |
| 220 | + <el-button | |
| 221 | + type="text" | |
| 201 | 222 | icon="el-icon-delete" |
| 202 | 223 | circle |
| 203 | 224 | @click="handleDelete(scope.row, scope.$index)" |
| ... | ... | @@ -409,6 +430,15 @@ |
| 409 | 430 | style="width: 40%" |
| 410 | 431 | ></el-input> |
| 411 | 432 | </el-form-item> |
| 433 | + <el-form-item label="系统推荐" style="margin-top: 40px" prop="stars"> | |
| 434 | + <el-rate | |
| 435 | + style="width: 40%" | |
| 436 | + v-model="adminUserInfo.stars" | |
| 437 | + :texts="['不推荐', '一般', '满意', '很满意', '极力推荐']" | |
| 438 | + show-text | |
| 439 | + > | |
| 440 | + </el-rate> | |
| 441 | + </el-form-item> | |
| 412 | 442 | |
| 413 | 443 | <!-- <el-form-item label="密码" prop="password" > |
| 414 | 444 | <el-input v-model="adminUserInfo.password " placeholder="请输入密码 不填默认不修改" show-password style="width: 40%;"></el-input> |
| ... | ... | @@ -430,6 +460,7 @@ |
| 430 | 460 | import { |
| 431 | 461 | ImportUserByExcel, |
| 432 | 462 | GetUserList, |
| 463 | + UsersUpdate, | |
| 433 | 464 | AddInvitationAnswerMultiple, |
| 434 | 465 | UsersDelete, |
| 435 | 466 | } from "@/api/user"; |
| ... | ... | @@ -558,6 +589,14 @@ export default { |
| 558 | 589 | window.open(`/#/answerDetail?id=${item.id}`, "_blank"); |
| 559 | 590 | }, |
| 560 | 591 | submitForm() { |
| 592 | + let formData = { ...this.adminUserInfo }; | |
| 593 | + console.log('submitForm',JSON.stringify(formData)); | |
| 594 | + if (formData.id) { | |
| 595 | + UsersUpdate(formData).then((res) => { | |
| 596 | + this.GetUser(); | |
| 597 | + console.log(res); | |
| 598 | + }); | |
| 599 | + } | |
| 561 | 600 | this.dialogClassIVIsible = false; |
| 562 | 601 | }, |
| 563 | 602 | handleEdit(data) { |
| ... | ... | @@ -634,6 +673,10 @@ export default { |
| 634 | 673 | handleInviteInterview() { |
| 635 | 674 | this.dialogFormVisible = true; |
| 636 | 675 | }, |
| 676 | + //邀请现场面试 | |
| 677 | + handleInviteInterviewOnSite(item){ | |
| 678 | + | |
| 679 | + }, | |
| 637 | 680 | handleSelectionChange(val) { |
| 638 | 681 | console.log(val); |
| 639 | 682 | this.selectedList = val; | ... | ... |