| | |
| | | :selfColumnConfig="selfColumnConfig" |
| | | ref="CodeApply" |
| | | @getFormData="getCodeApplyFormData" |
| | | @attrList="attrListForm" |
| | | @referConfigDataUpdate="referConfigDataUpdate" |
| | | ></FormTemplate> |
| | | </el-tab-pane> |
| | |
| | | }, |
| | | data() { |
| | | return { |
| | | attrList:[], |
| | | eventList:[], |
| | | //码值的第二种只读隐藏情况 |
| | | codeValueApplyStatus:'', |
| | |
| | | }, |
| | | getFormData(form) { |
| | | this.form = form; |
| | | if (this.attrList) { |
| | | this.attrList.forEach(item => { |
| | | if (this.form.hasOwnProperty(item.referAttributeId)) { |
| | | this.codeApplyForm[item.oid] = this.form[item.referAttributeId] ; |
| | | } |
| | | }) |
| | | } |
| | | }, |
| | | attrListForm(attrListForm){ |
| | | this.attrList=attrListForm; |
| | | }, |
| | | getCodeApplyFormData(codeApplyForm) { |
| | | this.codeApplyForm = codeApplyForm; |