|
|
@@ -31,19 +31,19 @@ |
|
|
|
<view v-if="isShow === 0"> |
|
|
|
<view class="title title_pie"><view class="choice_item1"><uni-data-select v-model="selectPieValue" :localdata="pieRange" @change="changePie" :clear="false"></uni-data-select></view></view> |
|
|
|
<view class="charts-box"> |
|
|
|
<qiun-data-charts type="pie" :opts="opts" :chartData="pieData" /> |
|
|
|
<qiun type="pie" :opts="opts" :chartData="pieData" /> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view v-else-if="isShow === 1"> |
|
|
|
<view class="title title_pie"><view class="choice_item1"><uni-data-select v-model="selectLineValue" :localdata="lineRange" @change="changeLine" :clear="false"></uni-data-select></view></view> |
|
|
|
<view class="charts-box"> |
|
|
|
<qiun-data-charts type="line" :opts="optsLine" :chartData="lineData" :ontouch="true"/> |
|
|
|
<qiun type="line" :opts="optsLine" :chartData="lineData" :ontouch="true"/> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view v-else> |
|
|
|
<view class="title title_pie"><view class="choice_item"><uni-data-select v-model="selectColValue" :localdata="colRange" @change="changeCol" :clear="false"></uni-data-select></view></view> |
|
|
|
<view class="charts-box"> |
|
|
|
<qiun-data-charts type="column" :opts="optsCol" :chartData="chartData" :ontouch="true"/> |
|
|
|
<qiun type="column" :opts="optsCol" :chartData="chartData" :ontouch="true"/> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
@@ -62,6 +62,8 @@ |
|
|
|
import tTh from '@/components/t-table/t-th.vue' |
|
|
|
import tTr from '@/components/t-table/t-tr.vue' |
|
|
|
import tTd from '@/components/t-table/t-td.vue' |
|
|
|
// import qiun from "@/subpackage/service/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.vue"; |
|
|
|
import qiun from "../qiun-data-charts/components/qiun-data-charts/qiun-data-charts.vue"; |
|
|
|
export default { |
|
|
|
data() { |
|
|
|
return { |
|
|
@@ -145,6 +147,7 @@ |
|
|
|
tTh, |
|
|
|
tTr, |
|
|
|
tTd, |
|
|
|
qiun |
|
|
|
}, |
|
|
|
onLoad() { |
|
|
|
this.noDealDateTime=nowDate(new Date()); |