From a0431deb4d557cd50d304df885a275edf1390f56 Mon Sep 17 00:00:00 2001
From: yuxc <yuxc@vci-tech.com>
Date: 星期四, 16 一月 2025 17:34:32 +0800
Subject: [PATCH] 1、修改属性报错修护。 2、修改用户信息增加个人信息处修改判断处理。
---
Source/plt-web/plt-web-ui/src/components/PLT-basic-component/basicForm.vue | 17 ++++++++++++-----
1 files changed, 12 insertions(+), 5 deletions(-)
diff --git a/Source/plt-web/plt-web-ui/src/components/PLT-basic-component/basicForm.vue b/Source/plt-web/plt-web-ui/src/components/PLT-basic-component/basicForm.vue
index dc51274..d09d91f 100644
--- a/Source/plt-web/plt-web-ui/src/components/PLT-basic-component/basicForm.vue
+++ b/Source/plt-web/plt-web-ui/src/components/PLT-basic-component/basicForm.vue
@@ -1,6 +1,6 @@
<template>
<!--鍔ㄦ�佹ā鏉�-->
- <avue-form ref="form" :option="option" v-model="form" v-loading="loading">
+ <avue-form ref="basicform" :option="option" v-model="form" v-loading="loading">
<template v-for="item in allColumn" :slot="item.prop+ ''">
<vciWebRefer
v-if="item.type === 'refer'"
@@ -199,6 +199,7 @@
: this.span,
value: item.value || item.defaultValue,
display: item.display || !item.hidden,
+ suffixIcon: item.suffixIcon || item.prefix,
labelSuffix: item.labelSuffix || item.suffix,
tip: item.tip || item.tooltips,
dictCode: item.dictCode || item.comboxKey,
@@ -325,7 +326,7 @@
// 琛ㄥ崟鏍¢獙
validate(done) {
return new Promise((resolve) => {
- this.$refs.form.validate((valid,fields) => {
+ this.$refs.basicform.validate((valid,fields) => {
done(valid,fields);
if (valid) {
resolve(true);
@@ -338,13 +339,19 @@
});
},
resetFields(){
- this.$refs.form.resetFields()
+ this.$refs.basicform.resetFields()
},
clearValidate(props){
- this.$refs.form.clearValidate(props)
+ this.$refs.basicform.clearValidate(props)
},
updateDic(prop,data){
- this.$refs.form.updateDic(prop,data)
+ this.$refs.basicform.updateDic(prop,data)
+ },
+ dicInit(){
+ this.$refs.basicform.dicInit()
+ },
+ getPropRef(){
+ this.$refs.basicform.getPropRef()
}
},
};
--
Gitblit v1.9.3