| | |
| | | </div> |
| | | <div class="header_item"> |
| | | <el-button icon="el-icon-search" v-if="showButton('search')" @click="searchFormButtonInfo(true,userIds)">查询</el-button> |
| | | <el-button class="search_btn" icon="el-icon-plus" v-if="showButton('export')" @click="exportFiles">导出Excel</el-button> |
| | | <el-button class="search_btn" icon="el-icon-plus" v-if="showButton('export')" @click="exportFiles(userIds)">导出Excel</el-button> |
| | | </div> |
| | | </div> |
| | | <div class="score_index"> |
| | |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="createTime" label="时间" align="center" width="150"></el-table-column> |
| | | <el-table-column prop="integralWater" label="积分分值" align="center" ></el-table-column> |
| | | <el-table-column prop="integralWater" label="积分分值" align="center" > |
| | | <template #default="{row}"> |
| | | <div>{{row.type===1?'+'+row.integralWater:row.type===2?'-'+row.integralWater:''}}</div> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="balanc" label="余额" align="center" ></el-table-column> |
| | | <el-table-column prop="type" label="类型" align="center" > |
| | | <template #default="{row}"> |
| | |
| | | }) |
| | | }, |
| | | //导出excel |
| | | exportFiles(){ |
| | | exportFiles(userId){ |
| | | let params = {} |
| | | params.startTime = this.search.time&&this.search.time[0] |
| | | params.endTime = this.search.time&&this.search.time[1] |
| | | params.userId = userId |
| | | delete params.time |
| | | this.functionLoading(); |
| | | this.$api.Safety.exportMarketFiles(params).then(res => { |
| | | this.$api.Safety.exportIntegralFiles(params).then(res => { |
| | | downFiles(res, '积分明细信息', 'xls') |
| | | this.loadingView.close() |
| | | }) |