admin/src/views/modules/discussshangpinxinxi/list.vue
(开头部分) 6KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<template>
<div class="main-content">
<!-- 列表页 -->
<div v-if="showFlag">
<el-form :inline="true" :model="searchForm" class="form-content">
<el-form-item>
<el-button round @click="search()">查询</el-button>
<el-button
v-if="isAuth('discussshangpinxinxi','新增')"
type="primary"
@click="addOrUpdateHandler()"
round
>新增</el-button>
<el-button
v-if="isAuth('discussshangpinxinxi','删除')"
: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('discussshangpinxinxi','查看')"
: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="refid"
header-align="center"
align="center"
sortable
label="关联表id">
<template slot-scope="scope">
{{scope.row.refid}}
</template>
</el-table-column>
<el-table-column
prop="content"
header-align="center"
align="center"
sortable
label="评论内容">
<template slot-scope="scope">
{{scope.row.content}}
</template>
</el-table-column>
<el-table-column
header-align="center"
align="center"
label="操作">
<template slot-scope="scope">
后面还有 156 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。