|
@@ -811,6 +811,7 @@
|
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
+
|
|
|
<script>
|
|
<script>
|
|
|
import {
|
|
import {
|
|
|
printTrigger,
|
|
printTrigger,
|
|
@@ -834,6 +835,8 @@ import {
|
|
|
import { getUserProfile } from "@/api/system/user";
|
|
import { getUserProfile } from "@/api/system/user";
|
|
|
import Cookies from "js-cookie";
|
|
import Cookies from "js-cookie";
|
|
|
import axios from "axios";
|
|
import axios from "axios";
|
|
|
|
|
+import WebSocketService from "@/utils/WebSocketService";
|
|
|
|
|
+
|
|
|
export default {
|
|
export default {
|
|
|
dicts: ["sys_notice_status", "sys_notice_type"],
|
|
dicts: ["sys_notice_status", "sys_notice_type"],
|
|
|
data() {
|
|
data() {
|
|
@@ -847,13 +850,12 @@ export default {
|
|
|
timer2: null,
|
|
timer2: null,
|
|
|
open5: false,
|
|
open5: false,
|
|
|
ggflg: false,
|
|
ggflg: false,
|
|
|
- form: "",
|
|
|
|
|
- rules: "",
|
|
|
|
|
title: "",
|
|
title: "",
|
|
|
title2: "",
|
|
title2: "",
|
|
|
title3: "",
|
|
title3: "",
|
|
|
title4: "",
|
|
title4: "",
|
|
|
url: process.env.VUE_APP_BASE_API,
|
|
url: process.env.VUE_APP_BASE_API,
|
|
|
|
|
+ form: "",
|
|
|
rules: {
|
|
rules: {
|
|
|
noticeTitle: [
|
|
noticeTitle: [
|
|
|
{ required: true, message: "公告标题不能为空", trigger: "blur" },
|
|
{ required: true, message: "公告标题不能为空", trigger: "blur" },
|
|
@@ -862,8 +864,6 @@ export default {
|
|
|
{ required: true, message: "公告类型不能为空", trigger: "change" },
|
|
{ required: true, message: "公告类型不能为空", trigger: "change" },
|
|
|
],
|
|
],
|
|
|
},
|
|
},
|
|
|
- // 表单参数
|
|
|
|
|
- form: {},
|
|
|
|
|
noticeList: [],
|
|
noticeList: [],
|
|
|
worklist: [],
|
|
worklist: [],
|
|
|
// 用户信息
|
|
// 用户信息
|
|
@@ -935,18 +935,29 @@ export default {
|
|
|
},
|
|
},
|
|
|
// 退出
|
|
// 退出
|
|
|
async logout() {
|
|
async logout() {
|
|
|
- this.$confirm("确定注销并退出系统吗?", "提示", {
|
|
|
|
|
- confirmButtonText: "确定",
|
|
|
|
|
- cancelButtonText: "取消",
|
|
|
|
|
- type: "warning",
|
|
|
|
|
- })
|
|
|
|
|
- .then(() => {
|
|
|
|
|
- this.$store.dispatch("LogOut").then(() => {
|
|
|
|
|
- location.href = "/index";
|
|
|
|
|
- Cookies.remove("tixing");
|
|
|
|
|
- });
|
|
|
|
|
- })
|
|
|
|
|
- .catch(() => {});
|
|
|
|
|
|
|
+ try {
|
|
|
|
|
+ await this.$confirm("确定注销并退出系统吗?", "提示", {
|
|
|
|
|
+ confirmButtonText: "确定",
|
|
|
|
|
+ cancelButtonText: "取消",
|
|
|
|
|
+ type: "warning",
|
|
|
|
|
+ });
|
|
|
|
|
+
|
|
|
|
|
+ // 调用 Vuex 退出登录
|
|
|
|
|
+ await this.$store.dispatch("LogOut");
|
|
|
|
|
+
|
|
|
|
|
+ // 清理本地数据
|
|
|
|
|
+ Cookies.remove("tixing");
|
|
|
|
|
+
|
|
|
|
|
+ // 断开 WebSocket(如果存在)
|
|
|
|
|
+ if (this.$store.getters.webSocketState === 'open') {
|
|
|
|
|
+ WebSocketService.close();
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ // 跳转登录页
|
|
|
|
|
+ location.href = "/index";
|
|
|
|
|
+ } catch (err) {
|
|
|
|
|
+ // 用户取消操作,不处理
|
|
|
|
|
+ }
|
|
|
},
|
|
},
|
|
|
// 手机柜线S地址console
|
|
// 手机柜线S地址console
|
|
|
xianShang() {
|
|
xianShang() {
|
|
@@ -1368,7 +1379,7 @@ li {
|
|
|
height: 100%;
|
|
height: 100%;
|
|
|
width: 100%;
|
|
width: 100%;
|
|
|
overflow: auto;
|
|
overflow: auto;
|
|
|
- background: url("../images/背景1.png") no-repeat center;
|
|
|
|
|
|
|
+ background: url("~@/images/背景1.png") no-repeat center;
|
|
|
background-size: 100% 100%;
|
|
background-size: 100% 100%;
|
|
|
position: relative;
|
|
position: relative;
|
|
|
}
|
|
}
|
|
@@ -1376,7 +1387,7 @@ li {
|
|
|
color: #fff;
|
|
color: #fff;
|
|
|
position: relative;
|
|
position: relative;
|
|
|
height: 120px;
|
|
height: 120px;
|
|
|
- background: url("../assets/images/首页顶部.gif") no-repeat center;
|
|
|
|
|
|
|
+ background: url("~@/assets/images/首页顶部.gif") no-repeat center;
|
|
|
background-size: cover;
|
|
background-size: cover;
|
|
|
}
|
|
}
|
|
|
.tou .yong_hu {
|
|
.tou .yong_hu {
|
|
@@ -1410,7 +1421,7 @@ li {
|
|
|
color: #fff;
|
|
color: #fff;
|
|
|
width: 107px;
|
|
width: 107px;
|
|
|
height: 95%;
|
|
height: 95%;
|
|
|
- background: url("../images/tx.png") no-repeat;
|
|
|
|
|
|
|
+ background: url("~@/images/tx.png") no-repeat;
|
|
|
text-align: center;
|
|
text-align: center;
|
|
|
margin-top: 10%;
|
|
margin-top: 10%;
|
|
|
position: relative;
|
|
position: relative;
|
|
@@ -1483,7 +1494,7 @@ hr {
|
|
|
color: #fff;
|
|
color: #fff;
|
|
|
width: 529px;
|
|
width: 529px;
|
|
|
height: 41vh;
|
|
height: 41vh;
|
|
|
- background: url("../images/底3.png") no-repeat;
|
|
|
|
|
|
|
+ background: url("~@/images/底3.png") no-repeat;
|
|
|
margin-bottom: 10px;
|
|
margin-bottom: 10px;
|
|
|
padding: 16px 20px 0px 20px;
|
|
padding: 16px 20px 0px 20px;
|
|
|
background-size: 100% 100%;
|
|
background-size: 100% 100%;
|
|
@@ -1780,7 +1791,7 @@ hr {
|
|
|
.jiben {
|
|
.jiben {
|
|
|
width: 760px;
|
|
width: 760px;
|
|
|
height: 32px;
|
|
height: 32px;
|
|
|
- background-image: url("../images/小标题底.png");
|
|
|
|
|
|
|
+ background-image: url("~@/images/小标题底.png");
|
|
|
margin-bottom: 25px;
|
|
margin-bottom: 25px;
|
|
|
color: #fff;
|
|
color: #fff;
|
|
|
padding-left: 16px;
|
|
padding-left: 16px;
|
|
@@ -1852,7 +1863,7 @@ hr {
|
|
|
.tkbox {
|
|
.tkbox {
|
|
|
width: 500px;
|
|
width: 500px;
|
|
|
height: 220px;
|
|
height: 220px;
|
|
|
- background-image: url("../assets/images/框.png");
|
|
|
|
|
|
|
+ background-image: url("~@/assets/images/框.png");
|
|
|
background-size: 100% 100%;
|
|
background-size: 100% 100%;
|
|
|
background-repeat: no-repeat;
|
|
background-repeat: no-repeat;
|
|
|
position: absolute;
|
|
position: absolute;
|
|
@@ -1863,7 +1874,7 @@ hr {
|
|
|
.tkbox2 {
|
|
.tkbox2 {
|
|
|
width: 500px;
|
|
width: 500px;
|
|
|
height: 220px;
|
|
height: 220px;
|
|
|
- background-image: url("../assets/images/框.png");
|
|
|
|
|
|
|
+ background-image: url("~@/assets/images/框.png");
|
|
|
background-size: 100% 100%;
|
|
background-size: 100% 100%;
|
|
|
background-repeat: no-repeat;
|
|
background-repeat: no-repeat;
|
|
|
position: absolute;
|
|
position: absolute;
|
|
@@ -1874,7 +1885,7 @@ hr {
|
|
|
.tkbox3 {
|
|
.tkbox3 {
|
|
|
width: 500px;
|
|
width: 500px;
|
|
|
height: 220px;
|
|
height: 220px;
|
|
|
- background-image: url("../assets/images/框.png");
|
|
|
|
|
|
|
+ background-image: url("~@/assets/images/框.png");
|
|
|
background-size: 100% 100%;
|
|
background-size: 100% 100%;
|
|
|
background-repeat: no-repeat;
|
|
background-repeat: no-repeat;
|
|
|
position: absolute;
|
|
position: absolute;
|
|
@@ -1885,7 +1896,7 @@ hr {
|
|
|
.tkbox4 {
|
|
.tkbox4 {
|
|
|
width: 500px;
|
|
width: 500px;
|
|
|
height: 220px;
|
|
height: 220px;
|
|
|
- background-image: url("../assets/images/框.png");
|
|
|
|
|
|
|
+ background-image: url("~@/assets/images/框.png");
|
|
|
background-size: 100% 100%;
|
|
background-size: 100% 100%;
|
|
|
background-repeat: no-repeat;
|
|
background-repeat: no-repeat;
|
|
|
position: absolute;
|
|
position: absolute;
|
|
@@ -2006,114 +2017,114 @@ hr {
|
|
|
width: 30px;
|
|
width: 30px;
|
|
|
height: 30px;
|
|
height: 30px;
|
|
|
top: 6.5%;
|
|
top: 6.5%;
|
|
|
- background: url(../images/无光_00000.png) no-repeat;
|
|
|
|
|
|
|
+ background: url(~@/images/无光_00000.png) no-repeat;
|
|
|
animation: mymove 2s 0.5s infinite linear alternate forwards;
|
|
animation: mymove 2s 0.5s infinite linear alternate forwards;
|
|
|
}
|
|
}
|
|
|
@keyframes mymove {
|
|
@keyframes mymove {
|
|
|
0% {
|
|
0% {
|
|
|
- background: url(../images/无光_00000.png) no-repeat;
|
|
|
|
|
|
|
+ background: url(~@/images/无光_00000.png) no-repeat;
|
|
|
}
|
|
}
|
|
|
3% {
|
|
3% {
|
|
|
- background: url(../images/无光_00001.png) no-repeat;
|
|
|
|
|
|
|
+ background: url(~@/images/无光_00001.png) no-repeat;
|
|
|
}
|
|
}
|
|
|
6% {
|
|
6% {
|
|
|
- background: url(../images/无光_00002.png) no-repeat;
|
|
|
|
|
|
|
+ background: url(~@/images/无光_00002.png) no-repeat;
|
|
|
}
|
|
}
|
|
|
9% {
|
|
9% {
|
|
|
- background: url(../images/无光_00003.png) no-repeat;
|
|
|
|
|
|
|
+ background: url(~@/images/无光_00003.png) no-repeat;
|
|
|
}
|
|
}
|
|
|
12% {
|
|
12% {
|
|
|
- background: url(../images/无光_00004.png) no-repeat;
|
|
|
|
|
|
|
+ background: url(~@/images/无光_00004.png) no-repeat;
|
|
|
}
|
|
}
|
|
|
15% {
|
|
15% {
|
|
|
- background: url(../images/无光_00005.png) no-repeat;
|
|
|
|
|
|
|
+ background: url(~@/images/无光_00005.png) no-repeat;
|
|
|
}
|
|
}
|
|
|
18% {
|
|
18% {
|
|
|
- background: url(../images/无光_00006.png) no-repeat;
|
|
|
|
|
|
|
+ background: url(~@/images/无光_00006.png) no-repeat;
|
|
|
}
|
|
}
|
|
|
21% {
|
|
21% {
|
|
|
- background: url(../images/无光_00007.png) no-repeat;
|
|
|
|
|
|
|
+ background: url(~@/images/无光_00007.png) no-repeat;
|
|
|
}
|
|
}
|
|
|
24% {
|
|
24% {
|
|
|
- background: url(../images/无光_00008.png) no-repeat;
|
|
|
|
|
|
|
+ background: url(~@/images/无光_00008.png) no-repeat;
|
|
|
}
|
|
}
|
|
|
27% {
|
|
27% {
|
|
|
- background: url(../images/无光_00009.png) no-repeat;
|
|
|
|
|
|
|
+ background: url(~@/images/无光_00009.png) no-repeat;
|
|
|
}
|
|
}
|
|
|
30% {
|
|
30% {
|
|
|
- background: url(../images/无光_00010.png) no-repeat;
|
|
|
|
|
|
|
+ background: url(~@/images/无光_00010.png) no-repeat;
|
|
|
}
|
|
}
|
|
|
33% {
|
|
33% {
|
|
|
- background: url(../images/无光_00011.png) no-repeat;
|
|
|
|
|
|
|
+ background: url(~@/images/无光_00011.png) no-repeat;
|
|
|
}
|
|
}
|
|
|
36% {
|
|
36% {
|
|
|
- background: url(../images/无光_00012.png) no-repeat;
|
|
|
|
|
|
|
+ background: url(~@/images/无光_00012.png) no-repeat;
|
|
|
}
|
|
}
|
|
|
39% {
|
|
39% {
|
|
|
- background: url(../images/无光_00013.png) no-repeat;
|
|
|
|
|
|
|
+ background: url(~@/images/无光_00013.png) no-repeat;
|
|
|
}
|
|
}
|
|
|
42% {
|
|
42% {
|
|
|
- background: url(../images/无光_00014.png) no-repeat;
|
|
|
|
|
|
|
+ background: url(~@/images/无光_00014.png) no-repeat;
|
|
|
}
|
|
}
|
|
|
45% {
|
|
45% {
|
|
|
- background: url(../images/无光_00015.png) no-repeat;
|
|
|
|
|
|
|
+ background: url(~@/images/无光_00015.png) no-repeat;
|
|
|
}
|
|
}
|
|
|
48% {
|
|
48% {
|
|
|
- background: url(../images/无光_00016.png) no-repeat;
|
|
|
|
|
|
|
+ background: url(~@/images/无光_00016.png) no-repeat;
|
|
|
}
|
|
}
|
|
|
51% {
|
|
51% {
|
|
|
- background: url(../images/无光_00017.png) no-repeat;
|
|
|
|
|
|
|
+ background: url(~@/images/无光_00017.png) no-repeat;
|
|
|
}
|
|
}
|
|
|
54% {
|
|
54% {
|
|
|
- background: url(../images/无光_00018.png) no-repeat;
|
|
|
|
|
|
|
+ background: url(~@/images/无光_00018.png) no-repeat;
|
|
|
}
|
|
}
|
|
|
57% {
|
|
57% {
|
|
|
- background: url(../images/无光_00019.png) no-repeat;
|
|
|
|
|
|
|
+ background: url(~@/images/无光_00019.png) no-repeat;
|
|
|
}
|
|
}
|
|
|
60% {
|
|
60% {
|
|
|
- background: url(../images/无光_00020.png) no-repeat;
|
|
|
|
|
|
|
+ background: url(~@/images/无光_00020.png) no-repeat;
|
|
|
}
|
|
}
|
|
|
63% {
|
|
63% {
|
|
|
- background: url(../images/无光_00021.png) no-repeat;
|
|
|
|
|
|
|
+ background: url(~@/images/无光_00021.png) no-repeat;
|
|
|
}
|
|
}
|
|
|
66% {
|
|
66% {
|
|
|
- background: url(../images/无光_00022.png) no-repeat;
|
|
|
|
|
|
|
+ background: url(~@/images/无光_00022.png) no-repeat;
|
|
|
}
|
|
}
|
|
|
69% {
|
|
69% {
|
|
|
- background: url(../images/无光_00023.png) no-repeat;
|
|
|
|
|
|
|
+ background: url(~@/images/无光_00023.png) no-repeat;
|
|
|
}
|
|
}
|
|
|
72% {
|
|
72% {
|
|
|
- background: url(../images/无光_00024.png) no-repeat;
|
|
|
|
|
|
|
+ background: url(~@/images/无光_00024.png) no-repeat;
|
|
|
}
|
|
}
|
|
|
75% {
|
|
75% {
|
|
|
- background: url(../images/无光_00025.png) no-repeat;
|
|
|
|
|
|
|
+ background: url(~@/images/无光_00025.png) no-repeat;
|
|
|
}
|
|
}
|
|
|
78% {
|
|
78% {
|
|
|
- background: url(../images/无光_00026.png) no-repeat;
|
|
|
|
|
|
|
+ background: url(~@/images/无光_00026.png) no-repeat;
|
|
|
}
|
|
}
|
|
|
81% {
|
|
81% {
|
|
|
- background: url(../images/无光_00027.png) no-repeat;
|
|
|
|
|
|
|
+ background: url(~@/images/无光_00027.png) no-repeat;
|
|
|
}
|
|
}
|
|
|
84% {
|
|
84% {
|
|
|
- background: url(../images/无光_00028.png) no-repeat;
|
|
|
|
|
|
|
+ background: url(~@/images/无光_00028.png) no-repeat;
|
|
|
}
|
|
}
|
|
|
87% {
|
|
87% {
|
|
|
- background: url(../images/无光_00029.png) no-repeat;
|
|
|
|
|
|
|
+ background: url(~@/images/无光_00029.png) no-repeat;
|
|
|
}
|
|
}
|
|
|
90% {
|
|
90% {
|
|
|
- background: url(../images/无光_00030.png) no-repeat;
|
|
|
|
|
|
|
+ background: url(~@/images/无光_00030.png) no-repeat;
|
|
|
}
|
|
}
|
|
|
92% {
|
|
92% {
|
|
|
- background: url(../images/无光_00031.png) no-repeat;
|
|
|
|
|
|
|
+ background: url(~@/images/无光_00031.png) no-repeat;
|
|
|
}
|
|
}
|
|
|
95% {
|
|
95% {
|
|
|
- background: url(../images/无光_00032.png) no-repeat;
|
|
|
|
|
|
|
+ background: url(~@/images/无光_00032.png) no-repeat;
|
|
|
}
|
|
}
|
|
|
98% {
|
|
98% {
|
|
|
- background: url(../images/无光_00033.png) no-repeat;
|
|
|
|
|
|
|
+ background: url(~@/images/无光_00033.png) no-repeat;
|
|
|
}
|
|
}
|
|
|
100% {
|
|
100% {
|
|
|
- background: url(../images/无光_00034.png) no-repeat;
|
|
|
|
|
|
|
+ background: url(~@/images/无光_00034.png) no-repeat;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
</style>
|
|
</style>
|