From c3c9baf912f572a78b2b82613d31889be187ab92 Mon Sep 17 00:00:00 2001
From: xiejun <xj@2023>
Date: 星期一, 03 七月 2023 23:53:56 +0800
Subject: [PATCH] 历史导入修改
---
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.10.0