zmc
2023-08-15 d58be9584f409e7d198fd34982155331d6710f1f
src/views/analysis/graph/IndexPage.vue
@@ -192,7 +192,7 @@
    </template>
    
    <script>
  import axiosInstance from '../../../utils/request.js'
  import axiosInstanceInstance from '../../../utils/request.js'
    import * as XLSX from 'xlsx/xlsx.mjs';
      export default {
        data() {
@@ -362,7 +362,7 @@
        },
        mounted(){
        //发送一部请求,获取数据
        axiosInstance.get("/data/id").then((result)=>{
        axiosInstanceInstance.get("/data/id").then((result)=>{
            this.tableData=result.data.data
            //this.tableData=result.data.data.rows    当访问/tiaojian 时
            this.total = this.tableData.length;
@@ -419,7 +419,7 @@
        params['end'] = this.form.end;
      }
      
      axiosInstance.get('http://192.168.0.144:8080/data/id', {
      axiosInstanceInstance.get('/data/id', {
        params: params
      }).then(response => {
        this.tableData = response.data.data;