Commit dd05dc30 authored by 陈明豪's avatar 陈明豪

数据统计-接口对接

parent 346696c1
import request from '@/utils/request'
// 查询文章列表
export function testMsg() {
return request({
url: '/system/petmNotice/pushMsg',
method: 'get'
})
}
......@@ -86,7 +86,7 @@
{{ scope.row.img ? '已上传':'未上传' }}
</template>
</el-table-column>
<el-table-column label="跳转链接" prop="url" show-overflow-tooltip>
<el-table-column label="跳转地址" prop="url" show-overflow-tooltip>
<template slot-scope="scope">
<span>{{ scope.row.url || '-' }}</span>
</template>
......
......@@ -337,6 +337,7 @@ import ColumnarChart from '@/views/data-statistics/echars-components/columnarCha
import RadarChartForHospital from '@/views/data-statistics/echars-components/radar-chart-for-hospital.vue'
import { getHospitalStatistics, listHospital } from '@/api/business/statistics'
import { parseTime } from '../../../utils/ruoyi'
import { testMsg } from '@/api/business/test'
export default {
name: 'HospitalDataStatistics',
components: {
......@@ -391,8 +392,16 @@ export default {
// this.loading = false
this.getStatistics()
this.getHospitalList()
// this.justTest()
},
methods: {
justTest() {
testMsg().then(res => {
if (res) {
console.log('测试结果', res)
}
})
},
parseTime,
getStatistics() {
this.loading = true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment