| | |
| | | methods: { |
| | | openDialog() { |
| | | this.getFormTemplate(); |
| | | if (this.type === "add") { |
| | | if (this.type === "add" || this.status === "amend") { |
| | | this.getCodeRule(); |
| | | } |
| | | }, |
| | |
| | | that.secVOList = (res.data.data.secVOList || []).filter((item) => |
| | | typeList.includes(item.secType) |
| | | ); |
| | | if (that.secVOList.length > 0 && that.type === "add") { |
| | | if ((that.secVOList.length > 0 && that.type === "add") || that.status === "amend") { |
| | | that.showCodeApply = true; |
| | | that.activeName = "codeApply"; |
| | | |
| | |
| | | if (this.$refs.CodeApply) { |
| | | this.$refs.CodeApply.changeChildItem(this.secVOList, this.TreeValue, this.type); |
| | | } |
| | | },, |
| | | }, |
| | | //属性码段赋值 |
| | | attrListForm(attrListForm) { |
| | | this.attrList = attrListForm; |