From 79ed2d4f6a971e15abead1c3303b150253a04f58 Mon Sep 17 00:00:00 2001 From: lb Date: Thu, 9 Mar 2023 15:07:55 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E6=9B=B4=E6=96=B0=E9=99=A4=E6=B6=89?= =?UTF-8?q?=E5=8F=8Adialog=E4=B9=8B=E5=A4=96=E7=9A=84=E6=89=80=E6=9C=89?= =?UTF-8?q?=E6=93=8D=E4=BD=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/index.html | 4 +- .../operationComponent.js | 2 +- .../pms/order/components/DialogJustForm.vue | 5 + .../order/components/ListSectionWithHead.vue | 146 ++++++++++++++---- src/views/modules/pms/order/config.js | 11 +- src/views/modules/pms/order/index.vue | 31 +++- 6 files changed, 160 insertions(+), 39 deletions(-) diff --git a/public/index.html b/public/index.html index 2bac74f..c743726 100644 --- a/public/index.html +++ b/public/index.html @@ -39,8 +39,8 @@ <% } %> diff --git a/src/components/noTemplateComponents/operationComponent.js b/src/components/noTemplateComponents/operationComponent.js index 204357d..1784531 100644 --- a/src/components/noTemplateComponents/operationComponent.js +++ b/src/components/noTemplateComponents/operationComponent.js @@ -81,7 +81,7 @@ export default { style: { color: this.colors[opt.name] || '#0b58ff' }, on: { click: this.emit.bind(null, opt) } }, - opt.icon ? opt.showText ? this.text[opt.name] ?? opt.label : '' : '' + opt.icon ? opt.showText ? this.text[opt.name] ?? opt.label : '' : opt.label ?? this.text[opt.name] ) ) } diff --git a/src/views/modules/pms/order/components/DialogJustForm.vue b/src/views/modules/pms/order/components/DialogJustForm.vue index 1e2a82f..f7138f5 100644 --- a/src/views/modules/pms/order/components/DialogJustForm.vue +++ b/src/views/modules/pms/order/components/DialogJustForm.vue @@ -5,6 +5,7 @@ @close="handleClose" :destroy-on-close="false" :close-on-click-modal="configs.clickModalToClose ?? true" + :fullscreen="fullscreen" >
@@ -105,6 +106,10 @@ export default { type: Boolean, default: false, }, + fullscreen: { + type: Boolean, + default: false + } }, inject: ["urls"], data() { diff --git a/src/views/modules/pms/order/components/ListSectionWithHead.vue b/src/views/modules/pms/order/components/ListSectionWithHead.vue index 77e5b9e..4ab5bfc 100644 --- a/src/views/modules/pms/order/components/ListSectionWithHead.vue +++ b/src/views/modules/pms/order/components/ListSectionWithHead.vue @@ -26,23 +26,21 @@ :total="totalPage" layout="total, sizes, prev, pager, next, jumper" > + +