|
@@ -1,596 +0,0 @@
|
|
|
-<!--邮箱管理-->
|
|
|
-<template>
|
|
|
- <el-card class="box-card">
|
|
|
- <el-form :model="queryParams" ref="queryForm" :inline="true">
|
|
|
- <el-form-item label="邮箱" prop="mailboxName">
|
|
|
- <el-input type="daterange" v-model="queryParams.mailboxName" placeholder="请输入邮箱" clearable size="small" />
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="业务员" prop="userName">
|
|
|
- <el-input type="daterange" v-model="queryParams.userName" placeholder="请输入业务员" clearable size="small" />
|
|
|
- </el-form-item>
|
|
|
- <el-form-item>
|
|
|
- <el-button size="mini" @click="handleQuery" class="searchBtn">搜索</el-button>
|
|
|
- <el-button size="mini" @click="resetQuery">重置</el-button>
|
|
|
- </el-form-item>
|
|
|
- </el-form>
|
|
|
-
|
|
|
- <el-row style="margin-bottom: 10px">
|
|
|
- <el-col style="display: inline-flex">
|
|
|
- <el-button icon="el-icon-plus" size="mini" type="primray" style="background: #169bd5; color: white; padding: 7px 15px" @click="handleAdd">
|
|
|
- 新增
|
|
|
- </el-button>
|
|
|
- </el-col>
|
|
|
- </el-row>
|
|
|
-
|
|
|
- <el-table
|
|
|
- v-loading="loading"
|
|
|
- size="small"
|
|
|
- :data="usersList"
|
|
|
- :cell-style="{ padding: '0' }"
|
|
|
- header-row-class-name="tableHeader"
|
|
|
- @selection-change="handleSelectionChange"
|
|
|
- >
|
|
|
- <el-table-column label="邮箱" align="left" prop="mailboxName" />
|
|
|
- <el-table-column label="授权码" align="left" prop="mailboxPwd" />
|
|
|
- <el-table-column label="人员" align="left" prop="userId" />
|
|
|
- <el-table-column label="操作" align="center" width="140">
|
|
|
- <template slot-scope="scope">
|
|
|
- <el-button type="text" @click="handleConfigShow(scope.row)">设置</el-button>
|
|
|
- <el-button type="text" @click="handleUpdate(scope.row)">修改</el-button>
|
|
|
- <!-- <el-button type="text" @click="handleDelete(scope.row)">删除</el-button> -->
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- </el-table>
|
|
|
-
|
|
|
- <Pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize" @pagination="getList" />
|
|
|
-
|
|
|
- <!-- 新增邮箱 -->
|
|
|
- <el-dialog v-if="openAdd" :visible.sync="openAdd" title="绑定邮箱" width="30%" append-to-body>
|
|
|
- <div
|
|
|
- v-loading="loadingStatus"
|
|
|
- element-loading-text="提交数据中,请勿关闭"
|
|
|
- element-loading-spinner="el-icon-loading"
|
|
|
- element-loading-background="rgba(0, 0, 0, 0.2)"
|
|
|
- >
|
|
|
- <el-form :model="submitForm" ref="submitForm" label-width="100px" :rules="rules">
|
|
|
- <el-form-item label="邮箱类型" prop="mailHost">
|
|
|
- <el-select placeholder="请选择邮箱类型" size="small" style="width: 100%" v-model="submitForm.mailHost" ref="mailHost" clearable @change="loseFocus">
|
|
|
- <el-option v-for="item in mailHostList" :key="item.code" :value="item.dictKey" :label="item.dictValue"> </el-option>
|
|
|
- </el-select>
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="邮箱" prop="mailboxName">
|
|
|
- <el-input placeholder="请输入邮箱" size="small" v-model="submitForm.mailboxName" clearable></el-input>
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="授权码" prop="mailboxPwd">
|
|
|
- <el-input placeholder="请输入授权码" size="small" v-model="submitForm.mailboxPwd" clearable></el-input>
|
|
|
- </el-form-item>
|
|
|
- <br />
|
|
|
- <el-form-item style="text-align: left; width: 100%; position: relative">
|
|
|
- <el-button type="primary" @click="submitAddEmail" style="background: #3366ff" v-db-click>确定</el-button>
|
|
|
- <el-button @click="handleCancel">取消</el-button>
|
|
|
- </el-form-item>
|
|
|
- </el-form>
|
|
|
- </div>
|
|
|
- </el-dialog>
|
|
|
-
|
|
|
- <!-- 修改授权码 -->
|
|
|
- <el-dialog v-if="openUpdate" :visible.sync="openUpdate" title="修改授权码" width="30%" append-to-body>
|
|
|
- <el-form :model="submitUpdateForm" ref="submitUpdateForm" label-width="100px" :rules="rules">
|
|
|
- <el-form-item label="邮箱类型">
|
|
|
- <span>{{ getMailHost(submitUpdateForm.mailHost) }}</span>
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="邮箱">
|
|
|
- <span>{{ submitUpdateForm.mailboxName }}</span>
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="授权码" prop="mailboxPwd">
|
|
|
- <el-input placeholder="请输入授权码" size="small" v-model="submitUpdateForm.mailboxPwd" clearable></el-input>
|
|
|
- </el-form-item>
|
|
|
- <br />
|
|
|
- <el-form-item style="text-align: left; width: 100%; position: relative">
|
|
|
- <el-button type="primary" @click="submitUpdateEmail" style="background: #3366ff" v-db-click>确定</el-button>
|
|
|
- <el-button @click="handleCancel">取消</el-button>
|
|
|
- </el-form-item>
|
|
|
- </el-form>
|
|
|
- </el-dialog>
|
|
|
-
|
|
|
- <!-- 设置业务员弹窗 -->
|
|
|
- <el-dialog title="设置业务员" v-if="openConfig" :visible.sync="openConfig" width="30%" append-to-body :close-on-click-modal="false">
|
|
|
- <el-form ref="handOverForm" :model="userAcountForm" :rules="userRules" label-width="100px" size="small" style="width: 90%">
|
|
|
- <el-form-item label="移交业务员:" prop="userId">
|
|
|
- <el-select clearable v-model="userAcountForm.userId" placeholder="请选择移交业务员" style="width: 100%" @change="userAcountChange">
|
|
|
- <el-option v-for="item in salesmanData" :key="item.id" :label="item.name" :value="item.id"> </el-option>
|
|
|
- </el-select>
|
|
|
- </el-form-item>
|
|
|
- </el-form>
|
|
|
- <div slot="footer" class="dialog-footer" style="display: flex; justify-content: center">
|
|
|
- <el-button type="primary" @click="submitConfig" v-db-click>确 定</el-button>
|
|
|
- <el-button @click="handleCancel">关 闭</el-button>
|
|
|
- </div>
|
|
|
- </el-dialog>
|
|
|
- </el-card>
|
|
|
-</template>
|
|
|
-
|
|
|
-<script>
|
|
|
-import Pagi from '@/components/Pagination'
|
|
|
-import * as API from '@/api/tenantManagement/mailbox'
|
|
|
-import { mapGetters } from 'vuex'
|
|
|
-
|
|
|
-export default {
|
|
|
- components: { Pagi },
|
|
|
- data() {
|
|
|
- return {
|
|
|
- mailBox: '',
|
|
|
- handOverForm: {},
|
|
|
- // 遮罩层
|
|
|
- loading: false,
|
|
|
- // 邮箱类型下拉框
|
|
|
- mailHostList: '',
|
|
|
- usersList: [],
|
|
|
- // 总条数
|
|
|
- total: 0,
|
|
|
- // 查询参数
|
|
|
- queryParams: {
|
|
|
- pageNum: 1,
|
|
|
- pageSize: 10,
|
|
|
- mailboxName: '',
|
|
|
- userName: '',
|
|
|
- },
|
|
|
- salesmanData: [],
|
|
|
- openAdd: false,
|
|
|
- // 配置弹窗弹窗
|
|
|
- openConfig: false,
|
|
|
- // 提交表单
|
|
|
- submitForm: {
|
|
|
- mailHost: '',
|
|
|
- mailboxName: '',
|
|
|
- mailboxPwd: '',
|
|
|
- },
|
|
|
- newPassword: '',
|
|
|
- userRules: {
|
|
|
- userId: [{ required: true, message: '请选择业务员邮箱', trigger: 'blur' }],
|
|
|
- },
|
|
|
- rules: {
|
|
|
- mailboxName: [
|
|
|
- { required: true, message: '请输入账号', trigger: 'blur' },
|
|
|
- {
|
|
|
- type: 'email',
|
|
|
- message: '请输入正确的邮箱',
|
|
|
- trigger: ['blur', 'change'],
|
|
|
- },
|
|
|
- ],
|
|
|
- mailboxPwd: [{ required: true, message: '请输入授权码', trigger: 'blur' }],
|
|
|
- mailHost: [{ required: true, message: '请选择类型', trigger: 'blur' }],
|
|
|
- },
|
|
|
- userAcountForm: {
|
|
|
- id: '',
|
|
|
- userId: '',
|
|
|
- password: '',
|
|
|
- },
|
|
|
- openUpdate: false,
|
|
|
- submitUpdateForm: {
|
|
|
- id: '',
|
|
|
- mailboxName: '',
|
|
|
- mailHost: '',
|
|
|
- mailboxPwd: '',
|
|
|
- },
|
|
|
- loadingStatus: false,
|
|
|
- rowData: {},
|
|
|
- }
|
|
|
- },
|
|
|
- mounted() {
|
|
|
- this.getConstantList()
|
|
|
- this.getList()
|
|
|
- this.getUsers_methods()
|
|
|
- },
|
|
|
- computed: {
|
|
|
- ...mapGetters(['userInfo']),
|
|
|
- },
|
|
|
- methods: {
|
|
|
- /** 查询company列表 */
|
|
|
- getList() {
|
|
|
- this.loading = true
|
|
|
- API.list(this.queryParams).then((res) => {
|
|
|
- this.usersList = res.data.data.list
|
|
|
- })
|
|
|
- API.count(this.queryParams).then((res) => {
|
|
|
- this.total = res.data.data.count
|
|
|
- })
|
|
|
- this.loading = false
|
|
|
- },
|
|
|
- getRemaning() {
|
|
|
- API.tenant().then((res) => {
|
|
|
- this.totalNum = res.data.data.details.quotaAll
|
|
|
- let quotaUsed = res.data.data.details.quotaUsed
|
|
|
- this.remainingNum = this.totalNum - quotaUsed
|
|
|
- })
|
|
|
- },
|
|
|
- getConstantList() {
|
|
|
- let data = { current: 1, size: 10, parentId: '1481524494148419586' }
|
|
|
- API.getInfoFromDict(data).then((res) => {
|
|
|
- this.mailHostList = res.data.data
|
|
|
- })
|
|
|
- },
|
|
|
- /** 搜索按钮操作 */
|
|
|
- handleQuery() {
|
|
|
- this.queryParams.pageNum = 1
|
|
|
- this.getList()
|
|
|
- },
|
|
|
- /** 重置按钮操作 */
|
|
|
- resetQuery() {
|
|
|
- this.resetForm('queryForm')
|
|
|
- this.handleQuery()
|
|
|
- },
|
|
|
- // 新增按钮
|
|
|
- handleAdd() {
|
|
|
- this.submitForm = {
|
|
|
- mailHost: '',
|
|
|
- mailboxName: '',
|
|
|
- mailboxPwd: '',
|
|
|
- }
|
|
|
- this.openAdd = true
|
|
|
- },
|
|
|
- // 取消添加或修改
|
|
|
- handleCancel() {
|
|
|
- this.openAdd = false
|
|
|
- this.openConfig = false
|
|
|
- this.openUpdate = false
|
|
|
- },
|
|
|
- // 邮箱是否有效
|
|
|
- isValuable_methods() {
|
|
|
- if (this.submitForm.mailHost !== 'imap.gmail.com') {
|
|
|
- API.isExistMail({ mailboxName: this.submitForm.mailboxName }).then((res) => {
|
|
|
- if (res.data.data.list && res.data.data.list.length > 0) {
|
|
|
- this.msgInfo('邮箱已经存在')
|
|
|
- } else {
|
|
|
- this.loadingStatus = true
|
|
|
- API.isValuable(this.submitForm).then(
|
|
|
- (res) => {
|
|
|
- if (res.data.data.code === 200) {
|
|
|
- API.insert(this.submitForm).then(
|
|
|
- () => {
|
|
|
- this.msgSuccess('邮箱添加成功,正在抓取文件夹')
|
|
|
- const data = {
|
|
|
- mailHost: this.submitForm.mailHost,
|
|
|
- mailbox: this.submitForm.mailboxName,
|
|
|
- mailboxPwd: this.submitForm.mailboxPwd,
|
|
|
- }
|
|
|
- API.grabOfficialFolder(data).then(
|
|
|
- () => {
|
|
|
- this.loadingStatus = false
|
|
|
- this.msgSuccess('文件夹抓取完成')
|
|
|
- this.openAdd = false
|
|
|
- this.queryParams.pageNum = 1
|
|
|
- this.getList()
|
|
|
- API.grabMail({ mailbox: this.submitForm.mailboxName }).then()
|
|
|
- },
|
|
|
- (err) => {
|
|
|
- this.loadingStatus = false
|
|
|
- console.log('grabOfficialFolder: ' + err)
|
|
|
- }
|
|
|
- )
|
|
|
- },
|
|
|
- (err) => {
|
|
|
- this.loadingStatus = false
|
|
|
- console.log('insert: ' + err)
|
|
|
- }
|
|
|
- )
|
|
|
- } else {
|
|
|
- this.loadingStatus = false
|
|
|
- this.msgWarning('邮箱或授权码错误')
|
|
|
- }
|
|
|
- },
|
|
|
- (err) => {
|
|
|
- this.loadingStatus = false
|
|
|
- console.log('isValuable: ' + err)
|
|
|
- }
|
|
|
- )
|
|
|
- }
|
|
|
- })
|
|
|
- } else {
|
|
|
- API.isExistMail({ mailboxName: this.submitForm.mailboxName }).then((res) => {
|
|
|
- if (res.data.data.list && res.data.data.list.length > 0) {
|
|
|
- this.msgInfo('邮箱已经存在')
|
|
|
- } else {
|
|
|
- this.loadingStatus = true
|
|
|
- API.isValuableOverseas(this.submitForm).then(
|
|
|
- (res) => {
|
|
|
- if (res.data.data.code === 200) {
|
|
|
- API.insertOverseas(this.submitForm).then(
|
|
|
- () => {
|
|
|
- this.msgSuccess('邮箱添加成功,正在抓取文件夹')
|
|
|
- const data = {
|
|
|
- mailHost: this.submitForm.mailHost,
|
|
|
- mailbox: this.submitForm.mailboxName,
|
|
|
- mailboxPwd: this.submitForm.mailboxPwd,
|
|
|
- }
|
|
|
- API.grabOfficialFolderOverseas(data).then(
|
|
|
- () => {
|
|
|
- this.loadingStatus = false
|
|
|
- this.msgSuccess('文件夹抓取完成')
|
|
|
- this.openAdd = false
|
|
|
- this.queryParams.pageNum = 1
|
|
|
- this.getList()
|
|
|
- API.grabMailOverseas({ mailbox: this.submitForm.mailboxName }).then()
|
|
|
- },
|
|
|
- (err) => {
|
|
|
- this.loadingStatus = false
|
|
|
- console.log('grabOfficialFolderOverseas: ' + err)
|
|
|
- }
|
|
|
- )
|
|
|
- },
|
|
|
- (err) => {
|
|
|
- this.loadingStatus = false
|
|
|
- console.log('insertOverseas: ' + err)
|
|
|
- }
|
|
|
- )
|
|
|
- } else {
|
|
|
- this.msgWarning('邮箱或授权码错误')
|
|
|
- }
|
|
|
- },
|
|
|
- (err) => {
|
|
|
- this.loadingStatus = false
|
|
|
- console.log('isValuableOverseas: ' + err)
|
|
|
- }
|
|
|
- )
|
|
|
- }
|
|
|
- })
|
|
|
- }
|
|
|
- },
|
|
|
- // 添加用户
|
|
|
- submitAddEmail() {
|
|
|
- this.$refs.submitForm.validate((valid) => {
|
|
|
- if (valid) {
|
|
|
- this.isValuable_methods()
|
|
|
- }
|
|
|
- })
|
|
|
- },
|
|
|
- // 修改授权码
|
|
|
- submitUpdateEmail() {
|
|
|
- this.$refs.submitUpdateForm.validate((valid) => {
|
|
|
- if (valid) {
|
|
|
- if (this.submitUpdateForm.mailHost !== 'imap.gmail.com') {
|
|
|
- API.isValuable(this.submitUpdateForm).then((res) => {
|
|
|
- if (res.data.data.code === 200) {
|
|
|
- API.update(this.submitUpdateForm).then(() => {
|
|
|
- this.msgSuccess('邮箱授权码修改成功')
|
|
|
- this.openUpdate = false
|
|
|
- this.queryParams.pageNum = 1
|
|
|
- this.getList()
|
|
|
- })
|
|
|
- } else {
|
|
|
- this.msgWarning('授权码错误')
|
|
|
- }
|
|
|
- })
|
|
|
- } else {
|
|
|
- API.isValuableOverseas(this.submitUpdateForm).then((res) => {
|
|
|
- if (res.data.data.code === 200) {
|
|
|
- API.updateOverseas(this.submitUpdateForm).then(() => {
|
|
|
- this.msgSuccess('邮箱授权码修改成功')
|
|
|
- this.openUpdate = false
|
|
|
- this.queryParams.pageNum = 1
|
|
|
- this.getList()
|
|
|
- })
|
|
|
- } else {
|
|
|
- this.msgWarning('授权码错误')
|
|
|
- }
|
|
|
- })
|
|
|
- }
|
|
|
- }
|
|
|
- })
|
|
|
- },
|
|
|
- // 设置人员
|
|
|
- handleConfigShow(row) {
|
|
|
- this.rowData = row
|
|
|
- this.mailBox = row.mailboxName
|
|
|
- this.openConfig = true
|
|
|
- this.userAcountForm.id = row.id
|
|
|
- },
|
|
|
- // 获取业务员下拉框
|
|
|
- getUsers_methods() {
|
|
|
- API.getUserAll({}).then((response) => {
|
|
|
- this.salesmanData = response.data.data.list
|
|
|
- })
|
|
|
- },
|
|
|
- setUser_methods() {
|
|
|
- var parameter = {
|
|
|
- id: '',
|
|
|
- userId: '',
|
|
|
- }
|
|
|
- parameter.userId = this.userAcountForm.userId
|
|
|
- API.setUser(parameter).then(() => {
|
|
|
- this.$message({
|
|
|
- type: 'success',
|
|
|
- message: '设置人员成功!',
|
|
|
- })
|
|
|
- this.openConfig = false
|
|
|
- this.handOverForm = {}
|
|
|
- this.queryParams.pageNum = 1
|
|
|
- this.getList()
|
|
|
- })
|
|
|
- },
|
|
|
- submitConfig() {
|
|
|
- this.$refs.handOverForm.validate((valid) => {
|
|
|
- if (valid) {
|
|
|
- if (this.rowData.mailHost !== 'imap.gmail.com') {
|
|
|
- API.mailIsGrad({ mailbox: this.mailBox }).then((res) => {
|
|
|
- if (res.data.code === 200) {
|
|
|
- API.setUser(this.userAcountForm).then(() => {
|
|
|
- this.$message({
|
|
|
- message: '设置业务员成功',
|
|
|
- type: 'success',
|
|
|
- })
|
|
|
- this.openConfig = false
|
|
|
- this.getList()
|
|
|
- })
|
|
|
- } else {
|
|
|
- this.msgWarning('正在抓取邮件中,请稍等15分钟后再绑定人员!')
|
|
|
- }
|
|
|
- })
|
|
|
- } else {
|
|
|
- API.mailIsGradOverseas({ mailbox: this.mailBox }).then((res) => {
|
|
|
- if (res.data.code === 200) {
|
|
|
- API.setUser(this.userAcountForm).then(() => {
|
|
|
- this.$message({
|
|
|
- message: '设置业务员成功',
|
|
|
- type: 'success',
|
|
|
- })
|
|
|
- this.openConfig = false
|
|
|
- this.getList()
|
|
|
- })
|
|
|
- } else {
|
|
|
- this.msgWarning('正在抓取邮件中,请稍等15分钟后再绑定人员!')
|
|
|
- }
|
|
|
- })
|
|
|
- }
|
|
|
- }
|
|
|
- })
|
|
|
- },
|
|
|
- handleUpdate(row) {
|
|
|
- this.submitUpdateForm = {
|
|
|
- id: row.id,
|
|
|
- mailHost: row.mailHost,
|
|
|
- mailboxName: row.mailboxName,
|
|
|
- mailboxPwd: row.mailboxPwd,
|
|
|
- }
|
|
|
- this.openUpdate = true
|
|
|
- },
|
|
|
- handleDelete(row) {
|
|
|
- this.$confirm(`是否确定删除邮箱?`, {
|
|
|
- confirmButtonText: '确定',
|
|
|
- cancelButtonText: '取消',
|
|
|
- type: 'warning',
|
|
|
- })
|
|
|
- .then(() => {
|
|
|
- return API.mailboxDelete([row.id])
|
|
|
- })
|
|
|
- .then(() => {
|
|
|
- this.$message({
|
|
|
- type: 'success',
|
|
|
- message: '操作成功!',
|
|
|
- })
|
|
|
- this.getList()
|
|
|
- })
|
|
|
- },
|
|
|
- getMailHost(key) {
|
|
|
- let data = this.mailHostList.filter((item) => item.dictKey === key)
|
|
|
- if (data && data.length > 0) {
|
|
|
- return data[0].dictValue
|
|
|
- } else {
|
|
|
- return ''
|
|
|
- }
|
|
|
- },
|
|
|
- loseFocus() {
|
|
|
- this.$nextTick(() => {
|
|
|
- this.$refs.mailHost.blur()
|
|
|
- })
|
|
|
- },
|
|
|
- },
|
|
|
-}
|
|
|
-</script>
|
|
|
-
|
|
|
-<style lang="scss" scoped>
|
|
|
-* {
|
|
|
- font-size: 12px;
|
|
|
-}
|
|
|
-.group-title {
|
|
|
- font-size: 14px;
|
|
|
- font-weight: 700;
|
|
|
-}
|
|
|
-.box-card {
|
|
|
- max-height: calc(100vh - 50px - 50px - 10px);
|
|
|
- overflow-y: auto;
|
|
|
-}
|
|
|
-/deep/ .el-table .cell {
|
|
|
- line-height: 35px !important;
|
|
|
-}
|
|
|
-::v-deep {
|
|
|
- .el-input__inner {
|
|
|
- border-radius: 1px;
|
|
|
- }
|
|
|
- .el-button--mini {
|
|
|
- border-radius: 1px;
|
|
|
- }
|
|
|
- .tableHeader th {
|
|
|
- background-color: #edf0f5;
|
|
|
- height: 35px;
|
|
|
- padding: 0;
|
|
|
- }
|
|
|
- .el-form-item {
|
|
|
- margin-bottom: 10px;
|
|
|
- }
|
|
|
-}
|
|
|
-.remaining {
|
|
|
- font-size: 12px;
|
|
|
- width: 23vw;
|
|
|
- height: 25px;
|
|
|
- background: #eaced1;
|
|
|
- border: 1px solid #a12534;
|
|
|
- line-height: 23px;
|
|
|
- margin-left: 10px;
|
|
|
- padding: 0 10px;
|
|
|
- text-align: center;
|
|
|
- border-radius: 70px;
|
|
|
- text-align: center;
|
|
|
-}
|
|
|
-.huge-title {
|
|
|
- font-size: 16px;
|
|
|
- font-weight: 700;
|
|
|
- margin: 0 10px;
|
|
|
-}
|
|
|
-.font-red {
|
|
|
- color: #6c88f1;
|
|
|
-}
|
|
|
-.add-container {
|
|
|
- width: 85%;
|
|
|
- margin: 0 auto;
|
|
|
- .msg-content {
|
|
|
- /* width: 99%; */
|
|
|
- background: #e9f5fb;
|
|
|
- border: 1px solid #bde2f4;
|
|
|
- height: 60px;
|
|
|
- line-height: 60px;
|
|
|
- padding-left: 10px;
|
|
|
- left: 50%;
|
|
|
- span {
|
|
|
- margin-left: 5px;
|
|
|
- }
|
|
|
- }
|
|
|
- .title-sign {
|
|
|
- width: 90px;
|
|
|
- height: 30px;
|
|
|
- border-bottom: 1px solid #6c88f1;
|
|
|
- color: #6c88f1;
|
|
|
- line-height: 30px;
|
|
|
- margin-top: 10px;
|
|
|
- margin-bottom: 20px;
|
|
|
- }
|
|
|
-}
|
|
|
-.searchBtn {
|
|
|
- background: #20b2aa;
|
|
|
- color: #fff;
|
|
|
- border: 1px solid #20b2aa;
|
|
|
-}
|
|
|
-/deep/.hiddenSel {
|
|
|
- display: none;
|
|
|
-}
|
|
|
-.role-tree {
|
|
|
- width: 412px;
|
|
|
- height: 25px;
|
|
|
- border: 1px solid rgb(215, 215, 215);
|
|
|
- color: #c2c3c5;
|
|
|
- line-height: 25px;
|
|
|
- margin-top: 5px;
|
|
|
- border-radius: 1px;
|
|
|
- span {
|
|
|
- margin-left: 20px;
|
|
|
- }
|
|
|
-}
|
|
|
-/deep/.el-tag.el-tag--info {
|
|
|
- height: 20px;
|
|
|
- line-height: 20px;
|
|
|
- margin-left: 10px;
|
|
|
-}
|
|
|
-/deep/.el-input__inner {
|
|
|
- height: 25px !important;
|
|
|
-}
|
|
|
-</style>
|