| | |
| | | <template> |
| | | <view class=""> |
| | | <headNav |
| | | :idIndex="idIndex" |
| | | idIndex="2" |
| | | :searchBg="false" |
| | | text="中医世医传承数据库" |
| | | bg="/static/image/topBg1.png" |
| | |
| | | </template> |
| | | <script> |
| | | import * as echarts from "echarts"; |
| | | import { |
| | | inheritMedicalList, |
| | | inheritMedicalSataStatistics, |
| | | inheritMedicalCultureList, |
| | | inheritMedicalRelationList |
| | | } from "@/api/index.js"; |
| | | import { inheritMedicalList } from "@/api/index.js"; |
| | | export default { |
| | | data() { |
| | | return { |
| | |
| | | Distance = 22; |
| | | } |
| | | |
| | | console.log(this.nodeData, "this.nodeData"); |
| | | let option = { |
| | | title: { |
| | | text: [""] |
| | |
| | | myChart.setOption(option); |
| | | myChart.on("click", (params) => { |
| | | uni.navigateTo({ |
| | | url: "/pages/inherit/list" |
| | | url: |
| | | "/pages/inherit/list?id=" + |
| | | params.data.identifier + |
| | | "&name=" + |
| | | encodeURIComponent(params.data.name) |
| | | }); |
| | | }); |
| | | }, |