| | |
| | | dataObjCreate, |
| | | dataObjDel |
| | | } from "@/api/data.js" |
| | | |
| | | import {showInfo, |
| | | showError} from "@/js/Page.js" |
| | | export default { |
| | | data() { |
| | | return { |
| | |
| | | else if (type == "2") |
| | | this.ok2Loading = false |
| | | }).catch(ex => { |
| | | let tip = typeof ex.errMsg == "string" ? ex.errMsg : ex |
| | | |
| | | // var tip = typeof ex == "string" ? ex : ex.errMsg; |
| | | if (type == "1") |
| | | this.okLoading = false |
| | | else if (type == "2") |
| | | this.ok2Loading = false |
| | | uni.showModal({ |
| | | title: this.translateSys("error") + "8.1", |
| | | content: this.translate("execute_after_ok_event_failed") + this.translateSys( |
| | | "comma") + |
| | | tip, |
| | | showCancel: false, |
| | | confirmText: this.translateSys("cancel") |
| | | }); |
| | | showError(ex, this.translateSys("error") + "8.1") |
| | | |
| | | }); |
| | | }, |
| | | |