test
This commit is contained in:
@@ -19,12 +19,10 @@
|
|||||||
</Select>
|
</Select>
|
||||||
|
|
||||||
<DatePicker v-model="startDate" type="date" placeholder="开始时间" format="yyyy-MM-dd" :editable="false"
|
<DatePicker v-model="startDate" type="date" placeholder="开始时间" format="yyyy-MM-dd" :editable="false"
|
||||||
:clearable="true" class="ml-12" style="width: 140px"
|
:clearable="true" class="ml-12" style="width: 140px" @on-change="v => onStartChange(v)" />
|
||||||
@on-change="v => onStartChange(v)" />
|
|
||||||
|
|
||||||
<DatePicker v-model="endDate" type="date" placeholder="结束时间" format="yyyy-MM-dd" :editable="false"
|
<DatePicker v-model="endDate" type="date" placeholder="结束时间" format="yyyy-MM-dd" :editable="false"
|
||||||
:clearable="true" class="ml-12" style="width: 140px"
|
:clearable="true" class="ml-12" style="width: 140px" @on-change="v => onEndChange(v)" />
|
||||||
@on-change="v => onEndChange(v)" />
|
|
||||||
|
|
||||||
<Button type="primary" class="ml-12" @click="handleSearch">查询</Button>
|
<Button type="primary" class="ml-12" @click="handleSearch">查询</Button>
|
||||||
</div>
|
</div>
|
||||||
@@ -155,9 +153,9 @@ const columns = [
|
|||||||
render: (h: any, { row }: any) => h('span', row.costTime != null ? `${row.costTime} ms` : '-'),
|
render: (h: any, { row }: any) => h('span', row.costTime != null ? `${row.costTime} ms` : '-'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '操作时间',
|
title: '操作时间ed',
|
||||||
key: 'createTime',
|
key: 'createTime',
|
||||||
width: 170,
|
width: 180,
|
||||||
render: (h: any, { row }: any) => h('span', row.createTime ? Utils.dateFormat(row.createTime, 'yyyy-MM-dd HH:mm:ss') : '-'),
|
render: (h: any, { row }: any) => h('span', row.createTime ? Utils.dateFormat(row.createTime, 'yyyy-MM-dd HH:mm:ss') : '-'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -185,6 +183,7 @@ function openDetail(row: any) {
|
|||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.search-wrap {
|
.search-wrap {
|
||||||
|
|
||||||
.ivu-select,
|
.ivu-select,
|
||||||
.ivu-input-wrapper,
|
.ivu-input-wrapper,
|
||||||
.ivu-date-picker {
|
.ivu-date-picker {
|
||||||
|
|||||||
Reference in New Issue
Block a user