|
|
@@ -37,7 +37,10 @@
|
|
|
</span>
|
|
|
</span>
|
|
|
</div>
|
|
|
- <div class="echart-container" id="defect-column" ref="domRef"></div>
|
|
|
+ <div v-show="!loading" class="echart-container" id="defect-column" ref="domRef"></div>
|
|
|
+ <div v-show="loading" class="echart-container" style="text-align: center;padding-top: 100px;">
|
|
|
+ <a-spin tip="数据查询中..."/>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
@@ -82,6 +85,7 @@ export default defineComponent({
|
|
|
const { proxy } = getCurrentInstance();
|
|
|
const echarts = proxy.$echarts;
|
|
|
const mychart = shallowRef(null);
|
|
|
+ watch(()=>data.year,()=>{dataChange()})
|
|
|
const disabledDate = (current) => {
|
|
|
// Can not select days before today and today
|
|
|
return current && current > moment().endOf('day');
|