|
@@ -8,7 +8,7 @@
|
|
<a-col :sm="24" :md="12" :xl="6" :style="{ marginBottom: '24px', cursor: 'pointer' }" v-for="(item, index) in zhibiaoTotal" :key="index" @click="clickItemTotal(item, index)">
|
|
<a-col :sm="24" :md="12" :xl="6" :style="{ marginBottom: '24px', cursor: 'pointer' }" v-for="(item, index) in zhibiaoTotal" :key="index" @click="clickItemTotal(item, index)">
|
|
<chart-card :loading="loading" :title="item.title+' (万元) / 当月'" :total="totalPrice(item.monthTotal)">
|
|
<chart-card :loading="loading" :title="item.title+' (万元) / 当月'" :total="totalPrice(item.monthTotal)">
|
|
<a-tooltip :title="`点击查看${item.title}明细`" slot="action" v-if="item.value !== 'lre'">
|
|
<a-tooltip :title="`点击查看${item.title}明细`" slot="action" v-if="item.value !== 'lre'">
|
|
- <a-icon type="info-circle-o" @click.stop="handleMX(item, index)"/>
|
|
|
|
|
|
+ <a-icon type="info-circle-o" @click.stop="handleTotalDetail(item, index)"/>
|
|
</a-tooltip>
|
|
</a-tooltip>
|
|
<div>
|
|
<div>
|
|
<trend :flag="setJiantou(item.monthTb)" style="margin-right: 16px;">
|
|
<trend :flag="setJiantou(item.monthTb)" style="margin-right: 16px;">
|
|
@@ -194,8 +194,8 @@
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<!-- 弹框列表 -->
|
|
<!-- 弹框列表 -->
|
|
- <list-modal ref="modalForm" :listData = "listData"></list-modal>
|
|
|
|
-
|
|
|
|
|
|
+ <!-- <list-modal ref="modalForm" :listData = "listData"></list-modal> -->
|
|
|
|
+ <detail-list-modal ref="detailModalRef"></detail-list-modal>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
@@ -218,7 +218,8 @@
|
|
import deptZbphTable from './components/deptZbphTable.vue'
|
|
import deptZbphTable from './components/deptZbphTable.vue'
|
|
|
|
|
|
import { getLoginfo,getVisitInfo } from '@/api/api'
|
|
import { getLoginfo,getVisitInfo } from '@/api/api'
|
|
- import ListModal from './components/listModal.vue'
|
|
|
|
|
|
+ // import ListModal from './modules/listModal.vue'
|
|
|
|
+ import DetailListModal from './modulesDetail/DetailListModal.vue'
|
|
|
|
|
|
const chb8Names = [
|
|
const chb8Names = [
|
|
{ name: '外协费', value: 'wxf' },
|
|
{ name: '外协费', value: 'wxf' },
|
|
@@ -246,7 +247,8 @@
|
|
twoYAxisChart,
|
|
twoYAxisChart,
|
|
|
|
|
|
deptZbphTable,
|
|
deptZbphTable,
|
|
- ListModal,
|
|
|
|
|
|
+ // ListModal,
|
|
|
|
+ DetailListModal,
|
|
},
|
|
},
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
@@ -441,10 +443,13 @@
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
// 弹框
|
|
// 弹框
|
|
- handleMX(item, index){
|
|
|
|
|
|
+ handleTotalDetail(item, index){
|
|
// console.log(9898,item, index)
|
|
// console.log(9898,item, index)
|
|
- this.listData = item
|
|
|
|
- this.$refs.modalForm.getList()
|
|
|
|
|
|
+ // this.listData = item
|
|
|
|
+ // this.$refs.modalForm.getList()
|
|
|
|
+ this.$refs.detailModalRef.title = item.title
|
|
|
|
+ this.$refs.detailModalRef.type = item.value
|
|
|
|
+ this.$refs.detailModalRef.open()
|
|
},
|
|
},
|
|
//限制选择年份
|
|
//限制选择年份
|
|
disabledYear(current){
|
|
disabledYear(current){
|