| | |
| | | <el-table-column fixed="right" label="人脸信息" min-width="100px"> |
| | | <template slot-scope="{row}"> |
| | | <el-image |
| | | v-if="row.faceImg" |
| | | style="width: 60px; height: 60px" |
| | | :src="row.faceImg" |
| | | :preview-src-list="[row.faceImg]"> |
| | |
| | | </el-table-column> |
| | | <el-table-column fixed="right" label="卡片信息" min-width="100px"> |
| | | <template slot-scope="{row}"> |
| | | <el-image |
| | | style="width: 60px; height: 60px" |
| | | :src="row.faceImg" |
| | | :preview-src-list="[row.faceImg]"> |
| | | </el-image> |
| | | <el-button @click="$refs.cardOpeningRecord.open('开卡记录', row.id)" type="text">{{row.memberCardCount || '0'}}</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | <!-- <el-table-column--> |
| | |
| | | :pagination="tableData.pagination" |
| | | > |
| | | </pagination> |
| | | <!-- 查看人员开卡记录 --> |
| | | <cardOpeningRecord ref="cardOpeningRecord" @success="handlePageChange" /> |
| | | </template> |
| | | </TableLayout1> |
| | | </template> |
| | |
| | | import BaseTable from '@/components/base/BaseTable' |
| | | import TableLayout1 from '@/layouts/TableLayout1' |
| | | import Pagination from '@/components/common/Pagination' |
| | | import cardOpeningRecord from '@/components/business/cardOpeningRecord' |
| | | import Tree from '@/components/common/Tree' |
| | | import { fetchList } from '@/api/business/company' |
| | | import { memberSync } from '@/api/business/member' |
| | | export default { |
| | | name: 'internalMember', |
| | | extends: BaseTable, |
| | | components: { TableLayout1, Pagination, Tree }, |
| | | components: { TableLayout1, Pagination, Tree, cardOpeningRecord }, |
| | | data () { |
| | | return { |
| | | TreeList: [], |
| | |
| | | .catch(() => {}) |
| | | }, |
| | | callback (row) { |
| | | console.log(row) |
| | | this.searchForm.erpOrgId = row.erpId |
| | | this.searchForm.companyId = row.id |
| | | this.search() |