增加:酒道馆和联盟商家申请信息显示商户子类型
This commit is contained in:
parent
c3830a636d
commit
2bc5b4ab19
|
|
@ -95,8 +95,8 @@
|
||||||
</div>
|
</div>
|
||||||
<!--表单-->
|
<!--表单-->
|
||||||
<el-table v-loading="listLoading" :data="tableData.data" style="width: 100%" highlight-current-row class="switchTable">
|
<el-table v-loading="listLoading" :data="tableData.data" style="width: 100%" highlight-current-row class="switchTable">
|
||||||
<el-table-column prop="mer_intention_id" label="ID" min-width="60" align="center" />
|
<el-table-column prop="mer_intention_id" label="ID" min-width="50" align="center" />
|
||||||
<el-table-column label="申请人" min-width="280" align="center">
|
<el-table-column label="申请人" min-width="230" align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div class="user-content" v-if="scope.row.applicant">
|
<div class="user-content" v-if="scope.row.applicant">
|
||||||
<div class="user-avatar" v-if="scope.row.applicant.avatar && scope.row.applicant.avatar != 1">
|
<div class="user-avatar" v-if="scope.row.applicant.avatar && scope.row.applicant.avatar != 1">
|
||||||
|
|
@ -109,7 +109,7 @@
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="管理员" min-width="280" align="center">
|
<el-table-column label="管理员" min-width="230" align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div class="user-content" v-if="scope.row.manage">
|
<div class="user-content" v-if="scope.row.manage">
|
||||||
<div class="user-avatar" v-if="scope.row.manage.avatar && scope.row.manage.avatar != 1">
|
<div class="user-avatar" v-if="scope.row.manage.avatar && scope.row.manage.avatar != 1">
|
||||||
|
|
@ -124,26 +124,35 @@
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="商户信息" min-width="180" align="left">
|
<el-table-column label="商户信息" min-width="180" align="left">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
名称:{{ scope.row.mer_name || '' }}<br />
|
商户名称:{{ scope.row.mer_name || '' }}<br />
|
||||||
分类:{{ scope.row.category_name || '' }}<br />
|
<template v-if="[0,2].includes(Number(tableFrom.merchant_type))">
|
||||||
类型:{{ scope.row.type_name || '' }}<br />
|
商户分类:{{ scope.row.category_name || '' }}<br />
|
||||||
|
经营类型:{{ scope.row.type_name || '' }}<br />
|
||||||
|
</template>
|
||||||
|
<template v-if="[0,1].includes(Number(tableFrom.merchant_type))">
|
||||||
|
<!--'商户子类型:0=默认,1=酒道馆/大型餐厅,2=小酒馆/中小型餐厅'-->
|
||||||
|
<span v-if="tableFrom.merchant_type == 0 && scope.row.merchant_sub_type == 1">商户类型:大型餐厅</span>
|
||||||
|
<span v-else-if="tableFrom.merchant_type == 0 && scope.row.merchant_sub_type == 2">商户类型:中小型餐厅</span>
|
||||||
|
<span v-else-if="tableFrom.merchant_type == 1 && scope.row.merchant_sub_type == 1">商户类型:酒道馆</span>
|
||||||
|
<span v-else-if="tableFrom.merchant_type == 1 && scope.row.merchant_sub_type == 2">商户类型:小酒馆</span>
|
||||||
|
</template>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="联系人信息" min-width="120" align="center">
|
<el-table-column label="联系人信息" min-width="100" align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.name || '' }}<br />
|
{{ scope.row.name || '' }}<br />
|
||||||
{{ scope.row.phone || '' }}<br />
|
{{ scope.row.phone || '' }}<br />
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="create_time" label="申请时间" min-width="150" align="center" />
|
<el-table-column prop="create_time" label="申请时间" min-width="150" align="center" />
|
||||||
<el-table-column label="资质图片" min-width="110">
|
<el-table-column label="资质图片" min-width="80" align="center" >
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div class="qualification-image">
|
<div class="qualification-image">
|
||||||
<el-image v-for="(item, index) in scope.row.images" :key="index" :src="item" class="mr5" :preview-src-list="[item]" />
|
<el-image v-for="(item, index) in scope.row.images" :key="index" :src="item" class="mr5" :preview-src-list="[item]" />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="状态" min-width="150" align="center">
|
<el-table-column label="状态" min-width="80" align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-tag v-if="scope.row.status == 1" type="success">通过</el-tag>
|
<el-tag v-if="scope.row.status == 1" type="success">通过</el-tag>
|
||||||
<el-tag v-if="scope.row.status == 0" type="info">未处理</el-tag>
|
<el-tag v-if="scope.row.status == 0" type="info">未处理</el-tag>
|
||||||
|
|
@ -339,11 +348,9 @@ export default {
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
/deep/ table .el-image {
|
/deep/ table .el-image {
|
||||||
display: inline-block !important;
|
display: inline-block !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.user-content {
|
.user-content {
|
||||||
--user-content-height-: 80px;
|
--user-content-height-: 80px;
|
||||||
|
|
||||||
|
|
@ -399,4 +406,7 @@ export default {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
/deep/ .cell{
|
||||||
|
padding: 0!important;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue