d
cuiqian2004
2025-04-16 9201045a62b97c63e0cda7a63bc383b4074b2ee0
pages/modal/small-wnd/index.vue
@@ -287,7 +287,9 @@
</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 {
@@ -312,7 +314,7 @@
      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, "");
         }
@@ -1060,7 +1062,7 @@
         },
         cancel(e) {
            if (this.type) {
               var eventChannel = this.$scope.eventChannel;
               const eventChannel = this.getOpenerEventChannel();
               // const eventChannel = this.getOpenerEventChannel();
               eventChannel.emit(this.type, "");
            }
@@ -1094,7 +1096,7 @@
            // 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);
@@ -1210,9 +1212,9 @@
            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;
@@ -1346,7 +1348,7 @@
               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) {