| | |
| | | deep:true, |
| | | immediate:true |
| | | }, |
| | | Formlist:{ |
| | | handler(newval,oldval){ |
| | | if(newval.length === 0){ |
| | | this.crudArrayFlag=false |
| | | return |
| | | } |
| | | } |
| | | }, |
| | | ProData:{ |
| | | handler(newval,oldval){ |
| | | if(newval){ |
| | | this.loading=true; |
| | | setTimeout(() => { |
| | | this.loading=false |
| | | }, 1000); |
| | | } |
| | | } |
| | | }, |
| | | 'injectOption.classifyInvokeAttr': function(newVal) { |
| | | console.log('newVal',newVal) |
| | | if (newVal === "name") { |
| | |
| | | // noinspection JSCheckFunctionSignatures |
| | | if(this.CurrentCell){ |
| | | //如果是指定层赋值为数字 |
| | | if(this.CurrentCell.classifyInvokeLevel!== 'min'){ |
| | | if(this.injectOption.classifyInvokeLevel!== 'min'){ |
| | | this.CurrentCell.classifyInvokeLevel=this.injectOption.classifyNumber |
| | | }else { |
| | | this.CurrentCell.classifyInvokeLevel='min' |
| | | } |
| | | //其余正常赋值 |
| | | this.CurrentCell.classifyInvokeAttr=this.injectOption.classifyInvokeAttr, |
| | |
| | | //如果是指定层赋值为数字 |
| | | if(this.injectOption.classifyInvokeLevel !== 'min'){ |
| | | this.attrSelectList[0].classifyInvokeLevel=this.injectOption.classifyNumber |
| | | }else { |
| | | this.attrSelectList[0].classifyInvokeLevel='min' |
| | | } |
| | | this.$set(this.attrSelectList[0],'classifyInvokeText',data) |
| | | } |