| | |
| | | v-if="!culture1 && !culture2 && !culture3" |
| | | style="color: #666; text-align: center; font-size: 16px" |
| | | > |
| | | 暂无数据 |
| | | 世医文化无数据 |
| | | </div> |
| | | </view> |
| | | </view> |
| | |
| | | identifier: this.idIndex, |
| | | socialFlag: true |
| | | }).then((res) => { |
| | | console.log(res); |
| | | let data = res.object; |
| | | // 处理节点颜色 |
| | | this.links = []; |
| | |
| | | } |
| | | }; |
| | | }); |
| | | console.log(this.dataList); |
| | | console.log(this.links); |
| | | this.initBarChart(this.dataList, this.links); |
| | | }); |
| | | |
| | |
| | | inheritMedicalCultureList({ |
| | | identifier: this.idIndex |
| | | }).then((res) => { |
| | | this.culture1 = res.list.find(item=>item.typeName == "家风") |
| | | this.culture2 = res.list.find(item=>item.typeName == "医德") |
| | | this.culture3 = res.list.find(item=>item.typeName == "家训") |
| | | this.culture1 = res.list.find((item) => item.typeName == "家风"); |
| | | this.culture2 = res.list.find((item) => item.typeName == "医德"); |
| | | this.culture3 = res.list.find((item) => item.typeName == "家训"); |
| | | }); |
| | | }, |
| | | showSocialMapping() { |
| | |
| | | height: 0.24rem; |
| | | font-size: 0.12rem; |
| | | padding: 0; |
| | | border: 1px solid #9e9e9e; |
| | | border-radius: 0; |
| | | color: #000; |
| | | } |
| | | .barChart { |
| | | width: 100vw; |