From f86cdf1a67342fb7aa78384702f4509f7f8988b0 Mon Sep 17 00:00:00 2001 From: ludc Date: 星期三, 28 六月 2023 13:19:32 +0800 Subject: [PATCH] 提交引用码段参照配置修改 --- Source/UBCS-WEB/src/components/code-dialog-page/referConfigFormDialog.vue | 20 +++++++++++--------- 1 files changed, 11 insertions(+), 9 deletions(-) diff --git a/Source/UBCS-WEB/src/components/code-dialog-page/referConfigFormDialog.vue b/Source/UBCS-WEB/src/components/code-dialog-page/referConfigFormDialog.vue index f5bbfaf..526a329 100644 --- a/Source/UBCS-WEB/src/components/code-dialog-page/referConfigFormDialog.vue +++ b/Source/UBCS-WEB/src/components/code-dialog-page/referConfigFormDialog.vue @@ -594,7 +594,7 @@ this.isDisabledTabs = false; } else if(value == 'default' || value == 'grid'){ addFrom = { - limit: '15', + limit: 15, sortField: '', sortType: 'asc', }; @@ -670,11 +670,11 @@ tip: '榛樿绌虹潃锛岃缃悗琛ㄧず寮哄埗鏄剧ず杩欐牱鐨勯珮搴�', tipPlacement: 'right', span: 7, - // rules:[{ - // validator: validateNumber, - // message: "绐楀彛鏄剧ず鐨勯珮搴﹀繀椤讳负鏁板�肩被鍨�", - // trigger: "blur", - // }] + rules:[{ + validator: validateNumber, + message: "绐楀彛鏄剧ず鐨勯珮搴﹀繀椤讳负鏁板�肩被鍨�", + trigger: "blur", + }] },{ label: '杩囨护(绾ц仈)灞炴��', prop: 'useFormKey', @@ -769,7 +769,7 @@ prop: 'limit', span: 8, tip: '鍒嗛〉鏃舵瘡椤垫樉绀虹殑鏁伴噺锛屼笉鍒嗛〉濉�-1', - //value: 15, + value: 15, tipPlacement: 'right', },{ label: '鎺掑簭瀛楁', @@ -955,6 +955,8 @@ this.codeShowFieldConfigVOS = this.form.codeShowFieldConfigVOS; } return; + }else { + this.onloadAttrData() } if(func.notEmpty(val.referType)){ this.form.referTypeName = val.referTypeName; @@ -1179,8 +1181,8 @@ /** 涓恒�愬弬鐓у紩鐢ㄧ殑涓氬姟绫诲瀷銆戦�夊彇鍊间箣鍚庣殑鍐呭鍥炴樉鏃惰皟鐢� */ echoReferBtmType(content){ // 瀹炵幇鍥炴樉 - this.form.referTypeName = content.name; - this.form.referType = content.id; + this.form.referTypeName = content.name || content.id; + this.form.referType = content.id || ''; }, /** 鎺掑簭瀛楁銆佹樉绀虹殑灞炴�с�佹煡璇㈡潯浠剁殑琛ㄦ牸琛岄�夋嫨涔嬪悗鍥炴樉 */ echoSelectedAttr(data){ -- Gitblit v1.9.3