feat: 门店档案评分

This commit is contained in:
wanglei
2024-06-23 17:41:30 +08:00
parent a293259fb9
commit 692ffab0d9

View File

@@ -65,7 +65,7 @@
<ai-search-bar class="search-bar"> <ai-search-bar class="search-bar">
<template #left> <template #left>
<el-button type="primary" icon="iconfont iconAdd" @click="handleAdd">添加</el-button> <el-button type="primary" icon="iconfont iconAdd" @click="handleAdd">添加</el-button>
<el-button icon="iconfont iconDelete">删除</el-button> <el-button icon="iconfont iconDelete" @click="handleDelBatch">删除</el-button>
</template> </template>
<template #right> <template #right>
<ai-import :instance="instance" :dict="dict" type="appintegraluser" name="门店档案" <ai-import :instance="instance" :dict="dict" type="appintegraluser" name="门店档案"
@@ -94,6 +94,12 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="门店评分" slot="mark" align="center">
<template v-slot="{row}">
<el-rate :value="4" disabled></el-rate>
</template>
</el-table-column>
<el-table-column slot="options" width="180px" fixed="right" label="操作" align="center"> <el-table-column slot="options" width="180px" fixed="right" label="操作" align="center">
<template slot-scope="{ row }"> <template slot-scope="{ row }">
<div class="table-options"> <div class="table-options">
@@ -144,7 +150,7 @@ export default {
{ prop: 'createTime', label: '录入时间', align: 'center' }, { prop: 'createTime', label: '录入时间', align: 'center' },
{ prop: 'status', label: '门店地址', align: 'center'}, { prop: 'status', label: '门店地址', align: 'center'},
{ prop: 'auditUserName', label: '经营类型', align: 'center' }, { prop: 'auditUserName', label: '经营类型', align: 'center' },
{ prop: 'pushStatus', label: '门店评分', align: 'center'} {slot:'mark',align: 'center'}
], ],
tableData: [], tableData: [],
dateList: [] dateList: []
@@ -173,6 +179,11 @@ export default {
params: {} params: {}
}) })
}, },
handleDelBatch(){
},
getRulesList () { getRulesList () {
this.instance.post(`/app/appintegralrule/listByAppletFD?current=1&size=3000`).then((res) => { this.instance.post(`/app/appintegralrule/listByAppletFD?current=1&size=3000`).then((res) => {
if (res.code === 0) { if (res.code === 0) {