admin/src/views/modules/yonghu/list.vue
(开头部分) 11KB这里只显示每个文件的开头 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.yonghuming"
placeholder="用户名" clearable></el-input>
</el-form-item>
<el-form-item>
<el-button round @click="search()">查询</el-button>
<el-button
v-if="isAuth('yonghu','新增')"
type="primary"
@click="addOrUpdateHandler()"
round
>新增</el-button>
<el-button
v-if="isAuth('yonghu','删除')"
: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('yonghu','查看')"
: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="yonghuming"
header-align="center"
align="center"
sortable
label="用户名">
<template slot-scope="scope">
{{scope.row.yonghuming}}
</template>
</el-table-column>
<el-table-column
prop="mima"
header-align="center"
align="center"
sortable
label="密码">
<template slot-scope="scope">
{{scope.row.mima}}
</template>
</el-table-column>
<el-table-column
后面还有 245 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。