Commit b0f71586 authored by neogcg's avatar neogcg

网元管理和链路管理12.10

parent 82002de4
Pipeline #437 canceled with stages
......@@ -25,6 +25,16 @@ module.exports = {
entry: {
app: './src/main.js'
},
// externals: {
// 'vue': 'Vue',
// 'vue-router': 'VueRouter',
// 'element-ui': 'ElementUI',
// 'vuex':'Vuex'
// },
output: {
path: config.build.assetsRoot,
filename: '[name].js',
......
<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><title>运维管理平台</title><script src=./static/config.js></script><link href=./static/css/app.d0f9fd8f3cc1d555077abda552081acc.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.c671b31a6294c60d458b.js></script><script type=text/javascript src=./static/js/app.b7d1e4312b9846b68af6.js></script></body></html>
\ No newline at end of file
<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><title>运维管理平台</title><script src=./static/config.js></script><link rel=stylesheet href=https://unpkg.com/element-ui/lib/theme-chalk/index.css><script src=https://cdn.bootcss.com/vuex/3.0.1/vuex.min.js></script><link href=./static/css/app.32c07a87287445439d0b0c7613fea1ab.css rel=stylesheet></head><body><div id=app></div><script src=https://cdn.bootcss.com/vue-router/3.0.1/vue-router.min.js></script><script src=https://unpkg.com/element-ui/lib/index.js></script><script type=text/javascript src=./static/js/manifest.c671b31a6294c60d458b.js></script><script type=text/javascript src=./static/js/app.f92fc2b2bcb4b142d34f.js></script></body></html>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -6,6 +6,13 @@
url('iconfont.ttf?t=1587796662130') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */
url('iconfont.svg?t=1587796662130#iconfont') format('svg'); /* iOS 4.1- */
}
@font-face {
font-family: "iconfont"; /* Project id 2980163 */
src: url('iconfont2.woff2?t=1638350294219') format('woff2'),
url('iconfont2.woff?t=1638350294219') format('woff'),
url('iconfont2.ttf?t=1638350294219') format('truetype');
}
.iconfont {
font-family: "iconfont" !important;
......@@ -146,4 +153,31 @@
.icon-shanchu:before {
content: "\e8b6";
}
.icon-jia-fangkuang:before {
content: "\e8de";
}
.icon-jian-fangkuang:before {
content: "\e8e0";
}
.icon-ERP_bianji:before {
content: "\e648";
}
.icon-pinleizengjia_o:before {
content: "\eb7f";
}
.icon-fanhui-:before {
content: "\e66b";
}
.icon-diqiu:before {
content: "\e6bc";
}
.icon-download-full:before {
content: "\ea26";
}
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This diff is collapsed.
{"version":3,"sources":["webpack:///webpack/bootstrap ef19c38cbff561df4242"],"names":["parentJsonpFunction","window","chunkIds","moreModules","executeModules","moduleId","chunkId","result","i","resolves","length","installedChunks","push","Object","prototype","hasOwnProperty","call","modules","shift","__webpack_require__","s","installedModules","1","exports","module","l","m","c","d","name","getter","o","defineProperty","configurable","enumerable","get","n","__esModule","object","property","p","oe","err","console","error"],"mappings":"aACA,IAAAA,EAAAC,OAAA,aACAA,OAAA,sBAAAC,EAAAC,EAAAC,GAIA,IADA,IAAAC,EAAAC,EAAAC,EAAAC,EAAA,EAAAC,KACQD,EAAAN,EAAAQ,OAAoBF,IAC5BF,EAAAJ,EAAAM,GACAG,EAAAL,IACAG,EAAAG,KAAAD,EAAAL,GAAA,IAEAK,EAAAL,GAAA,EAEA,IAAAD,KAAAF,EACAU,OAAAC,UAAAC,eAAAC,KAAAb,EAAAE,KACAY,EAAAZ,GAAAF,EAAAE,IAIA,IADAL,KAAAE,EAAAC,EAAAC,GACAK,EAAAC,QACAD,EAAAS,OAAAT,GAEA,GAAAL,EACA,IAAAI,EAAA,EAAYA,EAAAJ,EAAAM,OAA2BF,IACvCD,EAAAY,IAAAC,EAAAhB,EAAAI,IAGA,OAAAD,GAIA,IAAAc,KAGAV,GACAW,EAAA,GAIA,SAAAH,EAAAd,GAGA,GAAAgB,EAAAhB,GACA,OAAAgB,EAAAhB,GAAAkB,QAGA,IAAAC,EAAAH,EAAAhB,IACAG,EAAAH,EACAoB,GAAA,EACAF,YAUA,OANAN,EAAAZ,GAAAW,KAAAQ,EAAAD,QAAAC,IAAAD,QAAAJ,GAGAK,EAAAC,GAAA,EAGAD,EAAAD,QAKAJ,EAAAO,EAAAT,EAGAE,EAAAQ,EAAAN,EAGAF,EAAAS,EAAA,SAAAL,EAAAM,EAAAC,GACAX,EAAAY,EAAAR,EAAAM,IACAhB,OAAAmB,eAAAT,EAAAM,GACAI,cAAA,EACAC,YAAA,EACAC,IAAAL,KAMAX,EAAAiB,EAAA,SAAAZ,GACA,IAAAM,EAAAN,KAAAa,WACA,WAA2B,OAAAb,EAAA,SAC3B,WAAiC,OAAAA,GAEjC,OADAL,EAAAS,EAAAE,EAAA,IAAAA,GACAA,GAIAX,EAAAY,EAAA,SAAAO,EAAAC,GAAsD,OAAA1B,OAAAC,UAAAC,eAAAC,KAAAsB,EAAAC,IAGtDpB,EAAAqB,EAAA,KAGArB,EAAAsB,GAAA,SAAAC,GAA8D,MAApBC,QAAAC,MAAAF,GAAoBA","file":"static/js/manifest.c671b31a6294c60d458b.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tvar parentJsonpFunction = window[\"webpackJsonp\"];\n \twindow[\"webpackJsonp\"] = function webpackJsonpCallback(chunkIds, moreModules, executeModules) {\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [], result;\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules);\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n \t\tif(executeModules) {\n \t\t\tfor(i=0; i < executeModules.length; i++) {\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = executeModules[i]);\n \t\t\t}\n \t\t}\n \t\treturn result;\n \t};\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// objects to store loaded and loading chunks\n \tvar installedChunks = {\n \t\t1: 0\n \t};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"./\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap ef19c38cbff561df4242"],"sourceRoot":""}
\ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap 7497710f61d30bc7886a"],"names":["parentJsonpFunction","window","chunkIds","moreModules","executeModules","moduleId","chunkId","result","i","resolves","length","installedChunks","push","Object","prototype","hasOwnProperty","call","modules","shift","__webpack_require__","s","installedModules","1","exports","module","l","m","c","d","name","getter","o","defineProperty","configurable","enumerable","get","n","__esModule","object","property","p","oe","err","console","error"],"mappings":"aACA,IAAAA,EAAAC,OAAA,aACAA,OAAA,sBAAAC,EAAAC,EAAAC,GAIA,IADA,IAAAC,EAAAC,EAAAC,EAAAC,EAAA,EAAAC,KACQD,EAAAN,EAAAQ,OAAoBF,IAC5BF,EAAAJ,EAAAM,GACAG,EAAAL,IACAG,EAAAG,KAAAD,EAAAL,GAAA,IAEAK,EAAAL,GAAA,EAEA,IAAAD,KAAAF,EACAU,OAAAC,UAAAC,eAAAC,KAAAb,EAAAE,KACAY,EAAAZ,GAAAF,EAAAE,IAIA,IADAL,KAAAE,EAAAC,EAAAC,GACAK,EAAAC,QACAD,EAAAS,OAAAT,GAEA,GAAAL,EACA,IAAAI,EAAA,EAAYA,EAAAJ,EAAAM,OAA2BF,IACvCD,EAAAY,IAAAC,EAAAhB,EAAAI,IAGA,OAAAD,GAIA,IAAAc,KAGAV,GACAW,EAAA,GAIA,SAAAH,EAAAd,GAGA,GAAAgB,EAAAhB,GACA,OAAAgB,EAAAhB,GAAAkB,QAGA,IAAAC,EAAAH,EAAAhB,IACAG,EAAAH,EACAoB,GAAA,EACAF,YAUA,OANAN,EAAAZ,GAAAW,KAAAQ,EAAAD,QAAAC,IAAAD,QAAAJ,GAGAK,EAAAC,GAAA,EAGAD,EAAAD,QAKAJ,EAAAO,EAAAT,EAGAE,EAAAQ,EAAAN,EAGAF,EAAAS,EAAA,SAAAL,EAAAM,EAAAC,GACAX,EAAAY,EAAAR,EAAAM,IACAhB,OAAAmB,eAAAT,EAAAM,GACAI,cAAA,EACAC,YAAA,EACAC,IAAAL,KAMAX,EAAAiB,EAAA,SAAAZ,GACA,IAAAM,EAAAN,KAAAa,WACA,WAA2B,OAAAb,EAAA,SAC3B,WAAiC,OAAAA,GAEjC,OADAL,EAAAS,EAAAE,EAAA,IAAAA,GACAA,GAIAX,EAAAY,EAAA,SAAAO,EAAAC,GAAsD,OAAA1B,OAAAC,UAAAC,eAAAC,KAAAsB,EAAAC,IAGtDpB,EAAAqB,EAAA,KAGArB,EAAAsB,GAAA,SAAAC,GAA8D,MAApBC,QAAAC,MAAAF,GAAoBA","file":"static/js/manifest.c671b31a6294c60d458b.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tvar parentJsonpFunction = window[\"webpackJsonp\"];\n \twindow[\"webpackJsonp\"] = function webpackJsonpCallback(chunkIds, moreModules, executeModules) {\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [], result;\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules);\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n \t\tif(executeModules) {\n \t\t\tfor(i=0; i < executeModules.length; i++) {\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = executeModules[i]);\n \t\t\t}\n \t\t}\n \t\treturn result;\n \t};\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// objects to store loaded and loading chunks\n \tvar installedChunks = {\n \t\t1: 0\n \t};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"./\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 7497710f61d30bc7886a"],"sourceRoot":""}
\ No newline at end of file
......@@ -5,9 +5,10 @@
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<title>运维管理平台</title>
<script src="./static/config.js"></script>
</head>
<body>
<div id="app"></div>
<!-- built files will be auto injected -->
</body>
</html>
......@@ -15,7 +15,7 @@ export default {
<style>
#app {
font-family: 'Avenir', Helvetica, Arial, sans-serif;
font-family:'Source Han Sans CN', 'Avenir', Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-align: center;
......
......@@ -14,6 +14,7 @@ export default {
restart: '重启',
tip: '提示',
ok: '确认',
close:'关闭',
cancel: '取消',
reset: '重置',
clear: '清除',
......@@ -22,7 +23,7 @@ export default {
createBtn: '创建',
updateBtn: '修改',
oneKeyUpload: '一键上传',
deleteBtn: '删除',
deleteBtn: '批量删除',
compareBtn: '比较',
restartBtn: '重启',
recoveryBtn: '恢复',
......@@ -312,8 +313,11 @@ export default {
selectStartDevicePlaceholder: '请选择起点网元',
selectEndDevicePlaceholder: '请选择终点网元',
createLinkInfo: '链路信息创建',
updateLinkInfo: '链路信息修改',
//createLinkInfo: '链路信息创建',
createLinkInfo: '创建跨网链路',
//updateLinkInfo: '链路信息修改',
updateLinkInfo: '编辑跨网链路',
copyLinkInfo: '链路信息复制',
importLinkData: '链路数据导入',
......@@ -559,7 +563,8 @@ export default {
deviceModel: '网元型号',
belongedLocation: '所属机房',
belongedCabinet: '所属机架',
belongedSubnet: '所属子网',
// belongedSubnet: '所属子网',
belongedSubnet: '所属站点',
belongedRailwayAdmin: '所属路局',
belongedRailwayDivision: '所属路段',
deviceIP: '网元地址',
......@@ -568,9 +573,12 @@ export default {
noWork: '停用',
notPlanning: '未规划',
deviceVersion: '网元版本',
station: '所属车站',
// station: '所属车站',
station: '所属管控节点',
IPAddress: '管理IP地址',
bussIPAddress: '业务IP地址',
mac:'MAC',
controlMode:'管控方式',
MACAddress: 'MAC地址',
numberSerial: '序列号',
SupportProtocolType: '支持协议类型',
......@@ -661,11 +669,13 @@ export default {
locationKey: '所属机房',
stationKey: '所属车站',
stationSite: '所属站点',
controlNode:'所属管控节点',//新
cabinetKey: '所属机架',
railwayAdmin: '所属路局',
railwayDivision: '所属路段',
subnetKey: '所属子网',
ipAddress: '网元地址',
ipAddress2:'IP地址',//新
ipType: 'IP类型',
bussIP: '业务IP',
manageIP: '管理IP',
......@@ -687,7 +697,11 @@ export default {
nodeDesc: '描述信息',
manageType: '管理类型',
displayName: '网元显示名称',
//新增
mac:'MAC',
controlMode:'管控方式',
caozuo:'操作',
//=========
profileUpload: '配置文件上传',
profileUpdate: '配置文件更新',
profileUpdateTitle: '网元配置文件更新',
......
......@@ -3,51 +3,82 @@
<el-dialog
@close="close"
v-dialogDrag
:showClose="false"
style="text-align: center" width='900px' top="16vh"
:title="$t('DeviceDetails.deviceDetailInfo')"
:title="$t('DeviceDetails.deviceDetailInfo') +'耿晨光'"
v-if="deviceDetailsVisible"
:visible.sync="deviceDetailsVisible">
<div style="text-align: center;padding: 0px;">
<table style="margin:auto" class="device-detail-tb">
<tr style="line-height: 50px;">
<!-- 网元名称 -->
<td style="width: 90px;"><label>{{ $t('DeviceDetails.displayName') }}</label></td>
<td style="width: 180px; text-align: left;"><label v-text="showDevice.displayName"></label></td>
<!-- 网元类型 -->
<td style="width: 90px;"><label>{{ $t('DeviceDetails.deviceTypeKey') }}</label></td>
<td style="width: 180px; text-align: left;"><label v-text="showDevice.deviceTypeKey"></label></td>
<!-- 网元型号 -->
<td style="width: 90px;"><label>{{ $t('DeviceDetails.deviceModel') }}</label></td>
<td style="width: 180px; text-align: left;"><label v-text="showDevice.deviceModel"></label></td>
</tr>
<tr style="line-height: 50px;">
<td><label>{{ $t('DeviceDetails.deviceVersion') }}</label></td>
<td style="text-align: left;"><label v-text="showDevice.deviceVersion"></label></td>
<!-- 管控方式 -->
<td><label>{{ $t('DeviceDetails.controlMode') }}</label></td>
<td style="text-align: left;"><label v-text="showDevice.controlMode"></label></td>
<!-- 所属管控节点 -->
<td><label>{{ $t('DeviceDetails.station') }}</label></td>
<td style="text-align: left;"><label v-text="showDevice.station"></label></td>
<!-- 所属站点 -->
<td><label>{{ $t('DeviceDetails.belongedSubnet') }}</label></td>
<td style="text-align: left;"><label v-text="showDevice.subnetKey"></label></td>
<td><label>{{ $t('DeviceDetails.station') }}</label></td>
<td style="text-align: left;"><label v-text="showDevice.station"></label></td>
</tr>
<tr style="line-height: 50px;">
<!-- 管理ip地址 -->
<td><label>{{ $t('DeviceDetails.IPAddress') }}</label></td>
<td style="text-align: left;"><label v-text="showDevice.ipAddress"></label></td>
<!-- 管理ip地址 -->
<td><label>{{ $t('DeviceDetails.IPAddress') }}</label></td>
<td style="text-align: left;"><label v-text="showDevice.ipAddress"></label></td>
<!-- 管理协议 -->
<td><label>{{ $t('DeviceDetails.manageType') }}</label></td>
<td style="text-align: left;"><label v-text="showDevice.manageType"></label></td>
<td><label>{{ $t('DeviceDetails.deviceStatus') }}</label></td>
<td style="text-align: left;"><label v-text="showDevice.deviceStatus"></label></td>
</tr>
<tr style="line-height: 50px;">
<!-- 业务ip地址 -->
<td><label>{{ $t('DeviceDetails.bussIPAddress') }}</label></td>
<td style="text-align: left;"><label v-text="showDevice.bussIpAddress"></label></td>
<!-- 业务协议 -->
<td><label>{{ $t('DeviceDetails.bussManageType') }}</label></td>
<td style="text-align: left;"><label v-text="showDevice.bussManageType"></label></td>
<td><label>{{ $t('DeviceDetails.numberSerial') }}</label></td>
<td style="text-align: left;"><label v-text="showDevice.numberSerial"></label></td>
<!-- mac -->
<td><label>{{ $t('DeviceDetails.mac') }}</label></td>
<td style="text-align: left;"><label v-text="showDevice.mac"></label></td>
<!-- <td><label>{{ $t('DeviceDetails.MACAddress') }}</label></td>-->
<!-- <td style="text-align: left;"><label v-text="showDevice.mac"></label></td>-->
</tr>
<!-- ======= -->
<tr style="line-height: 50px;">
<!-- 序列号 -->
<td><label>{{ $t('DeviceDetails.numberSerial') }}</label></td>
<td style="text-align: left;"><label v-text="showDevice.numberSerial"></label></td>
<!-- 网元型号 -->
<td><label>{{ $t('DeviceDetails.deviceVersion') }}</label></td>
<td style="text-align: left;"><label v-text="showDevice.deviceVersion"></label></td>
<!-- 网元状态 -->
<td><label>{{ $t('DeviceDetails.deviceStatus') }}</label></td>
<td style="text-align: left;"><label v-text="showDevice.deviceStatus"></label></td>
</tr>
<tr style="line-height: 50px;">
<td><label>{{ $t('DeviceDetails.deviceDetailInfo') }}</label></td>
<td style="text-align: left;"><label v-text="showDevice.description"></label></td>
<!-- 开站时间 -->
<td><label>{{ $t('DeviceDetails.startTime') }}</label></td>
<td style="text-align: left;"><label v-text="showDevice.startTime"></label></td>
<!-- 描述信息 -->
<td><label>{{ $t('DeviceDetails.deviceDetailInfo') }}</label></td>
<td style="text-align: left;"><label v-text="showDevice.description"></label></td>
</tr>
<tr style="line-height: 50px">
<td>
......@@ -75,19 +106,25 @@
</table>
</div>
<div slot="footer" style="margin-left: -100px">
<el-button type="primary" size="mini" @click="close">{{ $t('common.ok') }}</el-button>
<el-button type="primary" size="mini" class="btnstyle" @click="close">{{ $t('common.close') }}</el-button>
</div>
<!-- <el-button @click="chakan()">chakan</el-button> -->
<el-button @click="chakan2()">chakan2</el-button>
<p>{{isT}} + '25'</p>
</el-dialog>
</template>
<script>
import SubnetService from '../../../domain/services/SubnetService'
import HelperUtil from "../../../utils/HelperUtil";
import {EventBus} from "../../../domain/EventBus"
export default {
props: ['command'],
data: function () {
return {
// isTrue:"DWS",
isT:'',
deviceDetailsVisible: true,
device: this.command.target,
showBook: false,
......@@ -99,6 +136,8 @@ export default {
cabinetKey: '',
subnetKey: '',
ipAddress: '',
controlMode:"",
mac:"",
bussIpAddress: '',
deviceStatus: '',
brand: '',
......@@ -117,6 +156,22 @@ export default {
}
},
methods: {
// chakan(){
// EventBus.$emit("is", this.isTrue);
// },
chakan2(){
EventBus.$on("is",(e)=>{
this.isT=e;
});
console.log(this.isT);
},
/**
* @Description : 显示控制
* @author : ls
......@@ -126,6 +181,7 @@ export default {
*/
show: function () {
this.showBook = !this.showBook
console.log(this.command);
},
close () {
this.command.done()
......@@ -144,6 +200,8 @@ export default {
this.showDevice['station'] = this.device.station
this.showDevice['locationName'] = this.device.locationName
this.showDevice['ipAddress'] = this.device.ipAddress
this.showDevice['controlMode'] = this.device.controlMode
this.showDevice['mac'] = this.device.mac
this.showDevice['bussIpAddress'] = this.device.bussIpAddress
this.showDevice['deviceStatus'] = this.device.deviceStatus
this.showDevice['deviceVersion'] = this.device.deviceVersion
......@@ -229,10 +287,23 @@ export default {
}
}
},
// mounted(){
// EventBus.$on("is",this.isTrue)
// console.log("耿晨光");
// this.isT=isTrue;
// console.log(EventBus);
// console.log(this.isT);
// }
}
</script>
<style scoped>
.device-detail-tb /deep/ td{
text-align: right;
}
.btnstyle {
height: 36px;
width: 106px;
}
</style>
......@@ -4,6 +4,7 @@
@close="close"
v-dialogDrag
:title=title
:showClose="false"
style="font-size: 10px;" width='450px'
:visible.sync="createAndCopyLinkVisible">
<el-form :model="form" inline="true">
......@@ -51,11 +52,11 @@
</el-form-item>
</el-form>
<div slot="footer" class="dialog-footer">
<el-button size='mini' type="primary" icon='el-icon-circle-check' @click="createLink" v-loading.fullscreen.lock="fullscreenLoading">
<el-button class="btnstyle" size='mini' type="primary" @click="close">{{ $t('common.cancel') }}</el-button>
<el-button class="btnstyle" size='mini' type="primary" @click="createLink" v-loading.fullscreen.lock="fullscreenLoading">
{{ $t('common.ok') }}
</el-button>
<el-button size='mini' icon='el-icon-circle-close' @click="close">{{ $t('common.cancel') }}</el-button>
</div>
</el-dialog>
</template>
......@@ -281,6 +282,7 @@ export default {
close () {
this.command.done()
console.log('g关闭了');
},
/**
......@@ -570,3 +572,10 @@ export default {
}
}
</script>
<style scoped>
.btnstyle {
height: 36px;
width: 106px;
}
</style>
<template>
<!-- 子网创建对话框 -->
<!-- 编辑跨网链路对话框 -->
<el-dialog
@close="close"
v-dialogDrag
:showClose="false"
:title="$t('LinkConfigurationManagement.updateLinkInfo')"
style="font-size: 10px;" width='450px'
:visible.sync="createAndCopyLinkVisible">
......@@ -51,11 +52,11 @@
</el-form-item>
</el-form>
<div slot="footer" class="dialog-footer">
<el-button size='mini' type="primary" icon='el-icon-circle-check' @click="createLink" v-loading.fullscreen.lock="fullscreenLoading">
<el-button class="btnstyle" size='mini' type="primary" @click="close">{{ $t('common.cancel') }}</el-button>
<el-button class="btnstyle" size='mini' type="primary" @click="createLink" v-loading.fullscreen.lock="fullscreenLoading">
{{ $t('common.ok') }}
</el-button>
<el-button size='mini' icon='el-icon-circle-close' @click="close">{{ $t('common.cancel') }}</el-button>
</div>
</el-dialog>
</template>
......@@ -570,3 +571,10 @@ export default {
}
}
</script>
<style scoped>
.btnstyle {
height: 36px;
width: 106px;
}
</style>
......@@ -127,7 +127,7 @@ export default {
queryRtPort: [],
flag: true,
F: false,
visibleFlag: false,
visibleFlag: false,//性能
queryRtPortList: [],
fullWidth: 300,
fullHeight: document.body.clientHeight,
......
This diff is collapsed.
......@@ -287,7 +287,8 @@ export default {
let loadingInstance = _this.Loading.openLoading()
LinkService.queryLinkDataSplitNumber(this.beginItem, this.endItem, this.selectList).then(result => {
// 成功
_this.linkList = Object.values(result)
_this.linkList = Object.values(result)
console.log( Object.values(result));//lianlu链路信息
_this.Loading.closeLoading(loadingInstance)
}).catch(err => {
// 失败
......@@ -381,6 +382,7 @@ export default {
LinkService.getAllLinkCollection().then(result => {
// 成功
vue.linkList = Object.values(result)
console.log(vue.linkList);
loadingInstance.close()
}).catch(err => {
// 失败
......@@ -636,7 +638,10 @@ export default {
// this.getAllLinkInit()
this.queryLink()
this.getAllDeviceInit()
}
},
// mounted(){
// console.log(vue.linkList);
// }
}
</script>
......
This diff is collapsed.
<template>
<div>
<h1>拓扑图</h1>
<el-header>
dsadas
</el-header>
<el-header>
dasd a
</el-header>
</div>
</template>
\ No newline at end of file
......@@ -910,7 +910,7 @@ export default {
*/
drawNode () {
// 画布偏移
console.log(Object.values(curThis.topologyNodeShowList))
console.log(Object.values(curThis.topologyNodeShowList),'总览')
if (curThis.groupLeft === 0 && curThis.groupTop === 0 && Object.values(curThis.topologyNodeShowList).length > 0) {
curThis.groupLeft = Object.values(curThis.topologyNodeShowList)[0].horizontalOffset
curThis.groupTop = Object.values(curThis.topologyNodeShowList)[0].verticalOffset
......
......@@ -6,16 +6,18 @@
<!-- 顶部菜单栏 -->
<el-header height="auto">
<div class="header-button-box">
<el-button icon="el-icon-s-home" size = 'mini' type="primary" @click="showGlobalView" v-show="doubleClickSubnetId!==''">{{ $t('TopologicalGraphShow.returnGlobal') }}</el-button>
<el-button class="iconfont icon-diqiu" size = 'mini' type="info" @click="showGlobalView" v-show="doubleClickSubnetId!==''">{{ $t('TopologicalGraphShow.returnGlobal') + '返回全局'}}</el-button>
<el-button icon="el-icon-circle-plus-outline" size = 'mini' type="primary" @click="createDeviceInit" v-show="doubleClickSubnetId!==''">{{ $t('TopologicalGraphShow.addDevice') }}</el-button>
<el-button icon="el-icon-circle-plus-outline" size = 'mini' type="primary" v-show="createLinkCommand.visible && doubleClickSubnetId!==''" @click="createLinkInit">{{ $t('TopologicalGraphShow.addLink') }}</el-button>
<el-button icon="el-icon-tickets" size = 'mini' type="primary" @click="saveTopologicalGraph" >{{ $t('TopologicalGraphShow.saveTopology') }}</el-button>
<el-button icon="el-icon-refresh" size = 'mini' type="primary" @click="syncSystemData" >{{ $t('TopologicalGraphShow.syncTopology') }}</el-button>
<el-button icon="el-icon-download" size = 'mini' type="primary" @click="saveSvgToPng" >{{ $t('TopologicalGraphShow.saveImage') }}</el-button>
<el-button icon="el-icon-zoom-in" size = 'mini' type="primary" @click="zoomIn" >放大</el-button>
<el-button icon="el-icon-zoom-out" size = 'mini' type="primary" @click="zoomOut" >缩小</el-button>
<el-button class="iconfont icon-jian-fangkuang" size = 'mini' type="primary" @click="zoomOut" >缩小</el-button>
<el-button icon="el-icon-refresh-left" size = 'mini' type="primary" @click="reset" >还原</el-button>
<el-button icon="el-icon-full-screen" size = 'mini' type="primary" @click="fullScreen" >全屏</el-button>
<el-button icon="el-icon-full-screen" size = 'mini' type="primary" @click="aaaa()" >点击</el-button>
</div>
<div class="header-button-box header-right">
<div class="icon-circle" :style="{backgroundColor:my_alarmLevelConfig[-1].alarmColor}"></div><label>{{ alarmTotalNumnberMessage }}</label>
......@@ -160,6 +162,9 @@ export default {
},
methods: {
aaaa(){
console.log(this.deviceCollection);
},
/**
* @Description :上下拖动改变控制器div大小
* @param :
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
!function(c){var t,e,n,l,o,i='<svg><symbol id="icon-jia-fangkuang" viewBox="0 0 1024 1024"><path d="M864 128H160c-17.6 0-32 14.4-32 32v704c0 17.6 14.4 32 32 32h704c17.6 0 32-14.4 32-32V160c0-17.6-14.4-32-32-32zM768 547.2H544.8V768h-65.6V547.2H256v-65.6h223.2V256h65.6v225.6H768v65.6z" ></path></symbol><symbol id="icon-jian-fangkuang" viewBox="0 0 1024 1024"><path d="M864 128H160c-17.6 0-32 14.4-32 32v704c0 17.6 14.4 32 32 32h704c17.6 0 32-14.4 32-32V160c0-17.6-14.4-32-32-32zM768 544H256v-64h512v64z" ></path></symbol><symbol id="icon-ERP_bianji" viewBox="0 0 1024 1024"><path d="M857.6 988.672H166.912c-30.72 0-59.904-12.288-81.408-33.792-21.504-21.504-33.792-50.688-33.792-81.408v-691.2C51.712 118.784 103.936 61.44 167.424 61.44h463.36v57.856H167.424c-31.744 0-58.368 30.72-58.368 62.464v691.2c0 31.744 25.6 57.344 57.344 57.344h690.688c31.744 0 62.976-26.624 62.976-58.368V409.6H977.92v463.36c0.512 63.488-56.832 115.712-120.32 115.712z m-344.064-279.04c-8.192 8.192-18.944 12.8-29.696 14.848l-251.904 124.416c-28.16 13.312-51.2-12.288-40.448-40.448l124.416-251.904c2.048-10.752 6.144-21.504 14.848-29.696L778.24 78.848c22.528-22.528 58.88-22.528 81.408 0l101.888 101.888c10.752 10.752 16.896 25.6 16.896 40.96s-6.144 29.696-16.896 40.96l-448 446.976z m-267.264 64c-6.656 13.312 6.144 27.136 20.48 20.48l155.648-94.208-81.92-81.92-94.208 155.648z m144.896-185.856l60.928 60.928 20.48 20.48L798.208 343.04l-102.4-100.864-325.12 325.12 20.48 20.48z m508.928-387.072l-60.928-60.928c-5.632-5.632-12.8-8.704-20.48-8.704s-14.848 3.072-20.48 8.704l-59.392 59.392 100.352 103.424 60.928-60.928c11.264-11.264 11.264-29.696 0-40.96z m0 0z" fill="" ></path></symbol><symbol id="icon-pinleizengjia_o" viewBox="0 0 1024 1024"><path d="M554.666667 554.666667v128h-42.666667v-128H384v-42.666667h128V384h42.666667v128h128v42.666667h-128zM213.333333 213.333333h640v640H213.333333V213.333333z m42.666667 42.666667v554.666667h554.666667V256H256z" fill="#444444" ></path></symbol><symbol id="icon-fanhui-" viewBox="0 0 1025 1024"><path d="M925 847H499a40 40 0 0 1 0-80h426a20 20 0 0 0 20-20V361a20 20 0 0 0-20-20H101a40 40 0 0 1 0-80h824a100 100 0 0 1 100 100v386a100 100 0 0 1-100 100z" fill="" ></path><path d="M243 521a40 40 0 0 1-27-10L17 332a40 40 0 0 1 1-60l199-171a40 40 0 0 1 52 61L105 303l165 148a40 40 0 0 1-27 70z" fill="" ></path></symbol><symbol id="icon-diqiu" viewBox="0 0 1024 1024"><path d="M854.4 800.9c0.2-0.3 0.5-0.6 0.7-0.9C920.6 722.1 960 621.7 960 512s-39.4-210.1-104.8-288c-0.2-0.3-0.5-0.5-0.7-0.8-1.1-1.3-2.1-2.5-3.2-3.7-0.4-0.5-0.8-0.9-1.2-1.4-1.4-1.6-2.7-3.1-4.1-4.7l-0.1-0.1c-1.5-1.7-3.1-3.4-4.6-5.1l-0.1-0.1c-3.2-3.4-6.4-6.8-9.7-10.1l-0.1-0.1-4.8-4.8-0.3-0.3c-1.5-1.5-3-2.9-4.5-4.3-0.5-0.5-1-1-1.6-1.5-1-1-2-1.9-3-2.8-0.3-0.3-0.7-0.6-1-1C736.4 109.2 629.5 64 512 64s-224.4 45.2-304.3 119.2c-0.3 0.3-0.7 0.6-1 1-1 0.9-2 1.9-3 2.9-0.5 0.5-1 1-1.6 1.5-1.5 1.4-3 2.9-4.5 4.3l-0.3 0.3-4.8 4.8-0.1 0.1c-3.3 3.3-6.5 6.7-9.7 10.1l-0.1 0.1c-1.6 1.7-3.1 3.4-4.6 5.1l-0.1 0.1c-1.4 1.5-2.8 3.1-4.1 4.7-0.4 0.5-0.8 0.9-1.2 1.4-1.1 1.2-2.1 2.5-3.2 3.7-0.2 0.3-0.5 0.5-0.7 0.8C103.4 301.9 64 402.3 64 512s39.4 210.1 104.8 288c0.2 0.3 0.5 0.6 0.7 0.9 1 1.2 2.1 2.5 3.1 3.7 0.4 0.5 0.8 0.9 1.2 1.4 1.4 1.6 2.7 3.1 4.1 4.7 0 0.1 0.1 0.1 0.1 0.2 1.5 1.7 3 3.4 4.6 5l0.1 0.1c3.2 3.4 6.4 6.8 9.6 10.1l0.1 0.1c1.6 1.6 3.1 3.2 4.7 4.7l0.3 0.3c3.3 3.3 6.7 6.5 10.1 9.6 80.1 74 187 119.2 304.5 119.2s224.4-45.2 304.3-119.2c3.4-3.1 6.7-6.3 10-9.6l0.3-0.3c1.6-1.6 3.2-3.1 4.7-4.7l0.1-0.1c3.3-3.3 6.5-6.7 9.6-10.1l0.1-0.1c1.5-1.7 3.1-3.3 4.6-5 0-0.1 0.1-0.1 0.1-0.2 1.4-1.5 2.8-3.1 4.1-4.7 0.4-0.5 0.8-0.9 1.2-1.4 1.2-1.3 2.3-2.5 3.3-3.7z m4.1-142.6c-13.8 32.6-32 62.8-54.2 90.2-24.9-21.5-52.2-40.3-81.5-55.9 11.6-46.9 18.8-98.4 20.7-152.6H887c-3 40.9-12.6 80.6-28.5 118.3zM887 484H743.5c-1.9-54.2-9.1-105.7-20.7-152.6 29.3-15.6 56.6-34.4 81.5-55.9 22.2 27.4 40.4 57.6 54.2 90.2C874.4 403.4 884 443.1 887 484zM658.3 165.5c39.7 16.8 75.8 40 107.6 69.2-18.5 15.8-38.4 29.7-59.4 41.8-15.7-45-35.8-84.1-59.2-115.4 3.7 1.4 7.4 2.9 11 4.4z m-90.6 700.6c-9.2 7.2-18.4 12.7-27.7 16.4V697c39.9 2.8 78.6 11.6 115.7 26.2-8.3 24.6-17.9 47.3-29 67.8-17.4 32.4-37.8 58.3-59 75.1z m59-633.1c11 20.6 20.7 43.3 29 67.8-37.1 14.6-75.8 23.4-115.7 26.2V141.6c9.2 3.7 18.5 9.1 27.7 16.4 21.2 16.7 41.6 42.6 59 75zM540 640.9V540h147.5c-1.6 44.2-7.1 87.1-16.3 127.8l-0.3 1.2c-41.1-15.6-85.1-25.3-130.9-28.1z m0-156.9V383.1c45.8-2.8 89.8-12.5 130.9-28.1l0.3 1.2c9.2 40.7 14.7 83.5 16.3 127.8H540z m-56 56v100.9c-45.8 2.8-89.8 12.5-130.9 28.1l-0.3-1.2c-9.2-40.7-14.7-83.5-16.3-127.8H484z m-147.5-56c1.6-44.2 7.1-87.1 16.3-127.8l0.3-1.2c41.1 15.6 85 25.3 130.9 28.1V484H336.5zM484 697v185.4c-9.2-3.7-18.5-9.1-27.7-16.4-21.2-16.7-41.7-42.7-59.1-75.1-11-20.6-20.7-43.3-29-67.8 37.2-14.6 75.9-23.3 115.8-26.1z m0-370c-39.9-2.8-78.6-11.6-115.7-26.2 8.3-24.6 17.9-47.3 29-67.8 17.4-32.4 37.8-58.4 59.1-75.1 9.2-7.2 18.4-12.7 27.7-16.4V327zM365.7 165.5c3.7-1.5 7.3-3 11-4.4-23.4 31.3-43.5 70.4-59.2 115.4-21-12-40.9-26-59.4-41.8 31.8-29.2 67.9-52.4 107.6-69.2zM165.5 365.7c13.8-32.6 32-62.8 54.2-90.2 24.9 21.5 52.2 40.3 81.5 55.9-11.6 46.9-18.8 98.4-20.7 152.6H137c3-40.9 12.6-80.6 28.5-118.3zM137 540h143.5c1.9 54.2 9.1 105.7 20.7 152.6-29.3 15.6-56.6 34.4-81.5 55.9-22.2-27.4-40.4-57.6-54.2-90.2C149.6 620.6 140 580.9 137 540z m228.7 318.5c-39.7-16.8-75.8-40-107.6-69.2 18.5-15.8 38.4-29.7 59.4-41.8 15.7 45 35.8 84.1 59.2 115.4-3.7-1.4-7.4-2.9-11-4.4z m292.6 0c-3.7 1.5-7.3 3-11 4.4 23.4-31.3 43.5-70.4 59.2-115.4 21 12 40.9 26 59.4 41.8-31.8 29.2-67.9 52.4-107.6 69.2z" ></path></symbol><symbol id="icon-download-full" viewBox="0 0 1024 1024"><path d="M976 736H48c-26.5 0-48 21.5-48 48v192c0 26.5 21.5 48 48 48h928c26.5 0 48-21.5 48-48V784c0-26.5-21.5-48-48-48zM736 896c0-17.7 14.3-32 32-32s32 14.3 32 32-14.3 32-32 32-32-14.3-32-32z m128 32c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zM696.6 344.4H592c-17.7 0-32-14.3-32-32V4h-96v308.4c0 17.7-14.3 32-32 32H327.4c-3.1 0-5 3.3-3.5 6L508.5 670c1.5 2.7 5.4 2.7 6.9 0L700 350.4c1.6-2.7-0.4-6-3.4-6z" ></path></symbol></svg>',a=(a=document.getElementsByTagName("script"))[a.length-1].getAttribute("data-injectcss"),d=function(c,t){t.parentNode.insertBefore(c,t)};if(a&&!c.__iconfont__svg__cssinject__){c.__iconfont__svg__cssinject__=!0;try{document.write("<style>.svgfont {display: inline-block;width: 1em;height: 1em;fill: currentColor;vertical-align: -0.1em;font-size:16px;}</style>")}catch(c){console&&console.log(c)}}function s(){o||(o=!0,n())}function h(){try{l.documentElement.doScroll("left")}catch(c){return void setTimeout(h,50)}s()}t=function(){var c,t;(t=document.createElement("div")).innerHTML=i,i=null,(c=t.getElementsByTagName("svg")[0])&&(c.setAttribute("aria-hidden","true"),c.style.position="absolute",c.style.width=0,c.style.height=0,c.style.overflow="hidden",t=c,(c=document.body).firstChild?d(t,c.firstChild):c.appendChild(t))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(t,0):(e=function(){document.removeEventListener("DOMContentLoaded",e,!1),t()},document.addEventListener("DOMContentLoaded",e,!1)):document.attachEvent&&(n=t,l=c.document,o=!1,h(),l.onreadystatechange=function(){"complete"==l.readyState&&(l.onreadystatechange=null,s())})}(window);
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment