loulijun2021
2024-01-04 568d7578f92ff5a1ddcabb539e061ec74973b39c
1.系统首页去除人名显示
已修改2个文件
43 ■■■■ 文件已修改
src/utils/myEcharts.js 42 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
vue.config.js 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/utils/myEcharts.js
@@ -131,21 +131,21 @@
  var option = {
    backgroundColor: 'transparent',
    grid: {
      left: '2%',
      left: '5%',
      right: '5%',
      bottom: '0%',
      top: '2%',
      containLabel: true
    },
    tooltip: {
      trigger: 'axis',
      axisPointer: {
        type: 'none'
      },
      formatter: function(params) {
        return params[0].name + ' : ' + params[0].value
      }
    },
    // tooltip: {
    //   trigger: 'axis',
    //   axisPointer: {
    //     type: 'none'
    //   },
    //   formatter: function(params) {
    //     return params[0].name + ' : ' + params[0].value
    //   }
    // },
    xAxis: {
      show: true,
      type: 'value',
@@ -169,7 +169,7 @@
      type: 'category',
      inverse: true,
      axisLabel: {
        show: true,
        show: false,
        textStyle: {
          color: '#000'
        }
@@ -266,16 +266,16 @@
  const option = {
    backgroundColor: 'transparent',
    tooltip: {
      trigger: 'axis',
      axisPointer: {
        // type: 'shadow',
        label: {
          show: true,
          backgroundColor: '#000'
        }
      }
    },
    // tooltip: {
    //   trigger: 'axis',
    //   axisPointer: {
    //     // type: 'shadow',
    //     label: {
    //       show: true,
    //       backgroundColor: '#000'
    //     }
    //   }
    // },
    grid: {
      left: '2%',
      right: '5%',
vue.config.js
@@ -53,6 +53,7 @@
    proxy: {
      [process.env.VUE_APP_BASE_API]: {
        target: 'http://121.196.36.24:8021', // 请求的第三⽅接⼝地址       本地开发服务器
        // target: 'http://192.168.18.245:8001', // 请求的第三⽅接⼝地址       本地开发服务器
        changeOrigin: true, // 请求跨域时,需 配置此项
        pathRewrite: { // 路径重写,替换target中的请求地址
          ['^' + process.env.VUE_APP_BASE_API]: '/api/'