| | |
| | | this.$data.detail2StyleDefList.push(detailStyle); |
| | | // console.log(this.$data.detail2StyleDefList); |
| | | }else{ |
| | | detailStyle.form.attrs = data.row.attrs; |
| | | this.$data.detail1StyleDefList.push(detailStyle); |
| | | // console.log(this.$data.detail1StyleDefList); |
| | | // console.log(this.$data.detail1StyleDefList); |
| | | } |
| | | }, |
| | | //加载已码盘内容 |
| | |
| | | detailAttrList.push(detail_attr); |
| | | }); |
| | | // console.log(detailAttrList); |
| | | |
| | | //获取正在码盘里没有显示的字段 |
| | | this.$data.detail1StyleDefList.forEach(style=>{ |
| | | style.form.attrs.forEach(attr => { |
| | | for(var key in detailAttrList){ |
| | | let keys = Object.keys(detailAttrList[key]); |
| | | let isflag = true; |
| | | keys.forEach((ele) => { |
| | | if(ele == attr.attr) isflag = false; |
| | | }); |
| | | if(isflag) { |
| | | detailAttrList[attr.attr] = attr.value; |
| | | } |
| | | } |
| | | }); |
| | | }); |
| | | // console.log(detailAttrList); |
| | | // return; |
| | | var input_param = Base64.encode( |
| | | JSON.stringify( |
| | | Object.keys(head_attr).map((a) => ({ |
| | |
| | | ); |
| | | var dataInfo={ |
| | | ed_type: 0, |
| | | start_transaction: '', |
| | | start_transaction: true, |
| | | class_id: this.$data.head_styledef.form.clsId, |
| | | class_name: '', |
| | | event_id: this.$data.param.After_OK_Event.ID, |