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 | 19 +++++++++---------- Source/plt-web/plt-web-ui/src/page/login/userlogin.vue | 9 +++++++-- Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/formDefine/components/formDialog.vue | 8 +++++--- Source/plt-web/plt-web-ui/src/components/flow-cycle/flowchartEditor.vue | 1 + 4 files changed, 22 insertions(+), 15 deletions(-) diff --git a/Source/plt-web/plt-web-ui/src/components/flow-cycle/flowchartEditor.vue b/Source/plt-web/plt-web-ui/src/components/flow-cycle/flowchartEditor.vue index 15b1954..b4ed438 100644 --- a/Source/plt-web/plt-web-ui/src/components/flow-cycle/flowchartEditor.vue +++ b/Source/plt-web/plt-web-ui/src/components/flow-cycle/flowchartEditor.vue @@ -139,6 +139,7 @@ // return; // } // 濡傛灉娣诲姞浜嗚妭鐐逛笖鑺傜偣娌℃湁琚洿鏀硅繃 + if (e.action === "add" && e.model.type === "node") { if (!e.model.change) { this.$refs.flowChart.propsAPI.remove(e.item); // 绉婚櫎鍘熸湁鐨勮妭鐐� diff --git a/Source/plt-web/plt-web-ui/src/page/login/userlogin.vue b/Source/plt-web/plt-web-ui/src/page/login/userlogin.vue index 00bf9eb..2dda3e4 100644 --- a/Source/plt-web/plt-web-ui/src/page/login/userlogin.vue +++ b/Source/plt-web/plt-web-ui/src/page/login/userlogin.vue @@ -242,6 +242,12 @@ loading.close(); return; } + + if (data.obj.failCode === 'userPwdNotEqual') { + this.$message.error('瀵嗙爜閿欒锛岃閲嶆柊杈撳叆锛�'); + loading.close(); + return; + } this.$message.error(data.msg); if (data.obj.mustChangePassword) { @@ -261,8 +267,7 @@ }); return false; } - } - ; + }; this.$router.push({path: this.tagWel.value}); loading.close(); diff --git a/Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/formDefine/components/formDialog.vue b/Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/formDefine/components/formDialog.vue index 02ed624..389563e 100644 --- a/Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/formDefine/components/formDialog.vue +++ b/Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/formDefine/components/formDialog.vue @@ -410,6 +410,7 @@ </el-container> <!-- 娣诲姞鑷畾涔夌粍浠� --> + <el-dialog v-dialogDrag v-loading="customLoading" @@ -1026,7 +1027,7 @@ ], form: {}, topForm: { - itemQtName:'', + itemQtName: '', columnNumber: 8, showColumn: '3', viName: '', @@ -1288,9 +1289,9 @@ // 閫夐」鍒犻櫎 optionDeleteClickHandler(val) { if (val === 'dialog') { - this.customForm.itemKeyValueList.splice(this.customOptionRow.index,1); + this.customForm.itemKeyValueList.splice(this.customOptionRow.index, 1); } else { - this.form.itemKeyValueList.splice(this.optionRow.index,1); + this.form.itemKeyValueList.splice(this.optionRow.index, 1); } }, @@ -1546,3 +1547,4 @@ //} </style> + 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 8f4a109..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 @@ -577,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] = ''; }) @@ -604,10 +604,9 @@ dicUrl: '/api/uiManagerController/getBtmDatasByPage?page=1&limit=-1', filterable: true, change: (val) => { - console.log('showTypeChangeFlag',this.showTypeChangeFlag) 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; @@ -794,14 +793,14 @@ }, { label: 'B/S鑷畾涔夋煡璇�', - prop: 'bsCustQueryCLsOrUrl', + prop: 'bsDataModel', display: false, labelWidth: 115, span: 12 }, { label: 'C/S鑷畾涔夋煡璇�', - prop: 'csCustQueryCLsOrUrl', + prop: 'csDataModel', display: false, labelWidth: 115, span: 12 @@ -1059,7 +1058,7 @@ // 妯℃澘绫诲瀷涓鸿〃鏍� templateTypeTable(val) { if (!val) return; - this.updateDisplay(val, ['showType', 'templateId', 'queryTemplateName', 'bsCustQueryCLsOrUrl', 'csCustQueryCLsOrUrl']); + this.updateDisplay(val, ['showType', 'templateId', 'queryTemplateName', 'bsDataModel', 'csDataModel']); }, // 妯℃澘绫诲瀷涓鸿嚜瀹氫箟妯℃澘 @@ -1073,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']); }, // 妯℃澘绫诲瀷涓烘爲 @@ -1087,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瀹氫箟 @@ -1095,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