diff --git a/gj.rar b/gj.rar new file mode 100644 index 0000000..94b146f Binary files /dev/null and b/gj.rar differ diff --git a/src/api/user-manage.js b/src/api/user-manage.js index a28d311..a53a9b8 100644 --- a/src/api/user-manage.js +++ b/src/api/user-manage.js @@ -599,7 +599,7 @@ export const selectUserDeptPage = (data = {}) => { ///unifiedLogin export const unifiedLogin = (data) => { return request({ - url: api + `/unifiedLogin`, + url: api + `/ssoLogin`, method: "POST", data }); diff --git a/src/assets/css/homeScreen.scss b/src/assets/css/homeScreen.scss new file mode 100644 index 0000000..2e32714 --- /dev/null +++ b/src/assets/css/homeScreen.scss @@ -0,0 +1,492 @@ +.bigScrenn { + height: 100vh; + width: 100vw; + overflow: hidden; + background: #001022; + position: relative; + color: #fff; + + .headBox { + position: absolute; + height: 90px; + width: 100%; + background: #001022; + top: 0; + z-index: 9; + + .top { + display: flex; + justify-content: space-between; + width: 100%; + height: 100%; + padding: 0 4px; + + .top-left { + display: flex; + margin-top: 30px; + + .time { + margin-left: 38px; + font-style: italic; + font-weight: bolder; + + .timer { + font-size: 24px; + letter-spacing: 3px; + color: #fff; + } + + .week { + color: #00ADFF; + font-size: 14px; + } + + } + } + + .top-center { + width: 340px; + height: 90px; + } + + .top-right { + display: flex; + margin-top: 30px; + align-items: center; + + .info { + display: flex; + align-items: center; + + .text { + color: #e6ffff; + font-size: 15px; + margin-left: 14px; + line-height: 23px; + + .dept { + max-width: 200px; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + } + } + } + + .meun { + margin-left: 30px; + margin-right: 4px; + } + + .el-dropdown-tools { + display: inline-block; + width: 40px; + height: 40px; + border: 1px solid rgb(20, 135, 180); + border-radius: 50%; + text-align: center; + + .el-dropdown-tools-n { + display: inline-block; + width: 34px; + height: 34px; + border: 1px solid #fff; + border-radius: 50%; + background: #9ec6fc; + text-align: center; + line-height: 32px; + margin-top: 2px; + padding-top: 2px; + box-sizing: border-box; + } + } + } + } + } + + .asideBox { + position: absolute; + top: 70px; + height: calc(100vh - 72px); + width: 442px; + background: #263445; + z-index: 2; + + .boder-small { + height: 32.5%; + background-size: 100% 100%; + margin-bottom: 10px; + } + + .boder-middle { + height: 66%; + background-size: 100% 100%; + margin-bottom: 10px; + } + + .boder-big { + height: 100%; + background-size: 100% 100%; + } + + .boder-top { + height: 280px; + background-size: 100% 100%; + } + + .boder-center { + height: calc(100% - 510px); + background-size: 100% 100%; + } + + .boder-bottom { + height: 230px; + background-size: 100% 100%; + } + + .boxContent { + height: 100%; + padding: 6px 20px 10px; + box-sizing: border-box; + + .box-title { + padding: 0 10px 0 30px; + box-sizing: border-box; + font-size: 22px; + font-family: "YSBTH"; + background: linear-gradient(0deg, #59a6f4 0%, #ffffff 100%); + -webkit-background-clip: text; + } + + .boxInfo { + height: calc(100% - 70px); + margin-top: 8px; + } + + .cntBoxInfo { + height: calc(100% - 46px); + overflow: hidden; + overflow-y: auto; + } + } + } + + .addBox { + position: absolute; + bottom: 70px; + pointer-events: auto; + cursor: pointer; + + .imgBox { + width: 111px; + height: 112px; + text-align: center; + + span { + display: inline-block; + width: 30px; + margin-top: 36px; + font-size: 14px; + } + } + } + + @mixin sircle { + position: absolute; + width: 73px; + height: calc(100vh - 72px); + top: 90px; + } + + .leftSiecle { + @include sircle; + background-size: 100% 100%; + z-index: 1; + } + + .rightSiecle { + @include sircle; + right: 370px; + background-size: 100% 100%; + z-index: 1; + } + + // 尾部 + .footBox { + position: absolute; + bottom: 0; + left: 50%; + transform: translateX(-50%); + width: 800px; + z-index: 10; + + .btnsBox { + display: flex; + justify-content: space-between; + align-items: center; + width: 85%; + + .btnsItem { + position: relative; + cursor: pointer; + + .resourceBox { + display: none; + position: absolute; + bottom: 37px; + left: 50%; + transform: translateX(-50%); + padding: 10px 10px 24px 10px; + box-sizing: border-box; + + .contant { + position: relative; + padding: 20px 10px; + box-sizing: border-box; + background-size: 100% 100%; + + .name { + color: #00BFFF; + } + + .footerCheck { + display: flex; + justify-content: center; + + .el-checkbox-group { + text-align: center; + } + } + } + + + } + + .resourceBoxOther { + display: block; + } + } + + .btnsItem:hover .resourceBox { + display: block; + } + } + } + + .popover { + position: absolute; + background: #08226a; + left: 264px; + top: 32px; + width: 220px; + padding: 6px; + box-sizing: border-box; + border-radius: 4px; + + .el-tag { + margin: 4px 2px; + } + + &::before { + content: ''; + position: absolute; + top: 46px; + left: -15px; + display: inline-block; + width: 0; + height: 0; + border: 8px solid transparent; + border-right-color: #08226a; + z-index: 989; + } + } + + .popoverKfd { + position: absolute; + background: #08226a; + left: -199px; + top: 100px; + width: 270px; + padding: 6px; + box-sizing: border-box; + border-radius: 4px; + + .el-tag { + margin: 4px 2px; + } + + &::before { + content: ''; + position: absolute; + top: 13px; + left: 270px; + display: inline-block; + width: 0; + height: 0; + border: 8px solid transparent; + border-left-color: #08226a; + z-index: 989; + } + } +} + +.dialogBox { + padding: 0 0 10px 0; + box-sizing: border-box; + background: url('~@/assets/images/dialog-bg.png') no-repeat center center; + background-size: 100% 100%; + z-index: 999; + border-radius: 4px; + + >.title { + height: 38px; + line-height: 38px; + margin: 0 4px; + display: flex; + border-bottom: 1px solid #275288; + margin-bottom: 6px; + justify-content: space-between; + align-items: center; + background-image: linear-gradient(to right, rgba(1, 127, 216, 1), rgba(4, 56, 131, .5), rgba(1, 130, 218, .0)); + + .close { + font-size: 20px; + font-weight: 200; + cursor: pointer; + margin-right: 10px; + } + + .mc { + margin-left: 10px; + } + } + + .infoBox { + border: none; + position: relative; + // border: 1px solid #275288; + padding: 10px 0 4px; + box-sizing: border-box; + } + + .addressBox { + border-top: 1px solid #162f55; + margin: 0 10px; + // height: 30px; + line-height: 24px; + display: flex; + justify-content: space-between; + + img, + span { + vertical-align: middle; + } + + img { + margin-right: 4px; + } + } + + >.btnBox { + text-align: center; + padding-top: 8px; + padding-bottom: 12px; + margin-bottom: 10px; + + button { + margin: 0 2px; + } + } +} + +button.dp-default { + border: 1px solid #3180ea; + box-shadow: inset 0 0 18px #2b8ce6; + background: #001022; + color: #fff; + height: 30px; + padding: 0 15px; + border-radius: 3px; + cursor: pointer; + + &.small { + height: 22px; + line-height: 20px; + vertical-align: middle; + padding: 0 6px; + box-shadow: inset 0 0 10px #2b8ce6; + font-size: 12px; + + span, + svg { + vertical-align: middle; + } + } +} + +.tag { + display: inline-block; + background-color: #999; + font-size: 11px; + border-radius: 2px; + margin-left: 3px; + color: #fff; + width: 40px; + text-align: center; + height: 20px; + line-height: 20px; + vertical-align: middle; + + &.blue { + background-color: #0b9ff4; + } + + &.orange { + background-color: #e15923; + } + + &.red { + background-color: #e21c1c; + } + + &.yellow { + background-color: #d6d301; + } + + &.green { + background-color: #56db2d; + } + + &.mj { + background-color: #4995fd; + } + + &.fj { + background-color: #3ad2d4; + } +} + +.xlStatus { + position: absolute; + right: 0; + top: 0; + width: 56px; + text-align: center; + height: 24px; + line-height: 24px; + border-bottom-left-radius: 10px; + cursor: pointer; + color: #000; +} + +.line { + background: #00bc65; +} + +.lineing { + background: #AB0F0B; +} + +.unline { + background: #808080; +} \ No newline at end of file diff --git a/src/assets/images/dialog-bg.png b/src/assets/images/dialog-bg.png new file mode 100644 index 0000000..a5c918a Binary files /dev/null and b/src/assets/images/dialog-bg.png differ diff --git a/src/assets/images/dingwei.png b/src/assets/images/dingwei.png new file mode 100644 index 0000000..bfcba6f Binary files /dev/null and b/src/assets/images/dingwei.png differ diff --git a/src/components/GdMap/index.vue b/src/components/GdMap/index.vue index a6bb9e0..9965f2d 100644 --- a/src/components/GdMap/index.vue +++ b/src/components/GdMap/index.vue @@ -1,8 +1,7 @@ @@ -40,7 +43,32 @@ import Collection from "./components/collection.vue"; import Warning from "./components/warning.vue"; import BeOnDuty from "./components/beonDuty.vue"; import Introduction from "./components/Introduction.vue"; -import { ref } from "vue"; +import PoliceGroupInfo from "./layout/streetInfo.vue"; +import emitter from "@/utils/eventBus.js"; +import { + ref, + reactive, + onMounted +} from "vue"; +const jzxqList = ref({}); //警组列表详情 +const show = reactive({ + jzgroup: false //展示警组弹窗 +}); +onMounted(() => { + + // 展示警组 + emitter.on("showJzInfo", (res) => { + show.jzgroup = res ? true : false; + if (res) { + jzxqList.value = res; + } + }); + + +}) + + + \ No newline at end of file diff --git a/src/views/login/oatuh_login.vue b/src/views/login/oatuh_login.vue index 0f855dc..4709dd5 100644 --- a/src/views/login/oatuh_login.vue +++ b/src/views/login/oatuh_login.vue @@ -14,11 +14,12 @@ function redirectAuth() { let token = location.hash.slice(20) || null; if (token != null) { + debugger token = token.replace(/\ +/g, ""); setItem("SSOTOKEN", token) handleLogin({ token: token}); } else { - window.location.href = `http://155.240.22.102:40992`; + window.location.href = `http://155.240.22.188:9020`; } } @@ -39,4 +40,8 @@ onMounted(() => { }); +<<<<<<< HEAD +======= + +>>>>>>> d55c698309e1775da715e035dd9e1b7d06e52a30 diff --git a/vue.config.js b/vue.config.js index debacbe..3814ca5 100644 --- a/vue.config.js +++ b/vue.config.js @@ -3,11 +3,19 @@ const path = require("path"); function resolve(dir) { return path.join(__dirname, dir); } +<<<<<<< HEAD const serverHost = "http://192.168.1.32:8066"; // const serverHost = "http://192.168.0.83:8006"; module.exports = { publicPath: "./", outputDir: "zhgj", +======= +const serverHost = "http://192.168.0.231:8006"; +// const serverHost = "http://127.0.0.1:8006" +module.exports = { + publicPath: "./", + outputDir: "gj", +>>>>>>> d55c698309e1775da715e035dd9e1b7d06e52a30 assetsDir: "static", lintOnSave: false, //process.env.NODE_ENV === 'development', productionSourceMap: false,