feat: upgrade 0.16.0

This commit is contained in:
pengYYY 2022-06-17 16:16:33 +08:00
parent 5ed7b4ead5
commit d5dc6912e4
8 changed files with 12 additions and 17 deletions

View File

@ -25,7 +25,7 @@
"pinia": "^2.0.11",
"qrcode.vue": "^3.2.2",
"tdesign-icons-vue-next": "^0.0.6",
"tdesign-vue-next": "^0.15.4",
"tdesign-vue-next": "^0.16.0",
"tvision-color": "^1.3.1",
"vue": "^3.2.31",
"vue-clipboard3": "^2.0.0",

View File

@ -4,11 +4,10 @@
<t-card title="统计数据" :subtitle="`(万元)${currentMonth}`" class="dashboard-chart-card">
<template #option>
<div class="dashboard-chart-title-container">
<t-date-picker
<t-date-range-picker
class="card-date-picker-container"
theme="primary"
mode="date"
range
:default-value="LAST_7_DAYS"
@change="onCurrencyChange"
/>

View File

@ -9,11 +9,10 @@
:class="{ 'dashboard-overview-card': true, 'overview-panel': true }"
>
<template #actions>
<t-date-picker
<t-date-range-picker
class="card-date-picker-container"
theme="primary"
mode="date"
range
:default-value="LAST_7_DAYS"
@change="onStokeDataChange"
/>

View File

@ -20,12 +20,11 @@
<t-col :xs="12" :xl="9">
<t-card class="dashboard-detail-card" title="采购商品申请趋势" subtitle="(件)">
<template #actions>
<t-date-picker
<t-date-range-picker
class="card-date-picker-container"
:default-value="LAST_7_DAYS"
theme="primary"
mode="date"
range
style="width: 240px"
@change="onMaterialChange"
/>
@ -44,12 +43,11 @@
</t-row>
<t-card :class="['dashboard-detail-card', 'row-margin']" title="采购商品满意度分布">
<template #actions>
<t-date-picker
<t-date-range-picker
class="card-date-picker-container"
:default-value="LAST_7_DAYS"
theme="primary"
mode="date"
range
style="display: inline-block; margin-right: 8px; width: 240px"
@change="onSatisfyChange"
/>

View File

@ -47,6 +47,7 @@
<t-form-item label="合同类型" name="type">
<t-select
v-model="formData.type"
style="display: inline-block"
class="form-item-content"
:options="CONTRACT_TYPE_OPTIONS"
placeholder="请选择合同类型"

View File

@ -35,12 +35,11 @@
<t-tab-panel value="second" label="内容列表">
<t-card :bordered="false" class="card-padding-no" title="主页访问数据" describe="(次)">
<template #actions>
<t-date-picker
<t-date-range-picker
class="card-date-picker-container"
:default-value="LAST_7_DAYS"
theme="primary"
mode="date"
range
@change="onLineChange"
/>
</template>

View File

@ -68,10 +68,6 @@ p {
}
}
.t-button + .t-button {
margin-left: var(--tdvns-spacer);
}
.container-base-margin-top {
margin-top: 16px;
}

View File

@ -7,10 +7,13 @@
width: fit-content;
}
.t-button + .t-button {
margin-left: var(--tdvns-spacer);
.left-operation-container,.operation-container {
.t-button + .t-button {
margin-left: var(--tdvns-spacer);
}
}
.t-layout.t-layout--with-sider {
> .t-layout {
flex: 1;