|
|
@@ -17,21 +17,24 @@
|
|
|
</el-row>
|
|
|
|
|
|
<el-table v-loading="loading" :data="packageList" border size="small" style="width:100%">
|
|
|
- <el-table-column label="套餐ID" align="center" prop="id" width="80" />
|
|
|
+ <el-table-column label="套餐ID" align="center" prop="packageId" width="80" />
|
|
|
<el-table-column label="套餐名称" align="center" prop="packageName" min-width="140" />
|
|
|
- <el-table-column label="套餐分钟数" align="center" prop="packageMinutes" width="120" />
|
|
|
- <el-table-column label="套餐价格" align="center" prop="packagePrice" width="120">
|
|
|
+ <el-table-column label="套餐分钟数" align="center" prop="times" width="120">
|
|
|
<template slot-scope="scope">
|
|
|
- <span style="color:#E6A23C;font-weight:bold">¥{{ scope.row.packagePrice || '0.00' }}</span>
|
|
|
+ <span>{{ scope.row.times }} 分钟</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column label="套餐价格" align="center" prop="price" width="120">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span style="color:#E6A23C;font-weight:bold">¥{{ scope.row.price || '0.00' }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="状态" align="center" prop="status" width="100">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-tag v-if="scope.row.status === '0' || scope.row.status === 0" type="success" size="small">启用</el-tag>
|
|
|
+ <el-tag v-if="scope.row.status === 1" type="success" size="small">启用</el-tag>
|
|
|
<el-tag v-else type="info" size="small">停用</el-tag>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="创建时间" align="center" prop="createTime" width="160" />
|
|
|
</el-table>
|
|
|
|
|
|
<pagination v-show="total>0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize" @pagination="getList" />
|