feige
2023-06-06 4c10b44dd7d8f57934d7958d7134f2e77bbd0fa4
ruoyi-ui/src/views/travel/index.vue
@@ -135,7 +135,7 @@
      <el-dialog :title="title" :visible.sync="openDataScope" width="1500px" append-to-body >
       <div style="background-color: #FEF7FC;">
        <el-table v-loading="loading" :data="travelpriceList[detailList]" @selection-change="handleSelectionChange" :row-class-name="tableRowClassName"  >
        <el-table v-loading="loading" :data="detailList" @selection-change="handleSelectionChange" :row-class-name="tableRowClassName"  >
          <el-table-column type="selection" width="55"  align="center" />
          <el-table-column  label="序号" sortable type="index" :index="(queryParams.pageNum-1)*queryParams.pageSize+1" width="120"/>
          <el-table-column label="时间" prop="happenTime" sortable width="100" align="center">
@@ -493,7 +493,7 @@
            //  alert(123)
            //   console.log(response.data)
            this.travelpriceList = response.data.data;
            console.log(this.travelpriceList[0])
            this.total = response.data.total;
            this.loading = false;
          }
@@ -574,7 +574,10 @@
      handleShow(row){
      const id = row.id;
      this.openDataScope = true
      this.getList()
   //   this.getList()
      //alert(123)
      this.detailList = row.detailList
      // alert(row.index)
      this.title = "展示详情";
      
     },
@@ -582,6 +585,8 @@
      /** 查看详细信息 */
      handleCheck(row){
        const id = row.id;
       // alert(id)
      //  alert(row.fee_id)
        this.$router.push("/self/travel/Info/" + id);
      },
      /** 修改按钮操作 */
@@ -590,7 +595,7 @@
        let jd = true
  
        this.$router.push({
          path:"/self/travel/Info/" + id,
          path:"/self/travel/edit/" + id,
          query:{
            detail:jd
          }
@@ -710,4 +715,3 @@
  
  }
  </style>