Merge branch 'master' of http://172.16.1.12/chengdandan/TransFlow
|
@ -0,0 +1 @@
|
|||
http://172.16.1.168:5000
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 175 B After Width: | Height: | Size: 175 B |
Before Width: | Height: | Size: 96 B After Width: | Height: | Size: 96 B |
Before Width: | Height: | Size: 109 B After Width: | Height: | Size: 109 B |
Before Width: | Height: | Size: 74 B After Width: | Height: | Size: 74 B |
Before Width: | Height: | Size: 84 B After Width: | Height: | Size: 84 B |
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
|
@ -0,0 +1,243 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en-us">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>Unity WebGL Player | Painter</title>
|
||||
<link rel="shortcut icon" href="TemplateData/favicon.ico">
|
||||
<link rel="stylesheet" href="TemplateData/style.css">
|
||||
</head>
|
||||
<style>
|
||||
body,html{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<div id="unity-container" style="height: 100%;" class="unity-desktop">
|
||||
<canvas id="unity-canvas" width=1600 height=900></canvas>
|
||||
<div id="unity-loading-bar">
|
||||
<div id="unity-logo"></div>
|
||||
<div id="unity-progress-bar-empty">
|
||||
<div id="unity-progress-bar-full"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="unity-warning"> </div>
|
||||
<div id="unity-footer">
|
||||
<!-- <div id="unity-webgl-logo"></div> -->
|
||||
<!-- <div id="unity-fullscreen-button"></div> -->
|
||||
<!-- <div id="unity-build-title">Painter</div> -->
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
var container = document.querySelector("#unity-container");
|
||||
var canvas = document.querySelector("#unity-canvas");
|
||||
var loadingBar = document.querySelector("#unity-loading-bar");
|
||||
var progressBarFull = document.querySelector("#unity-progress-bar-full");
|
||||
var fullscreenButton = document.querySelector("#unity-fullscreen-button");
|
||||
var warningBanner = document.querySelector("#unity-warning");
|
||||
|
||||
// Shows a temporary message banner/ribbon for a few seconds, or
|
||||
// a permanent error message on top of the canvas if type=='error'.
|
||||
// If type=='warning', a yellow highlight color is used.
|
||||
// Modify or remove this function to customize the visually presented
|
||||
// way that non-critical warnings and error messages are presented to the
|
||||
// user.
|
||||
function unityShowBanner(msg, type) {
|
||||
function updateBannerVisibility() {
|
||||
warningBanner.style.display = warningBanner.children.length ? 'block' : 'none';
|
||||
}
|
||||
var div = document.createElement('div');
|
||||
div.innerHTML = msg;
|
||||
warningBanner.appendChild(div);
|
||||
if (type == 'error') div.style = 'background: red; padding: 10px;';
|
||||
else {
|
||||
if (type == 'warning') div.style = 'background: yellow; padding: 10px;';
|
||||
setTimeout(function() {
|
||||
warningBanner.removeChild(div);
|
||||
updateBannerVisibility();
|
||||
}, 5000);
|
||||
}
|
||||
updateBannerVisibility();
|
||||
}
|
||||
|
||||
var buildUrl = "Build";
|
||||
var loaderUrl = buildUrl + "/APP.loader.js";
|
||||
var config = {
|
||||
dataUrl: buildUrl + "/APP.data.unityweb",
|
||||
frameworkUrl: buildUrl + "/APP.framework.js.unityweb",
|
||||
codeUrl: buildUrl + "/APP.wasm.unityweb",
|
||||
streamingAssetsUrl: "StreamingAssets",
|
||||
companyName: "DefaultCompany",
|
||||
productName: "Painter",
|
||||
productVersion: "0.1",
|
||||
showBanner: unityShowBanner,
|
||||
};
|
||||
|
||||
// By default Unity keeps WebGL canvas render target size matched with
|
||||
// the DOM size of the canvas element (scaled by window.devicePixelRatio)
|
||||
// Set this to false if you want to decouple this synchronization from
|
||||
// happening inside the engine, and you would instead like to size up
|
||||
// the canvas DOM size and WebGL render target sizes yourself.
|
||||
// config.matchWebGLToCanvasSize = false;
|
||||
|
||||
if (/iPhone|iPad|iPod|Android/i.test(navigator.userAgent)) {
|
||||
// Mobile device style: fill the whole browser client area with the game canvas:
|
||||
|
||||
var meta = document.createElement('meta');
|
||||
meta.name = 'viewport';
|
||||
meta.content = 'width=device-width, height=device-height, initial-scale=1.0, user-scalable=no, shrink-to-fit=yes';
|
||||
document.getElementsByTagName('head')[0].appendChild(meta);
|
||||
container.className = "unity-mobile";
|
||||
|
||||
// To lower canvas resolution on mobile devices to gain some
|
||||
// performance, uncomment the following line:
|
||||
// config.devicePixelRatio = 1;
|
||||
|
||||
canvas.style.width = window.innerWidth + 'px';
|
||||
canvas.style.height = window.innerHeight + 'px';
|
||||
|
||||
unityShowBanner('WebGL builds are not supported on mobile devices.');
|
||||
} else {
|
||||
// Desktop style: Render the game canvas in a window that can be maximized to fullscreen:
|
||||
|
||||
// canvas.style.width = "960px";
|
||||
// canvas.style.height = "600px";
|
||||
// canvas.style.width = window.innerWidth + 'px';
|
||||
// canvas.style.height = window.innerHeight + 'px';
|
||||
}
|
||||
|
||||
loadingBar.style.display = "block";
|
||||
var unity;
|
||||
var script = document.createElement("script");
|
||||
script.src = loaderUrl;
|
||||
script.onload = () => {
|
||||
createUnityInstance(canvas, config, (progress) => {
|
||||
progressBarFull.style.width = 100 * progress + "%";
|
||||
}).then((unityInstance) => {
|
||||
unity = unityInstance
|
||||
loadingBar.style.display = "none";
|
||||
// fullscreenButton.onclick = () => {
|
||||
// unityInstance.SetFullscreen(1);
|
||||
// };
|
||||
}).catch((message) => {
|
||||
alert(message);
|
||||
});
|
||||
};
|
||||
//unity初始化
|
||||
function OnSceneLoaded(){
|
||||
window.parent.OnScene();
|
||||
}
|
||||
//获取图像
|
||||
function getDestination(string){
|
||||
if(unity!=null){
|
||||
unity.SendMessage('AAA', 'SendImage', string);
|
||||
}
|
||||
}
|
||||
//获取图像id等数据
|
||||
function getData(string){
|
||||
// console.log("string",string)
|
||||
if(unity!=null){
|
||||
unity.SendMessage('AAA', 'SendStream', string);
|
||||
}
|
||||
}
|
||||
//获取轨迹方法
|
||||
function getGuiJi(string){
|
||||
if(unity!=null){
|
||||
unity.SendMessage('AAA', 'SendJT_GuiJi', string);
|
||||
}
|
||||
}
|
||||
//传触发数据
|
||||
function getChuFa(string){
|
||||
console.log("string",string)
|
||||
if(unity!=null){
|
||||
unity.SendMessage('AAA', 'SendJT_JianCeQi', string);
|
||||
}
|
||||
}
|
||||
//获取图形数据
|
||||
function getfigureData(string,string1,string2){
|
||||
// console.log("图形类型",string)
|
||||
// console.log("图形名称",string1)
|
||||
// console.log("图形位置",string2)
|
||||
window.parent.getFigure(string,string1,string2);
|
||||
}
|
||||
//新增图形传图形id
|
||||
function postFigureId(string){
|
||||
console.log("图形id",string)
|
||||
// if(unity!=null){
|
||||
unity.SendMessage("GameManager",'ReceivingPatternId', string);
|
||||
//打开新增图形命名弹窗
|
||||
|
||||
// }
|
||||
}
|
||||
//打开修改图形名称弹框
|
||||
function modifyTheName(data){
|
||||
console.log("图形名称弹框",data)
|
||||
window.parent.getModifyTheName(data);
|
||||
}
|
||||
//传单个视频id获取到单个视频配置下的所有图形
|
||||
function postVideoId(data){
|
||||
console.log("所有图形id",data)
|
||||
if(unity!=null){
|
||||
unity.SendMessage("GameManager",'ReceptionVideoId', data);
|
||||
}
|
||||
}
|
||||
//传修改好的名称
|
||||
function postFigureName(data){
|
||||
console.log("修改好的名称",data)
|
||||
if(unity!=null){
|
||||
unity.SendMessage("GameManager",'ReceiveModifiedName', data);
|
||||
}
|
||||
}
|
||||
//新增图形点击取消
|
||||
function delFigure(){
|
||||
if(unity!=null){
|
||||
unity.SendMessage("GameManager",'DestoryMyLine');
|
||||
}
|
||||
}
|
||||
//获取组件id
|
||||
function getComponentId(id,type,name){
|
||||
console.log("id",id)
|
||||
console.log("type",type)
|
||||
console.log("name",name)
|
||||
window.parent.getSingleComponentId(id,type,name);
|
||||
// window.parent.getSingleComponentId('a840492e26354c0a851fecd675e9f59a');
|
||||
}
|
||||
//退出编辑图形
|
||||
function closeEdit(data){
|
||||
// type,id
|
||||
// console.log("type",type)
|
||||
console.log("data",data)
|
||||
if(unity!=null){
|
||||
unity.SendMessage("GameManager",'ExitEdit',data);
|
||||
}
|
||||
}
|
||||
//编辑组件名称传名称
|
||||
function editComponent(data){
|
||||
// type,id
|
||||
console.log("data",data)
|
||||
if(unity!=null){
|
||||
unity.SendMessage("GameManager",'Unity_UpdateInstanceName',data);
|
||||
}
|
||||
}
|
||||
//编辑模拟区域组件交互弹窗
|
||||
function simulationAreaEdit(id,type,componentType,name){
|
||||
console.log("id",id)
|
||||
console.log("type",type)
|
||||
console.log("组件类型",componentType)
|
||||
console.log("组件名称",name)
|
||||
window.parent.getSimulationAreaEdit(id,type,componentType,name);
|
||||
}
|
||||
|
||||
document.body.appendChild(script);
|
||||
|
||||
|
||||
</script>
|
||||
<style>
|
||||
#unity-container.unity-desktop::-webkit-scrollbar{
|
||||
display: none; /* Chrome Safari */
|
||||
}
|
||||
</style>
|
||||
</body>
|
||||
</html>
|
|
@ -1 +0,0 @@
|
|||
*{margin:0;padding:0}#app,body,html{width:100%;height:100%;background:#f0f0f0}body{font-family:PingFang SC,Helvetica Neue,Helvetica,microsoft yahei,arial,STHeiTi,sans-serif}a{text-decoration:none}.header{background-color:#fff}.login-wrap{background:#324157}.plugins-tips{background:#eef1f6;padding:20px 10px;margin-bottom:20px}.el-upload--text em,.plugins-tips a{color:#20a0ff}.pure-button{background:#20a0ff}.tags-li.active{border:1px solid #409eff;background-color:#409eff}.message-title{color:#20a0ff}.collapse-btn:hover{background:none}.error-page{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;width:100%;height:100%;background:#f3f3f3;-webkit-box-sizing:border-box;box-sizing:border-box}.error-code{line-height:1;font-size:250px;font-weight:bolder;color:#f02d2d}.error-code span{color:#00a854}.error-desc{font-size:30px;color:#777}.error-handle{margin-top:30px;padding-bottom:200px}.error-btn{margin-left:100px}.content-box{position:absolute;left:250px;right:0;top:70px;bottom:0;padding:10px 20px;-webkit-transition:left .3s ease-in-out;transition:left .3s ease-in-out;background:#f0f0f0}.content{width:auto;height:100%;padding:10px;overflow-y:scroll;-webkit-box-sizing:border-box;box-sizing:border-box}.content-collapse{left:65px}.container{min-height:100%;padding:20px;background:#fff;border:1px solid #ddd;border-radius:5px}.crumbs{margin:10px 0}.el-table th{background-color:#f5f7fa!important}.pagination{margin:20px 0;text-align:right}.el-button+.el-tooltip{margin-left:10px}.el-table tr:hover{background:#f6faff}.mgb20{margin-bottom:20px}.move-enter-active,.move-leave-active{-webkit-transition:opacity .5s;transition:opacity .5s}.move-enter,.move-leave{opacity:0}.table-container{margin-top:20px}.pagination-area{width:100%;text-align:right;margin:20px 0 10px 0}.test-div{margin:15px}.theme1 .el-menu-item,.theme1 .sidebar-el-menu:not(.el-menu--collapse),.theme1 .sidebar>ul{background:#012d4b!important}.theme1 .el-menu-item{color:#fff!important}.theme1 .el-menu-item,.theme1 .el-submenu__title{background:#012d4b!important}.theme1 .header{background-color:#001d30!important}.theme1 .el-dropdown-link,.theme1 .header{color:#fff!important}.theme1 .el-menu--horizontal>.el-menu-item.is-active{border-bottom:2px solid #7fffd4!important;color:#7fffd4!important}.theme1 .el-menu--horizontal>.el-menu-item,.theme1 .el-menu--horizontal>.el-menu-item:hover{background:transparent!important;color:#fff!important}.theme1 .el-icon-bell,.theme1 .el-icon-caret-bottom{color:#fff}
|
|
@ -0,0 +1 @@
|
|||
*{margin:0;padding:0}#app,body,html{width:100%;height:100%;background:#f0f0f0}body{font-family:PingFang SC,Helvetica Neue,Helvetica,microsoft yahei,arial,STHeiTi,sans-serif}a{text-decoration:none}.header{background-color:#fff}.login-wrap{background:#324157}.plugins-tips{background:#eef1f6;padding:20px 10px;margin-bottom:20px}.el-upload--text em,.plugins-tips a{color:#20a0ff}.pure-button{background:#20a0ff}.tags-li.active{border:1px solid #409eff;background-color:#409eff}.message-title{color:#20a0ff}.collapse-btn:hover{background:none}.error-page{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;width:100%;height:100%;background:#f3f3f3;-webkit-box-sizing:border-box;box-sizing:border-box}.error-code{line-height:1;font-size:250px;font-weight:bolder;color:#f02d2d}.error-code span{color:#00a854}.error-desc{font-size:30px;color:#777}.error-handle{margin-top:30px;padding-bottom:200px}.error-btn{margin-left:100px}.content-box{position:absolute;left:250px;right:0;top:70px;bottom:0;overflow-y:scroll;padding:10px 20px;-webkit-transition:left .3s ease-in-out;transition:left .3s ease-in-out;background:#f0f0f0}.content{width:auto;height:100%;padding:10px;overflow-y:scroll;-webkit-box-sizing:border-box;box-sizing:border-box}.content-collapse{left:65px}.container{min-height:100%;padding:20px;background:#fff;border:1px solid #ddd;border-radius:5px}.crumbs{margin:10px 0}.el-table th{background-color:#f5f7fa!important}.pagination{margin:20px 0;text-align:right}.el-button+.el-tooltip{margin-left:10px}.el-table tr:hover{background:#f6faff}.mgb20{margin-bottom:20px}.move-enter-active,.move-leave-active{-webkit-transition:opacity .5s;transition:opacity .5s}.move-enter,.move-leave{opacity:0}.table-container{margin-top:20px}.pagination-area{width:100%;text-align:right;margin:20px 0 10px 0}.test-div{margin:15px}.title{width:95%;font-size:25px;text-align:left;border-bottom:1px solid #000;margin-bottom:20px;font-family:Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,SimSun,sans-serif}.chartTitle,.el-form-item__label{font-size:15px}.chartTitle{font-family:Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,SimSun,sans-serif;font-weight:400;padding-left:15px;-webkit-box-sizing:border-box;box-sizing:border-box;margin-bottom:15px}.typeContent>p{margin-bottom:20px}.titleIcon{width:3px;height:18px;display:inline-block;background-color:#3297ff;vertical-align:middle}.theme1 .el-menu-item,.theme1 .sidebar-el-menu:not(.el-menu--collapse),.theme1 .sidebar>ul{background:#012d4b!important}.theme1 .el-menu-item{color:#fff!important}.theme1 .el-menu-item,.theme1 .el-submenu__title{background:#012d4b!important}.theme1 .header{background-color:#001d30!important}.theme1 .el-dropdown-link,.theme1 .header{color:#fff!important}.theme1 .el-menu--horizontal>.el-menu-item.is-active{border-bottom:2px solid #7fffd4!important;color:#7fffd4!important}.theme1 .el-menu--horizontal>.el-menu-item,.theme1 .el-menu--horizontal>.el-menu-item:hover{background:transparent!important;color:#fff!important}.theme1 .el-icon-bell,.theme1 .el-icon-caret-bottom{color:#fff}
|
|
@ -1 +0,0 @@
|
|||
.logo[data-v-6bc254dc]{float:left;margin-left:60px;margin-top:17.5px;height:29px;width:160px;vertical-align:middle}.sidebar[data-v-6bc254dc]{display:block;position:absolute;left:0;top:70px;bottom:0;overflow-y:scroll}.sidebar[data-v-6bc254dc]::-webkit-scrollbar{width:0}.sidebar-el-menu[data-v-6bc254dc]{width:250px}.sidebar>ul[data-v-6bc254dc]{height:100%}.el-menu-item[data-v-6bc254dc]{font-size:14px!important;padding-left:35px!important}.el-menu-item.is-active[data-v-6bc254dc]{color:#fff!important;background:#3989fa!important}.el-menu-item[data-v-6bc254dc],.el-submenu__title[data-v-6bc254dc]{height:50px!important;line-height:50px!important}.navMenu[data-v-6bc254dc]{max-height:850px}.el-menu[data-v-6bc254dc],.navMenu[data-v-6bc254dc]{background:url(../../static/img/leftBg.3a3010cf.png)}.el-menu[data-v-6bc254dc]{background-size:100%}.el-submenu__title[data-v-6bc254dc]:hover{background-color:#3989fa!important}.aside{overflow-y:scroll;overflow-x:hidden;background:url(../../static/img/leftBg.3a3010cf.png);max-height:1000px;background-size:100%}.aside::-webkit-scrollbar{display:none}.el-submenu__title:hover{background-color:#3989fa!important}.el-menu-item:focus,.el-menu-item:hover{outline:0;background-color:#3989fa!important}.wrapper[data-v-78b36bd1]{width:100%;height:100%;background:#f0f0f0}.logo[data-v-78b36bd1]{margin-left:10px;margin-top:10px;width:80%}.header[data-v-78b36bd1]{position:absolute;-webkit-box-sizing:border-box;box-sizing:border-box;width:87%;height:70px;right:0;font-size:22px;top:5px}.header .logo[data-v-78b36bd1]{float:left;margin-left:60px;margin-top:17.5px;height:29px;width:160px;vertical-align:middle;position:relative}.header-right[data-v-78b36bd1]{float:right;padding-right:50px}.header-user-con[data-v-78b36bd1]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;height:70px}.user-avator[data-v-78b36bd1]{margin-left:20px}.user-avator img[data-v-78b36bd1]{display:block;width:40px;height:40px;border-radius:50%}.user-name[data-v-78b36bd1]{margin-left:10px}.el-dropdown-link[data-v-78b36bd1]{cursor:pointer}.el-dropdown-menu__item[data-v-78b36bd1]{text-align:center}.el-menu.el-menu--horizontal[data-v-78b36bd1]{border-bottom:none!important;float:left;margin-left:50px;background:transparent}.el-menu--horizontal>.el-menu-item.is-active[data-v-78b36bd1]{font-weight:700}.el-menu--horizontal>.el-menu-item[data-v-78b36bd1]{font-size:16px;margin:0 15px}
|
|
@ -0,0 +1 @@
|
|||
.test-div i[data-v-d1607e46]{font-size:25px}.el-form-item[data-v-d1607e46]{margin-bottom:0}.el-col-6[data-v-d1607e46]{padding-top:0;padding-left:0;line-height:32px}
|
|
@ -1 +0,0 @@
|
|||
.test-div i{font-size:25px}
|
|
@ -0,0 +1 @@
|
|||
.title[data-v-7c867450]{width:95%;font-size:25px;text-align:left;border-bottom:1px solid #000;margin-bottom:20px}.el-form-item[data-v-7c867450]{margin-bottom:15px}.test-div i[data-v-7c867450]{font-size:25px}
|
|
@ -1 +0,0 @@
|
|||
[data-v-4cbdb151] .el-form-item__content{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center}[data-v-4cbdb151] .el-form-item__label{text-align:left;font-size:16px}.container[data-v-4cbdb151]{width:100%;height:100%}.container p[data-v-4cbdb151]{width:95%;font-size:25px;text-align:left;border-bottom:1px solid #000;margin-bottom:20px}
|
|
@ -0,0 +1 @@
|
|||
.title[data-v-60b5225e]{width:95%;font-size:25px;text-align:left;border-bottom:1px solid #000;margin-bottom:20px}.test-div i[data-v-60b5225e]{font-size:25px}
|
|
@ -1 +0,0 @@
|
|||
.test-div i{font-size:25px}.el-form-item{margin-bottom:0}.mar-top20{margin-top:20px}
|
|
@ -0,0 +1 @@
|
|||
.test-div i{font-size:25px}[data-v-78e27c9a] .el-form-item__label{text-align:left;font-size:15px}[data-v-78e27c9a] .el-form-item{margin-bottom:15px}.container[data-v-78e27c9a]{width:100%;height:100%}.container p[data-v-78e27c9a]{width:95%;font-size:25px;text-align:left;border-bottom:1px solid #000;margin-bottom:20px}
|
|
@ -0,0 +1 @@
|
|||
.el-form-item[data-v-60272bdc]{margin-bottom:15px}.test-div i[data-v-60272bdc]{font-size:25px}
|
|
@ -0,0 +1 @@
|
|||
.logo[data-v-6bc254dc]{float:left;margin-left:60px;margin-top:17.5px;height:29px;width:160px;vertical-align:middle}.sidebar[data-v-6bc254dc]{display:block;position:absolute;left:0;top:70px;bottom:0;overflow-y:scroll}.sidebar[data-v-6bc254dc]::-webkit-scrollbar{width:0}.sidebar-el-menu[data-v-6bc254dc]{width:250px}.sidebar>ul[data-v-6bc254dc]{height:100%}.el-menu-item[data-v-6bc254dc]{font-size:14px!important;padding-left:35px!important}.el-menu-item.is-active[data-v-6bc254dc]{color:#fff!important;background:#3989fa!important}.el-menu-item[data-v-6bc254dc],.el-submenu__title[data-v-6bc254dc]{height:50px!important;line-height:50px!important}.navMenu[data-v-6bc254dc]{max-height:850px}.el-menu[data-v-6bc254dc],.navMenu[data-v-6bc254dc]{background:url(../../static/img/leftBg.3a3010cf.png)}.el-menu[data-v-6bc254dc]{background-size:100%}.el-submenu__title[data-v-6bc254dc]:hover{background-color:#3989fa!important}.aside{overflow-y:scroll;overflow-x:hidden;background:url(../../static/img/leftBg.3a3010cf.png);max-height:1000px;background-size:100%}.aside::-webkit-scrollbar{display:none}.el-submenu__title:hover{background-color:#3989fa!important}.el-menu-item:focus,.el-menu-item:hover{outline:0;background-color:#3989fa!important}.wrapper[data-v-32518f16]{width:100%;height:100%;background:#f0f0f0}.logo[data-v-32518f16]{margin-left:10px;margin-top:10px;width:80%}.header[data-v-32518f16]{-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;height:70px;right:0;font-size:22px;top:5px}.header .logo[data-v-32518f16]{float:left;margin-left:60px;margin-top:17.5px;height:29px;width:160px;vertical-align:middle;position:relative}.header-right[data-v-32518f16]{float:right;padding-right:50px}.header-user-con[data-v-32518f16]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;height:70px}.user-avator[data-v-32518f16]{margin-left:20px}.user-avator img[data-v-32518f16]{display:block;width:40px;height:40px;border-radius:50%}.user-name[data-v-32518f16]{margin-left:10px}.el-dropdown-link[data-v-32518f16]{cursor:pointer}.el-dropdown-menu__item[data-v-32518f16]{text-align:center}.el-menu.el-menu--horizontal[data-v-32518f16]{border-bottom:none!important;float:left;margin-left:50px;background:transparent}.el-menu--horizontal>.el-menu-item.is-active[data-v-32518f16]{font-weight:700}.el-menu--horizontal>.el-menu-item[data-v-32518f16]{font-size:16px;margin:0 15px}
|
|
@ -1 +0,0 @@
|
|||
.test-div i{font-size:25px}.el-form-item{margin-bottom:0}
|
|
@ -1 +0,0 @@
|
|||
.test-div i{font-size:25px}[data-v-41429fb5] .el-form-item__content{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center}[data-v-41429fb5] .el-form-item__label{text-align:left;font-size:16px}.container[data-v-41429fb5]{width:100%;height:100%;overflow-y:scroll}.container[data-v-41429fb5]::-webkit-scrollbar{width:0}.container p[data-v-41429fb5]{width:95%;font-size:25px;text-align:left;border-bottom:1px solid #000;margin-bottom:20px}
|
|
@ -1 +0,0 @@
|
|||
[data-v-37ea28ee] .el-form-item__content{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center}[data-v-37ea28ee] .el-form-item__label{text-align:left;font-size:16px}.container[data-v-37ea28ee]{width:100%;height:100%}.container p[data-v-37ea28ee]{width:95%;font-size:25px;text-align:left;border-bottom:1px solid #000;margin-bottom:20px}
|
|
@ -1 +1 @@
|
|||
.test-div i{font-size:25px}.el-form-item{margin-bottom:0}.time{font-size:13px;color:#999}.bot{padding:14px}.bottom{margin-top:13px;line-height:12px;display:inline-block;margin-left:15px}.button{padding:0;float:right}.image{width:100%;display:block}.clearfix:after,.clearfix:before{display:table;content:""}.clearfix:after{clear:both}.middle{width:100%;height:284px}.el-col-6{width:25%;padding-left:20px;padding-top:20px}.type{left:0}.del,.type{position:absolute;top:0}.del{right:0;width:25px;height:25px;z-index:9999}.card{position:relative;cursor:pointer}.name{position:absolute;left:7px;top:0;z-index:99}.el_dialog{position:fixed;width:100%;height:100%;background-color:rgba(0,0,0,.5);margin:0;padding:0}.el_dialog,.el_dialog__content{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.el_dialog__content{width:v-bind(width1);height:400px;background-color:#fff}#dialog .el-dialog__header{border-bottom:1px solid #eee}#dialog .el-dialog__title{font-weight:700;color:#000}
|
||||
.test-div i{font-size:25px}.el-form-item{margin-bottom:0}.time{font-size:13px;color:#999}.bot{padding:14px}.bottom{margin-top:13px;line-height:12px;display:inline-block;margin-left:15px}.button{padding:0;float:right}.image{width:100%;display:block}.clearfix:after,.clearfix:before{display:table;content:""}.clearfix:after{clear:both}.middle{width:100%;height:284px}.el-col-6{width:25%;padding-left:20px;padding-top:20px}.type{left:0}.del,.type{position:absolute;top:0}.del{right:0;width:25px;height:25px;z-index:9999}.card{position:relative;cursor:pointer}.name{position:absolute;left:7px;top:0;z-index:99}.el_dialog{position:fixed;width:100%;height:100%;background-color:rgba(0,0,0,.5);margin:0;padding:0}.el_dialog,.el_dialog__content{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.el_dialog__content{width:v-bind(width1);height:400px;background-color:#fff}#dialog .el-dialog__header{border-bottom:1px solid #eee}#dialog .el-dialog__title{font-weight:700;color:#000}.btn{position:absolute;right:10%;bottom:18%}
|
|
@ -1 +0,0 @@
|
|||
.test-div i{font-size:25px}[data-v-8e157892] .el-form-item__label{text-align:left;font-size:16px}.container[data-v-8e157892]{width:100%;height:100%}.container p[data-v-8e157892]{width:95%;font-size:25px;text-align:left;border-bottom:1px solid #000;margin-bottom:20px}
|
|
@ -0,0 +1 @@
|
|||
.test-div i[data-v-182d8b66]{font-size:25px}.dialog .el-form-item[data-v-182d8b66]{margin-bottom:20px}
|
|
@ -1 +0,0 @@
|
|||
.test-div i{font-size:25px}
|
|
@ -1 +0,0 @@
|
|||
.test-div i{font-size:25px}
|
|
@ -0,0 +1 @@
|
|||
.title{width:95%;text-align:left;border-bottom:1px solid #000;margin-bottom:20px}.test-div i,.title{font-size:25px}.state{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.state .Badge{width:20px;height:20px;border-radius:50%;margin:20px 5px 0 0;-webkit-transform:translateY(-50%);transform:translateY(-50%)}
|
|
@ -1 +0,0 @@
|
|||
.test-div i{font-size:25px}.state{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.state .Badge{width:20px;height:20px;border-radius:50%;margin:20px 5px 0 0;-webkit-transform:translateY(-50%);transform:translateY(-50%)}
|
|
@ -0,0 +1 @@
|
|||
[data-v-6ad3a79c] .el-form-item__content{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center}[data-v-6ad3a79c] .el-form-item__label{text-align:left;font-size:15px}[data-v-6ad3a79c] .el-button--small{margin-left:0!important}.container[data-v-6ad3a79c]{width:100%;height:100%}.container p[data-v-6ad3a79c]{width:95%;font-size:25px;text-align:left;border-bottom:1px solid #000;margin-bottom:20px}
|
|
@ -0,0 +1 @@
|
|||
.test-div i[data-v-565e4e7a]{font-size:25px}.el-form-item[data-v-565e4e7a]{margin-bottom:0}.mar-top20[data-v-565e4e7a]{margin-top:20px}
|
|
@ -0,0 +1 @@
|
|||
.test-div i{font-size:25px}[data-v-19189a1c] .el-form-item__content{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center}[data-v-19189a1c] .el-form-item__label{text-align:left;font-size:15px}.el-form-item[data-v-19189a1c]{margin-bottom:15px}.container[data-v-19189a1c]{width:100%;height:100%;overflow-y:scroll}.container[data-v-19189a1c]::-webkit-scrollbar{width:0}.container .title[data-v-19189a1c]{width:95%;font-size:25px;text-align:left;border-bottom:1px solid #000;margin-bottom:20px}.container .el-col-6[data-v-19189a1c]{padding-left:0;padding-top:0}
|
|
@ -1 +0,0 @@
|
|||
.test-div i{font-size:25px}
|
|
@ -1 +0,0 @@
|
|||
.test-div i{font-size:25px}.el-form-item{margin-bottom:0}
|
|
@ -0,0 +1 @@
|
|||
[data-v-6320eb1c] .el-form-item__content{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center}[data-v-6320eb1c] .el-form-item__label{text-align:left;font-size:15px}.container[data-v-6320eb1c]{width:100%;height:100%}.container p[data-v-6320eb1c]{width:95%;font-size:25px;text-align:left;border-bottom:1px solid #000;margin-bottom:20px}
|
|
@ -1,2 +0,0 @@
|
|||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0a122200"],{2188:function(t,s,e){},"97e2":function(t,s,e){"use strict";var o=e("2188"),n=e.n(o);n.a},d66a:function(t,s,e){"use strict";e.r(s);var o=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"content-box"},[e("div",{staticClass:"container"},[e("p",[t._v("导入设置")]),e("el-upload",{ref:"upload",staticClass:"upload-demo",attrs:{action:"https://jsonplaceholder.typicode.com/posts/","file-list":t.fileList,"auto-upload":!1},on:{"on-success":t.fileSuccess,"on-error":t.fileError,"on-progress":t.fileProgress}},[e("el-button",{attrs:{slot:"trigger",size:"small",type:"primary"},slot:"trigger"},[t._v("选取文件")]),e("el-button",{staticStyle:{"margin-left":"10px"},attrs:{size:"small",type:"success"},on:{click:t.submitUpload}},[t._v("导入")])],1),t._m(0)],1)])},n=[function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"warning"},[e("i",{staticClass:"el-icon-warning",staticStyle:{color:"#409EFF",margin:"0 3px 0 10px"}}),t._v("范围1-8、默认6\n 将一个保存好的系统设置文件导入本系统。导入后将覆盖现有的所有分析和用户设置,并重启系统,未保存的数据可能会丢失,请谨慎使用.\n ")])}],l={data:function(){return{fileList:[]}},methods:{submitUpload:function(){this.$refs.upload.submit(),console.log(this.$refs.upload,"上传")},fileSuccess:function(t,s,e){console.log(t,s,e,"成功")},fileError:function(t,s,e){console.log(t,s,e,"失败")},fileProgress:function(t,s,e){console.log(t,s,e,"上传中")}}},i=l,r=(e("97e2"),e("2877")),a=Object(r["a"])(i,o,n,!1,null,null,null);s["default"]=a.exports}}]);
|
||||
//# sourceMappingURL=chunk-0a122200.11bbac66.js.map
|
|
@ -0,0 +1,2 @@
|
|||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0a122200"],{2188:function(t,s,e){},"97e2":function(t,s,e){"use strict";var o=e("2188"),l=e.n(o);l.a},d66a:function(t,s,e){"use strict";e.r(s);var o=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"content-box"},[e("div",{staticClass:"container"},[e("p",{staticClass:"title"},[t._v("导入设置")]),e("el-upload",{ref:"upload",staticClass:"upload-demo",attrs:{action:"https://jsonplaceholder.typicode.com/posts/","file-list":t.fileList,"auto-upload":!1},on:{"on-success":t.fileSuccess,"on-error":t.fileError,"on-progress":t.fileProgress}},[e("el-button",{attrs:{slot:"trigger",size:"small",type:"primary"},slot:"trigger"},[t._v("选取文件")]),e("el-button",{staticStyle:{"margin-left":"10px"},attrs:{size:"small",type:"success"},on:{click:t.submitUpload}},[t._v("导入")])],1),t._m(0)],1)])},l=[function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"warning"},[e("i",{staticClass:"el-icon-warning",staticStyle:{color:"#409EFF",margin:"0 3px 0 10px"}}),t._v("范围1-8、默认6\n 将一个保存好的系统设置文件导入本系统。导入后将覆盖现有的所有分析和用户设置,并重启系统,未保存的数据可能会丢失,请谨慎使用.\n ")])}],i={data:function(){return{fileList:[]}},methods:{submitUpload:function(){this.$refs.upload.submit(),console.log(this.$refs.upload,"上传")},fileSuccess:function(t,s,e){console.log(t,s,e,"成功")},fileError:function(t,s,e){console.log(t,s,e,"失败")},fileProgress:function(t,s,e){console.log(t,s,e,"上传中")}}},n=i,a=(e("97e2"),e("2877")),c=Object(a["a"])(n,o,l,!1,null,null,null);s["default"]=c.exports}}]);
|
||||
//# sourceMappingURL=chunk-0a122200.edbfa920.js.map
|
|
@ -1,2 +0,0 @@
|
|||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0aea9f38"],{"2f1e":function(t,e,n){},"3dbb":function(t,e,n){},"64c5":function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"navMenu"},[n("el-menu",{staticClass:"el-menu-vertical-demo",attrs:{router:"","default-active":t.$route.path,"text-color":"#fff","active-text-color":"#ffd04b"}},t._l(t.navMenus,(function(e){return n("label",[e.children?t._e():n("el-menu-item",{attrs:{index:e.path,route:e.path}},[n("i",{class:e.icon}),n("span",{attrs:{slot:"title"},slot:"title"},[t._v(t._s(e.title))])]),e.children?n("el-submenu",{key:e.path,attrs:{index:e.path}},[n("template",{slot:"title"},[n("i",{class:e.icon}),n("span",[t._v(" "+t._s(e.title))])]),n("nav-menu",{attrs:{navMenus:e.children}})],2):t._e()],1)})),0)],1)},o=[],l=(n("28a5"),{name:"NavMenu",props:["navMenus"],data:function(){return{}},computed:{toIndex:function(){return this.$route.path.split("/")[2]}},methods:{handleSelect:function(t,e){console.log("1212"),console.log(t,e)}}}),a=l,c=(n("9961"),n("2877")),s=Object(c["a"])(a,i,o,!1,null,"6bc254dc",null);e["a"]=s.exports},9961:function(t,e,n){"use strict";var i=n("3dbb"),o=n.n(i);o.a},c4e7:function(t,e,n){"use strict";var i=n("2f1e"),o=n.n(i);o.a},fbdf:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("el-main",[n("router-view")],1)],1)},o=[],l=n("64c5"),a={components:{SideMenu:l["a"]},data:function(){return{leftMenus:[{title:"分析",path:"AnalysisMain",icon:"el-icon-user-solid"},{title:"控制中心",path:"ControlCenter",icon:"el-icon-s-goods",children:[{title:"通用",path:"test1-2",icon:"el-icon-s-goods",children:[{title:"关于本机",path:"AboutMachine",icon:"bars"},{title:"网络",path:"network",icon:"tool"},{title:"VPN",path:"VPN",icon:"tool"},{title:"自定义操作",path:"CustomOperations",icon:"tool"},{title:"健康检测",path:"HealthCheck",icon:"tool"}]},{title:"运行状态",path:"StateOperation",icon:"el-icon-user-solid"},{title:"接口",path:"interface",icon:"el-icon-user-solid"},{title:"IP设置",path:"IPSetting",icon:"el-icon-user-solid"}]},{title:"系统设置",path:"SystemSettings",icon:"el-icon-s-goods",children:[{title:"全局设置",path:"globalSettings",icon:"bars"},{title:"关于本机——导出设置",path:"ExportingSettings",icon:"tool"},{title:"关于本机——导入设置",path:"ImportSettings",icon:"tool"},{title:"接口与服务器证书",path:"InterfaceServerCertificates",icon:"tool"},{title:"UDP服务设置",path:"UDPServiceSettings",icon:"tool"}]},{title:"用户管理",path:"UserManagement",icon:"el-icon-s-goods",children:[{title:"我的账号",path:"myId",icon:"bars"},{title:"账号管理",path:"IdManagement",icon:"tool"}]},{title:"通知/日志",path:"logs",icon:"el-icon-s-goods"}]}}},c=a,s=(n("c4e7"),n("2877")),r=Object(s["a"])(c,i,o,!1,null,null,null);e["default"]=r.exports}}]);
|
||||
//# sourceMappingURL=chunk-0aea9f38.2ff97627.js.map
|
|
@ -0,0 +1,2 @@
|
|||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1417f69c"],{"242b":function(t,e,a){"use strict";var s=a("2cf6"),o=a.n(s);o.a},"2cf6":function(t,e,a){},b53f:function(t,e,a){"use strict";a.r(e);var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"content-box"},[a("div",{staticClass:"container"},[a("p",{staticClass:"title"},[t._v("用于REAST API的ssl web服务器证书")]),a("el-form",{attrs:{model:t.form,"label-position":"left","label-width":"220px"}},[a("el-form-item",{attrs:{label:"证书颁发者名称:"}},[t._v("\n "+t._s(t.form.name1)+"\n ")]),a("el-form-item",{attrs:{label:"证书使用者名称:"}},[t._v("\n "+t._s(t.form.name2)+"\n ")]),a("el-form-item",{attrs:{label:"证书有效时间:"}},[t._v("\n "+t._s(t.form.startTime)+"\n ")]),a("el-form-item",{attrs:{label:"证书到期时间:"}},[t._v("\n "+t._s(t.form.endTime)+"\n ")]),a("el-form-item",{attrs:{label:"证书被列入黑名单:"}},[t._v("\n "+t._s(t.form.blacklist)+"\n ")]),a("el-form-item",{attrs:{label:"自签名证书:"}},[t._v("\n "+t._s(t.form.autograph)+"\n ")]),a("el-form-item",{attrs:{label:"证书版本:"}},[t._v("\n "+t._s(t.form.version)+"\n ")])],1),a("el-button",{attrs:{type:"primary"},on:{click:function(e){t.showUpdateCertificate=!0}}},[t._v("更新证书")]),a("el-dialog",{attrs:{title:"提示",visible:t.showUpdateCertificate,width:"30%"},on:{"update:visible":function(e){t.showUpdateCertificate=e}}},[a("el-row",[a("el-col",{attrs:{span:6}},[t._v("\n 文件选择:\n ")]),a("el-col",{attrs:{span:18}},[a("el-upload",{attrs:{action:"https://jsonplaceholder.typicode.com/posts/"}},[a("el-button",{attrs:{size:"small",type:"primary"}},[t._v("点击上传")])],1)],1)],1),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{attrs:{type:"primary"},on:{click:function(e){t.showUpdateCertificate=!1}}},[t._v("确 定")])],1)],1)],1)])},o=[],r={data:function(){return{form:{name1:"ParkingDetrctionCA",name2:"loc.rcesystems.cz",startTime:"2019-12-02 22::17:47",endTime:"2033-08-10 22::17:47",blacklist:"否",autograph:"否",version:"3"},showUpdateCertificate:!1}}},l=r,n=(a("242b"),a("2877")),i=Object(n["a"])(l,s,o,!1,null,"d1607e46",null);e["default"]=i.exports}}]);
|
||||
//# sourceMappingURL=chunk-1417f69c.0ed57e6c.js.map
|
|
@ -1,2 +0,0 @@
|
|||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1a3fca50"],{2024:function(t,e,o){"use strict";o.r(e);var a=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"content-box"},[o("div",{staticClass:"container"},[o("p",[t._v("FTP设置")]),o("el-form",{staticStyle:{width:"50%"},attrs:{model:t.form,"label-position":"left","label-width":"110px"}},[o("el-form-item",{attrs:{label:"账号:"}},[o("el-input",{attrs:{placeholder:"请输入账号名",clearable:""},model:{value:t.form.ComponentPropsname,callback:function(e){t.$set(t.form,"ComponentPropsname",e)},expression:"form.ComponentPropsname"}})],1),o("el-form-item",{attrs:{label:"密码:"}},[o("el-input",{attrs:{placeholder:"请输入密码","show-password":""},model:{value:t.form.password,callback:function(e){t.$set(t.form,"password",e)},expression:"form.password"}})],1),o("el-form-item",{attrs:{label:"FTP:"}},[o("el-input",{attrs:{placeholder:"请输入账号名",clearable:""},model:{value:t.form.FTP,callback:function(e){t.$set(t.form,"FTP",e)},expression:"form.FTP"}})],1)],1),o("el-button",{attrs:{type:"primary"},on:{cilck:t.Submit}},[t._v("修改")])],1)])},l=[],r={data:function(){return{form:{name:"",password:"",FTP:""}}},methods:{Submit:function(){this.form}}},n=r,s=(o("56c1"),o("2877")),c=Object(s["a"])(n,a,l,!1,null,null,null);e["default"]=c.exports},"46c7":function(t,e,o){},"56c1":function(t,e,o){"use strict";var a=o("46c7"),l=o.n(a);l.a}}]);
|
||||
//# sourceMappingURL=chunk-1a3fca50.dc1f937d.js.map
|
|
@ -0,0 +1,2 @@
|
|||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2126896d"],{"1eb8":function(e,t,n){"use strict";var a=n("bd10"),l=n.n(a);l.a},"61a9":function(e,t,n){"use strict";n.r(t);var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"content-box"},[n("div",{staticClass:"container"},[n("p",{staticClass:"title"},[e._v("通知/日志")]),n("el-table",{staticStyle:{width:"100%"},attrs:{data:e.tableData,height:e.tableHeight,border:""}},[n("el-table-column",{attrs:{align:"center",prop:"date",label:"通知类型",width:"180"}}),n("el-table-column",{attrs:{align:"center",prop:"name",label:"产生时机",width:"180"}}),n("el-table-column",{attrs:{align:"center",prop:"address",label:"内容"}}),n("el-table-column",{attrs:{align:"center",label:"操作",width:"160"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("el-button",{attrs:{type:"text",size:"small"},on:{click:function(n){return e.download(t.row)}}},[e._v("下载")]),n("el-button",{staticClass:"el-icon-view",attrs:{type:"text",size:"small"},on:{click:function(n){return e.showView(t.row)}}}),n("el-button",{staticClass:"el-icon-delete",attrs:{type:"text",size:"small"},on:{click:function(n){return e.clickDelete(t.row)}}})]}}])})],1),n("el-pagination",{staticStyle:{"padding-top":"10px"},attrs:{"current-page":e.currentPage,"page-sizes":[100,200,300,400],"page-size":e.pageSize,layout:"sizes, prev, pager, next",total:e.totalNumber},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange,"update:currentPage":function(t){e.currentPage=t},"update:current-page":function(t){e.currentPage=t}}}),n("el-dialog",{attrs:{title:"提示",visible:e.dialogVisible,width:"30%"},on:{"update:visible":function(t){e.dialogVisible=t}}},[n("span",[e._v("这是一段信息")])])],1)])},l=[],i={data:function(){return{tableData:[{date:"2016-05-02",name:"王小虎",address:"上海市普陀区金沙江路 1518 弄"},{date:"2016-05-04",name:"王小虎",address:"上海市普陀区金沙江路 1517 弄"},{date:"2016-05-01",name:"王小虎",address:"上海市普陀区金沙江路 1519 弄"},{date:"2016-05-03",name:"王小虎",address:"上海市普陀区金沙江路 1516 弄"}],currentPage:1,pageSize:100,totalNumber:1e3,tableHeight:0,dialogVisible:!1}},created:function(){var e=document.documentElement.clientHeight||document.body.clientHeight;this.tableHeight=e-170},methods:{download:function(e){console.log(e,"下载")},showView:function(e){console.log(e,"查看"),this.dialogVisible=!0},clickDelete:function(e){console.log(e,"删除")},handleSizeChange:function(e){console.log("每页 ".concat(e," 条"))},handleCurrentChange:function(e){console.log("当前页: ".concat(e))}}},o=i,c=(n("1eb8"),n("2877")),s=Object(c["a"])(o,a,l,!1,null,null,null);t["default"]=s.exports},bd10:function(e,t,n){}}]);
|
||||
//# sourceMappingURL=chunk-2126896d.1facc2d5.js.map
|
|
@ -1,2 +0,0 @@
|
|||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2126896d"],{"1eb8":function(e,t,n){"use strict";var a=n("bd10"),l=n.n(a);l.a},"61a9":function(e,t,n){"use strict";n.r(t);var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"content-box"},[n("div",{staticClass:"container"},[n("p",[e._v("通知/日志")]),n("el-table",{staticStyle:{width:"100%"},attrs:{data:e.tableData,height:e.tableHeight,border:""}},[n("el-table-column",{attrs:{align:"center",prop:"date",label:"通知类型",width:"180"}}),n("el-table-column",{attrs:{align:"center",prop:"name",label:"产生时机",width:"180"}}),n("el-table-column",{attrs:{align:"center",prop:"address",label:"内容"}}),n("el-table-column",{attrs:{align:"center",label:"操作",width:"160"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("el-button",{attrs:{type:"text",size:"small"},on:{click:function(n){return e.download(t.row)}}},[e._v("下载")]),n("el-button",{staticClass:"el-icon-view",attrs:{type:"text",size:"small"},on:{click:function(n){return e.showView(t.row)}}}),n("el-button",{staticClass:"el-icon-delete",attrs:{type:"text",size:"small"},on:{click:function(n){return e.clickDelete(t.row)}}})]}}])})],1),n("el-pagination",{staticStyle:{"padding-top":"10px"},attrs:{"current-page":e.currentPage,"page-sizes":[100,200,300,400],"page-size":e.pageSize,layout:"sizes, prev, pager, next",total:e.totalNumber},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange,"update:currentPage":function(t){e.currentPage=t},"update:current-page":function(t){e.currentPage=t}}}),n("el-dialog",{attrs:{title:"提示",visible:e.dialogVisible,width:"30%"},on:{"update:visible":function(t){e.dialogVisible=t}}},[n("span",[e._v("这是一段信息")])])],1)])},l=[],i={data:function(){return{tableData:[{date:"2016-05-02",name:"王小虎",address:"上海市普陀区金沙江路 1518 弄"},{date:"2016-05-04",name:"王小虎",address:"上海市普陀区金沙江路 1517 弄"},{date:"2016-05-01",name:"王小虎",address:"上海市普陀区金沙江路 1519 弄"},{date:"2016-05-03",name:"王小虎",address:"上海市普陀区金沙江路 1516 弄"}],currentPage:1,pageSize:100,totalNumber:1e3,tableHeight:0,dialogVisible:!1}},created:function(){var e=document.documentElement.clientHeight||document.body.clientHeight;this.tableHeight=e-170},methods:{download:function(e){console.log(e,"下载")},showView:function(e){console.log(e,"查看"),this.dialogVisible=!0},clickDelete:function(e){console.log(e,"删除")},handleSizeChange:function(e){console.log("每页 ".concat(e," 条"))},handleCurrentChange:function(e){console.log("当前页: ".concat(e))}}},o=i,c=(n("1eb8"),n("2877")),s=Object(c["a"])(o,a,l,!1,null,null,null);t["default"]=s.exports},bd10:function(e,t,n){}}]);
|
||||
//# sourceMappingURL=chunk-2126896d.3f46e764.js.map
|
|
@ -0,0 +1,2 @@
|
|||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-25001e32"],{2024:function(t,e,o){"use strict";o.r(e);var a=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"content-box"},[o("div",{staticClass:"container"},[o("p",{staticClass:"title"},[t._v("FTP设置")]),o("el-form",{staticStyle:{width:"50%"},attrs:{model:t.form,"label-position":"left","label-width":"110px"}},[o("el-form-item",{attrs:{label:"账号:"}},[o("el-input",{attrs:{placeholder:"请输入账号名",clearable:""},model:{value:t.form.ComponentPropsname,callback:function(e){t.$set(t.form,"ComponentPropsname",e)},expression:"form.ComponentPropsname"}})],1),o("el-form-item",{attrs:{label:"密码:"}},[o("el-input",{attrs:{placeholder:"请输入密码","show-password":""},model:{value:t.form.password,callback:function(e){t.$set(t.form,"password",e)},expression:"form.password"}})],1),o("el-form-item",{attrs:{label:"FTP:"}},[o("el-input",{attrs:{placeholder:"请输入账号名",clearable:""},model:{value:t.form.FTP,callback:function(e){t.$set(t.form,"FTP",e)},expression:"form.FTP"}})],1)],1),o("el-button",{attrs:{type:"primary"},on:{cilck:t.Submit}},[t._v("修改")])],1)])},l=[],r={data:function(){return{form:{name:"",password:"",FTP:""}}},methods:{Submit:function(){this.form}}},s=r,n=(o("ae9d"),o("2877")),i=Object(n["a"])(s,a,l,!1,null,"7c867450",null);e["default"]=i.exports},ae9d:function(t,e,o){"use strict";var a=o("cb70"),l=o.n(a);l.a},cb70:function(t,e,o){}}]);
|
||||
//# sourceMappingURL=chunk-25001e32.6e242da0.js.map
|
|
@ -1,2 +0,0 @@
|
|||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-281234dd"],{8302:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"content-box"},[n("div",{staticClass:"container"},[n("el-form",{ref:"form",attrs:{model:t.sizeForm,"label-width":"220px"}},[n("p",[t._v("自定义操作")]),n("el-form-item",{attrs:{label:"重新启动网络服务"}}),n("el-form-item",{attrs:{label:"重新启动systemd网络服务:"}},[n("el-col",{attrs:{span:1}},[n("el-button",{staticStyle:{"margin-left":"10px"},attrs:{type:"primary",size:"small"},on:{click:t.handleagain}},[t._v("启动")])],1)],1)],1)],1)])},s=[],i={data:function(){return{sizeForm:{name:"",region:"",date1:"",date2:"",delivery:!1,type:[],resource:"",desc:""},fileList:[]}},methods:{handleagain:function(){var t=this;this.$confirm("此操作将重新启动systemd网络服务, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){})).catch((function(){t.$message({type:"info",message:"已取消"})}))}}},r=i,o=(n("8620"),n("2877")),c=Object(o["a"])(r,a,s,!1,null,"4cbdb151",null);e["default"]=c.exports},8620:function(t,e,n){"use strict";var a=n("dde2"),s=n.n(a);s.a},dde2:function(t,e,n){}}]);
|
||||
//# sourceMappingURL=chunk-281234dd.9f63e037.js.map
|
|
@ -1,2 +1,2 @@
|
|||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-584a0fa2"],{"299c7":function(e,t,a){},"3f1d":function(e,t,a){"use strict";var n=a("e41a"),l=a.n(n);l.a},"6f10":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"content-box"},[a("div",{staticClass:"container"},[a("el-form",{ref:"form",attrs:{model:e.sizeForm,"label-width":"140px"}},[a("p",[e._v("主机")]),a("el-form-item",{attrs:{label:"名称:","label-width":e.formLabelWidth}},[a("el-input",{staticStyle:{width:"50%"},attrs:{autocomplete:"off"},model:{value:e.sizeForm.name,callback:function(t){e.$set(e.sizeForm,"name",t)},expression:"sizeForm.name"}})],1),a("el-form-item",{attrs:{label:"时间:","label-width":e.formLabelWidth}},[a("el-date-picker",{staticStyle:{width:"50%"},attrs:{type:"date",placeholder:"选择日期",autocomplete:"off"},model:{value:e.sizeForm.date1,callback:function(t){e.$set(e.sizeForm,"date1",t)},expression:"sizeForm.date1"}}),a("el-button",{staticStyle:{"margin-left":"10px"},attrs:{type:"primary",size:"small"}},[e._v("自动校验")])],1),a("p",[e._v("备份&恢复")]),a("el-form-item",{attrs:{label:"备份服务器设置:"}},[a("el-col",{attrs:{span:12}},[a("el-button",{attrs:{type:"primary",size:"small"}},[e._v("备份")])],1)],1),a("el-form-item",{attrs:{label:"还原服务器设置:"}},[a("el-col",{attrs:{span:3}},[a("el-button",{attrs:{type:"primary",disabled:"",size:"small"}},[e._v("备份")])],1),a("el-col",{attrs:{span:4}},[a("el-upload",{staticClass:"upload-demo",attrs:{action:"https://jsonplaceholder.typicode.com/posts/","on-preview":e.handlePreview,"on-remove":e.handleRemove,"before-remove":e.beforeRemove,multiple:"",limit:3,"on-exceed":e.handleExceed,"file-list":e.fileList}},[a("el-button",{attrs:{size:"small",type:"primary"}},[e._v("点击上传")])],1)],1)],1),a("p",[e._v("出厂默认值")]),a("el-form-item",{attrs:{label:"还原服务器设置:"}},[a("el-col",{attrs:{span:12}},[a("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(t){return e.handleReset()}}},[e._v("重置默认值")])],1)],1),a("p",[e._v("重新启动")]),a("el-form-item",{attrs:{label:"重新启动系统:"}},[a("el-col",{attrs:{span:12}},[a("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(t){return e.handleagain()}}},[e._v("重新启动")])],1)],1)],1)],1)])},l=[],o=(a("7f7f"),{data:function(){return{formLabelWidth:"120px",sizeForm:{name:"",region:"",date1:"",date2:"",delivery:!1,type:[],resource:"",desc:""},fileList:[]}},methods:{handleagain:function(){var e=this;this.$confirm("此操作将重新启动系统, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){})).catch((function(){e.$message({type:"info",message:"已取消"})}))},handleReset:function(){var e=this;this.$confirm("此操作将重置默认值, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){})).catch((function(){e.$message({type:"info",message:"已取消重置"})}))},handleRemove:function(e,t){console.log(e,t)},handlePreview:function(e){console.log(e)},handleExceed:function(e,t){this.$message.warning("当前限制选择 3 个文件,本次选择了 ".concat(e.length," 个文件,共选择了 ").concat(e.length+t.length," 个文件"))},beforeRemove:function(e,t){return this.$confirm("确定移除 ".concat(e.name,"?"))}}}),i=o,s=(a("f1ca"),a("3f1d"),a("2877")),r=Object(s["a"])(i,n,l,!1,null,"8e157892",null);t["default"]=r.exports},e41a:function(e,t,a){},f1ca:function(e,t,a){"use strict";var n=a("299c7"),l=a.n(n);l.a}}]);
|
||||
//# sourceMappingURL=chunk-584a0fa2.e887737f.js.map
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2ffccff5"],{"299c7":function(e,t,a){},"4c20":function(e,t,a){"use strict";var n=a("7555"),l=a.n(n);l.a},"6f10":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"content-box"},[a("div",{staticClass:"container"},[a("el-form",{ref:"form",attrs:{model:e.sizeForm,"label-width":"140px"}},[a("p",[e._v("主机")]),a("el-form-item",{attrs:{label:"名称:","label-width":e.formLabelWidth}},[a("el-input",{staticStyle:{width:"50%"},attrs:{autocomplete:"off"},model:{value:e.sizeForm.name,callback:function(t){e.$set(e.sizeForm,"name",t)},expression:"sizeForm.name"}})],1),a("el-form-item",{attrs:{label:"时间:","label-width":e.formLabelWidth}},[a("el-date-picker",{staticStyle:{width:"50%"},attrs:{type:"date",placeholder:"选择日期",autocomplete:"off"},model:{value:e.sizeForm.date1,callback:function(t){e.$set(e.sizeForm,"date1",t)},expression:"sizeForm.date1"}}),a("el-button",{staticStyle:{"margin-left":"10px"},attrs:{type:"primary",size:"small"}},[e._v("自动校验")])],1),a("p",[e._v("备份&恢复")]),a("el-form-item",{attrs:{label:"备份服务器设置:"}},[a("el-col",{attrs:{span:12}},[a("el-button",{attrs:{type:"primary",size:"small"}},[e._v("备份")])],1)],1),a("el-form-item",{attrs:{label:"还原服务器设置:"}},[a("el-col",{attrs:{span:3}},[a("el-button",{attrs:{type:"primary",disabled:"",size:"small"}},[e._v("备份")])],1),a("el-col",{attrs:{span:4}},[a("el-upload",{staticClass:"upload-demo",attrs:{action:"https://jsonplaceholder.typicode.com/posts/","on-preview":e.handlePreview,"on-remove":e.handleRemove,"before-remove":e.beforeRemove,multiple:"",limit:3,"on-exceed":e.handleExceed,"file-list":e.fileList}},[a("el-button",{attrs:{size:"small",type:"primary"}},[e._v("点击上传")])],1)],1)],1),a("p",[e._v("出厂默认值")]),a("el-form-item",{attrs:{label:"还原服务器设置:"}},[a("el-col",{attrs:{span:12}},[a("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(t){return e.handleReset()}}},[e._v("重置默认值")])],1)],1),a("p",[e._v("重新启动")]),a("el-form-item",{attrs:{label:"重新启动系统:"}},[a("el-col",{attrs:{span:12}},[a("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(t){return e.handleagain()}}},[e._v("重新启动")])],1)],1)],1)],1)])},l=[],o=(a("7f7f"),{data:function(){return{formLabelWidth:"120px",sizeForm:{name:"",region:"",date1:"",date2:"",delivery:!1,type:[],resource:"",desc:""},fileList:[]}},methods:{handleagain:function(){var e=this;this.$confirm("此操作将重新启动系统, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){})).catch((function(){e.$message({type:"info",message:"已取消"})}))},handleReset:function(){var e=this;this.$confirm("此操作将重置默认值, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){})).catch((function(){e.$message({type:"info",message:"已取消重置"})}))},handleRemove:function(e,t){console.log(e,t)},handlePreview:function(e){console.log(e)},handleExceed:function(e,t){this.$message.warning("当前限制选择 3 个文件,本次选择了 ".concat(e.length," 个文件,共选择了 ").concat(e.length+t.length," 个文件"))},beforeRemove:function(e,t){return this.$confirm("确定移除 ".concat(e.name,"?"))}}}),i=o,s=(a("f1ca"),a("4c20"),a("2877")),r=Object(s["a"])(i,n,l,!1,null,"78e27c9a",null);t["default"]=r.exports},7555:function(e,t,a){},f1ca:function(e,t,a){"use strict";var n=a("299c7"),l=a.n(n);l.a}}]);
|
||||
//# sourceMappingURL=chunk-2ffccff5.a3bb9622.js.map
|
|
@ -0,0 +1,2 @@
|
|||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-301b50ea"],{"064f":function(e,t,l){"use strict";var a=l("791d"),n=l.n(a);n.a},"791d":function(e,t,l){},b1d0:function(e,t,l){"use strict";l.r(t);var a=function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("div",{staticClass:"content-box"},[l("div",{staticClass:"container"},[l("p",{staticClass:"title"},[e._v("导出设置")]),l("el-form",{attrs:{"label-position":"left","label-width":"180px"}},[l("el-form-item",{attrs:{label:"文件格式:"}},[l("el-select",{attrs:{placeholder:"请选择导出文件格式"},model:{value:e.value,callback:function(t){e.value=t},expression:"value"}},e._l(e.options,(function(e){return l("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1),l("el-form-item",{attrs:{label:"文件保存位置:"}},[l("input",{attrs:{type:"file",id:"file",hidden:"",webkitdirectory:""},on:{change:e.fileChange}}),l("el-input",{staticClass:"input-with-select",attrs:{placeholder:"请输入内容"},model:{value:e.imgSavePath,callback:function(t){e.imgSavePath=t},expression:"imgSavePath"}},[l("el-button",{attrs:{slot:"append",icon:"el-icon-folder",type:"success"},on:{click:e.btnChange},slot:"append"})],1)],1)],1),l("el-button",{staticClass:"el-icon-download",attrs:{type:"primary"}},[e._v("导出")])],1)])},n=[],i={data:function(){return{options:[{value:"zip",label:"zip"},{value:"7z",label:"7z"}],value:"zip",imgSavePath:""}},methods:{fileChange:function(e){try{var t=document.getElementById("file");if(null==t)return;this.imgSavePath=t.files[0].path,console.log(t.files)}catch(l){console.debug("choice file err:",l)}},btnChange:function(){var e=document.getElementById("file");e.click()}}},o=i,s=(l("064f"),l("2877")),c=Object(s["a"])(o,a,n,!1,null,"60272bdc",null);t["default"]=c.exports}}]);
|
||||
//# sourceMappingURL=chunk-301b50ea.935507e0.js.map
|
|
@ -0,0 +1,2 @@
|
|||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-478880e8"],{2516:function(t,e,a){"use strict";var n=a("79bc"),i=a.n(n);i.a},"3dbb":function(t,e,a){},"4a5a":function(t,e,a){},"64c5":function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"navMenu"},[a("el-menu",{staticClass:"el-menu-vertical-demo",attrs:{router:"","default-active":t.$route.path,"text-color":"#fff","active-text-color":"#ffd04b"}},t._l(t.navMenus,(function(e){return a("label",[e.children?t._e():a("el-menu-item",{attrs:{index:e.path,route:e.path}},[a("i",{class:e.icon}),a("span",{attrs:{slot:"title"},slot:"title"},[t._v(t._s(e.title))])]),e.children?a("el-submenu",{key:e.path,attrs:{index:e.path}},[a("template",{slot:"title"},[a("i",{class:e.icon}),a("span",[t._v(" "+t._s(e.title))])]),a("nav-menu",{attrs:{navMenus:e.children}})],2):t._e()],1)})),0)],1)},i=[],l=(a("28a5"),{name:"NavMenu",props:["navMenus"],data:function(){return{}},computed:{toIndex:function(){return this.$route.path.split("/")[2]}},methods:{handleSelect:function(t,e){console.log("1212"),console.log(t,e)}}}),s=l,o=(a("9961"),a("2877")),r=Object(o["a"])(s,n,i,!1,null,"6bc254dc",null);e["a"]=r.exports},"6f25":function(t,e,a){"use strict";var n=a("4a5a"),i=a.n(n);i.a},7159:function(t,e,a){t.exports=a.p+"static/img/img.f37456a1.jpg"},"79bc":function(t,e,a){},9961:function(t,e,a){"use strict";var n=a("3dbb"),i=a.n(n);i.a},d9b8:function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wrapper"},[n("el-aside",{staticClass:"aside",staticStyle:{width:"13%",position:"absolute",height:"100%"}},[n("div",{staticClass:"logo"},[n("img",{attrs:{src:a("edb90"),alt:"",width:"100%",height:"100%"}})]),n("SideMenu",{attrs:{navMenus:t.leftMenus}})],1),n("div",{staticClass:"header"},[n("div",{staticStyle:{float:"left"}}),n("div",{staticClass:"header-right"},[n("div",{staticClass:"header-user-con"},[n("div",{on:{click:function(e){return t.handleChangeStyle()}}},[n("el-tooltip",{attrs:{content:"切换主题",placement:"bottom"}},[n("i",{class:t.globalTheme?"el-icon-moon":"el-icon-sunny"})])],1),t._m(0),n("el-dropdown",{staticClass:"user-name",attrs:{trigger:"click"},on:{command:t.handleCommand}},[n("span",{staticClass:"el-dropdown-link"},[t._v(" "+t._s(t.username)+" "),n("i",{staticClass:"el-icon-caret-bottom"})]),n("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[n("el-dropdown-item",{attrs:{disabled:""}},[t._v("修改密码")]),n("el-dropdown-item",{attrs:{command:"loginout"}},[t._v("退出登录")])],1)],1)],1)])]),n("el-main",[n("router-view")],1)],1)},i=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"user-avator"},[n("img",{attrs:{src:a("7159")}})])}],l=(a("28a5"),a("64c5")),s=a("d8ad"),o={components:{SideMenu:l["a"]},data:function(){return{itemList:[{path:"/test1",title:"一级菜单1"},{path:"/test2",title:"一级菜单2"},{path:"/test3",title:"一级菜单3"},{path:"/permission",title:"管理员权限"}],leftMenus:[{title:"分析",path:"AnalysisMain",icon:"el-icon-data-line"},{title:"控制中心",path:"ControlCenter",icon:"el-icon-coin",children:[{title:"通用",path:"test1-2",children:[{title:"关于本机",path:"AboutMachine"},{title:"网络",path:"network"},{title:"VPN",path:"VPN"},{title:"自定义操作",path:"CustomOperations"},{title:"健康检测",path:"HealthCheck"}]},{title:"运行状态",path:"StateOperation"},{title:"接口",path:"interface"},{title:"IP设置",path:"IPSetting"}]},{title:"系统设置",path:"SystemSettings",icon:"el-icon-s-tools",children:[{title:"全局设置",path:"globalSettings"},{title:"关于本机——导出设置",path:"ExportingSettings"},{title:"关于本机——导入设置",path:"ImportSettings"},{title:"接口与服务器证书",path:"InterfaceServerCertificates"},{title:"UDP服务设置",path:"UDPServiceSettings"}]},{title:"用户管理",path:"UserManagement",icon:"el-icon-user-solid",children:[{title:"我的账号",path:"myId"},{title:"账号管理",path:"IdManagement"}]},{title:"通知/日志",path:"logs",icon:"el-icon-phone"}],globalTheme:!1}},computed:{username:function(){return localStorage.getItem("ms_username")||""},toIndex:function(){return"/"+this.$route.path.split("/")[1]}},created:function(){this.globalTheme=JSON.parse(localStorage.getItem("global_theme")),s["a"].$emit("global_theme",this.globalTheme)},methods:{handleSelect:function(t){this.$router.push({path:t})},handleCommand:function(t){"loginout"==t&&(localStorage.removeItem("ms_username"),this.$router.push({path:"/Login"}))},handleChangeStyle:function(){this.globalTheme=!this.globalTheme,localStorage.setItem("global_theme",this.globalTheme),s["a"].$emit("global_theme",this.globalTheme)}}},r=o,c=(a("6f25"),a("2516"),a("2877")),h=Object(c["a"])(r,n,i,!1,null,"32518f16",null);e["default"]=h.exports},edb90:function(t,e,a){t.exports=a.p+"static/img/topTitle.9eba51be.png"}}]);
|
||||
//# sourceMappingURL=chunk-478880e8.adf2b945.js.map
|
|
@ -1,2 +0,0 @@
|
|||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4bbdb4f2"],{"0a16":function(t,e,a){},"19f8":function(t,e,a){"use strict";a.r(e);var l=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"content-box"},[a("div",{staticClass:"container"},[a("el-form",{ref:"form",attrs:{model:t.sizeForm,"label-width":"140px"}},[a("p",[t._v("系统服务VPN")]),a("el-form-item",{attrs:{label:"状态:"}},[a("el-col",{staticStyle:{diaplay:"flex"},attrs:{span:.9}},[a("div",{staticClass:"status",staticStyle:{width:"10px",height:"10px","border-radius":"50%",background:"green"}})]),a("el-col",{staticStyle:{diaplay:"flex"},attrs:{span:2}},[a("span",{staticStyle:{"margin-left":"10px"}},[t._v("YES")])])],1),a("el-form-item",{attrs:{label:"操作:"}},[a("el-col",{attrs:{span:1}},[a("el-button",{staticStyle:{"margin-left":"10px"},attrs:{type:"primary",size:"small"}},[t._v("开始")])],1),a("el-col",{attrs:{span:1}},[a("el-button",{staticStyle:{"margin-left":"10px"},attrs:{type:"danger",size:"small"}},[t._v("停止")])],1),a("el-col",{attrs:{span:2}},[a("el-button",{staticStyle:{"margin-left":"10px"},attrs:{type:"info",size:"small"}},[t._v("显示日志")])],1)],1),a("p",[t._v("保护装置")]),a("el-form-item",{attrs:{label:"配置文件:"}},[a("el-col",{attrs:{span:1}},[a("el-button",{attrs:{type:"primary",size:"small"}},[t._v("上传")])],1),a("el-col",{attrs:{span:4}},[a("el-upload",{staticClass:"upload-demo",attrs:{action:"https://jsonplaceholder.typicode.com/posts/","on-preview":t.handlePreview,"on-remove":t.handleRemove,"before-remove":t.beforeRemove,multiple:"",limit:3,"on-exceed":t.handleExceed,"file-list":t.fileList}},[a("el-button",{attrs:{size:"small",type:"primary"}},[t._v("选择文件")])],1)],1)],1),a("el-form-item",{attrs:{label:"配置上载:"}},[a("el-col",{staticStyle:{diaplay:"flex"},attrs:{span:.9}},[a("div",{staticClass:"status",staticStyle:{width:"10px",height:"10px","border-radius":"50%",background:"red"}})]),a("el-col",{staticStyle:{diaplay:"flex"},attrs:{span:2}},[a("span",{staticStyle:{"margin-left":"10px"}},[t._v("NO")])])],1),a("p",[t._v("开放VPN")]),a("el-form-item",{attrs:{label:"配置文件:"}},[a("el-col",{attrs:{span:1}},[a("el-button",{attrs:{type:"primary",size:"small"}},[t._v("上传")])],1),a("el-col",{attrs:{span:4}},[a("el-upload",{staticClass:"upload-demo",attrs:{action:"https://jsonplaceholder.typicode.com/posts/","on-preview":t.handlePreview,"on-remove":t.handleRemove,"before-remove":t.beforeRemove,multiple:"",limit:3,"on-exceed":t.handleExceed,"file-list":t.fileList}},[a("el-button",{attrs:{size:"small",type:"primary"}},[t._v("选择文件")])],1)],1)],1),a("el-form-item",{attrs:{label:"配置上载:"}},[a("el-col",{staticStyle:{diaplay:"flex"},attrs:{span:.9}},[a("div",{staticClass:"status",staticStyle:{width:"10px",height:"10px","border-radius":"50%",background:"red"}})]),a("el-col",{staticStyle:{diaplay:"flex"},attrs:{span:2}},[a("span",{staticStyle:{"margin-left":"10px"}},[t._v("NO")])])],1),a("p",[t._v("资格证书")]),a("el-form-item",{attrs:{label:"操作:"}},[a("el-col",{attrs:{span:12}},[a("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(e){return t.handleagain()}}},[t._v("设置凭据")])],1)],1)],1)],1)])},s=[],n=(a("7f7f"),{data:function(){return{sizeForm:{name:"",region:"",date1:"",date2:"",delivery:!1,type:[],resource:"",desc:""},fileList:[]}},methods:{handleagain:function(){var t=this;this.$confirm("此操作将重新启动系统, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){})).catch((function(){t.$message({type:"info",message:"已取消"})}))},handleReset:function(){var t=this;this.$confirm("此操作将重置默认值, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){})).catch((function(){t.$message({type:"info",message:"已取消重置"})}))},handleRemove:function(t,e){console.log(t,e)},handlePreview:function(t){console.log(t)},handleExceed:function(t,e){this.$message.warning("当前限制选择 3 个文件,本次选择了 ".concat(t.length," 个文件,共选择了 ").concat(t.length+e.length," 个文件"))},beforeRemove:function(t,e){return this.$confirm("确定移除 ".concat(t.name,"?"))}}}),i=n,o=(a("5db1"),a("2877")),r=Object(o["a"])(i,l,s,!1,null,"37ea28ee",null);e["default"]=r.exports},"5db1":function(t,e,a){"use strict";var l=a("0a16"),s=a.n(l);s.a}}]);
|
||||
//# sourceMappingURL=chunk-4bbdb4f2.23b35865.js.map
|
|
@ -0,0 +1,2 @@
|
|||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6269b174"],{1848:function(t,e,l){},8354:function(t,e,l){"use strict";l.r(e);var a=function(){var t=this,e=t.$createElement,l=t._self._c||e;return l("div",{staticClass:"content-box"},[l("div",{staticClass:"container"},[l("p",{staticClass:"title"},[t._v("账号管理")]),l("el-button",{staticStyle:{"margin-bottom":"10px"},attrs:{type:"primary"},on:{click:function(e){t.addAccountDialog=!0}}},[l("i",{staticClass:"el-icon-circle-plus-outline",staticStyle:{"margin-right":"3px"}}),t._v("新增")]),l("el-table",{staticStyle:{width:"100%"},attrs:{data:t.tableData,height:t.tableHeight,border:""}},[l("el-table-column",{attrs:{align:"center",prop:"name",label:"用户名称",width:"180"}}),l("el-table-column",{attrs:{align:"center",prop:"account",label:"用户账号",width:"180"}}),l("el-table-column",{attrs:{align:"center",prop:"role",label:"角色"}}),l("el-table-column",{attrs:{align:"center",prop:"jurisdiction",label:"权限"}}),l("el-table-column",{attrs:{align:"center",label:"操作",width:"160"},scopedSlots:t._u([{key:"default",fn:function(e){return[l("el-button",{attrs:{type:"text",size:"small"},on:{click:function(l){return t.edit(e.row)}}},[t._v("编辑")]),l("el-button",{staticClass:"el-icon-view",attrs:{type:"text",size:"small"},on:{click:function(l){return t.showView(e.row)}}}),l("el-button",{staticClass:"el-icon-delete",attrs:{type:"text",size:"small"},on:{click:function(l){return t.clickDelete(e.row)}}})]}}])})],1),l("el-pagination",{staticStyle:{"padding-top":"10px"},attrs:{"current-page":t.currentPage,"page-sizes":[100,200,300,400],"page-size":t.pageSize,layout:"sizes, prev, pager, next",total:t.totalNumber},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange,"update:currentPage":function(e){t.currentPage=e},"update:current-page":function(e){t.currentPage=e}}}),l("div",{staticClass:"dialog"},[l("el-dialog",{attrs:{title:t.dialogTitle,visible:t.addAccountDialog,width:"30%"},on:{"update:visible":function(e){t.addAccountDialog=e}}},[l("el-form",{attrs:{"label-position":"left","label-width":"80px",model:t.formLabelAlign}},[l("el-form-item",{attrs:{label:"名称:"}},[l("el-input",{model:{value:t.formLabelAlign.name,callback:function(e){t.$set(t.formLabelAlign,"name",e)},expression:"formLabelAlign.name"}})],1),l("el-form-item",{attrs:{label:"账号:"}},[l("el-input",{model:{value:t.formLabelAlign.account,callback:function(e){t.$set(t.formLabelAlign,"account",e)},expression:"formLabelAlign.account"}})],1),l("el-form-item",{attrs:{label:"角色:"}},[l("el-input",{model:{value:t.formLabelAlign.role,callback:function(e){t.$set(t.formLabelAlign,"role",e)},expression:"formLabelAlign.role"}})],1),l("el-form-item",{attrs:{label:"权限:"}},[l("el-input",{model:{value:t.formLabelAlign.jurisdiction,callback:function(e){t.$set(t.formLabelAlign,"jurisdiction",e)},expression:"formLabelAlign.jurisdiction"}})],1)],1),l("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[l("el-button",{attrs:{type:"primary"},on:{click:function(e){t.addAccountDialog=!1}}},[t._v("确 定")])],1)],1)],1)],1)])},n=[],i=l("ade3"),o={data:function(){var t;return t={addAccountDialog:!1,formLabelAlign:{name:"",account:"",role:"",jurisdiction:""},tableData:[{name:"admin",account:"",role:"admin",jurisdiction:"超级管理员"}],tableHeight:0,currentPage:1,pageSize:100,totalNumber:1e3},Object(i["a"])(t,"tableHeight",0),Object(i["a"])(t,"dialogTitle","新增"),t},created:function(){var t=document.documentElement.clientHeight||document.body.clientHeight;this.tableHeight=t-220},methods:{edit:function(t){console.log(t,"编辑"),this.dialogTitle="编辑",this.addAccountDialog=!0},showView:function(t){console.log(t,"查看"),this.dialogTitle="查看",this.addAccountDialog=!0},clickDelete:function(t){console.log(t,"删除")},handleSizeChange:function(t){console.log("每页 ".concat(t," 条"))},handleCurrentChange:function(t){console.log("当前页: ".concat(t))}}},c=o,r=(l("bcad"),l("2877")),s=Object(r["a"])(c,a,n,!1,null,"182d8b66",null);e["default"]=s.exports},ade3:function(t,e,l){"use strict";function a(t,e,l){return e in t?Object.defineProperty(t,e,{value:l,enumerable:!0,configurable:!0,writable:!0}):t[e]=l,t}l.d(e,"a",(function(){return a}))},bcad:function(t,e,l){"use strict";var a=l("1848"),n=l.n(a);n.a}}]);
|
||||
//# sourceMappingURL=chunk-6269b174.4f972db6.js.map
|
|
@ -1,2 +0,0 @@
|
|||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-687d6e08"],{4354:function(e,t,l){"use strict";var n=l("d0ef"),a=l.n(n);a.a},8354:function(e,t,l){"use strict";l.r(t);var n=function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("div",{staticClass:"content-box"},[l("div",{staticClass:"container"},[l("p",[e._v("账号管理")]),l("el-button",{staticStyle:{"margin-bottom":"10px"},attrs:{type:"primary"},on:{click:function(t){e.addAccountDialog=!0}}},[l("i",{staticClass:"el-icon-circle-plus-outline",staticStyle:{"margin-right":"3px"}}),e._v("新增")]),l("el-table",{staticStyle:{width:"100%"},attrs:{data:e.tableData,height:e.tableHeight,border:""}},[l("el-table-column",{attrs:{align:"center",prop:"name",label:"用户名称",width:"180"}}),l("el-table-column",{attrs:{align:"center",prop:"account",label:"用户账号",width:"180"}}),l("el-table-column",{attrs:{align:"center",prop:"role",label:"角色"}}),l("el-table-column",{attrs:{align:"center",prop:"jurisdiction",label:"权限"}}),l("el-table-column",{attrs:{align:"center",label:"操作",width:"160"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("el-button",{attrs:{type:"text",size:"small"},on:{click:function(l){return e.edit(t.row)}}},[e._v("编辑")]),l("el-button",{staticClass:"el-icon-view",attrs:{type:"text",size:"small"},on:{click:function(l){return e.showView(t.row)}}}),l("el-button",{staticClass:"el-icon-delete",attrs:{type:"text",size:"small"},on:{click:function(l){return e.clickDelete(t.row)}}})]}}])})],1),l("el-pagination",{staticStyle:{"padding-top":"10px"},attrs:{"current-page":e.currentPage,"page-sizes":[100,200,300,400],"page-size":e.pageSize,layout:"sizes, prev, pager, next",total:e.totalNumber},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange,"update:currentPage":function(t){e.currentPage=t},"update:current-page":function(t){e.currentPage=t}}}),l("el-dialog",{attrs:{title:e.dialogTitle,visible:e.addAccountDialog,width:"30%"},on:{"update:visible":function(t){e.addAccountDialog=t}}},[l("el-form",{attrs:{"label-position":"left","label-width":"80px",model:e.formLabelAlign}},[l("el-form-item",{attrs:{label:"名称:"}},[l("el-input",{model:{value:e.formLabelAlign.name,callback:function(t){e.$set(e.formLabelAlign,"name",t)},expression:"formLabelAlign.name"}})],1),l("el-form-item",{attrs:{label:"账号:"}},[l("el-input",{model:{value:e.formLabelAlign.account,callback:function(t){e.$set(e.formLabelAlign,"account",t)},expression:"formLabelAlign.account"}})],1),l("el-form-item",{attrs:{label:"角色:"}},[l("el-input",{model:{value:e.formLabelAlign.role,callback:function(t){e.$set(e.formLabelAlign,"role",t)},expression:"formLabelAlign.role"}})],1),l("el-form-item",{attrs:{label:"权限:"}},[l("el-input",{model:{value:e.formLabelAlign.jurisdiction,callback:function(t){e.$set(e.formLabelAlign,"jurisdiction",t)},expression:"formLabelAlign.jurisdiction"}})],1)],1),l("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[l("el-button",{attrs:{type:"primary"},on:{click:function(t){e.addAccountDialog=!1}}},[e._v("确 定")])],1)],1)],1)])},a=[],i=l("ade3"),o={data:function(){var e;return e={addAccountDialog:!1,formLabelAlign:{name:"",account:"",role:"",jurisdiction:""},tableData:[{name:"admin",account:"",role:"admin",jurisdiction:"超级管理员"}],tableHeight:0,currentPage:1,pageSize:100,totalNumber:1e3},Object(i["a"])(e,"tableHeight",0),Object(i["a"])(e,"dialogTitle","新增"),e},created:function(){var e=document.documentElement.clientHeight||document.body.clientHeight;this.tableHeight=e-220},methods:{edit:function(e){console.log(e,"编辑"),this.dialogTitle="编辑",this.addAccountDialog=!0},showView:function(e){console.log(e,"查看"),this.dialogTitle="查看",this.addAccountDialog=!0},clickDelete:function(e){console.log(e,"删除")},handleSizeChange:function(e){console.log("每页 ".concat(e," 条"))},handleCurrentChange:function(e){console.log("当前页: ".concat(e))}}},c=o,r=(l("4354"),l("2877")),u=Object(r["a"])(c,n,a,!1,null,null,null);t["default"]=u.exports},ade3:function(e,t,l){"use strict";function n(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}l.d(t,"a",(function(){return n}))},d0ef:function(e,t,l){}}]);
|
||||
//# sourceMappingURL=chunk-687d6e08.692e73e8.js.map
|
|
@ -0,0 +1,2 @@
|
|||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6c1c489d"],{"1a0a":function(t,a,s){"use strict";var n=s("b2ca"),e=s.n(n);e.a},b2ca:function(t,a,s){},bf1f:function(t,a,s){"use strict";s.r(a);var n=function(){var t=this,a=t.$createElement,s=t._self._c||a;return s("div",{staticClass:"content-box"},[s("div",{staticClass:"container"},[s("p",{staticClass:"title"},[t._v("健康检测 ")]),s("h3",[t._v("网络状态")]),s("el-form",{staticStyle:{width:"50%"},attrs:{model:t.form,"label-position":"left","label-width":"200px"}},[s("el-form-item",{attrs:{label:"检查网络服务的状态:"}},[s("div",{staticClass:"state"},[s("div",{staticClass:"Badge",staticStyle:{"background-color":"pink"}}),s("span",[t._v("忙碌")])])])],1)],1)])},e=[],i={data:function(){return{}}},c=i,l=(s("1a0a"),s("2877")),o=Object(l["a"])(c,n,e,!1,null,null,null);a["default"]=o.exports}}]);
|
||||
//# sourceMappingURL=chunk-6c1c489d.761f9488.js.map
|