| | |
| | | import { |
| | | showInfo, |
| | | showError, |
| | | showModal |
| | | showModal, |
| | | showLoading, |
| | | hideLoading |
| | | } from "@/js/Page.js" |
| | | import pickerAddress from '../../js/pickerAddress/pickerAddress.vue' |
| | | import utils from "@/js/utils.js" |
| | |
| | | mounted() { |
| | | console.log("3018 mounted"); |
| | | }, |
| | | onReady() { |
| | | uni.setNavigationBarTitle({ |
| | | title: this.title |
| | | }); //设置顶部标题 |
| | | }, |
| | | onLoad(options) { |
| | | console.log("3018", options); |
| | | uni.setNavigationBarTitle({ |
| | | title: options.titlename |
| | | }); //设置顶部标题 |
| | | |
| | | var param = JSON.parse(options.param); |
| | | this.title = param.Add_BtnName ? param.Add_BtnName : options.titlename; //设置按钮文字 |
| | | this.title = options.titlename; //设置按钮文字param.Add_BtnName ? param.Add_BtnName : |
| | | if (options.type) { |
| | | this.type = options.type; |
| | | } |
| | |
| | | }, |
| | | async loadData() { |
| | | try { |
| | | showLoading("loading...") |
| | | const param = this.param |
| | | var edit_dlg = { |
| | | Model: param.EditDlgMode, |
| | |
| | | } |
| | | $this.classAttrList = result; |
| | | await $this.classGridStyleInfo(); |
| | | hideLoading() |
| | | } catch (ex) { |
| | | // console.log(ex); |
| | | hideLoading() |
| | | showError(ex, this.translateSys('error') + " 1") |
| | | |
| | | } |