src/main/webapp/admin/src/views/modules/rukuxinxi/list.vue

(开头部分) 9KB

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

<template>
  <div class="main-content">
    <!-- 列表页 -->
    <div v-if="showFlag">
      <el-form :inline="true" :model="searchForm" class="form-content">
                                            <el-form-item label="商品号">
                <el-input v-model="searchForm.shangpinhao" 
                    placeholder="商品号" clearable></el-input>
              </el-form-item>
                                                                  <el-form-item label="商品名称">
                <el-input v-model="searchForm.shangpinmingcheng" 
                    placeholder="商品名称" clearable></el-input>
              </el-form-item>
                                                                                                              <el-form-item>
          <el-button round @click="search()">查询</el-button>
          <el-button
            v-if="isAuth('rukuxinxi','新增')"
            type="primary"
            @click="addOrUpdateHandler()"
            round
          >新增</el-button>
          <el-button
            v-if="isAuth('rukuxinxi','删除')"
            :disabled="dataListSelections.length <= 0"
            type="danger"
            @click="deleteHandler()"
            round
          >删除</el-button>
                  </el-form-item>
      </el-form>
      <div class="table-content">
        <el-table
            v-if="isAuth('rukuxinxi','查看')"
            :data="dataList"
            v-loading="dataListLoading"
            @selection-change="selectionChangeHandler"
            style="width: 100%;">
            <el-table-column
                type="selection"
                header-align="center"
                align="center"
                width="50">
            </el-table-column>
                                            <el-table-column
                    prop="shangpinhao"
                    header-align="center"
                    align="center"
                    sortable
                    label="商品号">
                    <template slot-scope="scope">
                      {{scope.row.shangpinhao}}
                    </template>
                </el-table-column>
                                                            <el-table-column
                    prop="shangpinmingcheng"
                    header-align="center"
                    align="center"
                    sortable
                    label="商品名称">
                    <template slot-scope="scope">
后面还有 210 行代码,购买后查看完整代码

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

AI 解读

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

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