| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066 |
- <template>
- <div class="content-box">
- <div class="left">
- <!-- <el-icon :size="23" class="camera"><VideoCameraFilled /></el-icon> -->
- <span class="cameratxt">我的数据源</span>
- </div>
- <div>
- <div class="middle">
- <div class="filter">
- <div class="condition">
- <el-select v-model="value" class="sel" placeholder="数据库类型">
- <el-option label="Mariadb 数据库" value="1" />
- <el-option label="MySQL6.0 及以下数据库" value="2" />
- <el-option label="MySQL8.0 及以下数据库" value="3" />
- <el-option label="Oracle 10g、11g 数据库" value="3" />
- <el-option label="PostgreSQL 数据库" value="3" />
- </el-select>
- <el-select v-model="value" class="sel" placeholder="连接状态">
- <el-option label="正常" value="1" />
- <el-option label="不可用" value="2" />
- </el-select>
- <el-input
- :clearable="true"
- @clear="searchBtn"
- v-model="searchInput.keyWord"
- class="sel"
- placeholder="数据源名称"
- />
- </div>
- <el-button
- color="rgba(0, 97, 255, 1)"
- type="primary"
- class="search"
- @click="searchBtn"
- ><el-icon>
- <Search />
- </el-icon>
- <span>查询</span></el-button
- >
- </div>
- <!-- 按钮列表 -->
- <div class="gongneng">
- <el-button
- type="primary"
- color="rgba(0, 97, 255, 1)"
- plain
- @click="addClick"
- >新增</el-button
- >
- <el-button
- type="primary"
- color="rgba(0, 97, 255, 1)"
- plain
- @click="editClick"
- >编辑</el-button
- >
- <el-button
- type="primary"
- color="rgba(0, 97, 255, 1)"
- @click="delClick"
- plain
- >删除</el-button
- >
- </div>
- </div>
- <div class="footer" v-loading="loading">
- <el-table
- :row-class-name="tableRowClassName"
- :data="tableData.list"
- @selection-change="handleSelectionChange"
- style="width: 100%"
- :header-cell-style="{
- background: 'rgba(240, 243, 247, 1)',
- height: '50px',
- border: 0,
- }"
- >
- <el-table-column align="center" type="selection" width="80" />
- <el-table-column
- align="center"
- prop="type"
- width="200"
- label="类型"
- />
- <el-table-column align="center" prop="name" label="名称" />
- <el-table-column
- align="center"
- prop="link"
- width="320"
- label="连接地址"
- />
- <el-table-column align="center" prop="status" label="连接状态">
- <template #default="scope">
- <span class="normal">正常</span>
- </template>
- </el-table-column>
- <el-table-column
- align="center"
- prop="describe"
- show-overflow-tooltip
- label="描述"
- />
- <!-- <el-table-column align="center" label="操作" width="200">
- <template #default="scope">
- <div class="edit">
- <div class="look" @click="editClick(scope.row)">编辑</div>
- <el-popconfirm
- width="220"
- confirm-button-text="确认"
- cancel-button-text="取消"
- :icon="InfoFilled"
- icon-color="#f89626"
- title="是否删除此房型?"
- @confirm="del(scope.row)"
- @cancel="cancelEvent"
- >
- <template #reference>
- <div class="del">删除</div>
- </template>
- </el-popconfirm>
- </div>
- </template>
- </el-table-column> -->
- </el-table>
- </div>
- <!-- 分页组件 -->
- <div class="pageSize">
- <span></span>
- <el-pagination
- background
- :current-page="currentPage"
- :page-size="pageSize"
- layout="total, prev, pager, next, jumper, slot"
- :total="total"
- @update:current-page="handleCurrentChange"
- />
- </div>
- <!-- 编辑按钮 -->
- <el-dialog
- class="editDialog"
- v-model="editVisible"
- :close-on-click-modal="false"
- :close-on-press-escape="false"
- :title="titleDialog"
- align-center
- width="900"
- :before-close="cancelEdit"
- >
- <el-form
- ref="editRef"
- :model="editRuleForm"
- :rules="editRules"
- label-width="100px"
- class="demo-ruleForm"
- :size="formSize"
- label-position="right"
- status-icon
- >
- <el-form-item label="类型 :" prop="type">
- <el-select
- v-model="editRuleForm.type"
- multiple
- placeholder="请选择类型"
- style="width: 740px"
- >
- <el-option label="学生肖像" value="1" />
- <el-option label="车辆预约" value="2" />
- <el-option label="校园打卡" value="3" />
- <el-option label="校园报修" value="4" />
- </el-select>
- </el-form-item>
- <el-form-item label="名称 :" prop="yname">
- <el-input
- v-model="editRuleForm.yname"
- placeholder="数据源名称.如: xxx数据库"
- clearable
- style="width: 740px"
- />
- </el-form-item>
- <div v-if="titleDialog == '新增'">
- <span class="typeTitle">使用辅助选项请先选择类型</span>
- <el-form-item label="辅助选项 :">
- <el-input
- v-model="editRuleForm.location"
- placeholder="数据库服务IP地址"
- clearable
- style="width: 300px; margin-right: 10px"
- />
- <el-input
- v-model="editRuleForm.port"
- placeholder="数据库服务端口号"
- clearable
- style="width: 210px; margin-right: 10px"
- />
- <el-input
- v-model="editRuleForm.kname"
- placeholder="数据库名称"
- clearable
- style="width: 210px"
- />
- </el-form-item>
- </div>
- <el-form-item label="连接地址 :" prop="link">
- <el-input
- v-model="editRuleForm.link"
- placeholder="数据库连接地址"
- clearable
- style="width: 740px"
- />
- </el-form-item>
- <div class="account">
- <el-form-item label="数据库账号 :" prop="account">
- <el-input
- v-model="editRuleForm.account"
- placeholder="请输入数据库账号"
- clearable
- />
- </el-form-item>
- <el-form-item label="数据库密码 :" prop="password">
- <el-input
- v-model="editRuleForm.password"
- placeholder="请输入数据库密码"
- clearable
- />
- </el-form-item>
- </div>
- <el-form-item label="描述 :" prop="describe">
- <el-input
- v-model="editRuleForm.describe"
- placeholder="请输入该数据库相关简述"
- clearable
- type="textarea"
- :rows="5"
- style="width: 740px"
- />
- </el-form-item>
- <el-form-item class="options">
- <el-button
- color="rgba(41, 109, 227, 1)"
- class="queding"
- type="primary"
- @click="confirmEdit(editRef)"
- >
- 确认
- </el-button>
- <el-button @click="cancelEdit(editRef)">取消</el-button>
- </el-form-item>
- </el-form>
- </el-dialog>
- <!-- 勾选删除 -->
- <el-dialog
- class="closeAccount"
- v-model="selDelVisible"
- :close-on-click-modal="false"
- :close-on-press-escape="false"
- title="勾选删除"
- align-center
- width="500"
- :before-close="cancelSelDel"
- >
- <div class="content">
- <img src="@/assets/images/warning.png" alt="" />
- <span>是否删除勾选的数据库?</span>
- </div>
- <div class="option">
- <el-button
- color="rgba(41, 109, 227, 1)"
- class="queding"
- type="primary"
- @click="confirmSelDel"
- >
- 确认
- </el-button>
- <el-button @click="cancelSelDel">取消</el-button>
- </div>
- </el-dialog>
- </div>
- <div class="bgImg" v-if="bgImg">
- <el-carousel
- @click="bgImg = false"
- ref="bgImgs"
- indicator-position
- arrow="always"
- :autoplay="false"
- trigger
- >
- <el-carousel-item v-for="item in bgImgList" :key="item.id">
- <img :src="item.url" alt="" />
- </el-carousel-item>
- </el-carousel>
- </div>
- </div>
- </template>
- <script setup>
- import {
- ref,
- reactive,
- watch,
- nextTick,
- onBeforeMount,
- onUnmounted,
- } from "vue";
- import { useRouter } from "vue-router";
- import { ElMessage, ElMessageBox } from "element-plus";
- import { Calendar } from "@element-plus/icons-vue";
- import vidiconsApi from "@/api/vidicons.js";
- import { dayjs } from "element-plus";
- import lodash from "lodash";
- import axios from "axios";
- import { useStore } from "vuex";
- const store = useStore();
- const api = ref("");
- const router = useRouter();
- // 表格数据
- const loading = ref(false);
- const tableData = reactive({
- list: [
- {
- type: "Oracle 10g、11g 数据库",
- name: "消息平台",
- link: "jdbc:oracle:thin:@172.16.30.21:1408:orcl",
- status: 1,
- describe: "消息平台",
- },
- {
- type: "Mariadb 数据库",
- name: "学工数据库",
- link: "jdbc:oracle:thin:@172.16.30.21:1408:orcl",
- status: 1,
- describe: "学工数据库",
- },
- {
- type: "Oracle 10g、11g 数据库",
- name: "教务中间库",
- link: "jdbc:oracle:thin:@172.16.30.21:1408:orcl",
- status: 1,
- describe: "教务中间库",
- },
- {
- type: "MySQL6.0 及以下数据库",
- name: "新认证正式库",
- link: "jdbc:oracle:thin:@172.16.30.21:1408:orcl",
- status: 1,
- describe: "新认证正式库",
- },
- {
- type: "PostgreSQL 数据库",
- name: "迎新系统",
- link: "jdbc:oracle:thin:@172.16.30.21:1408:orcl",
- status: 1,
- describe: "迎新系统",
- },
- ],
- });
- const searchInput = reactive({
- keyWord: "",
- createTime: "",
- }); // 搜索按钮数据
- const currentPage = ref(1); // 当前页
- const pageSize = ref(10);
- const total = ref(5); // 当前总数
- const selectData = reactive({ list: [] }); // 表格勾选的数据
- // 编辑功能
- const titleDialog = ref("");
- const editVisible = ref(false);
- const editRef = ref();
- const editRuleForm = reactive({
- type: "", // 类型
- yname: "", // 数据源名称
- location: "", // 数据库服务IP地址
- port: "", // 数据库服务端口号
- kname: "", // 数据库名称
- link: "", // 数据库连接地址
- account: "", // 数据库账号
- password: "", // 数据库密码
- describe: "", // 描述
- id: "",
- });
- // 表单验证
- const editRules = reactive({
- type: [{ required: true, message: "类型不能为空", trigger: "blur" }],
- yname: [
- {
- required: true,
- message: "数据源名称不能为空",
- trigger: "blur",
- },
- ],
- link: [
- {
- required: true,
- message: "数据库连接地址不能为空",
- trigger: "blur",
- },
- ],
- account: [
- {
- required: true,
- message: "数据库账号不能为空",
- trigger: "blur",
- },
- ],
- password: [
- {
- required: true,
- message: "数据库密码不能为空",
- trigger: "blur",
- },
- ],
- describe: [
- {
- required: true,
- message: "描述不能为空",
- trigger: "blur",
- },
- ],
- });
- // 删除弹窗
- const selDelVisible = ref(false);
- // 查看房型列表
- const getList = async () => {
- // loading.value = true;
- // let data = {
- // page: currentPage.value,
- // rows: pageSize.value,
- // hName: searchInput.keyWord, // 房型名称
- // managerId: sessionStorage.getItem("token"),
- // };
- // let res = await axios({
- // method: "post",
- // url: api.value + "/mhotel/housequeryPage.action",
- // headers: {
- // // token: sessionStorage.getItem("token"),
- // // user_head: sessionStorage.getItem("userhead"),
- // },
- // params: data,
- // });
- // console.log(res, "房型管理");
- // if (res.data.code == 200) {
- // loading.value = false;
- // tableData.list = res.data.data.pageList;
- // total.value = res.data.data.total;
- // // ElMessage({
- // // type: "success",
- // // showClose: true,
- // // message: res.data.message,
- // // center: true,
- // // });
- // } else {
- // loading.value = false;
- // ElMessage({
- // type: "error",
- // showClose: true,
- // message: res.data.message,
- // center: true,
- // });
- // }
- };
- // 搜索功能
- const searchBtn = lodash.debounce(async () => {
- getList();
- }, 300);
- // 添加按钮 (-------------------------------------------)
- const addClick = async () => {
- titleDialog.value = "新增";
- editVisible.value = true;
- // let data = {
- // linkId: row.id,
- // };
- // let res = await axios({
- // method: "post",
- // url: api.value + "/mhotel/uploadgetByLinkId.action",
- // headers: {},
- // params: data,
- // });
- // console.log(res, "编辑中查找图片");
- // if (res.data.code == 200) {
- // // res.data.data.fileInfoList.forEach((item) => {
- // // item.uid = item.id;
- // // });
- // // fileList.list = res.data.data.fileInfoList;
- // // ruleForm.fileListJson = fileList.list;
- // res.data.data.forEach((item) => {
- // item.uid = item.id;
- // });
- // fileList.list = res.data.data;
- // ruleForm.fileListJson = fileList.list;
- // // ElMessage({
- // // type: "success",
- // // showClose: true,
- // // message: res.data.message,
- // // center: true,
- // // });
- // } else {
- // ElMessage({
- // type: "error",
- // showClose: true,
- // message: res.data.message,
- // center: true,
- // });
- // }
- };
- //编辑按钮 (-------------------------------------------)
- const editClick = async () => {
- if (selectData.list.length == 1) {
- titleDialog.value = "编辑";
- editVisible.value = true;
- } else {
- ElMessage({
- type: "warning",
- showClose: true,
- message: "请先选定一条记录!",
- center: true,
- });
- }
- // let data = {
- // linkId: row.id,
- // };
- // let res = await axios({
- // method: "post",
- // url: api.value + "/mhotel/uploadgetByLinkId.action",
- // headers: {},
- // params: data,
- // });
- // console.log(res, "编辑中查找图片");
- // if (res.data.code == 200) {
- // // res.data.data.fileInfoList.forEach((item) => {
- // // item.uid = item.id;
- // // });
- // // fileList.list = res.data.data.fileInfoList;
- // // ruleForm.fileListJson = fileList.list;
- // res.data.data.forEach((item) => {
- // item.uid = item.id;
- // });
- // fileList.list = res.data.data;
- // ruleForm.fileListJson = fileList.list;
- // // ElMessage({
- // // type: "success",
- // // showClose: true,
- // // message: res.data.message,
- // // center: true,
- // // });
- // } else {
- // ElMessage({
- // type: "error",
- // showClose: true,
- // message: res.data.message,
- // center: true,
- // });
- // }
- };
- const cancelEdit = () => {
- editVisible.value = false;
- editRef.value.resetFields();
- };
- // 确定编辑
- const confirmEdit = (formEl) => {
- if (!formEl) return;
- formEl.validate(async (valid, fields) => {
- if (valid) {
- }
- });
- };
- //删除按钮
- const delClick = async () => {
- if (selectData.list.length >= 1) {
- selDelVisible.value = true;
- } else {
- ElMessage({
- type: "warning",
- showClose: true,
- message: "请先选定所需要删除的数据库!",
- center: true,
- });
- }
- // let data = {
- // id: row.id,
- // };
- // let res = await axios({
- // method: "post",
- // url: api.value + "/mhotel/housedelHouser.action",
- // headers: {
- // // token: sessionStorage.getItem("token"),
- // // user_head: sessionStorage.getItem("userhead"),
- // },
- // params: data,
- // });
- // if (res.data.code == 200) {
- // if (tableData.list.length == 1 && currentPage.value != 1) {
- // currentPage.value = currentPage.value - 1;
- // }
- // getList();
- // ElMessage({
- // type: "success",
- // showClose: true,
- // message: res.data.message,
- // center: true,
- // });
- // } else {
- // ElMessage({
- // type: "error",
- // showClose: true,
- // message: res.data.message,
- // center: true,
- // });
- // }
- // console.log(res);
- };
- const cancelSelDel = () => {
- selDelVisible.value = false;
- };
- // 多选框功能
- const handleSelectionChange = (val) => {
- console.log(val);
- selectData.list = val;
- };
- //导出功能
- // const importExcel = async () => {
- // if (searchInput.createTime == null) {
- // searchInput.createTime = "";
- // }
- // let data = new FormData();
- // data.set("car_number", searchInput.carnumber);
- // data.set("create_time", searchInput.createTime);
- // let res = await axios({
- // method: "post",
- // url: api.value + "/carBook/cinfotoExcel.action",
- // headers: {
- // token: sessionStorage.getItem("token"),
- // },
- // data: data,
- // });
- // // console.log(res, "导出账号");
- // if (res.data.code == 200) {
- // // const elt = document.createElement("a");
- // // elt.setAttribute(
- // // "href",
- // // "https://chtech.ncjti.edu.cn/carstop" + res.data.downurl
- // // );
- // // elt.setAttribute("download", "file.png");
- // // elt.style.display = "none";
- // // document.body.appendChild(elt);
- // // elt.click();
- // var downloadPath = "https://chtech.ncjti.edu.cn/carstop" + res.data.downurl;
- // console.log("获得地址数据:", downloadPath);
- // var downloadLink = document.createElement("a");
- // downloadLink.style.display = "none"; // 使其隐藏
- // downloadLink.href = downloadPath;
- // downloadLink.download = "";
- // downloadLink.click();
- // document.body.appendChild(downloadLink);
- // document.body.removeChild(downloadLink);
- // ElMessage({
- // type: "success",
- // showClose: true,
- // message: res.data.message,
- // center: true,
- // });
- // } else {
- // ElMessage({
- // type: "error",
- // showClose: true,
- // message: res.data.message,
- // center: true,
- // });
- // }
- // };
- // 表格斑马纹颜色修改
- const tableRowClassName = ({ row, rowIndex }) => {
- if (rowIndex % 2 === 0) {
- return "even";
- } else if (rowIndex % 2 !== 0) {
- return "odd";
- }
- return "";
- };
- // 分页
- const handleCurrentChange = (value) => {
- // console.log(value);
- currentPage.value = value;
- getList();
- };
- onBeforeMount(async () => {
- api.value = store.state.user.api;
- getList();
- });
- onUnmounted(() => {
- // document.removeEventListener("keyup", Enters);
- });
- </script>
- <style scoped lang="scss">
- .content-box {
- width: 97.5%;
- height: 89%;
- margin: 20px auto;
- background-color: #fff;
- color: #fff;
- display: flex;
- flex-direction: column;
- box-shadow: 0px 3px 10px rgba(0, 97, 255, 0.2);
- .left {
- // width: calc(100wh - 40px);
- display: flex;
- align-items: center;
- height: 60px;
- margin: 0 30px;
- border-bottom: 1px solid #ccc;
- color: rgb(0, 0, 0);
- font-size: 18px;
- font-weight: 600;
- span {
- margin-right: 20px;
- cursor: pointer;
- }
- .is_active {
- color: rgba(111, 182, 184, 1);
- }
- }
- .middle {
- width: 96%;
- margin: 0 auto;
- color: #000;
- // border-bottom: 1px solid rgb(231, 231, 231);
- .filter {
- display: flex;
- flex-wrap: wrap;
- align-items: center;
- margin: 10px 0 0 0;
- .search {
- color: #fff;
- }
- .condition {
- display: flex;
- align-items: center;
- margin: 10px 30px 10px 0;
- .sel {
- margin-right: 10px;
- }
- :deep(.el-input .el-input__inner) {
- font-size: 14px;
- }
- }
- }
- .gongneng {
- margin: 10px 0 20px 0;
- span {
- color: #fff;
- }
- .el-button {
- margin-right: 10px;
- }
- }
- :deep(.cont) {
- width: 60%;
- margin: 20px auto;
- }
- :deep(.download) {
- display: flex;
- align-items: center;
- margin: 10px;
- }
- :deep(.download span) {
- font-size: 16px;
- margin-left: 20px;
- }
- :deep(.cont .el-button) {
- margin-left: 60px;
- margin-bottom: 30px;
- }
- :deep(.cont .accomplish) {
- width: 100%;
- display: flex;
- justify-content: center;
- }
- :deep(.cont .accomplish .el-button) {
- width: 50%;
- margin: 0;
- }
- }
- .footer {
- width: 96%;
- height: 550px;
- margin: 10px auto 30px;
- .el-table--fit {
- height: 100%;
- :deep(.el-table__header-wrapper) {
- background-color: #000;
- font-size: 14px;
- tr {
- // color: #000;
- }
- }
- :deep(.el-table__row) {
- height: 50px;
- font-size: 14px;
- // color: #000;
- &:hover {
- td {
- background-color: rgba(223, 236, 254, 1);
- }
- }
- }
- :deep(.el-table__row td) {
- padding: 0;
- border: 0;
- .normal {
- background-color: rgba(139, 195, 74, 1);
- color: #fff;
- padding: 4px;
- }
- }
- .el-button--primary {
- margin-left: 5px;
- }
- :deep(.el-table__body .even) {
- background-color: #fff;
- }
- :deep(.el-table__body .odd) {
- background-color: rgba(240, 243, 247, 1);
- }
- :deep(.edit) {
- display: flex;
- align-items: center;
- justify-content: center;
- color: rgba(111, 182, 184, 1);
- }
- :deep(.look) {
- padding: 0 10px;
- cursor: pointer;
- color: rgba(30, 125, 251, 1);
- }
- .del {
- padding: 0 10px;
- color: rgba(212, 48, 48, 1);
- cursor: pointer;
- }
- // :deep(.look):hover {
- // color: red;
- // }
- // :deep(.del):hover {
- // color: red;
- // }
- }
- }
- // 编辑按钮
- :deep(.editDialog) {
- // height: 420px;
- border-radius: 11px;
- .el-dialog__header {
- border-radius: 11px 11px 0 0;
- background: rgba(237, 241, 245, 1);
- font-weight: 600;
- margin: 0;
- .el-dialog__headerbtn {
- outline: none;
- }
- }
- .el-dialog__body {
- padding: 30px 30px 10px 30px;
- .el-form-item__content {
- width: 200px;
- .el-input-group__append {
- background-color: rgba(222, 234, 252, 1);
- color: rgba(0, 97, 255, 1);
- cursor: pointer;
- user-select: none;
- }
- }
- .el-form {
- .typeTitle {
- display: block;
- color: red;
- margin: 0 0 6px 100px;
- }
- .account {
- display: flex;
- justify-content: space-between;
- .el-form-item {
- .el-form-item__content {
- width: 300px;
- }
- .el-input {
- width: 300px;
- }
- }
- }
- }
- .options {
- margin: 50px 20px 20px 0;
- width: 100%;
- .el-form-item__content {
- display: flex;
- flex-direction: row-reverse;
- }
- .queding {
- color: #fff;
- margin-left: 15px;
- }
- }
- }
- }
- // 删除数据库
- :deep(.closeAccount) {
- // height: 600px;
- overflow: hidden;
- border-radius: 11px;
- .el-dialog__header {
- border-radius: 11px 11px 0 0;
- background: rgba(245, 249, 255, 1);
- font-weight: 600;
- height: 60px;
- padding: 0 20px;
- line-height: 60px;
- margin: 0;
- border-bottom: 1px solid rgba(230, 230, 230, 1);
- .el-dialog__headerbtn {
- outline: none;
- }
- }
- .el-dialog__body {
- padding: 0px 20px 20px 20px;
- // height: 200px;
- // display: flex;
- // flex-direction: column-reverse;
- .content {
- height: 80px;
- font-size: 16px;
- padding: 20px 30px;
- display: flex;
- img {
- width: 25px;
- height: 25px;
- margin: 0 8px 0 0;
- }
- }
- .option {
- display: flex;
- flex-direction: row-reverse;
- align-items: center;
- margin: 10px 0;
- .queding {
- margin-left: 20px;
- }
- }
- }
- }
- .pageSize {
- display: flex;
- align-items: center;
- justify-content: space-between;
- margin: 0 30px;
- span {
- color: #000;
- }
- .el-pagination {
- // width: 1600px;
- :deep(.el-pagination__total) {
- color: #000;
- }
- :deep(.el-pagination__goto) {
- color: #000;
- }
- :deep(.el-pagination__classifier) {
- color: #000;
- }
- :deep(.el-input__wrapper) {
- border: 1px solid rgba(0, 0, 0, 1);
- border-radius: 5px;
- box-shadow: none;
- }
- :deep(.el-pager li) {
- margin: 0 5px;
- border: 1px solid rgba(0, 0, 0, 1);
- border-radius: 5px;
- background-color: transparent;
- }
- :deep(.el-pager li.is-active) {
- // background-color: rgba(0, 97, 255, 0.8);
- border: 1px solid rgba(0, 97, 255, 1);
- color: rgba(0, 97, 255, 1);
- }
- :deep(.btn-prev) {
- margin-right: 5px;
- border: 1px solid rgba(0, 0, 0, 1);
- border-radius: 5px;
- background-color: transparent;
- }
- :deep(.btn-next) {
- margin-left: 5px;
- border: 1px solid rgba(0, 0, 0, 1);
- border-radius: 5px;
- background-color: transparent;
- }
- }
- }
- }
- .el-input {
- width: 192px;
- }
- </style>
|