bug 处理
This commit is contained in:
parent
6e512d1d00
commit
a7b86dd469
|
@ -64,11 +64,19 @@
|
|||
<a-row type="flex" :gutter="20">
|
||||
<a-col :span="6">
|
||||
<span class="item-label" style="width: 60px; text-align: right">Time</span>
|
||||
<custom-date-picker style="width: 234px" :value="moment(queryParams.startDate)" @change="startDateChange" />
|
||||
<custom-date-picker
|
||||
style="width: calc(100% - 70px)"
|
||||
:value="moment(queryParams.startDate)"
|
||||
@change="startDateChange"
|
||||
/>
|
||||
</a-col>
|
||||
<a-col :span="6">
|
||||
<span class="item-label" style="width: 60px; text-align: right">to</span>
|
||||
<custom-date-picker style="width: 234px" :value="moment(queryParams.endDate)" @change="endDateChange" />
|
||||
<custom-date-picker
|
||||
style="width: calc(100% - 70px)"
|
||||
:value="moment(queryParams.endDate)"
|
||||
@change="endDateChange"
|
||||
/>
|
||||
</a-col>
|
||||
</a-row>
|
||||
<div class="layout-header-btns">
|
||||
|
@ -152,6 +160,7 @@ const commonOptions = {
|
|||
nameLocation: 'middle',
|
||||
nameTextStyle: {
|
||||
fontSize: 18,
|
||||
color: '#5b9cba',
|
||||
},
|
||||
nameGap: 35,
|
||||
boundaryGap: false,
|
||||
|
@ -171,7 +180,8 @@ const commonOptions = {
|
|||
},
|
||||
},
|
||||
axisLabel: {
|
||||
color: '#5b9cba',
|
||||
color: '#ade6ee',
|
||||
// color: '#5b9cba',
|
||||
formatter: (value, index) => {
|
||||
let val = value.split(' ').join('\n')
|
||||
// if (index === 0) {
|
||||
|
@ -247,7 +257,7 @@ export default {
|
|||
stationOptions: [],
|
||||
nuclideOptions: [],
|
||||
dataSouceOptions: [],
|
||||
stationIds: undefined,
|
||||
stationIds: [],
|
||||
queryParams: {
|
||||
systemType: undefined,
|
||||
nuclideNames: undefined,
|
||||
|
@ -273,6 +283,7 @@ export default {
|
|||
methods: {
|
||||
moment,
|
||||
typeChange(val) {
|
||||
this.stationIds = []
|
||||
this.queryParams.systemType = val
|
||||
if (val == 'Particulate') this.menuName = 'Particulate'
|
||||
if (val == 'gamma') this.menuName = 'Noble Gas HPGe'
|
||||
|
|
Loading…
Reference in New Issue
Block a user