| | |
| | | append-to-body |
| | | @close="closeSubmitDialog" |
| | | width="70%" |
| | | top="6vh" |
| | | style="height: 115vh;" |
| | | > |
| | | <el-form ref="form" :model="btmType" show-message="true" inline size="medium" label-suffix=":" class="btmTypeForm" |
| | |
| | | watch: { |
| | | btmType: { |
| | | handler(newval, oldval) { |
| | | console.log('监听', newval, oldval) |
| | | // console.log('监听', newval, oldval) |
| | | }, |
| | | deep: true, |
| | | immediate: true |
| | |
| | | }, |
| | | // 添加业务类型 |
| | | submitBtmType() { |
| | | console.log(this.btmType); |
| | | // console.log(this.btmType); |
| | | if (!this.btmType.attributes){ |
| | | this.$message.warning("还没有为业务类型选择属性"); |
| | | return; |
| | |
| | | }, |
| | | // 列表编辑保存 |
| | | cellEditSave(row,index) { |
| | | // console.log("1111111111111111111111") |
| | | this.btmType.attributes[index].name = row.name |
| | | this.btmType.attributes[index].defaultValue = row.defaultValue; |
| | | this.btmType.attributes[index].description = row.description; |