| | |
| | | import { |
| | | querySelPsn |
| | | } from "@/api/index.js" |
| | | import {showInfo, |
| | | showError} from "@/js/Page.js" |
| | | export default { |
| | | data() { |
| | | return { |
| | |
| | | }) |
| | | .catch(ex => { |
| | | // console.log(ex); |
| | | uni.showModal({ |
| | | title: this.translateSys("error"), |
| | | content: ex.errMsg, |
| | | showCancel: false, |
| | | confirmText: this.translateSys("close") |
| | | }); |
| | | showError(ex, this.translateSys('error') ) |
| | | }); |
| | | } else |
| | | this.data = []; |
| | |
| | | } |
| | | } |
| | | if (data.length == 0) { |
| | | uni.showModal({ |
| | | title: this.translateSys("tip"), |
| | | content: this.translate('tip_no_select_user'), |
| | | showCancel: false, |
| | | confirmText: this.translateSys("close") |
| | | }); |
| | | showInfo(this.translate('tip_no_select_user')) |
| | | |
| | | return; |
| | | } |
| | | const eventChannel = this.getOpenerEventChannel(); |