add 全院经营数据统计(累计)-比对
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
<!-- echarts-->
|
||||
<div class="title">全院经营数据统计 (累计)
|
||||
<j-year-date style="width:250px" class="year" placeholder="请选择年份" v-model="queryParam.year" @change="loadData"></j-year-date>
|
||||
<a-button type="link" style="margin-left: 8px;" @click="handleComparison">比对</a-button>
|
||||
</div>
|
||||
<div class="echarts-box" id="singleMonthTotalEcharts"></div>
|
||||
<!-- echarts-->
|
||||
@@ -39,6 +40,8 @@
|
||||
</a-table>
|
||||
</div>
|
||||
<!-- 表格区域end -->
|
||||
<!-- 比对弹框 -->
|
||||
<single-month-total-comparison-modal ref="singleMonthTotalComparisonModal"/>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -72,6 +75,7 @@ import {MonthDataTotal} from '@views/statisticalReport/statisticData'
|
||||
import {getAction} from '@api/manage'
|
||||
import {formatMoney} from '@/utils/formatMoney'
|
||||
import JYearDate from '@comp/jero/JYearDate'
|
||||
import SingleMonthTotalComparisonModal from '@views/dashboard/modules/SingleMonthTotalComparisonModal'
|
||||
|
||||
const columns = [
|
||||
{
|
||||
@@ -96,6 +100,7 @@ MonthDataTotal.map(tt => {
|
||||
export default {
|
||||
name: 'SingleMonthEcharts',
|
||||
components:{
|
||||
SingleMonthTotalComparisonModal,
|
||||
JYearDate
|
||||
},
|
||||
mixins: [JeroListMixin],
|
||||
@@ -120,6 +125,10 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
formatMoney,
|
||||
// 比对
|
||||
handleComparison () {
|
||||
this.$refs.singleMonthTotalComparisonModal.open()
|
||||
},
|
||||
loadData(arg) {
|
||||
if (!this.url.list) {
|
||||
this.$message.error('请设置url.list属性!')
|
||||
|
||||
Reference in New Issue
Block a user