| | |
| | | <section> |
| | | <el-button type="primary" @click="search">搜索</el-button> |
| | | <el-button @click="reset">重置</el-button> |
| | | <el-button type="primary" :loading="isWorking.export" @click="exportExcel">导出</el-button> |
| | | </section> |
| | | </el-form> |
| | | <!-- 表格和分页 --> |
| | |
| | | <span style="cursor: pointer;color: #2E68EC" @click="openDetail(row)">{{row.openid}}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="telephone" label="手机号" min-width="100px"></el-table-column> |
| | | <el-table-column prop="nickName" label="昵称" min-width="100px"></el-table-column> |
| | | <el-table-column prop="name" label="真实姓名" min-width="100px"></el-table-column> |
| | | <el-table-column prop="telephone" label="手机号" min-width="100px"></el-table-column> |
| | | <el-table-column prop="workerIdentity" label="身份" min-width="100px"> |
| | | <template slot-scope="{row}"> |
| | | 发单方<span v-if="row.workerIdentity == 2 || row.driverIdentity == 2 || row.chefIdentity == 2">{{' | 接单方'}}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="workerIdentity" label="接单认证身份" width="120px"> |
| | | <template slot-scope="{row}"> |
| | | <div v-if="row.workerIdentity == 2" class="renzhen">工人</div> |
| | | <div v-if=" row.driverIdentity == 2" class="renzhen">司机</div> |
| | | <div v-if="row.chefIdentity == 2" class="renzhen">供餐</div> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="amount" label="当前余额(元)" min-width="100px"> |
| | |
| | | <el-table-column prop="createTime" label="注册时间" min-width="100px"></el-table-column> |
| | | <el-table-column prop="autoReciveStatus" label="接受自动派单" min-width="100px"> |
| | | <template slot-scope="{row}"> |
| | | {{row.autoReciveStatus ==1?"是":"否"}} |
| | | {{row.autoReceiveStatus ==1?"是":"否"}} |
| | | </template> |
| | | </el-table-column> |
| | | <!-- <el-table-column label="状态"> |
| | |
| | | export default { |
| | | name: 'Member', |
| | | extends: BaseTable, |
| | | components: { TableLayout, Pagination,OperaMemberDetailWindow, OperaMemberWindow }, |
| | | components: { TableLayout, Pagination, OperaMemberDetailWindow, OperaMemberWindow }, |
| | | data () { |
| | | return { |
| | | // 搜索 |
| | |
| | | this.search() |
| | | }, |
| | | methods: { |
| | | reset () { |
| | | this.searchForm = { |
| | | type: 0, |
| | | startTime: '', |
| | | endTime: '', |
| | | telephone: '', |
| | | name: '', |
| | | status: '' |
| | | } |
| | | this.search() |
| | | }, |
| | | openDetail (row) { |
| | | this.$refs.OperaMemberDetailWindow.open('用户详情', row.id) |
| | | }, |
| | |
| | | } |
| | | } |
| | | </script> |
| | | <style scoped lang="scss"> |
| | | .renzhen{ |
| | | margin: 5px; |
| | | line-height: 30px; |
| | | color:#67c23a; |
| | | height: 30px; |
| | | text-align:center; |
| | | border-color: #e1f3d8; |
| | | background-color: #f0f9eb; |
| | | } |
| | | </style> |