| | |
| | | <el-divider /> |
| | | <div class="inquire"> |
| | | <el-form ref="queryForm" :model="queryForm" :inline="true"> |
| | | <el-form-item label="关键字" prop="name"> |
| | | <el-form-item :label="$t('dataManage.vmobj.keyword')" prop="name"> |
| | | <el-input |
| | | v-model="queryForm.name" |
| | | :placeholder="$t('common.pleaseInput')" |
| | |
| | | <el-button |
| | | @click="queryInfo()" |
| | | icon="el-icon-search" |
| | | type="primary" |
| | | class="primary" |
| | | size="small" |
| | | >查询</el-button |
| | | >{{ $t('common.iquery') }}</el-button |
| | | > |
| | | </el-form-item> |
| | | <el-form-item> |
| | |
| | | icon="el-icon-refresh" |
| | | type="info" |
| | | size="small" |
| | | >重置</el-button |
| | | >{{ $t('common.reset') }}</el-button |
| | | > |
| | | </el-form-item> |
| | | |
| | |
| | | size="small" |
| | | @click="showAddDialog" |
| | | icon="el-icon-plus" |
| | | >{{ $t("common.append") }}</el-button |
| | | >{{ $t('common.append') }}</el-button |
| | | > |
| | | </el-form-item> |
| | | <el-form-item v-if="btnStatus.delete"> |
| | |
| | | size="small" |
| | | @click="deleteMetaInfo" |
| | | icon="el-icon-delete" |
| | | >{{ $t("common.delete") }}</el-button |
| | | >{{ $t('common.delete') }}</el-button |
| | | > |
| | | </el-form-item> |
| | | <el-form-item v-if="btnStatus.download"> |
| | |
| | | icon="el-icon-download" |
| | | type="success" |
| | | size="small" |
| | | >下载</el-button |
| | | >{{ $t('common.download') }}</el-button |
| | | > |
| | | </el-form-item> |
| | | </el-form> |
| | |
| | | <div class="table_box"> |
| | | <el-table |
| | | :data="tableData" |
| | | border |
| | | style="width: 100%" |
| | | fit |
| | | @selection-change="handleSelectionChange" |
| | | height="99%" |
| | | > |
| | | <el-table-column type="selection" width="55" /> |
| | | <el-table-column min-width="150" prop="name" label="名称" /> |
| | | <el-table-column min-width="100" prop="format" label="格式" /> |
| | | <el-table-column min-width="100" prop="sizes" label="大小" /> |
| | | <el-table-column prop="name" :label="$t('common.name')" /> |
| | | <el-table-column prop="format" :label="$t('common.format')" /> |
| | | <el-table-column prop="sizes" :label="$t('common.size')" /> |
| | | <el-table-column |
| | | min-width="100" |
| | | prop="createUser" |
| | | label="创建人员" |
| | | :label="$t('dataManage.vmobj.createonuser')" |
| | | /> |
| | | <el-table-column |
| | | min-width="100" |
| | | prop="createTime" |
| | | label="创建时间" |
| | | :label="$t('dataManage.vmobj.createontime')" |
| | | /> |
| | | <el-table-column min-width="100" prop="cs" label="坐标系统" /> |
| | | <el-table-column min-width="100" prop="scale" label="比例尺" /> |
| | | <el-table-column min-width="100" prop="resolution" label="分辨率" /> |
| | | <el-table-column |
| | | prop="cs" |
| | | :label="$t('dataManage.vmobj.coordSystem')" |
| | | /> |
| | | <el-table-column |
| | | prop="scale" |
| | | :label="$t('dataManage.vmobj.scale')" |
| | | /> |
| | | <el-table-column |
| | | prop="resolution" |
| | | :label="$t('dataManage.vmobj.resolpower')" |
| | | /> |
| | | |
| | | <el-table-column min-width="100" prop="descr" label="描述" /> |
| | | <el-table-column min-width="100" label="操作"> |
| | | <el-table-column |
| | | prop="descr" |
| | | :label="$t('dataManage.vmobj.describe')" |
| | | /> |
| | | <el-table-column min-width="100" :label="$t('common.operate')"> |
| | | <template slot-scope="scope"> |
| | | <el-link @click="showDetail(scope.row)">查看</el-link> |
| | | <el-link @click="editInfo(scope.row)" style="margin-left: 10px" |
| | | >修改</el-link |
| | | <el-link style="color: white" @click="showDetail(scope.row)">{{ |
| | | $t('common.details') |
| | | }}</el-link> |
| | | <el-link |
| | | @click="editInfo(scope.row)" |
| | | style="margin-left: 10px; color: white" |
| | | >{{ $t('common.edit') }}</el-link |
| | | > |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | </div> |
| | | <div |
| | | style="margin-top: 20px; margin-left: 400px" |
| | | class="pagination_box" |
| | | > |
| | | <div style="margin-top: 10px" class="pagination_box"> |
| | | <el-pagination |
| | | @size-change="handleSizeChange" |
| | | @current-change="handleCurrentChange" |
| | |
| | | <div class="infoBox" v-show="showinfoBox"> |
| | | <el-card class="box-card"> |
| | | <div slot="header" class="clearfix"> |
| | | <span>详细信息</span> |
| | | <span>{{ $t('common.details') }}</span> |
| | | <div style="float: right; cursor: pointer" @click="closeDetial"> |
| | | <i class="el-icon-close"></i> |
| | | </div> |
| | | </div> |
| | | <div class="contentBox"> |
| | | <p>数据名称:{{ itemdetail.name }}</p> |
| | | <p>{{ $t('dataManage.vmobj.name') }}:{{ itemdetail.name }}</p> |
| | | <el-divider></el-divider> |
| | | <p>数据类型:{{ itemdetail.type }}</p> |
| | | <p>{{ $t('dataManage.vmobj.type') }}:{{ itemdetail.type }}</p> |
| | | <el-divider></el-divider> |
| | | <p>数据格式:{{ itemdetail.format }}</p> |
| | | <p>{{ $t('common.format') }}:{{ itemdetail.format }}</p> |
| | | <el-divider></el-divider> |
| | | <p>创建时间:{{ itemdetail.createTime }}</p> |
| | | <p> |
| | | {{ $t('dataManage.vmobj.createontime') }}:{{ |
| | | itemdetail.createTime |
| | | }} |
| | | </p> |
| | | <el-divider></el-divider> |
| | | <p>创建人员:{{ itemdetail.createUser }}</p> |
| | | <p> |
| | | {{ $t('dataManage.vmobj.createonuser') }}:{{ |
| | | itemdetail.createUser |
| | | }} |
| | | </p> |
| | | <el-divider></el-divider> |
| | | <p>更新时间:{{ itemdetail.updateTime }}</p> |
| | | <p> |
| | | {{ $t('dataManage.vmobj.updateontime') }}:{{ |
| | | itemdetail.updateTime |
| | | }} |
| | | </p> |
| | | <el-divider></el-divider> |
| | | <p>更新人员:{{ itemdetail.updateUser }}</p> |
| | | <p> |
| | | {{ $t('dataManage.vmobj.updateonuser') }}:{{ |
| | | itemdetail.updateUser |
| | | }} |
| | | </p> |
| | | <el-divider></el-divider> |
| | | <p>坐标系统:{{ itemdetail.cs }}</p> |
| | | <p>{{ $t('dataManage.vmobj.coordSystem') }}:{{ itemdetail.cs }}</p> |
| | | <el-divider></el-divider> |
| | | <p>比例尺{{ itemdetail.scale }}</p> |
| | | <p>{{ $t('dataManage.vmobj.scale') }}:{{ itemdetail.scale }}</p> |
| | | <el-divider></el-divider> |
| | | <p>分辨率{{ itemdetail.resolution }}</p> |
| | | <p> |
| | | {{ $t('dataManage.vmobj.resolpower') }}:{{ itemdetail.resolution }} |
| | | </p> |
| | | <el-divider></el-divider> |
| | | <p>描述:{{ itemdetail.descr }}</p> |
| | | <p>{{ $t('dataManage.vmobj.describe') }}:{{ itemdetail.descr }}</p> |
| | | </div> |
| | | </el-card> |
| | | </div> |
| | | <el-dialog |
| | | width="510px" |
| | | top="5vh" |
| | | :title="behavior" |
| | | :title=" |
| | | behavior == '新增用户' |
| | | ? `${$t('common.append')}` |
| | | : `${$t('common.update')}` |
| | | " |
| | | :visible.sync="dialogFormVisible" |
| | | :before-close="handleClose" |
| | | > |
| | | <el-form :model="editForm" ref="editForm"> |
| | | <el-form-item label="数据名称" :label-width="formLabelWidth"> |
| | | <el-form-item |
| | | :label="$t('dataManage.vmobj.name')" |
| | | :label-width="formLabelWidth" |
| | | > |
| | | <el-input v-model="editForm.name" autocomplete="off"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="数据类型" :label-width="formLabelWidth"> |
| | | <el-form-item |
| | | :label="$t('dataManage.vmobj.type')" |
| | | :label-width="formLabelWidth" |
| | | > |
| | | <el-input v-model="editForm.type" autocomplete="off"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="数据格式" :label-width="formLabelWidth"> |
| | | <el-form-item |
| | | :label="$t('common.format')" |
| | | :label-width="formLabelWidth" |
| | | > |
| | | <el-input v-model="editForm.format" autocomplete="off"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="坐标系统" :label-width="formLabelWidth"> |
| | | <el-form-item |
| | | :label="$t('dataManage.vmobj.coordSystem')" |
| | | :label-width="formLabelWidth" |
| | | > |
| | | <el-input v-model="editForm.cs" autocomplete="off"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="比例尺" :label-width="formLabelWidth"> |
| | | <el-form-item |
| | | :label="$t('dataManage.vmobj.scale')" |
| | | :label-width="formLabelWidth" |
| | | > |
| | | <el-input v-model="editForm.scale" autocomplete="off"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="分辨率" :label-width="formLabelWidth"> |
| | | <el-form-item |
| | | :label="$t('dataManage.vmobj.resolpower')" |
| | | :label-width="formLabelWidth" |
| | | > |
| | | <el-input v-model="editForm.resolution" autocomplete="off"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="描述" :label-width="formLabelWidth"> |
| | | <el-form-item |
| | | :label="$t('dataManage.vmobj.describe')" |
| | | :label-width="formLabelWidth" |
| | | > |
| | | <el-input v-model="editForm.descr" autocomplete="off"></el-input> |
| | | </el-form-item> |
| | | </el-form> |
| | |
| | | updateMeta, |
| | | deleteMeta, |
| | | insertMeta, |
| | | } from "../../api/api"; |
| | | import MyBread from "../../components/MyBread.vue"; |
| | | } from '../../api/api'; |
| | | import MyBread from '../../components/MyBread.vue'; |
| | | export default { |
| | | name: "metadataManage", |
| | | name: 'metadataManage', |
| | | components: { MyBread }, |
| | | data() { |
| | | var repasswordValidator = (rule, value, callback) => { |
| | | if (value === "") { |
| | | callback(new Error("请再次输入密码")); |
| | | if (value === '') { |
| | | callback(new Error('请再次输入密码')); |
| | | } else if (value !== this.codeForm.password) { |
| | | callback(new Error("两次输入密码不一致!")); |
| | | callback(new Error('两次输入密码不一致!')); |
| | | } else { |
| | | callback(); |
| | | } |
| | |
| | | showCodeBox: false, |
| | | value: true, |
| | | multipleSelection: [], |
| | | formLabelWidth: "120px", |
| | | formLabelWidth: '120px', |
| | | dialogFormVisible: false, |
| | | editForm: {}, |
| | | showinfoBox: false, |
| | | fullscreenLoading: false, |
| | | itemdetail: {}, |
| | | queryForm: { |
| | | name: "", |
| | | name: '', |
| | | }, |
| | | behavior: "", |
| | | initialForm: "", |
| | | behavior: '', |
| | | initialForm: '', |
| | | codeForm: { |
| | | password: "", |
| | | repassword: "", |
| | | password: '', |
| | | repassword: '', |
| | | }, |
| | | rules: { |
| | | password: [{ required: true, message: "请输入密码", trigger: "blur" }], |
| | | password: [{ required: true, message: '请输入密码', trigger: 'blur' }], |
| | | repassword: [ |
| | | { required: true, message: "请输入确认密码", trigger: "blur" }, |
| | | { validator: repasswordValidator, trigger: "blur" }, |
| | | { required: true, message: '请输入确认密码', trigger: 'blur' }, |
| | | { validator: repasswordValidator, trigger: 'blur' }, |
| | | ], |
| | | }, |
| | | tableData: [], |
| | |
| | | }, |
| | | ShowWindowFly(res) { |
| | | console.log(res); |
| | | if (res == "") return; |
| | | if (res.indexOf(".xls") != -1) { |
| | | if (res == '') return; |
| | | if (res.indexOf('.xls') != -1) { |
| | | this.showMetadata(res, true); |
| | | } else if (res.indexOf(".doc") != -1) { |
| | | } else if (res.indexOf('.doc') != -1) { |
| | | this.showMetadata(res, true); |
| | | } else if (res.indexOf(".png") != -1) { |
| | | } else if (res.indexOf('.png') != -1) { |
| | | this.showMetadata(res, true); |
| | | } else if (res.indexOf(".jpg") != -1) { |
| | | } else if (res.indexOf('.jpg') != -1) { |
| | | this.showMetadata(res, true); |
| | | } else if (res.indexOf(".pdf") != -1) { |
| | | } else if (res.indexOf('.pdf') != -1) { |
| | | this.showMetadata(res, true); |
| | | } else if (res.indexOf(".fly") != -1) { |
| | | } else if (res.indexOf('.fly') != -1) { |
| | | this.showMetadata(res, false); |
| | | } else if (res.indexOf(".mpt") != -1) { |
| | | } else if (res.indexOf('.mpt') != -1) { |
| | | this.showMetadata(res, false); |
| | | } |
| | | }, |
| | |
| | | if (flag == true) { |
| | | metaUrl = res; |
| | | } else if (flag == false) { |
| | | metaUrl = ifreamUrl + "/LFWeb/MetaPop.html?name=" + res; |
| | | metaUrl = ifreamUrl + '/LFWeb/MetaPop.html?name=' + res; |
| | | } |
| | | window.open( |
| | | metaUrl, |
| | | "", |
| | | "height=800, width=1500, top=150, left=350, toolbar=no, menubar=no, scrollbars=no, resizable=no, location=no, status=no" |
| | | '', |
| | | 'height=800, width=1500, top=150, left=350, toolbar=no, menubar=no, scrollbars=no, resizable=no, location=no, status=no' |
| | | ); |
| | | }, |
| | | // 请求数据内容 |
| | |
| | | this.tableData = res.result; |
| | | this.count = res.count; |
| | | } else { |
| | | console.log("查询接口报错"); |
| | | console.log('查询接口报错'); |
| | | this.$notify.error({ |
| | | title: res.code, |
| | | message: res.result, |
| | |
| | | }, |
| | | //新增按钮 |
| | | showAddDialog() { |
| | | this.behavior = "新增用户"; |
| | | this.behavior = '新增用户'; |
| | | this.editForm = {}; |
| | | this.dialogFormVisible = true; |
| | | }, |
| | |
| | | if (res.code == 200) { |
| | | this.getMetaData({ pageIndex: 1, pageSize: 10 }); |
| | | this.$message({ |
| | | message: "添加成功", |
| | | type: "success", |
| | | message: '添加成功', |
| | | type: 'success', |
| | | }); |
| | | this.editForm = {}; |
| | | this.dialogFormVisible = false; |
| | |
| | | }, 500); |
| | | }) |
| | | .catch((res) => { |
| | | alert("修改失败,请重试!"); |
| | | alert('修改失败,请重试!'); |
| | | this.fullscreenLoading = false; |
| | | }); |
| | | } else { |
| | | console.log("error submit!!"); |
| | | console.log('error submit!!'); |
| | | return false; |
| | | } |
| | | }); |
| | |
| | | }, |
| | | // 删除多条 |
| | | deleteMetaInfo() { |
| | | this.$confirm("确定是否删除所选内容?", "提示", { |
| | | confirmButtonText: "确定", |
| | | cancelButtonText: "取消", |
| | | type: "warning", |
| | | this.$confirm('确定是否删除所选内容?', '提示', { |
| | | confirmButtonText: '确定', |
| | | cancelButtonText: '取消', |
| | | type: 'warning', |
| | | }) |
| | | .then(() => { |
| | | var std = []; |
| | |
| | | deleteMeta({ ids: std.toString() }).then((res) => { |
| | | if (res.code == 200) { |
| | | this.$message({ |
| | | type: "success", |
| | | message: "删除成功!", |
| | | type: 'success', |
| | | message: '删除成功!', |
| | | }); |
| | | this.multipleSelection = []; |
| | | this.getMetaData({ pageIndex: 1, pageSize: 10 }); |
| | | } else { |
| | | this.$message.error("删除失败"); |
| | | this.$message.error('删除失败'); |
| | | this.multipleSelection = []; |
| | | } |
| | | }); |
| | | }) |
| | | .catch(() => { |
| | | this.$message("已取消删除"); |
| | | this.$message('已取消删除'); |
| | | }); |
| | | }, |
| | | |
| | |
| | | delete row.updateUser; |
| | | delete row.updateUser; |
| | | this.initialForm = JSON.stringify(row); //备份 |
| | | this.behavior = "修改信息"; |
| | | this.behavior = '修改信息'; |
| | | this.editForm = JSON.parse(JSON.stringify(row)); |
| | | this.dialogFormVisible = true; |
| | | }, |
| | | handleClose(done) { |
| | | this.$confirm("确认关闭?") |
| | | this.$confirm('确认关闭?') |
| | | .then((_) => { |
| | | this.editForm = {}; |
| | | done(); |
| | |
| | | |
| | | // 提交修改 |
| | | sendEdit() { |
| | | this.$confirm("是否确定编辑?", "提示", { |
| | | confirmButtonText: "确定", |
| | | cancelButtonText: "取消", |
| | | type: "warning", |
| | | this.$confirm('是否确定编辑?', '提示', { |
| | | confirmButtonText: '确定', |
| | | cancelButtonText: '取消', |
| | | type: 'warning', |
| | | }) |
| | | .then(() => { |
| | | this.dialogFormVisible = false; |
| | |
| | | if (res.code == 200) { |
| | | this.getMetaData({ pageIndex: 1, pageSize: 10 }); |
| | | this.$message({ |
| | | message: "修改成功", |
| | | type: "success", |
| | | message: '修改成功', |
| | | type: 'success', |
| | | }); |
| | | this.editForm = {}; |
| | | this.dialogFormVisible = false; |
| | |
| | | }); |
| | | }) |
| | | .catch(() => { |
| | | alert("修改失败,请重试!"); |
| | | alert('修改失败,请重试!'); |
| | | this.fullscreenLoading = false; |
| | | }); |
| | | }, |
| | |
| | | download() {}, |
| | | closeDown() { |
| | | this.showCodeBox = false; |
| | | this.codeForm.password = ""; |
| | | this.codeForm.repassword = ""; |
| | | this.codeForm.password = ''; |
| | | this.codeForm.repassword = ''; |
| | | }, |
| | | downFormData() { |
| | | if (this.multipleSelection.length == 0) { |
| | | alert("请先选择要下载的文件"); |
| | | alert('请先选择要下载的文件'); |
| | | return; |
| | | } |
| | | this.showCodeBox = true; |
| | | // this.$prompt("请输入密码", "提示", { |
| | | // confirmButtonText: "确定", |
| | | // cancelButtonText: "取消", |
| | | // inputType: "password", |
| | | // inputPattern: /^[\s\S]*.*[^\s][\s\S]*$/, |
| | | // inputErrorMessage: "输入不能为空", |
| | | // }) |
| | | // .then(() => { |
| | | // let ids = ""; |
| | | // this.multipleSelection.forEach((e) => { |
| | | // ids += `id=${e.id}&`; |
| | | // }); |
| | | // let res = ids.substring(0, ids.length - 1); |
| | | // console.log(res); |
| | | // let url = "http://192.168.20.106/LFServer/Meta/Downloads?" + res; |
| | | // window.open(url); |
| | | // }) |
| | | // .catch(() => {}); |
| | | }, |
| | | |
| | | handleSizeChange(val) { |
| | |
| | | <style lang="less" scoped> |
| | | //@import url(); 引入公共css类 |
| | | .authorityManagement_box { |
| | | background: rgb(240, 242, 245); |
| | | border-radius: 10px; |
| | | height: 100%; |
| | | padding: 10px; |
| | | height: 81%; |
| | | width: 97%; |
| | | position: absolute; |
| | | box-sizing: border-box; |
| | | |
| | | .inquire { |
| | | position: relative; |
| | | height: 50px; |
| | | overflow: auto; |
| | | padding: 8px; |
| | | margin-top: 20px; |
| | | background: #fff; |
| | | padding-bottom: 8px; |
| | | border: 1px solid white; |
| | | border-radius: 5px; |
| | | border: 1px solid rgb(202, 201, 204); |
| | | margin-bottom: 20px; |
| | | padding: 1%; |
| | | .el-form-item { |
| | | margin: 5px; |
| | | } |
| | | } |
| | | .bottom { |
| | | width: 100%; |
| | | height: 83%; |
| | | width: 98%; |
| | | margin-top: 1%; |
| | | height: 77%; |
| | | padding: 1%; |
| | | border: 1px solid white; |
| | | border-radius: 5px; |
| | | .rightTable { |
| | | height: 100%; |
| | | width: 100%; |
| | |
| | | height: 93%; |
| | | margin: 0 auto; |
| | | overflow: auto; |
| | | background: #fff; |
| | | .el-table { |
| | | height: 100%; |
| | | // overflow: auto; |
| | | } |
| | | .el-table /deep/ .el-table__header-wrapper tr th { |
| | | background-color: rgb(255, 255, 255) !important; |
| | | color: rgb(0, 0, 0); |
| | | } |
| | | // 修改每行样式: |
| | | .el-table /deep/ .el-table__row { |
| | | background-color: rgba(255, 255, 255) !important; |
| | | color: rgb(0, 0, 0); |
| | | } |
| | | .el-table /deep/ .el-table__body tr.current-row > td { |
| | | background-color: rgb(211, 211, 211) !important; |
| | | } |
| | | .el-table /deep/ .el-table__body tr:hover > td { |
| | | background-color: rgb(211, 211, 211) !important; |
| | | } |
| | | // 修改表格每行边框的样式: |
| | | .el-table /deep/ td, |
| | | .el-table /deep/ th.is-leaf { |
| | | border-bottom: 1px solid #eee; |
| | | border-right: 1px solid #eee; |
| | | } |
| | | .el-table /deep/ .el-table__cell { |
| | | padding: 0; |
| | | } |
| | | // 设置表格每行的高度: |
| | | .el-table /deep/ .el-table__header tr, |
| | | .el-table /deep/ .el-table__header th { |
| | | height: 40px; |
| | | } |
| | | .el-table__body tr, |
| | | .el-table__body td { |
| | | height: 40px; |
| | | padding: 0; |
| | | } |
| | | // 设置表格边框颜色: |
| | | |
| | | .el-table--border::after, |
| | | .el-table--group::after { |
| | | width: 0; |
| | | } |
| | | .el-table::before { |
| | | height: 0; |
| | | } |
| | | // a { |
| | | // color: #000; |
| | | // } |
| | | } |
| | | } |
| | | } |
| | | .infoBox { |
| | | width: 500px; |
| | | border: 1px solid #eee; |
| | | position: absolute; |
| | | z-index: 100; |
| | | top: 15%; |
| | | top: 10%; |
| | | right: 25%; |
| | | background-color: #fff; |
| | | background: #303030; |
| | | color: #fff; |
| | | .el-card { |
| | | background-color: transparent; |
| | | color: #fff; |
| | | span { |
| | | color: #fff; |
| | | font-size: 16px; |
| | | font-weight: 600; |
| | | } |
| | | } |
| | | .contentBox { |
| | | margin: 0 aotu 10px; |
| | | height: 600px; |
| | | height: 500px; |
| | | overflow: auto; |
| | | p { |
| | | // background-color: #bfa; |
| | |
| | | } |
| | | } |
| | | } |
| | | /deep/ .el-dialog { |
| | | // width: 500px !important; |
| | | // margin-top: 10vh !important; |
| | | } |
| | | |
| | | /deep/.el-dialog .el-input__inner { |
| | | width: 300px; |
| | | } |
| | | /deep/ .el-dialog__body { |
| | | padding: 0px 30px; |
| | | } |
| | | /deep/ .el-dialog__footer { |
| | | padding-top: 0 !important; |
| | | width: 200px; |
| | | display: flex; |
| | | margin: 0 auto; |
| | | justify-content: center; |
| | | } |
| | | .dotClass { |
| | | width: 10px; |
| | | height: 10px; |
| | |
| | | top: 20%; |
| | | left: 50%; |
| | | padding: 20px; |
| | | background-color: #fff; |
| | | |
| | | width: 20%; |
| | | border: 1px solid #000; |
| | | border-radius: 10px; |
| | | } |
| | | /*修改table 表体的背景颜色和文字颜色*/ |
| | | /deep/ .el-table { |
| | | background-color: transparent; |
| | | |
| | | th, |
| | | td { |
| | | background-color: transparent; |
| | | } |
| | | .el-table__expanded-cell { |
| | | background-color: transparent !important; |
| | | } |
| | | |
| | | // 表头背景色 |
| | | th.el-table__cell { |
| | | background-color: #303030; |
| | | color: #fff; |
| | | } |
| | | tr > td { |
| | | background-color: #303030; |
| | | color: #fff; |
| | | } |
| | | |
| | | // hover效果 |
| | | tr:hover > td { |
| | | background-color: rgba(255, 255, 255, 0.3) !important; |
| | | } |
| | | |
| | | tbody tr:hover { |
| | | background-color: rgba(255, 255, 255, 0.3) !important; |
| | | // text-align: center; |
| | | } |
| | | |
| | | // 滚动条宽高 |
| | | .el-table__body-wrapper::-webkit-scrollbar { |
| | | width: 5px; |
| | | height: 5px; |
| | | } |
| | | |
| | | .el-table__body-wrapper::-webkit-scrollbar { |
| | | width: 5px; |
| | | /*滚动条宽度*/ |
| | | height: 5px; |
| | | /*滚动条高度*/ |
| | | } |
| | | /*定义滚动条轨道 内阴影+圆角*/ |
| | | .el-table__body-wrapper::-webkit-scrollbar-track { |
| | | box-shadow: 0px 1px 3px #216fe6 inset; |
| | | /*滚动条的背景区域的内阴影*/ |
| | | border-radius: 10px; |
| | | } |
| | | |
| | | /*定义滑块 内阴影+圆角*/ |
| | | .el-table__body-wrapper::-webkit-scrollbar-thumb { |
| | | box-shadow: 0px 1px 3px #216fe6 inset; |
| | | border-radius: 6px; |
| | | background-color: #216fe6; |
| | | } |
| | | } |
| | | /deep/.el-form-item__label { |
| | | color: white; |
| | | } |
| | | // 设置输入框的背景色、字体颜色、边框属性设置; |
| | | /deep/.el-input__inner { |
| | | background-color: transparent !important ; |
| | | color: #fff; |
| | | border: 1px solid; |
| | | } |
| | | /deep/ .el-dialog { |
| | | background: #303030; |
| | | } |
| | | /deep/.el-range-editor.is-active, |
| | | .el-range-editor.is-active:hover, |
| | | .el-select .el-input.is-focus .el-input__inner { |
| | | border: 1px solid; |
| | | } |
| | | /deep/.el-dialog__title { |
| | | color: white; |
| | | } |
| | | /deep/ .el-select .el-input__inner { |
| | | border-color: #fff !important; |
| | | } |
| | | .pagination_box { |
| | | margin-top: 20px; |
| | | /deep/.el-input__inner { |
| | | background-color: transparent !important; |
| | | border: 1px solid; |
| | | color: white; |
| | | } |
| | | /deep/.el-pagination__total { |
| | | color: white; |
| | | } |
| | | /deep/.el-pagination__jump { |
| | | color: white; |
| | | } |
| | | /deep/.el-pager li.active { |
| | | color: #409eff; |
| | | } |
| | | /deep/.el-pager li { |
| | | color: white; |
| | | background: transparent; |
| | | } |
| | | /deep/.el-pager li { |
| | | color: white; |
| | | } |
| | | /deep/.btn-prev { |
| | | background: transparent; |
| | | } |
| | | /deep/.btn-next { |
| | | background: transparent; |
| | | } |
| | | /deep/.btn-next i { |
| | | color: white; |
| | | } |
| | | /deep/.btn-prev i { |
| | | color: white; |
| | | } |
| | | } |
| | | .primary { |
| | | background: #409eff; |
| | | border: #409eff; |
| | | color: white; |
| | | } |
| | | } |
| | | </style> |