Skip to content

Commit 98477ef

Browse files
committed
修复时间检索,value format 错误,导致无法搜索的问题
1 parent 90f2293 commit 98477ef

File tree

8 files changed

+26
-18
lines changed

8 files changed

+26
-18
lines changed

src/views/bpm/group/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<el-form-item label="创建时间" prop="createTime">
3131
<el-date-picker
3232
v-model="queryParams.createTime"
33-
value-format="yyyy-MM-dd HH:mm:ss"
33+
value-format="YYYY-MM-DD HH:mm:ss"
3434
type="daterange"
3535
start-placeholder="开始日期"
3636
end-placeholder="结束日期"

src/views/infra/apiAccessLog/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
<el-form-item label="请求时间" prop="beginTime">
4747
<el-date-picker
4848
v-model="queryParams.beginTime"
49-
value-format="yyyy-MM-dd HH:mm:ss"
49+
value-format="YYYY-MM-DD HH:mm:ss"
5050
type="daterange"
5151
start-placeholder="开始日期"
5252
end-placeholder="结束日期"

src/views/infra/apiErrorLog/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
<el-form-item label="异常时间" prop="exceptionTime">
4747
<el-date-picker
4848
v-model="queryParams.exceptionTime"
49-
value-format="yyyy-MM-dd HH:mm:ss"
49+
value-format="YYYY-MM-DD HH:mm:ss"
5050
type="daterange"
5151
start-placeholder="开始日期"
5252
end-placeholder="结束日期"

src/views/infra/codegen/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
end-placeholder="结束日期"
3838
start-placeholder="开始日期"
3939
type="daterange"
40-
value-format="YYYY-MM-dd HH:mm:ss"
40+
value-format="YYYY-MM-DD HH:mm:ss"
4141
/>
4242
</el-form-item>
4343
<el-form-item>

src/views/mall/promotion/couponTemplate/index.vue

Lines changed: 19 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,28 @@
44
<!-- 搜索工作栏 -->
55
<ContentWrap>
66
<el-form
7-
:model="queryParams"
87
ref="queryFormRef"
98
:inline="true"
10-
v-show="showSearch"
9+
:model="queryParams"
10+
class="-mb-15px"
1111
label-width="82px"
1212
>
1313
<el-form-item label="优惠券名称" prop="name">
1414
<el-input
1515
v-model="queryParams.name"
16+
class="!w-240px"
1617
placeholder="请输入优惠劵名"
1718
clearable
1819
@keyup="handleQuery"
1920
/>
2021
</el-form-item>
2122
<el-form-item label="优惠券类型" prop="discountType">
22-
<el-select v-model="queryParams.discountType" placeholder="请选择优惠券类型" clearable>
23+
<el-select
24+
v-model="queryParams.discountType"
25+
class="!w-240px"
26+
placeholder="请选择优惠券类型"
27+
clearable
28+
>
2329
<el-option
2430
v-for="dict in getIntDictOptions(DICT_TYPE.PROMOTION_DISCOUNT_TYPE)"
2531
:key="dict.value"
@@ -29,7 +35,12 @@
2935
</el-select>
3036
</el-form-item>
3137
<el-form-item label="优惠券状态" prop="status">
32-
<el-select v-model="queryParams.status" placeholder="请选择优惠券状态" clearable>
38+
<el-select
39+
v-model="queryParams.status"
40+
class="!w-240px"
41+
placeholder="请选择优惠券状态"
42+
clearable
43+
>
3344
<el-option
3445
v-for="dict in getIntDictOptions(DICT_TYPE.COMMON_STATUS)"
3546
:key="dict.value"
@@ -41,13 +52,12 @@
4152
<el-form-item label="创建时间" prop="createTime">
4253
<el-date-picker
4354
v-model="queryParams.createTime"
44-
style="width: 240px"
45-
type="datetimerange"
4655
value-format="YYYY-MM-DD HH:mm:ss"
47-
range-separator="-"
56+
type="daterange"
4857
start-placeholder="开始日期"
4958
end-placeholder="结束日期"
50-
:default-time="[new Date(2000, 1, 1, 0, 0, 0), new Date(2000, 2, 1, 23, 59, 59)]"
59+
:default-time="[new Date('1 00:00:00'), new Date('1 23:59:59')]"
60+
class="!w-240px"
5161
/>
5262
</el-form-item>
5363
<el-form-item>
@@ -283,7 +293,7 @@
283293
<el-date-picker
284294
v-model="form.validTimes"
285295
style="width: 240px"
286-
value-format="yyyy-MM-dd HH:mm:ss"
296+
value-format="YYYY-MM-DD HH:mm:ss"
287297
type="datetimerange"
288298
:default-time="[new Date(2000, 1, 1, 0, 0, 0), new Date(2000, 2, 1, 23, 59, 59)]"
289299
/>
@@ -377,8 +387,6 @@ const message = useMessage()
377387
378388
// 遮罩层
379389
const loading = ref(true)
380-
// 显示搜索条件
381-
const showSearch = ref(true)
382390
// 总条数
383391
const total = ref(0)
384392
// 优惠劵列表

src/views/mp/message/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
<el-date-picker
3535
v-model="queryParams.createTime"
3636
style="width: 240px"
37-
value-format="yyyy-MM-dd HH:mm:ss"
37+
value-format="YYYY-MM-DD HH:mm:ss"
3838
type="daterange"
3939
range-separator="-"
4040
start-placeholder="开始日期"

src/views/pay/notify/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
<el-date-picker
7474
v-model="queryParams.createTime"
7575
style="width: 240px"
76-
value-format="yyyy-MM-dd HH:mm:ss"
76+
value-format="YYYY-MM-DD HH:mm:ss"
7777
type="daterange"
7878
range-separator="-"
7979
start-placeholder="开始日期"

src/views/system/dict/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
end-placeholder="结束日期"
5050
start-placeholder="开始日期"
5151
type="daterange"
52-
value-format="yyyy-MM-dd HH:mm:ss"
52+
value-format="YYYY-MM-DD HH:mm:ss"
5353
/>
5454
</el-form-item>
5555
<el-form-item>

0 commit comments

Comments
 (0)