调整login

master
Fluyan 2 years ago
parent 53eecb8c88
commit 51b1fdeead

11451
package-lock.json generated

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 125 KiB

@ -1,6 +1,12 @@
<template> <template>
<div class="header"> <div class="header">
<div class="logo">可视化智能管控系统</div> <div class="logo">
<img
src="../../assets/img/logo.png"
alt="欣影"
width="110px"
/>
</div>
<v-sidebar></v-sidebar> <v-sidebar></v-sidebar>
<div class="header-right"> <div class="header-right">
<div class="header-user-con"> <div class="header-user-con">
@ -177,6 +183,13 @@ export default {
width: 250px; width: 250px;
line-height: 70px; line-height: 70px;
text-align: center; text-align: center;
display: flex;
align-items: center;
padding-left: 16px;
font-size: 20px;
img {
margin-right: 8px;
}
} }
.header-right { .header-right {
float: right; float: right;

@ -162,10 +162,10 @@ export default {
index: "lineInformation", index: "lineInformation",
title: "线路信息管理", title: "线路信息管理",
}, },
{ // {
index: "towerInformation", // index: "towerInformation",
title: "杆塔信息管理", // title: "",
}, // },
// { // {
// index: 'towerTeam', // index: 'towerTeam',
// title: '' // title: ''

@ -1,5 +1,6 @@
<template> <template>
<div class="login-wrap"> <div class="login-wrap">
<p class="blurBox"></p>
<div class="loginFilter"> <div class="loginFilter">
<div class="ms-login"> <div class="ms-login">
<div class="ms-title"> <div class="ms-title">
@ -37,6 +38,7 @@
</el-form> </el-form>
</div> </div>
</div> </div>
<p class="webInfo">© 2023 可视化智能管控系统.All right reserved.</p>
</div> </div>
</template> </template>
@ -91,46 +93,50 @@ export default {
position: relative; position: relative;
width: 100%; width: 100%;
height: 100%; height: 100%;
background: url(../assets/img/loginbg.jpeg) no-repeat center center; background: url(../assets/img/logo.jpg) no-repeat center center;
background-size: cover; background-size: cover;
backdrop-filter: blur(15px);
-webkit-backdrop-filter: blur(5px);
overflow: hidden; overflow: hidden;
.loginFilter { .blurBox {
height: 100%; position: absolute;
width: 100%; width: 100%;
filter: drop-shadow(0px 20px 10px rgba(0, 0, 0, 0.5)); height: 100%;
//background: #86b7ff;
-webkit-backdrop-filter: blur(30px);
backdrop-filter: blur(30px);
}
.loginFilter {
width: 420px;
height: 454px;
background: transparent;
box-shadow: 0px 4px 12px 0px rgba(51, 51, 51, 0.15);
border-radius: 4px;
left: 50%;
top: 50%;
transform: translate(-50%;-50%);
position: absolute;
display: flex; display: flex;
justify-content: center;
align-items: center;
.ms-login { .ms-login {
position: absolute;
width: 420px; width: 420px;
height: 454px; height: 454px;
left: 50%;
top: 50%;
transform: translate(-50%;-50%);
border-radius: 5px; border-radius: 5px;
background: url(../assets/img/loginBackImage.8b77ab2c.png) no-repeat;
// -webkit-backdrop-filter: blur(5px);
// backdrop-filter: blur(15px);
overflow: hidden; overflow: hidden;
background-size: 100%; background-size: 100%;
//background: @color-white;
.ms-title { .ms-title {
text-align: center; text-align: center;
border-bottom: 1px solid @border-color-base; border-bottom: 1px solid #dcdfe6;
padding: 40px 16px; padding: 40px 16px;
img { img {
margin-bottom: 8px; margin-bottom: 8px;
width: 160px; //width: 160px;
} }
h3 { h3 {
font-size: 30px; font-size: 30px;
background: linear-gradient(0deg, #86b7ff, #4293fd 99.46289%); //background: linear-gradient(0deg, #86b7ff, #4293fd 99.46289%);
background-clip: text; // background-clip: text;
-webkit-text-fill-color: transparent; color: @color-text-primary;
// font-weight: normal; font-weight: normal;
} }
} }
.ms-content { .ms-content {
@ -154,5 +160,14 @@ export default {
// } // }
} }
} }
.webInfo {
bottom: 5%;
left: 50%;
transform: translate(-50%;-50%);
position: absolute;
font-size: 12px;
font-weight: 400;
color: @color-white;
}
} }
</style> </style>

@ -35,7 +35,7 @@
</el-dialog> </el-dialog>
</template> </template>
<script> <script>
import { adddeviceJoggle, updatedeviceJoggle } from "@/utils/api/index"; //import { adddeviceJoggle, updatedeviceJoggle } from "@/utils/api/index";
export default { export default {
props: { props: {
deviceDialog: { deviceDialog: {

@ -68,6 +68,14 @@
</el-table-column> </el-table-column>
<el-table-column prop="remark" label="备注" show-overflow-tooltip> <el-table-column prop="remark" label="备注" show-overflow-tooltip>
</el-table-column> </el-table-column>
<el-table-column fixed="right" label="操作" width="200">
<template slot-scope="scope">
<el-button @click="handleClick(scope.row)" type="text"
>修改</el-button
>
<el-button type="text">删除</el-button>
</template>
</el-table-column>
</el-table> </el-table>
</div> </div>
<!-- 新增线路 --> <!-- 新增线路 -->
@ -82,7 +90,7 @@
<script> <script>
import { import {
getScheduleRulelListJoggle, getScheduleRulelListJoggle,
deletedeviceJoggle, // deletedeviceJoggle,
} from "@/utils/api/index"; } from "@/utils/api/index";
import adddeviceDialog from "./components/adddeviceDialog.vue"; import adddeviceDialog from "./components/adddeviceDialog.vue";

@ -142,6 +142,14 @@
:formatter="dateFormat" :formatter="dateFormat"
> >
</el-table-column> </el-table-column>
<el-table-column fixed="right" label="操作" width="200">
<template slot-scope="scope">
<el-button @click="handleClick(scope.row)" type="text"
>修改</el-button
>
<el-button type="text">删除</el-button>
</template>
</el-table-column>
</el-table> </el-table>
</div> </div>
<addPhotoDialog <addPhotoDialog

@ -46,6 +46,7 @@
border border
@selection-change="handleSelectionChange" @selection-change="handleSelectionChange"
@row-click="handleRowClick" @row-click="handleRowClick"
:header-cell-style="{ background: '#F5F7FA' }"
> >
<el-table-column type="index" width="55"> </el-table-column> <el-table-column type="index" width="55"> </el-table-column>
<el-table-column type="selection" width="55"> </el-table-column> <el-table-column type="selection" width="55"> </el-table-column>
@ -63,6 +64,14 @@
</el-table-column> </el-table-column>
<el-table-column prop="dyLevel" label="DY等级" show-overflow-tooltip> <el-table-column prop="dyLevel" label="DY等级" show-overflow-tooltip>
</el-table-column> </el-table-column>
<el-table-column fixed="right" label="操作" width="200">
<template slot-scope="scope">
<el-button @click="handleClick(scope.row)" type="text"
>修改</el-button
>
<el-button type="text">删除</el-button>
</template>
</el-table-column>
</el-table> </el-table>
</div> </div>
<!-- 新增线路 --> <!-- 新增线路 -->

@ -37,23 +37,30 @@
<carouselChart :terminalPhoto="terminalPhoto"></carouselChart> <carouselChart :terminalPhoto="terminalPhoto"></carouselChart>
</div> </div>
<div class="parameterArea"> <div class="parameterArea">
<div class="paramsDate">
<h3>日期选择</h3>
<el-date-picker
v-model="dateValue"
type="date"
placeholder="选择日期"
>
</el-date-picker>
</div>
<div class="monitorItemBox"> <div class="monitorItemBox">
<h3>检测项 通道</h3> <h3>检测项 通道</h3>
<div class="btnBox"> <el-select
<el-select v-model="channelValue"
v-model="channelValue" placeholder="请选择"
placeholder="请选择" @change="changeChannelId"
@change="changeChannelId" >
<el-option
v-for="item in channelOption"
:key="item.value"
:label="item.label"
:value="item.value"
> >
<el-option </el-option>
v-for="item in channelOption" </el-select>
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</el-select>
</div>
</div> </div>
</div> </div>
<!-- <paramArea></paramArea> --> <!-- <paramArea></paramArea> -->
@ -95,6 +102,7 @@ export default {
channelOption: [], // channelOption: [], //
channelValue: "", channelValue: "",
terminalPhoto: [], // terminalPhoto: [], //
dateValue: "", //
}; };
}, },
watch: {}, watch: {},
@ -228,5 +236,23 @@ export default {
overflow: hidden; overflow: hidden;
} }
} }
.parameterArea {
width: 300px;
padding: 16px 16px;
border-left: 1px solid #dcdfe6;
.monitorItemBox,
.paramsDate {
margin-bottom: 16px;
h3 {
font-size: 16px;
font-weight: normal;
color: @color-text-primary;
margin-bottom: 8px;
}
.el-date-editor.el-input {
width: 215px;
}
}
}
} }
</style> </style>

@ -181,36 +181,36 @@ export default {
}; };
</script> </script>
<style lang="less"> <style lang="less">
.parameterArea { // .parameterArea {
width: 300px; // width: 300px;
padding: 16px 8px; // padding: 16px 8px;
.monitorItemBox, // .monitorItemBox,
.monitorPointBox, // .monitorPointBox,
.actionItem, // .actionItem,
.configItem { // .configItem {
border: 1px solid @border-color-base; // border: 1px solid @border-color-base;
padding: 8px 16px 8px 16px; // padding: 8px 16px 8px 16px;
margin-bottom: 32px; // margin-bottom: 32px;
h3 { // h3 {
font-size: 16px; // font-size: 16px;
margin-bottom: 8px; // margin-bottom: 8px;
background: transparent; // background: transparent;
color: @color-text-regular; // color: @color-text-regular;
} // }
.btnBox { // .btnBox {
display: flex; // display: flex;
flex-wrap: wrap; // flex-wrap: wrap;
justify-content: space-between; // justify-content: space-between;
.el-button { // .el-button {
width: 84px; // width: 84px;
padding: 6px 0px; // padding: 6px 0px;
font-size: 12px; // font-size: 12px;
margin-bottom: 8px; // margin-bottom: 8px;
} // }
.el-button + .el-button { // .el-button + .el-button {
margin-left: 0px; // margin-left: 0px;
} // }
} // }
} // }
} // }
</style> </style>

@ -18,16 +18,26 @@ module.exports = defineConfig({
}, },
devServer: { devServer: {
proxy: { proxy: {
[process.env.VUE_APP_BASE_API]: { '/api': {//表示拦截以/api开头的请求路径
//表示拦截以/api开头的请求路径 //表示拦截以/api开头的请求路径
//target: 'http://localhost:1234', //本地nodejs服务器 //target: 'http://localhost:1234', //本地nodejs服务器
target: "http://47.96.238.157:8093", //公司项目服务器环境 target: "http://47.96.238.157:8093", //公司项目服务器环境
//target: 'http://180.166.218.222:7200', //target: 'http://180.166.218.222:7200',
changOrigin: true, //是否开启跨域 changOrigin: true, //是否开启跨域
pathRewrite: { pathRewrite: {
["^" + process.env.VUE_APP_BASE_API]: "", //重写api把api变成空字符因为我们真正请求的路径是没有api的 '^/api': '' //重写api把api变成空字符因为我们真正请求的路径是没有api的
}, }
}, }
// [process.env.VUE_APP_BASE_API]: {
// //表示拦截以/api开头的请求路径
// //target: 'http://localhost:1234', //本地nodejs服务器
// target: "http://47.96.238.157:8093", //公司项目服务器环境
// //target: 'http://180.166.218.222:7200',
// changOrigin: true, //是否开启跨域
// pathRewrite: {
// ["^" + process.env.VUE_APP_BASE_API]: "", //重写api把api变成空字符因为我们真正请求的路径是没有api的
// },
// },
}, },
}, },
}); });

Loading…
Cancel
Save