| | |
| | | > |
| | | <FormTemplate |
| | | key="masterForm" data-key="masterForm" |
| | | :status="status" |
| | | v-bind="$attrs" |
| | | :type="type" |
| | | :TreeValue="TreeValue" |
| | |
| | | ref="CodeApply" |
| | | @getFormData="getCodeApplyFormData" |
| | | @attrList="attrListForm" |
| | | @isSeriesType="isSeriesTypeString" |
| | | @referConfigDataUpdate="referConfigDataUpdate" |
| | | ></FormTemplate> |
| | | </el-tab-pane> |
| | |
| | | name: "FormTemplateDialog", |
| | | components: { ResembleQuery, FormTemplate }, |
| | | props: { |
| | | status:{ |
| | | type: String, |
| | | default: "", |
| | | }, |
| | | visible: { |
| | | type: Boolean, |
| | | default: false, |
| | |
| | | }, |
| | | data() { |
| | | return { |
| | | isSeriesType:{}, |
| | | attrList:[], |
| | | eventList:[], |
| | | //码值的第二种只读隐藏情况 |
| | |
| | | }); |
| | | }, |
| | | getFormData(form) { |
| | | // if (this.status === "apply"){ |
| | | // form.codeStandardEditType = "制定"; |
| | | // return; |
| | | // } |
| | | this.form = form; |
| | | // console.log("form",form) |
| | | //属性码段赋值 |
| | | if (this.attrList) { |
| | | this.attrList.forEach(item => { |
| | |
| | | } |
| | | }) |
| | | } |
| | | |
| | | }, |
| | | isSeriesTypeString(val){ |
| | | this.isSeriesType = val; |
| | | }, |
| | | //属性码段赋值 |
| | | attrListForm(attrListForm){ |
| | | this.attrList=attrListForm; |
| | | }, |
| | | getCodeApplyFormData(codeApplyForm) { |
| | | // console.log("codeApplyForm",codeApplyForm) |
| | | this.codeApplyForm = codeApplyForm; |
| | | }, |
| | | // 参照组件数据变更 |