From 81dceb62d7993785bdb256a0167e46b475a869bf Mon Sep 17 00:00:00 2001 From: yuxc <653031404@qq.com> Date: 星期四, 29 六月 2023 18:03:32 +0800 Subject: [PATCH] 1、主要对修改主题库分类接口报错问题进行了修改与测试以及对之前存入人员编号改为了人员id --- Source/UBCS-WEB/src/components/FormTemplate/index.vue | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Source/UBCS-WEB/src/components/FormTemplate/index.vue b/Source/UBCS-WEB/src/components/FormTemplate/index.vue index 782a525..57cfa45 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") { + } else if (item.secType == "coderefersec") { params = JSON.parse(item.referValueInfo); } 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