admin/src/views/modules/liuyanbanguanli/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('liuyanbanguanli','新增')"
type="primary"
@click="addOrUpdateHandler()"
round
>新增</el-button>
<el-button
v-if="isAuth('liuyanbanguanli','删除')"
: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('liuyanbanguanli','查看')"
:data="dataList"
border
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="username"
header-align="center"
align="center"
sortable
label="留言人用户名"
>
<template slot-scope="scope">{{scope.row.username}}</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 prop="reply" header-align="center" align="center" sortable label="回复内容">
<template slot-scope="scope">{{scope.row.reply}}</template>
</el-table-column>
<el-table-column header-align="center" align="center" label="操作">
<template slot-scope="scope">
<!-- <el-button
v-if="isAuth('liuyanbanguanli','查看')"
type="text"
icon="el-icon-edit"
size="small"
后面还有 165 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。