对接项目看板

This commit is contained in:
qq787203167
2022-05-18 18:02:02 +08:00
parent 59c87137ae
commit a7746bac73
@@ -36,16 +36,19 @@
<a-range-picker
:placeholder="[this.$t('startMonth'), this.$t('endMonth')]"
format="YYYY-MM"
class="range-picker"
:value="getTime"
v-model="getTime"
:mode="mode2"
:open="open"
show-time
@ok="okChange"
@openChange="openChange"
@panelChange="panelChange"
@change="hodeChange"
/>
>
<div slot="renderExtraFooter" style="width: 100%;display: block">
<div style="text-align: right;width: 100%">
<a @click="okChange">{{$t('determine')}}</a>
</div>
</div>
</a-range-picker>
</span>
<div class="box-top-content">
<div id="main"></div>
@@ -203,6 +206,7 @@
this.getTimeline()
},
hodeChange() {
this.getTime = []
this.startTime = undefined
this.endTime = undefined
this.getTimeline()
@@ -267,6 +271,10 @@
}
}
}
let num = timeList.length * 3
if (num < 31) {
num = 31
}
option = {
legend: {
data: ['Punch Card'],
@@ -300,7 +308,7 @@
position: 'top',
axisLabel: {
showMinLabel: true,
interval: 31,
interval: num,
textStyle: {
fontFamily: 'Blue Sky Noto',
color: '#000F16',