From c94eaa728f9d68a872d904823c964e5d5810f202 Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期四, 12 十二月 2024 18:02:49 +0800 Subject: [PATCH] 修改自定义url绑定值&&登录添加中文密码错误提示&& --- Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/uiDefine/rightRegion/bottomTable/index.vue | 84 ++++++++++++++++++++++++++--------------- 1 files changed, 53 insertions(+), 31 deletions(-) diff --git a/Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/uiDefine/rightRegion/bottomTable/index.vue b/Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/uiDefine/rightRegion/bottomTable/index.vue index b035270..97eef61 100644 --- a/Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/uiDefine/rightRegion/bottomTable/index.vue +++ b/Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/uiDefine/rightRegion/bottomTable/index.vue @@ -414,6 +414,7 @@ data: [], option: { ...basicOption, + size:'mini', height: this.height, addBtn: false, index: true, @@ -424,6 +425,7 @@ { label: '鍚嶇О', prop: 'name', + labelWidth: 110, rules: [ { required: true, @@ -435,6 +437,7 @@ { label: '缂栧彿', prop: 'seq', + labelWidth: 110, hide: false, rules: [ { @@ -448,17 +451,25 @@ label: '', prop: 'uiParser', hide: true, - labelWidth: 100, + labelWidth: 110, }, { label: '', prop: 'extAttr', hide: true, + labelWidth: 110, + }, + { + label: '鎻忚堪', + prop: 'description', + labelWidth: 110, + hide: false, }, { label: '妯℃澘绫诲瀷', prop: 'templateType', type: 'radio', + labelWidth: 110, span: 24, value: '1', dicData: [ @@ -517,6 +528,7 @@ label: '鏄剧ず绫诲瀷', prop: 'navigatorType', type: 'radio', + labelWidth: 110, span: 24, value: '1', hide: true, @@ -539,6 +551,7 @@ label: '鎼滅储绫诲瀷', prop: 'searchTarger', display: true, + labelWidth: 110, type: 'radio', value: '1', span: 24, @@ -564,7 +577,7 @@ if (this.searchTargerChangeFlag) { // 鍒囨崲娓呯┖妯℃澘绫诲瀷 - const list = ['showType', 'linkType', 'templateId', 'SubUILayout', 'queryTemplateName', 'searchObjType', 'bsCustQueryCLsOrUrl', 'csCustQueryCLsOrUrl']; + const list = ['showType', 'linkType', 'templateId', 'SubUILayout', 'queryTemplateName', 'searchObjType', 'bsDataModel', 'csDataModel']; list.forEach(item => { this.form[item] = ''; }) @@ -573,22 +586,19 @@ } } }, - { - label: '鎻忚堪', - prop: 'description', - display: false - }, ], group: [ { - label: '', - arrow: false, + icon:'el-icon-info', + label:'', + arrow: true, prop: 'group1', column: [ { label: '婧愬璞�', prop: 'showType', type: 'select', + labelWidth: 115, cascader: ['linkType', 'SubUILayout', 'searchObjType'], placeholder: "璇疯緭鍏ュ唴瀹�", dicUrl: '/api/uiManagerController/getBtmDatasByPage?page=1&limit=-1', @@ -596,7 +606,7 @@ change: (val) => { if (val.value) { let params = { - 'conditionMap[selectBtmType]': this.form.searchTarger === '1' ? this.form.showType : this.form.linkType + 'conditionMap[selectBtmType]': this.form.searchTarger === '1' ? val.value : this.form.linkType } getPortalVIDatasByPage(1, -1, params).then(res => { this.templateIdList = res.data.data; @@ -638,6 +648,7 @@ prop: 'linkType', type: 'select', display: false, + labelWidth: 115, filterable: true, props: { label: 'name', @@ -670,6 +681,7 @@ { label: '閫夋嫨妯℃澘', prop: 'templateId', + labelWidth: 115, display: false, formslot: true, rules: [ @@ -684,6 +696,7 @@ label: 'UI瀹氫箟', prop: 'SubUILayout', type: 'select', + labelWidth: 115, filterable: true, display: false, props: { @@ -698,6 +711,7 @@ display: false, value: '1', type: 'radio', + labelWidth: 115, span: 24, dicData: [ { @@ -715,7 +729,7 @@ prop: 'searchObjType', type: 'select', display: false, - labelWidth: 100, + labelWidth: 115, props: { label: 'qtName', value: 'qtName', @@ -726,6 +740,7 @@ { label: '鏌ヨ妯℃澘', prop: 'queryTemplateName', + labelWidth: 115, type: 'select', display: false, formslot: true, @@ -733,6 +748,7 @@ { label: '鎺у埗璺緞', prop: 'controlPath', + labelWidth: 115, display: false, type: 'textarea', span: 24, @@ -741,18 +757,20 @@ { label: '鏍戠粨鏋勫睍寮�鍒�', prop: 'expandCols', - labelWidth: 110, + labelWidth: 115, display: false, span: 12 }, { label: '鍙傜収鏍戣缃�', prop: 'showLinkAbs', + labelWidth: 115, display: false, }, { label: '鍒嗛殧绗�', prop: 'separator', + labelWidth: 115, display: false, }, { @@ -760,6 +778,7 @@ prop: 'expandMode', display: false, type: 'radio', + labelWidth: 115, value: '1', dicData: [ { @@ -773,6 +792,20 @@ ] }, { + label: 'B/S鑷畾涔夋煡璇�', + prop: 'bsDataModel', + display: false, + labelWidth: 115, + span: 12 + }, + { + label: 'C/S鑷畾涔夋煡璇�', + prop: 'csDataModel', + display: false, + labelWidth: 115, + span: 12 + }, + { label: '鏍硅妭鐐规樉绀鸿〃杈惧紡', prop: 'rootContent', display: false, @@ -784,20 +817,6 @@ prop: 'showAbs', display: false, labelWidth: 135, - span: 12 - }, - { - label: 'B/S鑷畾涔夋煡璇�', - prop: 'bsCustQueryCLsOrUrl', - display: false, - labelWidth: 115, - span: 12 - }, - { - label: 'C/S鑷畾涔夋煡璇�', - prop: 'csCustQueryCLsOrUrl', - display: false, - labelWidth: 115, span: 12 }, ] @@ -897,6 +916,8 @@ // 澧炲姞鍏抽棴瀵硅瘽妗� 娓呯┖event鏁扮粍 beforeClose(done) { this.eventData = []; + this.showTypeChangeFlag = false; + this.linkTypeChangeFlag = false; done(); }, @@ -916,6 +937,7 @@ }; }); } + console.log('row',row); this.searchTargerChangeFlag = false; this.$refs.crud.rowEdit(row); }, @@ -1036,7 +1058,7 @@ // 妯℃澘绫诲瀷涓鸿〃鏍� templateTypeTable(val) { if (!val) return; - this.updateDisplay(val, ['showType', 'templateId', 'queryTemplateName', 'bsCustQueryCLsOrUrl', 'csCustQueryCLsOrUrl']); + this.updateDisplay(val, ['showType', 'templateId', 'queryTemplateName', 'bsDataModel', 'csDataModel']); }, // 妯℃澘绫诲瀷涓鸿嚜瀹氫箟妯℃澘 @@ -1050,13 +1072,13 @@ // 妯℃澘绫诲瀷涓烘爲琛� templateTypeTreeTable(val) { if (!val) return; - this.updateDisplay(val, ['showType', 'templateId', 'queryTemplateName', 'expandCols', 'expandMode', 'bsCustQueryCLsOrUrl', 'csCustQueryCLsOrUrl']); + this.updateDisplay(val, ['showType', 'templateId', 'queryTemplateName', 'expandCols', 'expandMode', 'bsDataModel', 'csDataModel']); }, // 妯℃澘绫诲瀷涓鸿〃鍗� templateTypeForm(val) { if (!val) return; - this.updateDisplay(val, ['showType', 'templateId', 'queryTemplateName', 'bsCustQueryCLsOrUrl', 'csCustQueryCLsOrUrl']); + this.updateDisplay(val, ['showType', 'templateId', 'queryTemplateName', 'bsDataModel', 'csDataModel']); }, // 妯℃澘绫诲瀷涓烘爲 @@ -1064,7 +1086,7 @@ if (!val) return; const searchTarger = this.option.column.find(item => item.prop === 'searchTarger'); // 鑾峰彇鎼滅储绫诲瀷閰嶇疆椤� searchTarger.display = false; // 涓嶅睍绀烘悳绱㈢被鍨� - this.updateDisplay(val, ['showType', 'queryTemplateName', 'rootContent', 'showAbs', 'showLinkAbs', 'separator', 'expandMode', 'linkType', 'bsCustQueryCLsOrUrl', 'csCustQueryCLsOrUrl']); + this.updateDisplay(val, ['showType', 'queryTemplateName', 'rootContent', 'showAbs', 'showLinkAbs', 'separator', 'expandMode', 'linkType', 'bsDataModel', 'csDataModel']); }, // 妯℃澘绫诲瀷涓篣I瀹氫箟 @@ -1072,7 +1094,7 @@ if (!val) return; const searchTarger = this.option.column.find(item => item.prop === 'searchTarger'); // 鑾峰彇鎼滅储绫诲瀷閰嶇疆椤� searchTarger.display = false; // 涓嶅睍绀烘悳绱㈢被鍨� - this.updateDisplay(val, ['showType', 'SubUILayout', 'searchType', 'searchObjType', 'queryTemplateName', 'bsCustQueryCLsOrUrl', 'csCustQueryCLsOrUrl']); + this.updateDisplay(val, ['showType', 'SubUILayout', 'searchType', 'searchObjType', 'queryTemplateName', 'bsDataModel', 'csDataModel']); }, // 鏌ユ壘鏁扮粍涓璞$储寮� -- Gitblit v1.9.3