WXL
6 天以前 c97bd0d3b646611474faf6017aebbe34180a0e92
src/views/knowledge/education/index.vue
@@ -1,5 +1,6 @@
<template>
  <div class="educationmanagement">
    <!-- 左侧栏 -->
    <div class="sidecolumn">
      <div class="sidecolumn-top">
@@ -365,7 +366,7 @@
      </div>
    </div>
    <!-- 添加类别弹框 -->
    <el-dialog title="新增类别" width="30%" :visible.sync="dialogFormVisible">
    <el-dialog title="类别编辑" width="30%" :visible.sync="dialogFormVisible">
      <div style="text-align: center; margin-bottom: 20px">
        <el-radio-group v-model="radio">
          <el-radio-button label="主分类"></el-radio-button>
@@ -684,7 +685,7 @@
            },
          },
        ],
        grid: { top: "30%", left: "10%", right: "40%", bottom: "10%" },
        grid: { top: "30%", left: "10%", right: "50%", bottom: "10%" },
        yAxis: [
          {
            type: "value",
@@ -695,6 +696,7 @@
            name: "查看次数",
            type: "bar",
            data: this.Collarrvalue,
            // data: [6,8,22,99,87,90,12,11,22,33,34,44],
            seriesLayoutBy: "row",
            smooth: true,
            label: {
@@ -823,6 +825,8 @@
    },
    // 打开统计图表
    statistics() {
      this.Collarrname=[];
      this.Collarrvalue=[];
      //取数据
      let obj = { assortid: 13, isavailable: "", pageNum: 1, pageSize: 20 };
      getlibrarylist(obj).then((response) => {