1、优化发布java代码流程,开源不易,开源统计请大家配合,谢谢。

2、修复bug
3、优化sql文件
4、短信回执
This commit is contained in:
张乐
2020-08-18 17:26:56 +08:00
parent 4405bf9d8b
commit e2e612e11c
38 changed files with 364 additions and 188 deletions

View File

@@ -1,6 +1,6 @@
<template>
<div>
<el-form ref="pram" :model="pram" :rules="rules" label-width="100px">
<el-form ref="pram" :model="pram" :rules="rules" label-width="100px" @submit.native.prevent>
<el-form-item label="管理员账号" prop="account">
<el-input v-model="pram.account" placeholder="管理员账号" />
</el-form-item>

View File

@@ -1,7 +1,7 @@
<template>
<div class="divBox">
<el-card class="box-card">
<el-form inline size="small">
<el-form inline size="small" @submit.native.prevent>
<el-form-item>
<el-select v-model="listPram.roles" placeholder="身份" clearable class="selWidth">
<el-option
@@ -39,43 +39,45 @@
<el-button size="mini" type="primary" @click="handleSearch">查询</el-button>
</el-form-item>
</el-form>
<el-form inline>
<el-form inline @submit.native.prevent>
<el-form-item>
<el-button size="mini" type="primary" @click="handlerOpenEdit(0)">添加管理员</el-button>
</el-form-item>
</el-form>
<el-table :data="listData.list" size="mini">
<el-table-column label="姓名" prop="realName" />
<el-table-column label="账号" prop="account" />
<el-table-column label="身份" prop="realName">
<el-table-column
prop="id"
label="ID"
width="50"
/>
<el-table-column label="姓名" prop="realName" min-width="120"/>
<el-table-column label="账号" prop="account" min-width="120"/>
<el-table-column label="身份" prop="realName" min-width="230">
<template slot-scope="scope">
<span v-for="item in roleList.list" :key="item.id">
<el-tag v-if="scope.row.roles.includes(item.id)" type="info">{{ item.roleName }}</el-tag>
<!-- <span>{{ scope.row }}</span>-->
</span>
<el-tag size="small" type="info" v-for="(item, index) in scope.row.roleNames.split(',')" class="mr5">{{ item }}</el-tag>
</template>
</el-table-column>
<el-table-column label="最后登录时间" prop="lastTime">
<el-table-column label="最后登录时间" prop="lastTime" min-width="180">
<template slot-scope="scope">
<span>{{ scope.row.updateTime | filterEmpty }}</span>
</template>
</el-table-column>
<el-table-column label="最后登录IP" prop="lastIp">
<el-table-column label="最后登录IP" prop="lastIp" min-width="150">
<template slot-scope="scope">
<span>{{ scope.row.lastIp | filterEmpty }}</span>
</template>
</el-table-column>
<el-table-column label="状态" prop="status" width="100">
<el-table-column label="状态" prop="status" min-width="100">
<template slot-scope="scope">
<span>{{ scope.row.status | filterShowOrHide }}</span>
</template>
</el-table-column>
<el-table-column label="删除标记" prop="status" width="100">
<el-table-column label="删除标记" prop="status" min-width="100">
<template slot-scope="scope">
<span>{{ scope.row.isDel | filterYesOrNo }}</span>
</template>
</el-table-column>
<el-table-column label="操作">
<el-table-column label="操作" min-width="130" fixed="right">
<template slot-scope="scope">
<template v-if="scope.row.isDel">
<span>-</span>

View File

@@ -1,6 +1,6 @@
<template>
<div>
<el-form ref="pram" :model="pram" label-width="100px">
<el-form ref="pram" :model="pram" label-width="100px" @submit.native.prevent>
<el-form-item label="身份名称" prop="roleName" :rules="[{required:true,message:'请填写身份名称', trigger:['blur','change']}]">
<el-input v-model="pram.roleName" placeholder="身份名称" />
</el-form-item>

View File

@@ -1,7 +1,7 @@
<template>
<div class="divBox">
<el-card class="box-card">
<el-form inline size="small">
<el-form inline size="small" @submit.native.prevent>
<el-form-item>
<el-select v-model="listPram.status" placeholder="状态" clearable class="selWidth">
<el-option
@@ -19,7 +19,7 @@
<el-button size="mini" type="primary" @click.native="handleGetRoleList">查询</el-button>
</el-form-item>
</el-form>
<el-form inline>
<el-form inline @submit.native.prevent>
<el-form-item>
<el-button size="mini" type="primary" @click="handlerOpenEdit(0)">添加身份</el-button>
</el-form-item>