|
@@ -1,115 +1,170 @@
|
|
<template>
|
|
<template>
|
|
- <com-head :options="headList" >
|
|
|
|
- <el-form label-width="84px" inline="true">
|
|
|
|
- <el-form-item label="用户名称:">
|
|
|
|
- <el-input v-model="search.state.nickName" placeholder="请输入"></el-input>
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-form-item label="所属架构:">
|
|
|
|
- <com-company v-model="search.state.departmentId" />
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-form-item label="状态:">
|
|
|
|
- <el-select v-model="search.state.status" placeholder="全部">
|
|
|
|
- <el-option label="全部" :value="''"></el-option>
|
|
|
|
- <el-option label="可用" :value="1"></el-option>
|
|
|
|
- <el-option label="禁用" :value="0"></el-option>
|
|
|
|
- </el-select>
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-form-item class="searh-btns">
|
|
|
|
- <el-button type="primary" @click="search.submit">查询</el-button>
|
|
|
|
- <el-button type="primary" plain @click="search.reset">重置</el-button>
|
|
|
|
- </el-form-item>
|
|
|
|
- </el-form>
|
|
|
|
- </com-head>
|
|
|
|
|
|
+ <div>
|
|
|
|
+ <com-head :options="headList">
|
|
|
|
+ <el-form label-width="84px" inline="true">
|
|
|
|
+ <el-form-item label="用户名称:">
|
|
|
|
+ <el-input
|
|
|
|
+ v-model="search.state.nickName"
|
|
|
|
+ placeholder="请输入"
|
|
|
|
+ ></el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ <el-form-item label="所属架构:">
|
|
|
|
+ <com-company v-model="search.state.deptId" />
|
|
|
|
+ </el-form-item>
|
|
|
|
+ <el-form-item label="状态:">
|
|
|
|
+ <el-select v-model="search.state.status" placeholder="全部">
|
|
|
|
+ <el-option label="全部" :value="''"></el-option>
|
|
|
|
+ <el-option label="可用" :value="1"></el-option>
|
|
|
|
+ <el-option label="禁用" :value="0"></el-option>
|
|
|
|
+ </el-select>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ <el-form-item class="searh-btns">
|
|
|
|
+ <el-button type="primary" @click="search.submit">查询</el-button>
|
|
|
|
+ <el-button type="primary" plain @click="search.reset">重置</el-button>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-form>
|
|
|
|
+ </com-head>
|
|
|
|
|
|
- <div class="body-layer" style="padding-top: 8px">
|
|
|
|
- <div class="body-head">
|
|
|
|
- <!-- <h3 style="visibility: hidden;">用户列表</h3> -->
|
|
|
|
|
|
+ <div class="body-layer" style="padding-top: 8px">
|
|
|
|
+ <div class="body-but">
|
|
|
|
+ <el-button type="primary" @click="newAddclick">新增用户{{newShow}}</el-button>
|
|
|
|
+ <!-- <h3 style="visibility: hidden;">用户列表</h3> -->
|
|
|
|
+ </div>
|
|
|
|
+
|
|
|
|
+ <el-table
|
|
|
|
+ class="user-table"
|
|
|
|
+ ref="multipleTable"
|
|
|
|
+ :data="dataList.state"
|
|
|
|
+ tooltip-effect="dark"
|
|
|
|
+ style="width: 100%"
|
|
|
|
+ @row-click="selectRow"
|
|
|
|
+ >
|
|
|
|
+ <el-table-column label="序号" width="55" v-slot:default="{ $index }">
|
|
|
|
+ <div style="text-align: center">
|
|
|
|
+ {{ pag.state.size * (pag.state.currPage - 1) + $index + 1 }}
|
|
|
|
+ </div>
|
|
|
|
+ </el-table-column>
|
|
|
|
+ <el-table-column
|
|
|
|
+ label="手机号(账号)"
|
|
|
|
+ prop="userName"
|
|
|
|
+ ></el-table-column>
|
|
|
|
+ <el-table-column label="用户名称" prop="nickName"></el-table-column>
|
|
|
|
+ <el-table-column
|
|
|
|
+ label="所属架构"
|
|
|
|
+ prop="departmentName"
|
|
|
|
+ ></el-table-column>
|
|
|
|
+ <el-table-column label="角色" prop="roleName"></el-table-column>
|
|
|
|
+ <el-table-column label="状态" v-slot:default="{ row }">
|
|
|
|
+ {{ row.status ? "可用" : "禁用" }}
|
|
|
|
+ </el-table-column>
|
|
|
|
+ <el-table-column
|
|
|
|
+ label="操作"
|
|
|
|
+ v-slot:default="{ row }"
|
|
|
|
+ v-if="auth.update || auth.updatePwd || auth.delete"
|
|
|
|
+ >
|
|
|
|
+ <template v-if="row.id !== ADMIN_USER_ID && row.id !== user.info.id">
|
|
|
|
+ <span class="oper-span" @click="updateInfo(row)" v-if="auth.update"
|
|
|
|
+ >编辑</span
|
|
|
|
+ >
|
|
|
|
+ <span
|
|
|
|
+ class="oper-span"
|
|
|
|
+ @click="changeUserStatus(row)"
|
|
|
|
+ v-if="auth.delete"
|
|
|
|
+ style="color: var(--primaryColor)"
|
|
|
|
+ >
|
|
|
|
+ {{ row.status ? "禁用" : "启用" }}
|
|
|
|
+ </span>
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
|
|
+ </el-table>
|
|
|
|
+ <com-pagination
|
|
|
|
+ @size-change="pag.sizeChange"
|
|
|
|
+ @current-change="pag.currentChange"
|
|
|
|
+ :current-page="pag.state.currPage"
|
|
|
|
+ :page-size="pag.state.size"
|
|
|
|
+ layout="total, sizes, prev, pager, next, jumper"
|
|
|
|
+ :total="pag.state.total"
|
|
|
|
+ />
|
|
</div>
|
|
</div>
|
|
|
|
|
|
- <el-table
|
|
|
|
- class="user-table"
|
|
|
|
- ref="multipleTable"
|
|
|
|
- :data="dataList.state"
|
|
|
|
- tooltip-effect="dark"
|
|
|
|
- style="width: 100%"
|
|
|
|
- @row-click="selectRow"
|
|
|
|
|
|
+ <com-dialog
|
|
|
|
+ title="编辑用户"
|
|
|
|
+ v-model:show="oper.state.show"
|
|
|
|
+ @submit="operItem"
|
|
|
|
+ width="540"
|
|
>
|
|
>
|
|
- <el-table-column label="序号" width="55" v-slot:default="{ $index }">
|
|
|
|
- <div style="text-align: center">{{ pag.state.size * (pag.state.currPage - 1) + $index + 1 }}</div>
|
|
|
|
- </el-table-column>
|
|
|
|
- <el-table-column label="手机号(账号)" prop="userName"></el-table-column>
|
|
|
|
- <el-table-column label="用户名称" prop="nickName"></el-table-column>
|
|
|
|
- <el-table-column label="所属架构" prop="departmentName"></el-table-column>
|
|
|
|
- <el-table-column label="角色" prop="roleName"></el-table-column>
|
|
|
|
- <el-table-column label="状态" v-slot:default="{ row }">
|
|
|
|
- {{row.status ? '可用': '禁用'}}
|
|
|
|
- </el-table-column>
|
|
|
|
- <el-table-column label="操作" v-slot:default="{ row }" v-if="auth.update || auth.updatePwd || auth.delete">
|
|
|
|
- <template v-if="row.id !== ADMIN_USER_ID && row.id !== user.info.id">
|
|
|
|
- <span class="oper-span" @click="updateInfo(row)" v-if="auth.update">修改</span>
|
|
|
|
- <span class="oper-span" @click="changeUserStatus(row)" v-if="auth.delete" style="color: var(--primaryColor)">
|
|
|
|
- {{ row.status ? '禁用' : '启用' }}
|
|
|
|
- </span>
|
|
|
|
- </template>
|
|
|
|
- </el-table-column>
|
|
|
|
- </el-table>
|
|
|
|
- <com-pagination
|
|
|
|
- @size-change="pag.sizeChange"
|
|
|
|
- @current-change="pag.currentChange"
|
|
|
|
- :current-page="pag.state.currPage"
|
|
|
|
- :page-size="pag.state.size"
|
|
|
|
- layout="total, sizes, prev, pager, next, jumper"
|
|
|
|
- :total="pag.state.total"/>
|
|
|
|
- </div>
|
|
|
|
-
|
|
|
|
|
|
+ <el-form ref="form" :model="form" label-width="90px" class="user-from">
|
|
|
|
+ <el-form-item label="用户姓名" class="mandatory" v-show="operRoleId">
|
|
|
|
+ <el-input
|
|
|
|
+ v-model="search.state.nickName"
|
|
|
|
+ placeholder="请输入"
|
|
|
|
+ ></el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-form>
|
|
|
|
+ </com-dialog>
|
|
|
|
|
|
- <com-dialog
|
|
|
|
- :title="(operRoleId ? '修改架构' : '启用')"
|
|
|
|
- v-model:show="oper.state.show"
|
|
|
|
- @submit="operItem"
|
|
|
|
- width="540"
|
|
|
|
- >
|
|
|
|
- <el-form ref="form" :model="form" label-width="90px" class="user-from">
|
|
|
|
- <el-form-item label="所属架构:" class="mandatory" v-show="operRoleId">
|
|
|
|
- <com-company v-model="oper.state.departmentId" @update:data="({level}) => (oper.state.roleId = level)" style="width: 100%" hideAll />
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-form-item label="角色:" class="roleName">
|
|
|
|
- <com-role v-model="oper.state.roleId" style="width: 100%" allText="请选择" hideAll :notDefault="true" :disabled="true" />
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-form-item v-if="!operRoleId">
|
|
|
|
- <p class="maker">注:首次启用,需设置用户角色;用户被启用后,可正常登录使用。</p>
|
|
|
|
- </el-form-item>
|
|
|
|
- </el-form>
|
|
|
|
- </com-dialog>
|
|
|
|
-
|
|
|
|
|
|
+ <com-dialog
|
|
|
|
+ title="新增用户"
|
|
|
|
+ v-model:show="newShow"
|
|
|
|
+ @submit="newSubmit"
|
|
|
|
+ width="540"
|
|
|
|
+ >
|
|
|
|
+ <el-form ref="form" :model="form" label-width="90px" class="user-from">
|
|
|
|
+ <el-form-item label="用户姓名" class="mandatory" >
|
|
|
|
+ <el-input
|
|
|
|
+ v-model="newData.nickName"
|
|
|
|
+ placeholder="请输入"
|
|
|
|
+ ></el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ <el-form-item label="用户角色" class="roleName">
|
|
|
|
+ <com-role
|
|
|
|
+ v-model="newData.roleId"
|
|
|
|
+ style="width: 100%"
|
|
|
|
+ allText="请选择"
|
|
|
|
+ hideAll
|
|
|
|
+ :notDefault="true"
|
|
|
|
+ :disabled="true"
|
|
|
|
+ />
|
|
|
|
+ </el-form-item>
|
|
|
|
+ <el-form-item label="用户账号" class="mandatory">
|
|
|
|
+ <el-input
|
|
|
|
+ v-model="newData.phone"
|
|
|
|
+ placeholder="请输入11位手机号码作为用户账号"
|
|
|
|
+ ></el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ <el-form-item label="登录密码" class="mandatory">
|
|
|
|
+ <el-input
|
|
|
|
+ v-model="newData.psw"
|
|
|
|
+ placeholder="请输入8-16位数字、英文大小写组合密码"
|
|
|
|
+ type="password"
|
|
|
|
+ ></el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-form>
|
|
|
|
+ </com-dialog>
|
|
|
|
+ </div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
<script>
|
|
-import { ref } from "vue";
|
|
|
|
|
|
+import { reactive, ref, toRefs } from "vue";
|
|
import getTableState from "@/state/tableRef";
|
|
import getTableState from "@/state/tableRef";
|
|
import comDialog from "@/components/dialog";
|
|
import comDialog from "@/components/dialog";
|
|
import comHead from "@/components/head";
|
|
import comHead from "@/components/head";
|
|
import comCompany from "@/components/company-select";
|
|
import comCompany from "@/components/company-select";
|
|
import comPagination from "@/components/pagination";
|
|
import comPagination from "@/components/pagination";
|
|
-import roleCompany from "@/components/role-select";
|
|
|
|
|
|
+// import roleCompany from "@/components/role-select";
|
|
import auth from "@/state/viewAuth";
|
|
import auth from "@/state/viewAuth";
|
|
import user from "@/state/user";
|
|
import user from "@/state/user";
|
|
-import axios from 'axios'
|
|
|
|
-import {encryption} from '@/util'
|
|
|
|
-import {PSW, PHONE} from '@/constant/REG'
|
|
|
|
-import {ADMIN_USER_ID} from "@/constant";
|
|
|
|
-
|
|
|
|
-import {
|
|
|
|
- getUserList,
|
|
|
|
- updateUser,
|
|
|
|
- changeUserStatus
|
|
|
|
-} from '@/request/config'
|
|
|
|
-import { getApp } from '../../app';
|
|
|
|
|
|
+import axios from "axios";
|
|
|
|
+import { encryption } from "@/util";
|
|
|
|
+import { PSW, PHONE } from "@/constant/REG";
|
|
|
|
+import { ADMIN_USER_ID } from "@/constant";
|
|
|
|
|
|
|
|
+import { getUserList, updateUser, changeUserStatus } from "@/request/config";
|
|
|
|
+import { getApp } from "../../app";
|
|
|
|
|
|
export default {
|
|
export default {
|
|
- name: 'user',
|
|
|
|
|
|
+ name: "user",
|
|
setup() {
|
|
setup() {
|
|
const state = getTableState({
|
|
const state = getTableState({
|
|
getUrl: getUserList,
|
|
getUrl: getUserList,
|
|
@@ -117,99 +172,146 @@ export default {
|
|
operAttr: {
|
|
operAttr: {
|
|
nickName: "",
|
|
nickName: "",
|
|
userName: "",
|
|
userName: "",
|
|
- departmentId: "",
|
|
|
|
- password: '',
|
|
|
|
- confirmPwd: '',
|
|
|
|
|
|
+ deptId: "",
|
|
|
|
+ password: "",
|
|
|
|
+ confirmPwd: "",
|
|
roleId: "",
|
|
roleId: "",
|
|
maxlevel: 1,
|
|
maxlevel: 1,
|
|
},
|
|
},
|
|
- searchAttr: { nickName: "", status: '', departmentId: '' },
|
|
|
|
|
|
+ searchAttr: { nickName: "", status: "", deptId: "" },
|
|
});
|
|
});
|
|
const headList = ref([{ name: "用户管理", value: 2 }]);
|
|
const headList = ref([{ name: "用户管理", value: 2 }]);
|
|
- const operRoleId = ref('')
|
|
|
|
|
|
+ const operRoleId = ref("");
|
|
const updateInfo = (row) => {
|
|
const updateInfo = (row) => {
|
|
-
|
|
|
|
if (!row.status) {
|
|
if (!row.status) {
|
|
- return getApp().$message.error('请先启用用户', '提示')
|
|
|
|
|
|
+ return getApp().$message.error("请先启用用户", "提示");
|
|
}
|
|
}
|
|
- operRoleId.value = row.roleId
|
|
|
|
- state.oper.value.readyUpdate(row)
|
|
|
|
|
|
+ operRoleId.value = row.roleId;
|
|
|
|
+ state.oper.value.readyUpdate(row);
|
|
|
|
+ };
|
|
|
|
+ const newAddclick = () =>{
|
|
|
|
+ data.newShow = true
|
|
|
|
+ console.log('newShow = true',data.newShow)
|
|
}
|
|
}
|
|
-
|
|
|
|
- console.log(user)
|
|
|
|
- return { ...state, headList, updateInfo, auth, user, operRoleId, ADMIN_USER_ID };
|
|
|
|
|
|
+ const data = reactive({
|
|
|
|
+ newShow: false,
|
|
|
|
+ newData:{
|
|
|
|
+ userName: "",
|
|
|
|
+ userId: "",
|
|
|
|
+ password: "",
|
|
|
|
+ userRole: "",
|
|
|
|
+ }
|
|
|
|
+ });
|
|
|
|
+ return {
|
|
|
|
+ ...state,
|
|
|
|
+ ...toRefs(data),
|
|
|
|
+ headList,
|
|
|
|
+ updateInfo,
|
|
|
|
+ auth,
|
|
|
|
+ user,
|
|
|
|
+ operRoleId,
|
|
|
|
+ ADMIN_USER_ID,
|
|
|
|
+ newAddclick
|
|
|
|
+ };
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ async newSubmit(){
|
|
|
|
+ await this.$confirm('每个组织只能创建一个总管理员~', '新增用户')
|
|
|
|
+ console.log('newData',this.newData)
|
|
|
|
+ },
|
|
async operItem() {
|
|
async operItem() {
|
|
- const updatePhone = this.oper.state.__oldData ? this.oper.state.__oldData.userName !== this.oper.state.userName : true
|
|
|
|
-
|
|
|
|
|
|
+ const updatePhone = this.oper.state.__oldData
|
|
|
|
+ ? this.oper.state.__oldData.userName !== this.oper.state.userName
|
|
|
|
+ : true;
|
|
|
|
+
|
|
if (updatePhone && !PHONE.REG.test(this.oper.state.userName)) {
|
|
if (updatePhone && !PHONE.REG.test(this.oper.state.userName)) {
|
|
- return this.$message.error(PHONE.tip, '提示')
|
|
|
|
|
|
+ return this.$message.error(PHONE.tip, "提示");
|
|
}
|
|
}
|
|
if (this.oper.state.password !== this.oper.state.confirmPwd) {
|
|
if (this.oper.state.password !== this.oper.state.confirmPwd) {
|
|
- return this.$message.error('两次密码不一致!', '提示')
|
|
|
|
|
|
+ return this.$message.error("两次密码不一致!", "提示");
|
|
}
|
|
}
|
|
|
|
|
|
if (!this.oper.state.roleId) {
|
|
if (!this.oper.state.roleId) {
|
|
- return this.$message.error('请选择用户角色', '提示')
|
|
|
|
|
|
+ return this.$message.error("请选择用户角色", "提示");
|
|
}
|
|
}
|
|
|
|
|
|
- if (!this.operRoleId && !(await this.$confirm('用户被启用后,可正常登录使用。确定要启用吗?', '提示'))) {
|
|
|
|
|
|
+ if (
|
|
|
|
+ !this.operRoleId &&
|
|
|
|
+ !(await this.$confirm(
|
|
|
|
+ "用户被启用后,可正常登录使用。确定要启用吗?",
|
|
|
|
+ "提示"
|
|
|
|
+ ))
|
|
|
|
+ ) {
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
|
|
|
|
if (this.oper.state.id) {
|
|
if (this.oper.state.id) {
|
|
- let updateState = {...this.oper.state, password: void 0, confirmPwd: void 0, updatePwd: void 0, userId: this.oper.state.id}
|
|
|
|
|
|
+ let updateState = {
|
|
|
|
+ ...this.oper.state,
|
|
|
|
+ password: void 0,
|
|
|
|
+ confirmPwd: void 0,
|
|
|
|
+ updatePwd: void 0,
|
|
|
|
+ userId: this.oper.state.id,
|
|
|
|
+ };
|
|
if (!updatePhone) {
|
|
if (!updatePhone) {
|
|
- delete updateState.userName
|
|
|
|
|
|
+ delete updateState.userName;
|
|
}
|
|
}
|
|
- let state = {...this.oper.state}
|
|
|
|
- await this.oper.update(updateState)
|
|
|
|
- await this.changeUserStatus(state, true)
|
|
|
|
|
|
+ let state = { ...this.oper.state };
|
|
|
|
+ await this.oper.update(updateState);
|
|
|
|
+ await this.changeUserStatus(state, true);
|
|
} else if (this.oper.state.password === this.oper.state.confirmPwd) {
|
|
} else if (this.oper.state.password === this.oper.state.confirmPwd) {
|
|
if (PSW.REG.test(this.oper.state.password)) {
|
|
if (PSW.REG.test(this.oper.state.password)) {
|
|
- let cryPsw = encryption(this.oper.state.password)
|
|
|
|
|
|
+ let cryPsw = encryption(this.oper.state.password);
|
|
this.oper.insert({
|
|
this.oper.insert({
|
|
...this.oper.state,
|
|
...this.oper.state,
|
|
- password: cryPsw,
|
|
|
|
- confirmPwd: cryPsw,
|
|
|
|
- updatePwd: void 0
|
|
|
|
- })
|
|
|
|
|
|
+ password: cryPsw,
|
|
|
|
+ confirmPwd: cryPsw,
|
|
|
|
+ updatePwd: void 0,
|
|
|
|
+ });
|
|
} else {
|
|
} else {
|
|
- this.$message.error(PSW.tip, '提示')
|
|
|
|
|
|
+ this.$message.error(PSW.tip, "提示");
|
|
}
|
|
}
|
|
}
|
|
}
|
|
-
|
|
|
|
},
|
|
},
|
|
- async changeUserStatus (row, d) {
|
|
|
|
- if (!d && (!row.roleId && !row.status)) {
|
|
|
|
- this.operRoleId = row.roleId
|
|
|
|
- return this.oper.readyUpdate(row)
|
|
|
|
- }
|
|
|
|
- let msg = row.status ? `用户被禁用后,无法登录使用。确定要禁用吗?` : `用户被启用后,可正常登录使用。确定要启用吗?`
|
|
|
|
|
|
+ async changeUserStatus(row, d) {
|
|
|
|
+ // if (!d && (!row.roleId && !row.status)) {
|
|
|
|
+ // this.operRoleId = row.roleId
|
|
|
|
+ // return this.oper.readyUpdate(row)
|
|
|
|
+ // }
|
|
|
|
+ let msg = row.status
|
|
|
|
+ ? `用户被禁用后,无法登录使用,无法编辑场景(可将该用户关联的相机绑定到其它管理员)。确定要禁用吗?`
|
|
|
|
+ : `用户被启用后,可正常登录使用。确定要启用吗?`;
|
|
try {
|
|
try {
|
|
- if (d || (await this.$confirm(msg, '提示'))) {
|
|
|
|
- await axios.post(changeUserStatus, {status: Number(!row.status), userId: row.id})
|
|
|
|
- this.dataList.refer()
|
|
|
|
|
|
+ if (d || (await this.$confirm(msg, "提示"))) {
|
|
|
|
+ await axios.post(changeUserStatus, {
|
|
|
|
+ status: Number(!row.status),
|
|
|
|
+ userId: row.id,
|
|
|
|
+ });
|
|
|
|
+ this.dataList.refer();
|
|
}
|
|
}
|
|
- return true
|
|
|
|
|
|
+ return true;
|
|
} catch {
|
|
} catch {
|
|
- return false
|
|
|
|
|
|
+ return false;
|
|
}
|
|
}
|
|
- }
|
|
|
|
|
|
+ },
|
|
},
|
|
},
|
|
components: {
|
|
components: {
|
|
"com-dialog": comDialog,
|
|
"com-dialog": comDialog,
|
|
"com-head": comHead,
|
|
"com-head": comHead,
|
|
"com-company": comCompany,
|
|
"com-company": comCompany,
|
|
- "com-role": roleCompany,
|
|
|
|
- "com-pagination": comPagination
|
|
|
|
|
|
+ // "com-role": roleCompany,
|
|
|
|
+ "com-pagination": comPagination,
|
|
},
|
|
},
|
|
};
|
|
};
|
|
-
|
|
|
|
</script>
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
<style lang="scss" scoped>
|
|
|
|
+.body-layer{
|
|
|
|
+ .body-but{
|
|
|
|
+ text-align: right;
|
|
|
|
+ margin-bottom: 15px;
|
|
|
|
+ }
|
|
|
|
+}
|
|
.table-ctrl-right {
|
|
.table-ctrl-right {
|
|
.search-scene {
|
|
.search-scene {
|
|
margin: 0 20px 0 26px;
|
|
margin: 0 20px 0 26px;
|
|
@@ -238,7 +340,7 @@ export default {
|
|
z-index: 999;
|
|
z-index: 999;
|
|
|
|
|
|
&::before {
|
|
&::before {
|
|
- content: '密码重置为Fcb20210225,可登录修改';
|
|
|
|
|
|
+ content: "密码重置为Fcb20210225,可登录修改";
|
|
position: absolute;
|
|
position: absolute;
|
|
width: 205px;
|
|
width: 205px;
|
|
left: 50%;
|
|
left: 50%;
|
|
@@ -254,11 +356,10 @@ export default {
|
|
background: #303133;
|
|
background: #303133;
|
|
color: #fff;
|
|
color: #fff;
|
|
margin-bottom: 6px;
|
|
margin-bottom: 6px;
|
|
-
|
|
|
|
}
|
|
}
|
|
|
|
|
|
&::after {
|
|
&::after {
|
|
- content: '';
|
|
|
|
|
|
+ content: "";
|
|
position: absolute;
|
|
position: absolute;
|
|
display: block;
|
|
display: block;
|
|
width: 0;
|
|
width: 0;
|
|
@@ -279,7 +380,6 @@ export default {
|
|
color: #969799;
|
|
color: #969799;
|
|
line-height: 20px;
|
|
line-height: 20px;
|
|
}
|
|
}
|
|
-
|
|
|
|
</style>
|
|
</style>
|
|
|
|
|
|
<style>
|
|
<style>
|