| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247 |
- <template>
- <div class="inform">
- <el-card class="box-card">
- <!-- 标题区域 -->
- <div slot="header" class="clearfix">
- <div class="inform-title">公告管理</div>
- </div>
- <!-- 主体内容区域 -->
- <div class="inform-body">
- <!-- 筛选条件区域 -->
- <div class="order-top">
- <div style="display: flex">
- <!-- 车牌号筛选 -->
- <div class="plateNum">
- <span>关键字:</span>
- <el-input
- placeholder=" 请输入关键字"
- style="width: 208px; margin-right: 53px"
- clearable
- v-model="value"
- @change="keyword"
- >
- <i slot="prefix" class="el-input__icon el-icon-search"></i>
- </el-input>
- </div>
- <!--时间筛选 -->
- <div class="paydate">
- <span>时间筛选:</span>
- <el-date-picker
- v-model="timeValue"
- align="center"
- type="datetimerange"
- format="yyyy-MM-dd HH:mm:ss"
- value-format="yyyy-MM-dd HH:mm:ss"
- range-separator="至"
- start-placeholder="开始日期"
- end-placeholder="结束日期"
- @change="getStartTime"
- ></el-date-picker>
- </div>
- </div>
- <div style="display: flex" class="addblock">
- <div class="addcar export" @click="addCar">新增公告</div>
- <!-- 详情弹窗区域 -->
- <el-dialog
- :title="addTitle"
- :visible.sync="dialogVisible"
- width="30%"
- >
- <div class="affiche-centent">
- <div class="title">内容:</div>
- <div class="content">
- <el-input
- type="textarea"
- placeholder="请输入公告内容"
- v-model="content"
- maxlength="100"
- show-word-limit
- ></el-input>
- </div>
- </div>
- <div class="btn">
- <el-button @click="resetForm('ruleForm')" plain>取消</el-button>
- <el-button type="primary" @click="submitForm">确认</el-button>
- </div>
- </el-dialog>
- <div class="export" @click="exportExcel">导出表单</div>
- </div>
- </div>
- <!-- 表格区域 -->
- <div class="inform-table">
- <!-- 表格区域 -->
- <el-table
- v-loading="loading"
- element-loading-text="拼命加载中"
- element-loading-spinner="el-icon-loading"
- element-loading-background="rgba(0, 0, 0, 0.8)"
- :data="tableData"
- @selection-change="handleSelectionChange"
- max-height="550"
- style="width: 100%; height: 550px"
- stripe
- class="Devicetable"
- :cell-style="rowbg"
- :header-cell-style="{
- color: ' rgba(0, 0, 0, 1)',
- background: 'rgba(230, 236, 254, 1)'
- }"
- >
- <el-table-column
- width="120"
- label="序号"
- type="index"
- align="center"
- ></el-table-column>
- <el-table-column
- prop="create_time"
- align="center"
- label="时间"
- width="350"
- ></el-table-column>
- <el-table-column
- prop="content"
- align="center"
- label="内容"
- width="500"
- :show-overflow-tooltip="true"
- ></el-table-column>
- <el-table-column align="center" label="当前显示" width="300">
- <template slot-scope="{ row }">
- <div class="lookIcon">
- <img
- src="../../assets/images/eye1.png"
- alt
- v-if="row.state == 0"
- @click="look(row)"
- />
- <img src="../../assets/images/eye_active.png" alt v-else />
- </div>
- </template>
- </el-table-column>
- <el-table-column align="center" label="操作" width="200">
- <template slot-scope="{ row }">
- <!-- 详情按钮 -->
- <span
- @click="amendCar(row)"
- class="operate"
- style="margin-right: 5px"
- >修改</span
- >
- <!-- 删除按钮 -->
- <span @click="handleDelete(row)" class="operate">删除</span>
- </template>
- </el-table-column>
- </el-table>
- </div>
- <!-- 分页器区域 -->
- <div class="block">
- <!-- <el-pagination
- background
- :page-sizes="[100, 200, 300, 400]"
- :page-size="100"
- layout="prev, pager, next"
- :total="1000"
- >
- </el-pagination>-->
- <el-pagination
- @current-change="handleCurrentChange"
- :page-size="9"
- :current-page="curPage"
- layout="total, prev, pager, next, jumper"
- :total="total"
- ></el-pagination>
- </div>
- </div>
- </el-card>
- </div>
- </template>
- <script>
- import FileSaver from "file-saver";
- import * as XLSX from "xlsx";
- import { nextTick } from "vue";
- export default {
- name: "role",
- data() {
- return {
- loading: false,
- // 显示的总数据
- tableData: [],
- // 状态数组
- options: [
- {
- value: 0,
- label: "超级管理员"
- },
- {
- value: 1,
- label: "管理员"
- }
- ],
- timeValue: "", // 时间筛选
- value: "", // 车牌号
- state: "超级管理员", // 车辆类型
- curPage: 1, // 当前页
- total: 1,
- dialogVisible: false, // 新增车辆窗口显示
- roleState: "管理员",
- addTitle: "", // 弹框标题
- roleType: [
- {
- value: 0,
- label: "管理员"
- },
- {
- value: 1,
- label: "超级管理员"
- }
- ],
- content: "", // 公告内容
- id: "", // 列表id
- src: "", // 使用当前公告的图片
- type: "", // 当前修改的列表是否为选中状态
- select: {
- id: ""
- }
- };
- },
- mounted() {
- document.getElementsByClassName(
- "el-pagination__jump"
- )[0].childNodes[0].nodeValue = "跳转";
- this.getData(1);
- },
- methods: {
- // 获取表格数据
- async getData(page) {
- let data;
- // 判断关键字
- if (this.value && !this.timeValue) {
- let params = { page: page, rows: 9, content: this.value };
- data = await this.API.affiche.adverquery(params);
- }
- // 判断日期
- else if (!this.value && this.timeValue) {
- let params = {
- page: page,
- rows: 9,
- start_time: this.timeValue[0],
- end_time: this.timeValue[1]
- };
- data = await this.API.affiche.adverquery(params);
- }
- // 判断关键字和日期
- else if (this.value && this.timeValue) {
- let params = {
- page: page,
- rows: 9,
- content: this.value,
- start_time: this.timeValue[0],
- end_time: this.timeValue[1]
- };
- data = await this.API.affiche.adverquery(params);
- } else {
- data = await this.API.affiche.adverquery({ page: page, rows: 9 });
- }
- if (data.total == 0) {
- this.tableData = [];
- this.total = 0;
- } else {
- this.tableData = data.rows;
- this.total = data.total;
- }
- this.tableData.forEach(item => {
- if (item.state == 1) {
- this.select.id = item.id;
- }
- });
- this.$nextTick(() => {
- let active = document.getElementsByClassName("el-table__row");
- // console.log(active[0]);
- if (data.rows[0].state == 1) {
- active[0].style.color = "rgba(52, 92, 254, 1)";
- } else {
- active[0].style.color = "#000";
- }
- });
- // console.log(data);
- },
- // 新增公告
- addCar() {
- this.addTitle = "新增公告";
- this.content = "";
- this.dialogVisible = true;
- },
- async submitForm() {
- if (this.addTitle === "新增公告") {
- let params = {
- content: this.content
- };
- let data = await this.API.affiche.adveradd(params);
- // console.log(data);
- if (data.code == 200) {
- this.$message({
- showClose: true,
- message: data.message,
- type: "success"
- });
- } else {
- this.$message({
- showClose: true,
- message: data.message,
- type: "error"
- });
- }
- this.getData(1);
- } else if (this.addTitle === "修改公告") {
- let params = {
- id: this.id,
- content: this.content
- };
- let data = await this.API.affiche.adverupdate(params);
- // console.log(data);
- if (data.code == 200) {
- this.$message({
- showClose: true,
- message: data.message,
- type: "success"
- });
- } else {
- this.$message({
- showClose: true,
- message: data.message,
- type: "error"
- });
- }
- if (this.id == this.select.id) {
- let row = { id: this.id };
- this.look(row);
- } else {
- this.getData(this.curPage);
- }
- }
- this.dialogVisible = false;
- },
- resetForm(formName) {
- this.dialogVisible = false;
- this.content = "";
- },
- // 关键字搜索
- keyword() {
- // console.log("关键字搜索触发");
- this.getData(1);
- this.curPage = 1;
- },
- // 时间筛选车辆
- getStartTime() {
- // console.log("时间筛选触发");
- this.getData(1);
- this.curPage = 1;
- },
- // 修改公告
- amendCar(row) {
- this.addTitle = "修改公告";
- this.dialogVisible = true;
- this.content = row.content;
- this.id = row.id;
- },
- notarize(formName) {
- this.$refs[formName].validate(valid => {
- if (valid) {
- alert("submit!");
- } else {
- // console.log("error submit!!");
- return false;
- }
- });
- },
- cancel(formName) {
- this.dialogVisible = false;
- this.$refs[formName].resetFields();
- },
- // 使用当前公告
- async look(row) {
- // console.log(row);
- // this.tableData.forEach((item, index) => {
- // if (item.state == 1) {
- // let active = document.getElementsByClassName("el-table__row");
- // console.log(active[0]);
- // active[0].style.color = "rgba(52, 92, 254, 1)";
- // }
- // });
- this.loading = true;
- let data = await this.API.affiche.adverupdateState({ id: row.id });
- if (data.code == 200) {
- this.$message({
- showClose: true,
- message: data.message,
- type: "success"
- });
- } else {
- this.$message({
- showClose: true,
- message: data.message,
- type: "error"
- });
- }
- this.getData(1);
- this.curPage = 1;
- this.loading = false;
- },
- // 导出订单按钮回调
- async exportExcel() {
- let params;
- // 关键字搜索
- if (this.value && !this.timeValue) {
- params = {
- content: this.value
- };
- }
- // 判断筛选时间
- else if (!this.value && this.timeValue) {
- params = {
- start_time: this.timeValue[0],
- end_time: this.timeValue[1]
- };
- }
- // 当关键字搜索和筛选时间同时存在
- else if (this.value && this.timeValue) {
- params = {
- content: this.value,
- start_time: this.timeValue[0],
- end_time: this.timeValue[1]
- };
- } else {
- params = {};
- }
- let data = await this.API.affiche.advertoExcel(params);
- // console.log(data);
- if (data.code == 200) {
- let url = data.downurl.slice(11);
- // console.log(url);
- window.open("https://chtech.ncjti.edu.cn/carstop/carMonitor" + url);
- this.$message({
- showClose: true,
- message: data.message,
- type: "success"
- });
- } else {
- this.$message({
- showClose: true,
- message: data.message,
- type: "error"
- });
- }
- },
- //删除按钮回调
- async handleDelete(row) {
- this.$confirm("此操作将永久删除该条公告, 是否继续?", "提示", {
- confirmButtonText: "确定",
- cancelButtonText: "取消",
- type: "warning"
- })
- .then(async () => {
- if (this.tableData.length == 1) {
- this.curPage = this.curPage - 1;
- }
- let data = await this.API.affiche.adverdel({ id: row.id });
- this.getData(this.curPage);
- if (data.code == 200) {
- this.$message({
- showClose: true,
- message: data.message,
- type: "success"
- });
- } else {
- this.$message({
- showClose: true,
- message: data.message,
- type: "error"
- });
- }
- })
- .catch(() => {
- this.$message({
- type: "info",
- message: "已取消删除"
- });
- });
- },
- // 翻页逻辑回调
- handleCurrentChange(val) {
- // console.log(val);
- this.getData(val);
- this.curPage = val;
- },
- // 多选框按钮操作
- handleSelectionChange(list) {
- // console.log(list);
- },
- // 表格样式设置
- rowbg(row) {
- if (row.rowIndex % 2 != 0) {
- return { background: "rgba(245, 248, 252, 1)", "border-radius": "5px" };
- }
- }
- }
- };
- </script>
- <style lang="scss" scoped>
- .inform {
- display: flex;
- justify-content: center;
- align-items: center;
- height: 100%;
- }
- .inform /deep/ .el-card {
- width: 97.5%;
- height: 95%;
- box-shadow: 0px 3px 21px 0px rgba(60, 108, 254, 0.16) !important;
- border-radius: 8px;
- .el-card__header {
- border-bottom: none;
- }
- .clearfix {
- height: 66px;
- box-sizing: border-box;
- display: flex;
- margin: 0 36px;
- border-block: 1px solid rgba(230, 230, 230, 1);
- border-top: none;
- justify-content: space-between;
- align-items: center;
- .inform-title {
- width: 96px;
- height: 36px;
- color: rgba(0, 0, 0, 1);
- font-size: 24px;
- font-weight: 600;
- }
- .inform-header {
- display: flex;
- margin-right: 29px;
- .el-button {
- margin-left: 9px;
- background-color: rgba(41, 109, 227, 1);
- }
- }
- }
- .carNum {
- display: flex;
- margin: 0 36px;
- padding: 31px 0 22px 0;
- border-bottom: 1px dashed rgba(217, 217, 217, 1);
- flex-wrap: wrap;
- .carType {
- width: 288px;
- height: 84px;
- background: #f4f6fa;
- border-radius: 10px;
- margin: 0 25px 15px 0;
- display: flex;
- align-items: center;
- justify-content: center;
- &:nth-of-type(5n) {
- margin: 0 0 15px 0;
- }
- .type {
- height: 24px;
- border-right: 2px solid rgba(186, 186, 186, 1);
- padding: 0 22px 0 0;
- font-size: 18px;
- font-family: Microsoft YaHei-3970(82674968);
- font-weight: 400;
- color: #292b34;
- }
- .num {
- width: 60px;
- height: 29px;
- font-size: 34px;
- font-family: Microsoft YaHei-3970(82674968);
- font-weight: 600;
- color: #292b34;
- margin: 0 5px 0 29px;
- transform: translateY(-7px);
- }
- }
- }
- .inform-body {
- margin: 0 36px;
- .order-top {
- display: flex;
- align-items: center;
- justify-content: space-between;
- padding: 15px 0 15px 0;
- font-size: 16px;
- font-weight: 400;
- color: #000;
- .el-button {
- background-color: rgba(41, 109, 227, 1);
- color: #fff;
- margin-left: 9px;
- }
- .paydate {
- margin: 0 51px 0 0;
- .el-date-editor {
- margin-left: 7px;
- width: 373px;
- .el-range__icon {
- display: block;
- }
- }
- }
- .state {
- margin-left: 51px;
- .el-input {
- width: 150px;
- }
- }
- .export {
- width: 94px;
- height: 42px;
- color: #fff;
- text-align: center;
- line-height: 42px;
- background: rgba(65, 106, 165, 1);
- cursor: pointer;
- border-radius: 5px;
- }
- .addblock {
- .addcar {
- background: rgba(43, 76, 254, 1);
- margin-right: 15px;
- }
- .el-dialog__wrapper {
- overflow: hidden;
- .el-dialog {
- width: 600px !important;
- height: 497px;
- background: #ffffff;
- box-shadow: 0px 0px 13px 0px rgba(0, 0, 0, 0.29);
- border-radius: 10px;
- margin-top: 230px !important;
- .el-dialog__header {
- height: 60px;
- padding: 0;
- border-top-left-radius: 10px;
- border-top-right-radius: 10px;
- border-bottom: 1px solid rgba(230, 230, 230, 1);
- background-color: rgba(230, 235, 254, 1);
- span {
- float: left;
- font-size: 20px;
- font-weight: 500;
- color: #000;
- line-height: 60px;
- margin-left: 30px;
- }
- .el-dialog__close {
- width: 35px;
- height: 35px;
- &::before {
- font-size: 24px;
- color: #000;
- }
- }
- }
- .el-dialog__body {
- padding: 0;
- display: flex;
- flex-direction: column;
- align-items: center;
- margin-top: 40px;
- .affiche-centent {
- .title {
- font-size: 18px;
- font-family: Microsoft YaHei-3970(82674968);
- font-weight: 400;
- color: #53575a;
- margin-bottom: 8px;
- }
- .content {
- .el-textarea {
- width: 437px;
- height: 188px;
- border-radius: 6px;
- .el-textarea__inner {
- width: 437px;
- height: 188px;
- font-size: 17px;
- }
- .el-input__count {
- font-size: 17px;
- }
- }
- }
- }
- // 输入框
- .btn {
- margin-top: 36px;
- .el-button--default {
- background-color: #fff;
- border: 1px solid rgba(43, 76, 254, 1);
- color: rgba(43, 76, 254, 1);
- margin: 15px 36px 0 191px;
- }
- .el-button--primary {
- background-color: rgba(43, 76, 254, 1);
- }
- .el-input {
- width: 222px;
- }
- .el-input__inner {
- width: 222px;
- height: 47px;
- border-radius: 6px;
- }
- }
- .userinfo {
- font-size: 20px;
- font-weight: 500;
- color: rgba(0, 0, 0, 1);
- text-align: left;
- margin-top: 15px;
- }
- .info {
- display: flex;
- .user {
- .name {
- text-align: left;
- }
- .el-input {
- width: 283px;
- height: 38px;
- opacity: 1;
- margin-right: 81px;
- .el-input__inner {
- color: #000;
- }
- }
- }
- }
- .rate {
- font-size: 20px;
- font-weight: 500;
- color: rgba(0, 0, 0, 1);
- text-align: left;
- margin: 15px 0;
- }
- .water {
- text-align: left;
- font-size: 16px;
- font-weight: 400;
- color: rgba(0, 0, 0, 1);
- }
- .el-table {
- margin: 10px 0;
- tr {
- height: 48px;
- }
- .el-table__body-wrapper {
- overflow: visible;
- }
- }
- }
- }
- }
- }
- }
- .inform-table {
- .execlTable,
- .selectTable {
- display: none;
- }
- .el-table {
- font-weight: 400;
- font-size: 16px;
- color: rgba(0, 0, 0, 1);
- margin: 0 auto;
- .el-table__header-wrapper {
- border-radius: 5px;
- .el-table__header {
- width: 100% !important;
- }
- .el-checkbox.is-checked {
- .el-checkbox__inner {
- background-color: rgba(41, 109, 227, 1);
- }
- }
- .el-checkbox__input.is-checked,
- .el-checkbox__input.is-indeterminate {
- .el-checkbox__inner {
- background-color: rgba(41, 109, 227, 1);
- }
- }
- }
- .el-table__body-wrapper {
- .el-table__body {
- width: 100% !important;
- .el-table__row {
- .el-table_1_column_7 {
- .cell {
- .operate {
- .el-dialog {
- width: 600px !important;
- height: 497px;
- background: #ffffff;
- box-shadow: 0px 0px 13px 0px rgba(0, 0, 0, 0.29);
- border-radius: 10px;
- .el-dialog__header {
- height: 60px;
- padding: 0;
- border-top-left-radius: 10px;
- border-top-right-radius: 10px;
- border-bottom: 1px solid rgba(230, 230, 230, 1);
- background-color: rgba(230, 235, 254, 1);
- span {
- float: left;
- font-size: 20px;
- font-weight: 500;
- color: #000;
- line-height: 60px;
- margin-left: 30px;
- }
- .el-dialog__close {
- width: 35px;
- height: 35px;
- &::before {
- font-size: 24px;
- color: #000;
- }
- }
- }
- .el-dialog__body {
- padding: 0;
- .el-form {
- margin: 39px 0 0 81px;
- .el-form-item {
- // 文字
- .el-form-item__label {
- height: 47px;
- font-size: 18px;
- line-height: 47px;
- font-family: Microsoft YaHei-3970(82674968);
- font-weight: 400;
- color: #53575a;
- }
- // 输入框
- .el-form-item__content {
- .el-button--default {
- background-color: #fff;
- border: 1px solid rgba(43, 76, 254, 1);
- color: rgba(43, 76, 254, 1);
- margin: 15px 36px 0 34px;
- }
- .el-button--primary {
- background-color: rgba(43, 76, 254, 1);
- }
- .el-input {
- width: 222px;
- }
- .el-input__inner {
- width: 222px;
- height: 47px;
- border-radius: 6px;
- }
- }
- }
- }
- .userinfo {
- font-size: 20px;
- font-weight: 500;
- color: rgba(0, 0, 0, 1);
- text-align: left;
- margin-top: 15px;
- }
- .info {
- display: flex;
- .user {
- .name {
- text-align: left;
- }
- .el-input {
- width: 283px;
- height: 38px;
- opacity: 1;
- margin-right: 81px;
- .el-input__inner {
- color: #000;
- }
- }
- }
- }
- .rate {
- font-size: 20px;
- font-weight: 500;
- color: rgba(0, 0, 0, 1);
- text-align: left;
- margin: 15px 0;
- }
- .water {
- text-align: left;
- font-size: 16px;
- font-weight: 400;
- color: rgba(0, 0, 0, 1);
- }
- .el-table {
- margin: 10px 0;
- tr {
- height: 48px;
- }
- .el-table__body-wrapper {
- overflow: visible;
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- tr {
- height: 55px;
- td {
- padding: 0;
- .cell {
- .lookIcon {
- display: flex;
- align-items: center;
- justify-content: center;
- img {
- display: inline-block;
- cursor: pointer;
- width: 39px;
- height: 39px;
- }
- }
- .el-checkbox.is-checked {
- .el-checkbox__inner {
- background-color: rgba(41, 109, 227, 1);
- }
- }
- .is-indeterminate {
- .el-checkbox__inner {
- background-color: rgba(41, 109, 227, 1);
- }
- }
- .operate {
- display: inline-block;
- color: rgba(84, 136, 254, 1);
- cursor: pointer;
- font-size: 16px;
- font-weight: 400;
- width: 60px;
- height: 30px;
- line-height: 32px;
- border: 1px solid rgba(84, 136, 254, 1);
- border-radius: 15px;
- }
- .el-dialog__wrapper {
- overflow: hidden;
- .el-dialog {
- width: 600px !important;
- height: 497px;
- background: #ffffff;
- box-shadow: 0px 0px 13px 0px rgba(0, 0, 0, 0.29);
- border-radius: 10px;
- .el-dialog__header {
- height: 83px;
- border-bottom: 1px solid rgba(230, 230, 230, 1);
- span {
- float: left;
- font-size: 20px;
- font-weight: 500;
- color: #000;
- }
- .el-dialog__close {
- width: 35px;
- height: 35px;
- &::before {
- font-size: 24px;
- color: #000;
- }
- }
- }
- .el-dialog__body {
- padding: 0 38px;
- .userinfo {
- font-size: 20px;
- font-weight: 500;
- color: rgba(0, 0, 0, 1);
- text-align: left;
- margin-top: 15px;
- }
- .info {
- display: flex;
- .user {
- .name {
- text-align: left;
- }
- .el-input {
- width: 283px;
- height: 38px;
- opacity: 1;
- margin-right: 81px;
- .el-input__inner {
- color: #000;
- }
- }
- }
- }
- .rate {
- font-size: 20px;
- font-weight: 500;
- color: rgba(0, 0, 0, 1);
- text-align: left;
- margin: 15px 0;
- }
- .water {
- text-align: left;
- font-size: 16px;
- font-weight: 400;
- color: rgba(0, 0, 0, 1);
- }
- .el-table {
- margin: 10px 0;
- tr {
- height: 48px;
- }
- .el-table__body-wrapper {
- overflow: visible;
- }
- }
- }
- }
- }
- .el-dialog__title {
- color: rgba(41, 109, 227, 1);
- cursor: pointer;
- padding: 10px 18px 0 18px;
- }
- }
- }
- .el-checkbox__inner {
- width: 18px;
- height: 18px;
- &::after {
- transform: rotate(45deg) scaleY(1.5);
- top: 3px;
- left: 5px;
- }
- }
- }
- th {
- font-weight: 400;
- }
- }
- }
- .block {
- height: 36px;
- margin: 40px 0 0 0;
- float: right;
- .el-pagination {
- padding: 0;
- .el-pagination__total {
- font-size: 18px;
- line-height: 36px;
- }
- button {
- width: 36px;
- background: #fff;
- color: rgba(0, 0, 0, 1);
- height: 36px;
- font-size: 14px;
- border: 1px solid rgba(112, 112, 112, 1);
- border-radius: 8px;
- }
- ul {
- .active {
- background: #fff;
- color: rgba(0, 97, 255, 1);
- border: 1px solid rgba(0, 97, 255, 1);
- box-sizing: border-box;
- }
- .el-icon {
- border: none;
- }
- li {
- background: #fff;
- color: rgba(0, 0, 0, 1);
- width: 36px;
- height: 36px;
- font-size: 14px;
- border: 1px solid rgba(112, 112, 112, 1);
- border-radius: 8px;
- line-height: 36px;
- margin-left: 8px;
- }
- }
- .btn-next {
- margin-left: 8px;
- }
- .el-pagination__jump {
- color: rgba(0, 0, 0, 1);
- font-size: 16px;
- margin-left: 10px;
- font-weight: 400;
- height: 36px;
- .el-input {
- width: 65px;
- height: 36px;
- margin: 0 10px;
- input {
- width: 65px;
- height: 36px;
- border: 1px solid rgba(0, 0, 0, 1);
- border-radius: 8px;
- }
- }
- }
- }
- }
- }
- }
- .box-card {
- /deep/ .el-card__header {
- padding: 0;
- }
- /deep/ .el-card__body {
- padding: 0;
- }
- }
- </style>
- <style lang="scss">
- .el-message-box__wrapper {
- .el-button--primary {
- background-color: #296de3;
- }
- }
- </style>
|