From d1eb1ce1d2fcb0c76f5d3b1a6ae00bf3f263b2f1 Mon Sep 17 00:00:00 2001 From: fujunling <2984387807@qq.com> Date: 星期五, 09 六月 2023 14:21:54 +0800 Subject: [PATCH] Merge branch 'master' of http://dev.vci-tech.com:1065/r/ubcs --- Source/UBCS-WEB/src/components/FormTemplate/FormTempalte.vue | 9 ++------- 1 files changed, 2 insertions(+), 7 deletions(-) diff --git a/Source/UBCS-WEB/src/components/FormTemplate/FormTempalte.vue b/Source/UBCS-WEB/src/components/FormTemplate/FormTempalte.vue index 6afac39..2166a83 100644 --- a/Source/UBCS-WEB/src/components/FormTemplate/FormTempalte.vue +++ b/Source/UBCS-WEB/src/components/FormTemplate/FormTempalte.vue @@ -564,9 +564,6 @@ placeholder: formItem.inputTip, options:formItem.referConfig }:{}, - change: () => { - this.changeFun(formItem.displayExtension, formItem.prop); - }, span: formItem.type === "textarea" ? 24 : this.trendsSpan, rules: [ { @@ -692,8 +689,7 @@ // 琛ㄥ崟鏍¢獙 validate() { return new Promise((resolve) => { - this.$refs.form.validate((valid, done, msg) => { - console.error(msg, valid); + this.$refs.form.validate((valid, done) => { if (valid) { done(); resolve(true); @@ -706,8 +702,7 @@ // 鑾峰彇琛ㄥ崟璇︽儏鏁版嵁 getFormDetail() { if (this.type === 'add') return - if (this.type === "add") return; - getFormDetail({ templateOid: this.templateOid, oid: '213D13D5-76D3-6B42-0932-705693F6B6E4' }).then( + getFormDetail({ templateOid: this.templateOid, oid: this.rowOid }).then( (res) => { this.form = Object.assign(this.form, res.obj) console.log(res, "res"); -- Gitblit v1.9.3