pages/modal/5600.vue
@@ -764,60 +764,6 @@
      jsonlist.forEach(async (json,key)=>{
         await $this.runCustomEvent(event,input_param,json);
      });
        //       var data_json = Base64.encode(
        //           JSON.stringify(jsonlist)
        //       );
            // var $this = this;
            // var dataInfo={
            //   ed_type: 0,
            //   start_transaction: '',
            //   class_id: this.$data.head_styledef.form.clsId,
            //   class_name: '',
            //   event_id: this.$data.param.After_OK_Event.ID,
            //   event_name: '',
            //   data_obj_id: '',
            //   obj_attr: '',
            //   prj_id: '',
            //   ref_cls_id: '',
            //   rel_obj_id: '',
            //   user_login: '',
            //   data_json: data_json,
            //   compose_info: '',
            //   ext_info: '',
            //   global_attr: '',
            //   input_param: input_param,
            // };
        //       // console.log(dataInfo);
            // this.$store.dispatch('runCustomEvent',dataInfo).then(res=>{
            //    console.log(res);
            //    if (res.err_code == 0) {
            //       var result = res.result;
            //       if(result.result_type == 0){
            //           $this.$data.head_styledef.form.items.forEach((item,index) => {
            //            if(item.fieldId != "S_CNTR_CODE"){
            //               item.value = '';
            //               item.oldvalue = '';
            //               $this.$data.head_styledef.form.model[item.fieldId] = '';
            //            }
            //           });
            //           $this.$data.detail1StyleDefList=[];
            //           // $this.$data.detail2StyleDefList=[];
            //           uni.showModal({title:"提示",content:"码盘成功",showCancel:false,confirmText:"取消"});
            //       }else{
            //          // $this.$data.detail2StyleDefList=[];
            //           if(result.info){
            //            uni.showModal({title:"提示",content:result.info,showCancel:false,confirmText:"取消"});
            //          }
            //       }
            //    }else{
            //       uni.showModal({title:"错误8",content:res.err_msg,showCancel:false,confirmText:"取消"});
            //    }
            // }).catch(ex=>{
            //    // console.log(ex);
            //    uni.showModal({title:"错误8.1",content:ex.errMsg,showCancel:false,confirmText:"取消"});
            // });
   },
    //执行确定脚本
    async runCustomEvent(event,input_param,json){