From 8c0380506c25786a42c8646fe19c11c2d14f1fc4 Mon Sep 17 00:00:00 2001 From: preschooler Date: Sat, 31 Aug 2024 17:39:48 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix:=E4=BF=AE=E5=A4=8Del-input?= =?UTF-8?q?=E3=80=81el-select=E3=80=81el-date-picker=E5=AE=BD=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ai/image/manager/index.vue | 2 +- src/views/ai/mindmap/manager/index.vue | 2 +- src/views/ai/music/manager/index.vue | 2 +- .../bpm/processInstance/manager/index.vue | 2 +- src/views/bpm/task/copy/index.vue | 1 + src/views/crm/clue/ClueForm.vue | 1 + src/views/crm/contact/ContactForm.vue | 1 + src/views/crm/customer/CustomerForm.vue | 1 + src/views/crm/receivable/ReceivableForm.vue | 1 + .../receivable/plan/ReceivablePlanForm.vue | 1 + src/views/erp/finance/payment/index.vue | 2 +- src/views/erp/finance/receipt/index.vue | 2 +- src/views/erp/purchase/in/index.vue | 2 +- src/views/erp/purchase/order/index.vue | 2 +- src/views/erp/purchase/return/index.vue | 2 +- src/views/erp/sale/order/index.vue | 2 +- src/views/erp/sale/out/index.vue | 2 +- src/views/erp/sale/return/index.vue | 2 +- src/views/erp/stock/in/index.vue | 2 +- src/views/erp/stock/record/index.vue | 2 +- src/views/infra/file/index.vue | 3 ++ src/views/mall/product/comment/index.vue | 23 ++++++++-- .../coupon/template/CouponTemplateForm.vue | 1 - src/views/mall/trade/afterSale/index.vue | 2 +- .../member/user/detail/UserAftersaleList.vue | 2 +- src/views/system/dept/index.vue | 1 + src/views/system/mail/account/account.data.ts | 18 +++++++- src/views/system/mail/log/log.data.ts | 44 ++++++++++++++++--- .../system/mail/template/template.data.ts | 35 +++++++++++++-- src/views/system/operatelog/index.vue | 2 +- src/views/system/post/index.vue | 4 +- src/views/system/sms/channel/index.vue | 2 + 32 files changed, 137 insertions(+), 34 deletions(-) diff --git a/src/views/ai/image/manager/index.vue b/src/views/ai/image/manager/index.vue index 84403f35..d2cefe6c 100644 --- a/src/views/ai/image/manager/index.vue +++ b/src/views/ai/image/manager/index.vue @@ -71,7 +71,7 @@ start-placeholder="开始日期" end-placeholder="结束日期" :default-time="[new Date('1 00:00:00'), new Date('1 23:59:59')]" - class="!w-220px" + class="!w-240px" /> diff --git a/src/views/ai/mindmap/manager/index.vue b/src/views/ai/mindmap/manager/index.vue index 008a2e9b..9e873b90 100644 --- a/src/views/ai/mindmap/manager/index.vue +++ b/src/views/ai/mindmap/manager/index.vue @@ -40,7 +40,7 @@ start-placeholder="开始日期" end-placeholder="结束日期" :default-time="[new Date('1 00:00:00'), new Date('1 23:59:59')]" - class="!w-220px" + class="!w-240px" /> diff --git a/src/views/ai/music/manager/index.vue b/src/views/ai/music/manager/index.vue index 462a88d2..e1b94112 100644 --- a/src/views/ai/music/manager/index.vue +++ b/src/views/ai/music/manager/index.vue @@ -70,7 +70,7 @@ start-placeholder="开始日期" end-placeholder="结束日期" :default-time="[new Date('1 00:00:00'), new Date('1 23:59:59')]" - class="!w-220px" + class="!w-240px" /> diff --git a/src/views/bpm/processInstance/manager/index.vue b/src/views/bpm/processInstance/manager/index.vue index ab8da9c9..bce479d1 100644 --- a/src/views/bpm/processInstance/manager/index.vue +++ b/src/views/bpm/processInstance/manager/index.vue @@ -76,7 +76,7 @@ start-placeholder="开始日期" end-placeholder="结束日期" :default-time="[new Date('1 00:00:00'), new Date('1 23:59:59')]" - class="!w-220px" + class="!w-240px" /> diff --git a/src/views/bpm/task/copy/index.vue b/src/views/bpm/task/copy/index.vue index adc1fe32..93f55c68 100644 --- a/src/views/bpm/task/copy/index.vue +++ b/src/views/bpm/task/copy/index.vue @@ -11,6 +11,7 @@ diff --git a/src/views/crm/contact/ContactForm.vue b/src/views/crm/contact/ContactForm.vue index 9795ac0a..81813e6a 100644 --- a/src/views/crm/contact/ContactForm.vue +++ b/src/views/crm/contact/ContactForm.vue @@ -153,6 +153,7 @@ placeholder="选择下次联系时间" type="datetime" value-format="x" + class="!w-1/1" /> diff --git a/src/views/crm/customer/CustomerForm.vue b/src/views/crm/customer/CustomerForm.vue index 82869719..9a904d2e 100644 --- a/src/views/crm/customer/CustomerForm.vue +++ b/src/views/crm/customer/CustomerForm.vue @@ -127,6 +127,7 @@ placeholder="选择下次联系时间" type="datetime" value-format="x" + class="!w-1/1" /> diff --git a/src/views/crm/receivable/ReceivableForm.vue b/src/views/crm/receivable/ReceivableForm.vue index a44164a3..61fac08d 100644 --- a/src/views/crm/receivable/ReceivableForm.vue +++ b/src/views/crm/receivable/ReceivableForm.vue @@ -124,6 +124,7 @@ placeholder="选择回款日期" type="date" value-format="x" + class="!w-100%" /> diff --git a/src/views/crm/receivable/plan/ReceivablePlanForm.vue b/src/views/crm/receivable/plan/ReceivablePlanForm.vue index 0d4ef179..f321592a 100644 --- a/src/views/crm/receivable/plan/ReceivablePlanForm.vue +++ b/src/views/crm/receivable/plan/ReceivablePlanForm.vue @@ -89,6 +89,7 @@ placeholder="选择计划回款日期" type="date" value-format="x" + class="!w-100%" /> diff --git a/src/views/erp/finance/payment/index.vue b/src/views/erp/finance/payment/index.vue index 56bc83d3..a449ca5e 100644 --- a/src/views/erp/finance/payment/index.vue +++ b/src/views/erp/finance/payment/index.vue @@ -30,7 +30,7 @@ start-placeholder="开始日期" end-placeholder="结束日期" :default-time="[new Date('1 00:00:00'), new Date('1 23:59:59')]" - class="!w-220px" + class="!w-240px" /> diff --git a/src/views/erp/finance/receipt/index.vue b/src/views/erp/finance/receipt/index.vue index 1c8f82f8..b96a33d5 100644 --- a/src/views/erp/finance/receipt/index.vue +++ b/src/views/erp/finance/receipt/index.vue @@ -30,7 +30,7 @@ start-placeholder="开始日期" end-placeholder="结束日期" :default-time="[new Date('1 00:00:00'), new Date('1 23:59:59')]" - class="!w-220px" + class="!w-240px" /> diff --git a/src/views/erp/purchase/in/index.vue b/src/views/erp/purchase/in/index.vue index ce8ecee7..b1277d4d 100644 --- a/src/views/erp/purchase/in/index.vue +++ b/src/views/erp/purchase/in/index.vue @@ -43,7 +43,7 @@ start-placeholder="开始日期" end-placeholder="结束日期" :default-time="[new Date('1 00:00:00'), new Date('1 23:59:59')]" - class="!w-220px" + class="!w-240px" /> diff --git a/src/views/erp/purchase/order/index.vue b/src/views/erp/purchase/order/index.vue index f179fa98..14177611 100644 --- a/src/views/erp/purchase/order/index.vue +++ b/src/views/erp/purchase/order/index.vue @@ -43,7 +43,7 @@ start-placeholder="开始日期" end-placeholder="结束日期" :default-time="[new Date('1 00:00:00'), new Date('1 23:59:59')]" - class="!w-220px" + class="!w-240px" /> diff --git a/src/views/erp/purchase/return/index.vue b/src/views/erp/purchase/return/index.vue index 545d18ac..cdf8411a 100644 --- a/src/views/erp/purchase/return/index.vue +++ b/src/views/erp/purchase/return/index.vue @@ -43,7 +43,7 @@ start-placeholder="开始日期" end-placeholder="结束日期" :default-time="[new Date('1 00:00:00'), new Date('1 23:59:59')]" - class="!w-220px" + class="!w-240px" /> diff --git a/src/views/erp/sale/order/index.vue b/src/views/erp/sale/order/index.vue index deb03c00..4d151b76 100644 --- a/src/views/erp/sale/order/index.vue +++ b/src/views/erp/sale/order/index.vue @@ -43,7 +43,7 @@ start-placeholder="开始日期" end-placeholder="结束日期" :default-time="[new Date('1 00:00:00'), new Date('1 23:59:59')]" - class="!w-220px" + class="!w-240px" /> diff --git a/src/views/erp/sale/out/index.vue b/src/views/erp/sale/out/index.vue index bd143b90..fdc7f71b 100644 --- a/src/views/erp/sale/out/index.vue +++ b/src/views/erp/sale/out/index.vue @@ -43,7 +43,7 @@ start-placeholder="开始日期" end-placeholder="结束日期" :default-time="[new Date('1 00:00:00'), new Date('1 23:59:59')]" - class="!w-220px" + class="!w-240px" /> diff --git a/src/views/erp/sale/return/index.vue b/src/views/erp/sale/return/index.vue index c88f5841..be0b174b 100644 --- a/src/views/erp/sale/return/index.vue +++ b/src/views/erp/sale/return/index.vue @@ -43,7 +43,7 @@ start-placeholder="开始日期" end-placeholder="结束日期" :default-time="[new Date('1 00:00:00'), new Date('1 23:59:59')]" - class="!w-220px" + class="!w-240px" /> diff --git a/src/views/erp/stock/in/index.vue b/src/views/erp/stock/in/index.vue index 5a8f6cfb..ca697e9c 100644 --- a/src/views/erp/stock/in/index.vue +++ b/src/views/erp/stock/in/index.vue @@ -43,7 +43,7 @@ start-placeholder="开始日期" end-placeholder="结束日期" :default-time="[new Date('1 00:00:00'), new Date('1 23:59:59')]" - class="!w-220px" + class="!w-240px" /> diff --git a/src/views/erp/stock/record/index.vue b/src/views/erp/stock/record/index.vue index 6946a198..35b58ca3 100644 --- a/src/views/erp/stock/record/index.vue +++ b/src/views/erp/stock/record/index.vue @@ -75,7 +75,7 @@ start-placeholder="开始日期" end-placeholder="结束日期" :default-time="[new Date('1 00:00:00'), new Date('1 23:59:59')]" - class="!w-220px" + class="!w-240px" /> diff --git a/src/views/infra/file/index.vue b/src/views/infra/file/index.vue index 2ff33641..3fcda6e8 100644 --- a/src/views/infra/file/index.vue +++ b/src/views/infra/file/index.vue @@ -15,6 +15,7 @@ placeholder="请输入文件路径" clearable @keyup.enter="handleQuery" + class="!w-240px" /> @@ -23,6 +24,7 @@ placeholder="请输入文件类型" clearable @keyup.enter="handleQuery" + class="!w-240px" /> @@ -33,6 +35,7 @@ start-placeholder="开始日期" end-placeholder="结束日期" :default-time="[new Date('1 00:00:00'), new Date('1 23:59:59')]" + class="!w-240px" /> diff --git a/src/views/mall/product/comment/index.vue b/src/views/mall/product/comment/index.vue index 8854fdba..c5989746 100644 --- a/src/views/mall/product/comment/index.vue +++ b/src/views/mall/product/comment/index.vue @@ -11,19 +11,34 @@ label-width="68px" > - + - + - + - + diff --git a/src/views/mall/trade/afterSale/index.vue b/src/views/mall/trade/afterSale/index.vue index c34d8949..3d7a2448 100644 --- a/src/views/mall/trade/afterSale/index.vue +++ b/src/views/mall/trade/afterSale/index.vue @@ -81,7 +81,7 @@ diff --git a/src/views/system/mail/account/account.data.ts b/src/views/system/mail/account/account.data.ts index 23b1f084..6de394e6 100644 --- a/src/views/system/mail/account/account.data.ts +++ b/src/views/system/mail/account/account.data.ts @@ -25,12 +25,26 @@ const crudSchemas = reactive([ { label: '邮箱', field: 'mail', - isSearch: true + isSearch: true, + search: { + componentProps: { + style: { + width: '240px' + } + } + } }, { label: '用户名', field: 'username', - isSearch: true + isSearch: true, + search: { + componentProps: { + style: { + width: '240px' + } + } + } }, { label: '密码', diff --git a/src/views/system/mail/log/log.data.ts b/src/views/system/mail/log/log.data.ts index 62cbf516..594a5d5f 100644 --- a/src/views/system/mail/log/log.data.ts +++ b/src/views/system/mail/log/log.data.ts @@ -21,7 +21,10 @@ const crudSchemas = reactive([ componentProps: { valueFormat: 'YYYY-MM-DD HH:mm:ss', type: 'daterange', - defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] + defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')], + style: { + width: '240px' + } } }, detail: { @@ -36,7 +39,14 @@ const crudSchemas = reactive([ label: '用户编号', field: 'userId', isSearch: true, - isTable: false + isTable: false, + search: { + componentProps: { + style: { + width: '240px' + } + } + } }, { label: '用户类型', @@ -44,7 +54,14 @@ const crudSchemas = reactive([ dictType: DICT_TYPE.USER_TYPE, dictClass: 'number', isSearch: true, - isTable: false + isTable: false, + search: { + componentProps: { + style: { + width: '240px' + } + } + } }, { label: '邮件标题', @@ -65,7 +82,14 @@ const crudSchemas = reactive([ field: 'sendStatus', dictType: DICT_TYPE.SYSTEM_MAIL_SEND_STATUS, dictClass: 'string', - isSearch: true + isSearch: true, + search: { + componentProps: { + style: { + width: '240px' + } + } + } }, { label: '邮箱账号', @@ -79,6 +103,9 @@ const crudSchemas = reactive([ optionsAlias: { labelField: 'mail', valueField: 'id' + }, + style: { + width: '240px' } } } @@ -93,7 +120,14 @@ const crudSchemas = reactive([ { label: '模板编号', field: 'templateId', - isSearch: true + isSearch: true, + search: { + componentProps: { + style: { + width: '240px' + } + } + } }, { label: '模板编码', diff --git a/src/views/system/mail/template/template.data.ts b/src/views/system/mail/template/template.data.ts index e68f875a..c11d5fe9 100644 --- a/src/views/system/mail/template/template.data.ts +++ b/src/views/system/mail/template/template.data.ts @@ -22,12 +22,26 @@ const crudSchemas = reactive([ { label: '模板编码', field: 'code', - isSearch: true + isSearch: true, + search: { + componentProps: { + style: { + width: '240px' + } + } + } }, { label: '模板名称', field: 'name', - isSearch: true + isSearch: true, + search: { + componentProps: { + style: { + width: '240px' + } + } + } }, { label: '模板标题', @@ -59,6 +73,9 @@ const crudSchemas = reactive([ optionsAlias: { labelField: 'mail', valueField: 'id' + }, + style: { + width: '240px' } } }, @@ -82,7 +99,14 @@ const crudSchemas = reactive([ field: 'status', isSearch: true, dictType: DICT_TYPE.COMMON_STATUS, - dictClass: 'number' + dictClass: 'number', + search: { + componentProps: { + style: { + width: '240px' + } + } + } }, { label: '备注', @@ -100,7 +124,10 @@ const crudSchemas = reactive([ componentProps: { valueFormat: 'YYYY-MM-DD HH:mm:ss', type: 'daterange', - defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] + defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')], + style: { + width: '240px' + } } } }, diff --git a/src/views/system/operatelog/index.vue b/src/views/system/operatelog/index.vue index b8a97e19..3f221b7e 100644 --- a/src/views/system/operatelog/index.vue +++ b/src/views/system/operatelog/index.vue @@ -61,7 +61,7 @@ start-placeholder="开始日期" end-placeholder="结束日期" :default-time="[new Date('1 00:00:00'), new Date('1 23:59:59')]" - class="!w-220px" + class="!w-240px" /> diff --git a/src/views/system/post/index.vue b/src/views/system/post/index.vue index dd06c2ad..ee0f0e77 100644 --- a/src/views/system/post/index.vue +++ b/src/views/system/post/index.vue @@ -13,6 +13,7 @@ v-model="queryParams.name" placeholder="请输入岗位名称" clearable + class="!w-240px" @keyup.enter="handleQuery" /> @@ -21,11 +22,12 @@ v-model="queryParams.code" placeholder="请输入岗位编码" clearable + class="!w-240px" @keyup.enter="handleQuery" /> - + @@ -40,6 +41,7 @@ start-placeholder="开始日期" end-placeholder="结束日期" :default-time="[new Date('1 00:00:00'), new Date('1 23:59:59')]" + class="!w-240px" />