| | |
| | | |
| | | <el-table v-loading="loading" :data="doctorList" :row-key="getRowId" ref="multipleTable" @selection-change="handleSelectionChange" :row-class-name="tableRowClassName" style="background: #FFEFF2; border-radius: 14px 14px 14px 14px;"> |
| | | <el-table-column type="selection" :reserve-selection="true" width="25" align="center" /> |
| | | <el-table-column label="序号" sortable type="index" align="center" :index="(queryParams.pageNum-1)*queryParams.pageSize+1" width="60"/> |
| | | <el-table-column fixed label="序号" sortable type="index" align="center" :index="(queryParams.pageNum-1)*queryParams.pageSize+1" width="60"/> |
| | | <el-table-column label="类型" prop="type" sortable width="80" align="center"> |
| | | |
| | | <template slot-scope="scope">{{scope.row.type? scope.row.type: '————'}}</template> |
| | |
| | | /** 导出按钮操作 */ |
| | | handleExport() { |
| | | const Ids = this.ids; |
| | | |
| | | |
| | | if(Ids.length==0) |
| | | { |
| | | this.download('/zfDoctor/export', { |
| | |
| | | }, `zfDoctor_${new Date().getTime()}.xlsx`) |
| | | }else{ |
| | | this.download('/zfDoctor/export1/'+Ids, { |
| | | |
| | | |
| | | }, `zfDoctor_${new Date().getTime()}.xlsx`) |
| | | } |
| | | }, |