| | |
| | | > |
| | | <FormTemplate |
| | | v-bind="$attrs" |
| | | :visible="visible" |
| | | :type="type" |
| | | :rowOid="rowOid" |
| | | :templateOid="templateOid" |
| | | ref="FormTemplate" |
| | | @getFormData="getFormData" |
| | | ></FormTemplate> |
| | | |
| | | <div |
| | | class="tab_box" |
| | | v-if=" |
| | |
| | | form: {}, |
| | | codeApplyForm: {}, |
| | | activeName: "codeApply", |
| | | showCodeApply: true, |
| | | showResembleQuery: true, |
| | | showCodeApply: false, |
| | | showResembleQuery: false, |
| | | selfColumnType: { |
| | | codefixedsec: "combox", |
| | | codeclassifysec: "refer", |
| | |
| | | this.activeName = "resembleQuery"; |
| | | this.showResembleQuery = true; |
| | | } |
| | | this.$refs.FormTemplate.templateRender(res.data.formDefineVO.items); |
| | | this.$nextTick(() => { |
| | | this.$refs.FormTemplate.templateRender(res.data.formDefineVO.items); |
| | | }) |
| | | } |
| | | }) |
| | | .catch(() => { |
| | |
| | | this.secVOList = (res.data.data.secVOList || []).filter((item) => |
| | | typeList.includes(item.secType) |
| | | ); |
| | | this.$nextTick(() => { |
| | | if (this.secVOList.length > 0 && this.type === "add") { |
| | | this.showCodeApply = true; |
| | | this.activeName = "codeApply"; |
| | | this.$refs.CodeApply.templateRender(this.secVOList); |
| | | this.$nextTick(() => { |
| | | this.$refs.CodeApply.templateRender(this.secVOList); |
| | | }) |
| | | } else { |
| | | this.showCodeApply = false; |
| | | } |
| | | }); |
| | | } |
| | | }); |
| | | }, |