linwenling
2023-08-01 c62776b21679c54f8e65baeb805b891e962c3eef
ruoyi-ui/src/views/wish/index.vue
@@ -65,6 +65,7 @@
          range-separator="-"
          start-placeholder="开始日期"
          end-placeholder="结束日期"
          @keyup.enter.native="handleQuery"
        ></el-date-picker>
      </el-form-item>
@@ -187,7 +188,7 @@
      <el-table-column label="时间" prop="happenTime" sortable width="100" align="center">
        <template slot-scope="scope">{{scope.row.happenTime? scope.row.happenTime: '————'}}</template>
      </el-table-column>
      <el-table-column label="理想标题/百年心愿" prop="title" sortable width="150" align="center">
      <el-table-column label="理想标题/百年心愿" prop="title" sortable width="160" align="center">
        <template slot-scope="scope">{{scope.row.title? scope.row.title: '————'}}</template>
      </el-table-column>
      <el-table-column label="始于何因" prop="cause" sortable :show-overflow-tooltip="true" width="120" align="center" >
@@ -395,8 +396,8 @@
//导入接口函数
import {listWish, getWish, addWish,updateWish, delWish,uploadPic,downloadModel} from "@/api/wish/index";
import {enload} from "@/api/doctor";
import {listWish, getWish, addWish,updateWish, delWish,uploadPic,downloadModel,enload} from "@/api/wish/index";
import {Message} from "element-ui";
@@ -783,11 +784,11 @@
      if(Ids.length==0)
      {
        this.download('zIdea/export', {
        this.download('/zIdea/export', {
          ...this.queryParams
        }, `zIdea_${new Date().getTime()}.xlsx`)
      }else{
        this.download('zIdea/export1/'+Ids, {
        this.download('/zIdea/export1/'+Ids, {
        }, `zIdea_${new Date().getTime()}.xlsx`)
      }
    },