--no commit message
Showing
1 changed file
with
74 additions
and
15 deletions
... | @@ -289,7 +289,7 @@ export default { | ... | @@ -289,7 +289,7 @@ export default { |
289 | this.organizationId = '' | 289 | this.organizationId = '' |
290 | this.departmentId = '' | 290 | this.departmentId = '' |
291 | } else { | 291 | } else { |
292 | this.organizationId = "408dee75-bde5-45cc-80af-62d260bff8d5" | 292 | this.organizationId = res.organizationId |
293 | this.departmentId = res.departmentId | 293 | this.departmentId = res.departmentId |
294 | this.getTableList() | 294 | this.getTableList() |
295 | this.getDepartData() | 295 | this.getDepartData() |
... | @@ -485,15 +485,27 @@ export default { | ... | @@ -485,15 +485,27 @@ export default { |
485 | if (data instanceof Array) { | 485 | if (data instanceof Array) { |
486 | data.forEach((item) => { | 486 | data.forEach((item) => { |
487 | ids.push(item.id) | 487 | ids.push(item.id) |
488 | }) | 488 | }) |
489 | .catch((error) => { | 489 | } else { |
490 | this.$alert(error, '提示', { | 490 | ids.push(data) |
491 | confirmButtonText: '确定', | 491 | } |
492 | type: 'error' | 492 | console.log(ids, 'ids') |
493 | }) | 493 | if (ids.length === 0) { |
494 | }) | 494 | this.$message({ |
495 | >>>>>>> 72755be14f820497c6cffdc8c8f469f26c98ba3f | 495 | message: '请选择需要重置密码的用户!', |
496 | { | 496 | showClose: true |
497 | }) | ||
498 | return | ||
499 | } | ||
500 | this.$confirm( | ||
501 | `<div class="customer-message-wrapper"> | ||
502 | <h5 class="title">确定要重置密码吗</h5> | ||
503 | <p class="result">执行后,数据将 | ||
504 | <span >无法恢复</span> | ||
505 | </p> | ||
506 | </div>`, | ||
507 | '执行确认', | ||
508 | { | ||
497 | dangerouslyUseHTMLString: true, | 509 | dangerouslyUseHTMLString: true, |
498 | customClass: 'customer-delete', | 510 | customClass: 'customer-delete', |
499 | confirmButtonText: '确定', | 511 | confirmButtonText: '确定', |
... | @@ -521,9 +533,56 @@ export default { | ... | @@ -521,9 +533,56 @@ export default { |
521 | this.$refs.leadingIn.import(this.tableUrl, '人员') | 533 | this.$refs.leadingIn.import(this.tableUrl, '人员') |
522 | } | 534 | } |
523 | } | 535 | } |
524 | }; | 536 | } |
525 | </script> | 537 | </script> |
526 | <style scoped lang="scss"> | 538 | |
527 | @import "~@/styles/mixin.scss"; | 539 | <style scoped lang="less"> |
528 | @import "~@/styles/public.scss"; | 540 | .content { |
529 | </style> | 541 | .top-wrapper { |
542 | .el-button + .el-button { | ||
543 | margin-left: 16px; | ||
544 | } | ||
545 | .top-wrapper-search { | ||
546 | display: inline-block; | ||
547 | margin-left: 16px; | ||
548 | ::v-deep .el-input, | ||
549 | ::v-deep .el-input__inner { | ||
550 | height: 32px; | ||
551 | } | ||
552 | .select { | ||
553 | width: 120px; | ||
554 | vertical-align: middle; | ||
555 | } | ||
556 | .selectName { | ||
557 | width: 178px; | ||
558 | margin: 0 16px; | ||
559 | vertical-align: middle; | ||
560 | ::v-deep .el-input-group__append { | ||
561 | background: #e0eeff; | ||
562 | color: #3aa3f8 !important; | ||
563 | padding-right: 12px; | ||
564 | border-radius: 0; | ||
565 | .el-button { | ||
566 | padding: 8px 8px; | ||
567 | } | ||
568 | } | ||
569 | } | ||
570 | } | ||
571 | } | ||
572 | .vxe-table { | ||
573 | ::v-deep .vxe-body--row { | ||
574 | .vxe-body--column:nth-child(3) { | ||
575 | text-align: left; | ||
576 | } | ||
577 | .svg-icon { | ||
578 | width: 1.5em; | ||
579 | height: 1.5em; | ||
580 | vertical-align: middle; | ||
581 | margin-left: 5px; | ||
582 | } | ||
583 | } | ||
584 | } | ||
585 | |||
586 | } | ||
587 | |||
588 | ... | ... |
-
Please register or sign in to post a comment