lb #17
@ -186,7 +186,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="" style="width: calc(400px * var(--beilv)); flex: 1;">
|
<div class="" style="width: calc(400px * var(--beilv)); flex: 1;">
|
||||||
<techy-box class="" style="padding: 0 calc(16px * var(--beilv));">
|
<techy-box class="" style="padding: 0 calc(16px * var(--beilv));">
|
||||||
<productionRateHeader @update-data="str => dataUpdateToken = str">产品成品率</productionRateHeader>
|
<productionRateHeader @update-data="obj => { dataUpdateToken = obj.str; dateMode2 = obj.mode }">产品成品率</productionRateHeader>
|
||||||
<div style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;">
|
<div style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;">
|
||||||
<new-line-stack :data-update-token="dataUpdateToken" :mode="dateMode2" />
|
<new-line-stack :data-update-token="dataUpdateToken" :mode="dateMode2" />
|
||||||
</div>
|
</div>
|
||||||
|
@ -114,7 +114,7 @@
|
|||||||
:class="{ 'date-select__active': dateMode === 'day' }"
|
:class="{ 'date-select__active': dateMode === 'day' }"
|
||||||
@click="
|
@click="
|
||||||
dateMode = 'day'
|
dateMode = 'day'
|
||||||
$emit('update-data', '' + Math.random())
|
$emit('update-data', { str: '' + Math.random(), mode: dateMode })
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
日
|
日
|
||||||
@ -123,7 +123,7 @@
|
|||||||
:class="{ 'date-select__active': dateMode === 'month' }"
|
:class="{ 'date-select__active': dateMode === 'month' }"
|
||||||
@click="
|
@click="
|
||||||
dateMode = 'month'
|
dateMode = 'month'
|
||||||
$emit('update-data', '' + Math.random())
|
$emit('update-data', { str: '' + Math.random(), mode: dateMode })
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
月
|
月
|
||||||
|
Loading…
Reference in New Issue
Block a user