| | |
| | | </template> |
| | | |
| | | <script> |
| | | import Base64 from '../../components/js-base64/base64.js' |
| | | import { |
| | | Base64 |
| | | } from '@/js/Base64.js'; |
| | | import pickerAddress from '../../js/pickerAddress/pickerAddress.vue' |
| | | import utils from "@/js/utils.js" |
| | | import { |
| | |
| | | onBackPress(e) { |
| | | // console.log("监听返回按钮事件",e); |
| | | if (this.type) { |
| | | var eventChannel = this.$scope.eventChannel; |
| | | const eventChannel = this.getOpenerEventChannel(); |
| | | // const eventChannel = this.getOpenerEventChannel(); |
| | | eventChannel.emit(this.type, ""); |
| | | } |
| | |
| | | }, |
| | | cancel(e) { |
| | | if (this.type) { |
| | | var eventChannel = this.$scope.eventChannel; |
| | | const eventChannel = this.getOpenerEventChannel(); |
| | | // const eventChannel = this.getOpenerEventChannel(); |
| | | eventChannel.emit(this.type, ""); |
| | | } |
| | |
| | | // console.log(e.target); |
| | | var value = this.$data.classAttrList[e.target.dataset['index']].Attr[e.target.dataset['iindex']] |
| | | .dictitem[e |
| | | .target.value]; |
| | | .detail.value]; |
| | | var data_attr = this.$data.classAttrList[e.target.dataset['index']].Attr[e.target.dataset[ |
| | | 'iindex']]; |
| | | // console.log(data_attr); |
| | |
| | | var data_attr = this.$data.classAttrList[e.target.dataset['index']].Attr[e.target.dataset[ |
| | | 'iindex']]; |
| | | // console.log(decodedata); |
| | | if (e.target.value != data_attr.Value) { |
| | | if (e.detail.value != data_attr.Value) { |
| | | this.$data.classAttrList[e.target.dataset['index']].Attr[e.target.dataset['iindex']].Value = |
| | | decodedata ? decodedata : e.target.value; |
| | | decodedata ? decodedata : e.detail.value; |
| | | var eventid = this.$data.classAttrList[e.target.dataset['index']].Attr[e.target.dataset[ |
| | | 'iindex']] |
| | | .action; |
| | |
| | | showCancel: false, |
| | | confirmText: this.translateSys('cancel') |
| | | }); |
| | | // var value=this.$data.classAttrList[e.target.dataset['index']].Attr[e.target.dataset['iindex']].RelCls[e.target.value]; |
| | | // var value=this.$data.classAttrList[e.target.dataset['index']].Attr[e.target.dataset['iindex']].RelCls[e.detail.value]; |
| | | // this.$data.classAttrList[e.target.dataset['index']].Attr[e.target.dataset['iindex']].Value=value; |
| | | }, |
| | | classAttr_AddPrj(index, iindex) { |