From 17ac0b7e6f2f1e14a779374a7af4d8f57aa00c37 Mon Sep 17 00:00:00 2001 From: bb_pan Date: Fri, 16 May 2025 16:22:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.js | 3 +++ .../components/card-model.vue | 6 ++--- src/views/login1.vue | 2 +- .../material/purchase/goodsAccept/index.vue | 16 +++++++------- .../purchase/goodsArrived/component/home.vue | 14 ++++++------ .../purchase/goodsBind/component/home.vue | 2 +- .../material/purchase/goodsEntry/index.vue | 18 +++++++-------- src/views/system/user/index.vue | 22 +++++++++---------- 8 files changed, 43 insertions(+), 40 deletions(-) diff --git a/src/main.js b/src/main.js index a35b7e28..c4cb2a68 100644 --- a/src/main.js +++ b/src/main.js @@ -52,6 +52,9 @@ Vue.prototype.downloadJson = downloadJson Vue.prototype.handleTree = handleTree Vue.prototype.indexContinuation = indexContinuation Vue.prototype.globalUrl = global_ +// 全局设置element-ui Dialog组件的close-on-click-modal close-on-press-escape属性为false +Element.Dialog.props.closeOnClickModal.default = false +Element.Dialog.props.closeOnPressEscape.default = false // 全局组件挂载 Vue.component('DictTag', DictTag) Vue.component('Pagination', Pagination) diff --git a/src/views/home/maintain-balance/components/card-model.vue b/src/views/home/maintain-balance/components/card-model.vue index 5b7bf6d0..104e6994 100644 --- a/src/views/home/maintain-balance/components/card-model.vue +++ b/src/views/home/maintain-balance/components/card-model.vue @@ -5,7 +5,7 @@ {{ state.title }}
{{ state.count }}
-
+
@@ -49,7 +49,7 @@ export default { display: flex; flex-direction: column; align-items: center; - justify-content: center; + justify-content: space-around; border-radius: 12px; color: #fff; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* 初始阴影 */ diff --git a/src/views/login1.vue b/src/views/login1.vue index a944fedb..458c4391 100644 --- a/src/views/login1.vue +++ b/src/views/login1.vue @@ -259,7 +259,7 @@ export default { }) try { const res = await iwsLogin({ - ticket: origin.split('ticket%3D')[1].split('%26')[0] || origin.split('ticket=')[1].split('#/')[0], + ticket: origin.split('ticket=')[1].split('#/')[0] || origin.split('ticket%3D')[1].split('%26')[0], sysType: 0 }) console.log('🚀 ~ created ~ res:', res) diff --git a/src/views/material/purchase/goodsAccept/index.vue b/src/views/material/purchase/goodsAccept/index.vue index d1d549fa..76507b4a 100644 --- a/src/views/material/purchase/goodsAccept/index.vue +++ b/src/views/material/purchase/goodsAccept/index.vue @@ -66,27 +66,27 @@ - - + + - + - - + + - + - - + + diff --git a/src/views/material/purchase/goodsArrived/component/home.vue b/src/views/material/purchase/goodsArrived/component/home.vue index bb00004b..b4916150 100644 --- a/src/views/material/purchase/goodsArrived/component/home.vue +++ b/src/views/material/purchase/goodsArrived/component/home.vue @@ -85,24 +85,24 @@ - - + + - + - + - - + + - +