maxmall-portal-master/src/views/members/level/index.vue

(开头部分) 6KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<template>
  <div class="app-container">
    <div class="filter-container">
      <el-card class="box-card">
        <el-form :inline="true" :model="listQuery" class="demo-form-inline">
          <el-form-item label="输入搜索: ">
            <el-input v-model="listQuery.name" class="form-item" placeholder="等级名称" />
          </el-form-item>
          <el-form-item label="等级数值: ">
            <el-input v-model="listQuery.index" class="form-item" placeholder="等级" />
          </el-form-item>
          <el-form-item>
            <el-button v-waves class="filter-item" type="primary" icon="el-icon-search" @click="handleSearchList">
              {{ $t('table.search') }}
            </el-button>
            <el-button v-waves class="filter-item" type="primary" plain icon="el-icon-edit" @click="handleAdd">
              添加
            </el-button>
          </el-form-item>
        </el-form>
      </el-card>
    </div>

    <el-card class="box-card">
      <el-table
        :key="tableKey"
        v-loading="listLoading"
        :data="list"
        stripe
        style="font-size: 12px;"
        fit
        highlight-current-row
        :default-expand-all="false"
        @sort-change="sortChange">
        <el-table-column label="编号" width="80" align="left">
          <template slot-scope="scope">
            {{scope.row.id}}
          </template>
        </el-table-column>
        <el-table-column label="等级名称" width="180"  align="left">
          <template slot-scope="scope">
            {{ scope.row.name }}
          </template>
        </el-table-column>
        <el-table-column label="等级" width="80" align="center">
          <template slot-scope="scope">
            {{ scope.row.level}}
          </template>
        </el-table-column>
        <el-table-column label="需要积分" width="80" align="left">
          <template slot-scope="scope">
            {{ scope.row.growthPoint}}
          </template>
        </el-table-column>
        <el-table-column label="赠送优惠" width="120" align="left">
          <template slot-scope="scope">
            {{ scope.row.growthCouponName}}
          </template>
        </el-table-column>
        <el-table-column label="积分" width="80" align="left">
后面还有 173 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读 AI

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。