From ce72eae7b8ca8c4f188f2fc87f5264ae3be618aa Mon Sep 17 00:00:00 2001 From: wang1 <844966816@qq.com> Date: 星期三, 05 七月 2023 16:43:46 +0800 Subject: [PATCH] 通用流程中去掉流程阶段查询数据 --- Source/UBCS-WEB/src/components/FormTemplate/index.vue | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Source/UBCS-WEB/src/components/FormTemplate/index.vue b/Source/UBCS-WEB/src/components/FormTemplate/index.vue index 782a525..021d2f3 100644 --- a/Source/UBCS-WEB/src/components/FormTemplate/index.vue +++ b/Source/UBCS-WEB/src/components/FormTemplate/index.vue @@ -251,7 +251,7 @@ "coderefersec", ]; this.secVOList = (res.data.data.secVOList || []).filter((item) => - typeList.includes(item.sectype) + typeList.includes(item.secType) ); this.$nextTick(() => { if (this.secVOList.length > 0 && this.type === "add") { @@ -359,11 +359,11 @@ }; }, getType(item) { - return this.selfColumnType[item.sectype]; + return this.selfColumnType[item.secType]; }, getReferConfig(item) { let params = {}; - if (item.sectype == "codeclassifysec") { + if (item.secType == "codeclassifysec") { params = { isMuti: false, type: "grid", @@ -407,13 +407,13 @@ : "", }, }; - } else if (item.sectype == "coderefersec") { - params = JSON.parse(item.referValueInfo); + } else if (item.secType == "coderefersec") { + params = JSON.parse(item.referConfig); } return params; }, getDisabled(item) { - if (item.sectype === "codeclassifysec") { + if (item.secType === "codeclassifysec") { if (item.parentClassifySecOid) { if (!this.codeApplyForm[item.parentClassifySecOid]) { return true; -- Gitblit v1.9.3