|
|
@@ -6,12 +6,12 @@
|
|
|
<el-button @click="getData" type="primary" icon="el-icon-search"
|
|
|
class="filter-item">搜索
|
|
|
</el-button>
|
|
|
- <el-button @click="addRow" type="primary" icon="el-icon-plus"
|
|
|
+<!-- <el-button @click="addRow" type="primary" icon="el-icon-plus"
|
|
|
class="filter-item">添加
|
|
|
- </el-button>
|
|
|
- <el-button @click="download" type="primary" icon="el-icon-download"
|
|
|
- :loading="downloading" class="filter-item">导出EXCEL
|
|
|
- </el-button>
|
|
|
+ </el-button>-->
|
|
|
+<!-- <el-button @click="download" type="primary" icon="el-icon-download"-->
|
|
|
+<!-- :loading="downloading" class="filter-item">导出EXCEL-->
|
|
|
+<!-- </el-button>-->
|
|
|
</div>
|
|
|
<el-table :data="tableData" row-key="id" ref="table"
|
|
|
header-row-class-name="table-header-row"
|
|
|
@@ -24,9 +24,6 @@
|
|
|
<el-table-column prop="id" label="ID" width="100">
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="userId" label="userId"
|
|
|
->
|
|
|
- </el-table-column>
|
|
|
- <el-table-column prop="typeId" label="typeId"
|
|
|
>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="startAt" label="购买时间"
|
|
|
@@ -37,28 +34,22 @@
|
|
|
:formatter="datetimeFormatter"
|
|
|
>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="minPrice" label="购买下区间"
|
|
|
+<!-- <el-table-column prop="minPrice" label="购买下区间"
|
|
|
>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="maxPrice" label="购买上区间"
|
|
|
>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column prop="autoTradeEnabled" label="是否开启自动交易"
|
|
|
+ </el-table-column>-->
|
|
|
+<!-- <el-table-column prop="autoTradeEnabled" label="自动交易"
|
|
|
>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column prop="dailyLimit" label="每天购买次数"
|
|
|
->
|
|
|
- </el-table-column>
|
|
|
+ </el-table-column>-->
|
|
|
<el-table-column prop="todayUsed" label="剩余购买次数"
|
|
|
>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="expired" label="是否过期"
|
|
|
->
|
|
|
- </el-table-column>
|
|
|
- <el-table-column prop="weight" label="weight"
|
|
|
+ <el-table-column prop="dailyLimit" label="每天购买次数"
|
|
|
>
|
|
|
</el-table-column>
|
|
|
- <el-table-column
|
|
|
+<!-- <el-table-column
|
|
|
label="操作"
|
|
|
align="center"
|
|
|
fixed="right"
|
|
|
@@ -67,17 +58,17 @@
|
|
|
<el-button @click="editRow(row)" type="primary" size="mini" plain>编辑</el-button>
|
|
|
<el-button @click="deleteRow(row)" type="danger" size="mini" plain>删除</el-button>
|
|
|
</template>
|
|
|
- </el-table-column>
|
|
|
+ </el-table-column>-->
|
|
|
</el-table>
|
|
|
<div class="pagination-wrapper">
|
|
|
<div class="multiple-mode-wrapper">
|
|
|
- <el-button v-if="!multipleMode"
|
|
|
+<!-- <el-button v-if="!multipleMode"
|
|
|
@click="toggleMultipleMode(true)">批量编辑</el-button>
|
|
|
<el-button-group v-else>
|
|
|
<el-button @click="operation1">批量操作1</el-button>
|
|
|
<el-button @click="operation2">批量操作2</el-button>
|
|
|
<el-button @click="toggleMultipleMode(false)">取消</el-button>
|
|
|
- </el-button-group>
|
|
|
+ </el-button-group>-->
|
|
|
</div>
|
|
|
<el-pagination background @size-change="onSizeChange"
|
|
|
@current-change="onCurrentChange" :current-page="page"
|
|
|
@@ -103,7 +94,7 @@
|
|
|
return {
|
|
|
multipleMode: false,
|
|
|
search: "",
|
|
|
- url: "/userVip/all",
|
|
|
+ url: "/vip/all",
|
|
|
downloading: false,
|
|
|
}
|
|
|
},
|
|
|
@@ -143,7 +134,7 @@
|
|
|
download() {
|
|
|
this.downloading = true;
|
|
|
this.$axios
|
|
|
- .get("/userVip/excel", {
|
|
|
+ .get("/userVip/excel", {
|
|
|
responseType: "blob",
|
|
|
params: { size: 10000 }
|
|
|
})
|