maxmall-portal-master/src/views/distribution/distributor/components/distributorList.vue

(开头部分) 13KB

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

<template>
  <div class="app-container">
    <el-form :inline="true" :model="distrQuery" class="demo-form-inline">
      <el-form-item label="输入搜索: ">
        <el-input v-model="distrQuery.managerUserName" class="form-item" placeholder="分销名称" />
      </el-form-item>
      <el-form-item label="推广编号: ">
        <el-input v-model="distrQuery.distributorSn" class="form-item" placeholder="推广编号" />
      </el-form-item>
      <el-form-item>
        <el-button v-waves class="filter-item" type="primary" icon="el-icon-search" @click="handleDistrSearchList">
          {{ $t('table.search') }}
        </el-button>
      </el-form-item>
    </el-form>
    <el-table
      v-loading="distrLoading"
      :data="distrList"
      stripe
      style="font-size: 12px;"
      fit
      highlight-current-row
      :default-expand-all="false"
      @sort-change="sortChange">
      <el-table-column label="头像" width="80" align="center">
        <template slot-scope="scope">
          <span><img style="height: 35px" :src="scope.row.managerUserPic"></span>
        </template>
      </el-table-column>
      <el-table-column label="分销名称" width="160" align="left">
        <template slot-scope="scope">
          {{ scope.row.managerUserName }}
        </template>
      </el-table-column>
      <el-table-column label="推广编号" align="left">
        <template slot-scope="scope">
          {{ scope.row.distributorSn }}
        </template>
      </el-table-column>
      <el-table-column label="分销统计" width="100" align="center">
        <template slot-scope="scope">
          <router-link :to="'/distribution/distributor/dashbord/'+scope.row.id" class="link-type">
            <span>分销统计</span>
          </router-link>
        </template>
      </el-table-column>
      <el-table-column label="店铺" width="100" align="left">
        <template slot-scope="scope">
          <el-popover
            placement="right"
            width="500"
            :ref="'shopPover'+scope.$index"
            trigger="hover">
            <div class="form-container-border">
              <el-row>
                <el-col :span="6" class="table-cell table-cell-title">店铺名称</el-col>
                <el-col :span="6" class="table-cell table-cell-title">店铺主图</el-col>
                <el-col :span="12" class="table-cell table-cell-title">店铺标题</el-col>
              </el-row>
              <el-row>
后面还有 307 行代码,购买后查看完整代码

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

AI 解读 AI

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

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