YM
2024-05-27 0edf94722a0dcc338567fec7df76b2e0acd39b92
src/pages/inherit/list.vue
@@ -87,7 +87,7 @@
        v-if="!culture1 && !culture2 && !culture3"
        style="color: #666; text-align: center; font-size: 16px"
      >
        暂无数据
        世医文化无数据
      </div>
    </view>
  </view>
@@ -132,7 +132,6 @@
        identifier: this.idIndex,
        socialFlag: true
      }).then((res) => {
        console.log(res);
        let data = res.object;
        // 处理节点颜色
        this.links = [];
@@ -195,8 +194,6 @@
            }
          };
        });
        console.log(this.dataList);
        console.log(this.links);
        this.initBarChart(this.dataList, this.links);
      });
@@ -204,9 +201,9 @@
      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() {
@@ -338,6 +335,9 @@
  height: 0.24rem;
  font-size: 0.12rem;
  padding: 0;
  border: 1px solid #9e9e9e;
  border-radius: 0;
  color: #000;
}
.barChart {
  width: 100vw;