页面修改
This commit is contained in:
parent
f8944129e9
commit
61c96050f8
|
|
@ -294,10 +294,10 @@ export default {
|
||||||
background-image: url(./assets/image/bg.png);
|
background-image: url(./assets/image/bg.png);
|
||||||
background-size: 100% 100%;
|
background-size: 100% 100%;
|
||||||
} */
|
} */
|
||||||
.el-table .el-table__body-wrapper tbody tr {
|
// .el-table .el-table__body-wrapper tbody tr {
|
||||||
background-image: url(./assets/image/bg.png);
|
// background-image: url(./assets/image/bg.png);
|
||||||
background-size: cover;
|
// background-size: cover;
|
||||||
}
|
// }
|
||||||
|
|
||||||
.el-dialog__footer {
|
.el-dialog__footer {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load Diff
|
|
@ -1,374 +1,422 @@
|
||||||
<!-- 设备配置----网口设备 -->
|
<!-- 设备配置----网口设备 -->
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<!-- 设置树形控件 -->
|
<!-- 设置树形控件 -->
|
||||||
<div v-click-outside="closeMenu">
|
<div v-click-outside="closeMenu">
|
||||||
<!-- <el-button type="info" plain @click="dialogVisible = true">设备设置</el-button> -->
|
<!-- <el-button type="info" plain @click="dialogVisible = true">设备设置</el-button> -->
|
||||||
<div class="tree_menu" v-show="dialogVisible">
|
<div class="tree_menu" v-show="dialogVisible">
|
||||||
<el-tree :data="datas" :props="defaultProps" @node-contextmenu="rightClick"
|
<el-tree
|
||||||
@node-click="treeNodeClick"></el-tree>
|
:data="datas"
|
||||||
<!-- 树形控件右键组件 -->
|
:props="defaultProps"
|
||||||
<div v-show="menuShow" class="tree_rightmenu" :style="{ ...rightMenu }">
|
@node-contextmenu="rightClick"
|
||||||
|
@node-click="treeNodeClick"
|
||||||
<el-menu class="el-menu-vertical-demo" @select="selectMenuNode" default-active="#0078FE">
|
></el-tree>
|
||||||
|
<!-- 树形控件右键组件 -->
|
||||||
<el-menu-item id="menuitem" index="1" style="font-size: 12px;">
|
<div v-show="menuShow" class="tree_rightmenu" :style="{ ...rightMenu }">
|
||||||
<span slot="title">新建设备</span>
|
<el-menu
|
||||||
</el-menu-item>
|
class="el-menu-vertical-demo"
|
||||||
<el-menu-item index="2" style="font-size: 12px;">
|
@select="selectMenuNode"
|
||||||
<span slot="title">删 除</span>
|
default-active="#0078FE"
|
||||||
</el-menu-item>
|
>
|
||||||
<el-menu-item index="3" style="font-size: 12px;">
|
<el-menu-item id="menuitem" index="1" style="font-size: 12px">
|
||||||
<span slot="title">取 消</span>
|
<span slot="title">新建设备</span>
|
||||||
</el-menu-item>
|
</el-menu-item>
|
||||||
</el-menu>
|
<el-menu-item index="2" style="font-size: 12px">
|
||||||
</div>
|
<span slot="title">删 除</span>
|
||||||
</div>
|
</el-menu-item>
|
||||||
</div>
|
<el-menu-item index="3" style="font-size: 12px">
|
||||||
<!-- 网口设备 -->
|
<span slot="title">取 消</span>
|
||||||
<div class="pas_params">
|
</el-menu-item>
|
||||||
<el-dialog title="设备属性" :visible.sync="add_passage" width="382px">
|
</el-menu>
|
||||||
<el-form :model="formdata" :label-position="labelPosition" :rules="rules" ref="ruleForm">
|
|
||||||
<el-row>
|
|
||||||
<el-col :span="24">
|
|
||||||
<el-form-item label="设备ID:" :label-width="formLabelWidth" prop="sbpz_sbid">
|
|
||||||
<el-select v-model="formdata.sbpz_sbid" placeholder="" style="width: 200px;height:30px">
|
|
||||||
<el-option v-for="(item, index) in options1" :key="index" :label="item.label"
|
|
||||||
:value="item.value">
|
|
||||||
</el-option>
|
|
||||||
</el-select>
|
|
||||||
</el-form-item>
|
|
||||||
</el-col>
|
|
||||||
</el-row>
|
|
||||||
<el-row>
|
|
||||||
<el-col :span="24">
|
|
||||||
<el-form-item label="设备名称:" :label-width="formLabelWidth" prop="sbpz_sbmc">
|
|
||||||
<el-select v-model="formdata.sbpz_sbmc" placeholder="" style="width: 200px;height:30px">
|
|
||||||
<el-option v-for="(item, index) in options2" :key="index" :label="item.label"
|
|
||||||
:value="item.value">
|
|
||||||
</el-option>
|
|
||||||
</el-select>
|
|
||||||
</el-form-item>
|
|
||||||
</el-col>
|
|
||||||
</el-row>
|
|
||||||
<el-row>
|
|
||||||
<el-col :span="24">
|
|
||||||
<el-form-item label="MAC地址:" :label-width="formLabelWidth" prop="sbpz_sbdz">
|
|
||||||
<el-input v-model="formdata.sbpz_sbdz" placeholder=""
|
|
||||||
style="width: 200px;height:30px"></el-input>
|
|
||||||
</el-form-item>
|
|
||||||
</el-col>
|
|
||||||
</el-row>
|
|
||||||
<el-row>
|
|
||||||
<el-col :span="24">
|
|
||||||
<el-form-item>
|
|
||||||
<el-checkbox v-model="formdata.sbpz_jysb">禁用地址</el-checkbox>
|
|
||||||
</el-form-item>
|
|
||||||
</el-col>
|
|
||||||
</el-row>
|
|
||||||
<el-row>
|
|
||||||
<el-col :span="24">
|
|
||||||
<el-form-item label="基地址选择:">
|
|
||||||
<el-switch v-model="formdata.sbpz_jdzxz">
|
|
||||||
</el-switch>
|
|
||||||
</el-form-item>
|
|
||||||
</el-col>
|
|
||||||
</el-row>
|
|
||||||
</el-form>
|
|
||||||
<span slot="footer" class="dialog-footer">
|
|
||||||
<el-button type="primary" @click=saveDevice>保 存</el-button>
|
|
||||||
<el-button @click="add_passage = false">取 消</el-button>
|
|
||||||
|
|
||||||
</span>
|
|
||||||
</el-dialog>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<!-- 网口设备 -->
|
||||||
|
<div class="pas_params">
|
||||||
|
<el-dialog title="设备属性" :visible.sync="add_passage" width="382px">
|
||||||
|
<el-form
|
||||||
|
:model="formdata"
|
||||||
|
:label-position="labelPosition"
|
||||||
|
:rules="rules"
|
||||||
|
ref="ruleForm"
|
||||||
|
>
|
||||||
|
<el-row>
|
||||||
|
<el-col :span="24">
|
||||||
|
<el-form-item
|
||||||
|
label="设备ID:"
|
||||||
|
:label-width="formLabelWidth"
|
||||||
|
prop="sbpz_sbid"
|
||||||
|
>
|
||||||
|
<el-select
|
||||||
|
v-model="formdata.sbpz_sbid"
|
||||||
|
placeholder=""
|
||||||
|
style="width: 200px; height: 30px"
|
||||||
|
>
|
||||||
|
<el-option
|
||||||
|
v-for="(item, index) in options1"
|
||||||
|
:key="index"
|
||||||
|
:label="item.label"
|
||||||
|
:value="item.value"
|
||||||
|
>
|
||||||
|
</el-option>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
|
</el-row>
|
||||||
|
<el-row>
|
||||||
|
<el-col :span="24">
|
||||||
|
<el-form-item
|
||||||
|
label="设备名称:"
|
||||||
|
:label-width="formLabelWidth"
|
||||||
|
prop="sbpz_sbmc"
|
||||||
|
>
|
||||||
|
<el-select
|
||||||
|
v-model="formdata.sbpz_sbmc"
|
||||||
|
placeholder=""
|
||||||
|
style="width: 200px; height: 30px"
|
||||||
|
>
|
||||||
|
<el-option
|
||||||
|
v-for="(item, index) in options2"
|
||||||
|
:key="index"
|
||||||
|
:label="item.label"
|
||||||
|
:value="item.value"
|
||||||
|
>
|
||||||
|
</el-option>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
|
</el-row>
|
||||||
|
<el-row>
|
||||||
|
<el-col :span="24">
|
||||||
|
<el-form-item
|
||||||
|
label="MAC地址:"
|
||||||
|
:label-width="formLabelWidth"
|
||||||
|
prop="sbpz_sbdz"
|
||||||
|
>
|
||||||
|
<el-input
|
||||||
|
v-model="formdata.sbpz_sbdz"
|
||||||
|
placeholder=""
|
||||||
|
style="width: 200px; height: 30px"
|
||||||
|
></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
|
</el-row>
|
||||||
|
<el-row>
|
||||||
|
<el-col :span="24">
|
||||||
|
<el-form-item>
|
||||||
|
<el-checkbox v-model="formdata.sbpz_jysb">禁用地址</el-checkbox>
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
|
</el-row>
|
||||||
|
<el-row>
|
||||||
|
<el-col :span="24">
|
||||||
|
<el-form-item label="基地址选择:">
|
||||||
|
<el-switch v-model="formdata.sbpz_jdzxz"> </el-switch>
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
|
</el-row>
|
||||||
|
</el-form>
|
||||||
|
<span slot="footer" class="dialog-footer">
|
||||||
|
<el-button type="primary" @click="saveDevice">保 存</el-button>
|
||||||
|
<el-button @click="add_passage = false">取 消</el-button>
|
||||||
|
</span>
|
||||||
|
</el-dialog>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { SaveUserAnswer } from '@/api/user';
|
import { SaveUserAnswer } from "@/api/user";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'DeviceView',
|
name: "DeviceView",
|
||||||
|
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
formdata: {
|
formdata: {
|
||||||
sbpz_sbid: "有线区加工设备1",
|
sbpz_sbid: "有线区加工设备1",
|
||||||
sbpz_sbmc: "有线区精雕1",
|
sbpz_sbmc: "有线区精雕1",
|
||||||
sbpz_sbdz: "",
|
sbpz_sbdz: "",
|
||||||
sbpz_jysb: false,
|
sbpz_jysb: false,
|
||||||
sbpz_jdzxz: false,
|
sbpz_jdzxz: false,
|
||||||
},
|
},
|
||||||
labelPosition: "left",
|
labelPosition: "left",
|
||||||
formLabelWidth: "116px",
|
formLabelWidth: "116px",
|
||||||
input1: 192,
|
input1: 192,
|
||||||
add_passage: false,
|
add_passage: false,
|
||||||
rightMenu: "",
|
rightMenu: "",
|
||||||
dialogVisible: true,
|
dialogVisible: true,
|
||||||
menuShow: false,
|
menuShow: false,
|
||||||
options1: [{
|
options1: [
|
||||||
value: "有线区加工设备1",
|
{
|
||||||
label: "有线区加工设备1"
|
value: "有线区加工设备1",
|
||||||
}, {
|
label: "有线区加工设备1",
|
||||||
value: "无线区加工设备1",
|
},
|
||||||
label: "无线区加工设备1"
|
{
|
||||||
}],
|
value: "无线区加工设备1",
|
||||||
options2: [{
|
label: "无线区加工设备1",
|
||||||
value: "有线区精雕1",
|
},
|
||||||
label: "有线区精雕1",
|
],
|
||||||
}, {
|
options2: [
|
||||||
value: "无线区精雕1",
|
{
|
||||||
label: "无线区精雕1",
|
value: "有线区精雕1",
|
||||||
}],
|
label: "有线区精雕1",
|
||||||
datas: [{
|
},
|
||||||
label: 'Gateway',
|
{
|
||||||
children: [{
|
value: "无线区精雕1",
|
||||||
label: '数据采集',
|
label: "无线区精雕1",
|
||||||
children: [{
|
},
|
||||||
label: 'I/O点'
|
],
|
||||||
},
|
datas: [
|
||||||
{
|
{
|
||||||
label: '用户点',
|
label: "Gateway",
|
||||||
},
|
children: [
|
||||||
{
|
{
|
||||||
label: '计算点',
|
label: "数据采集",
|
||||||
},
|
children: [
|
||||||
{
|
{
|
||||||
label: '系统点',
|
label: "I/O点",
|
||||||
},
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "数据服务",
|
label: "用户点",
|
||||||
children: [{
|
|
||||||
label: "Modbus"
|
|
||||||
}]
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "IOT",
|
label: "计算点",
|
||||||
children: [
|
},
|
||||||
{
|
{
|
||||||
label: "Mqtt Client"
|
label: "系统点",
|
||||||
},
|
},
|
||||||
{
|
],
|
||||||
label: "Alink"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
label: "Tlink"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
label: "loTDDC"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
label: "Ulink"
|
|
||||||
},
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}],
|
|
||||||
defaultProps: {
|
|
||||||
children: 'children',
|
|
||||||
label: 'label'
|
|
||||||
},
|
},
|
||||||
rules: {
|
{
|
||||||
sbpz_sbid: [
|
label: "数据服务",
|
||||||
{ required: true, message: '请输入设备ID', trigger: 'blur' },
|
children: [
|
||||||
],
|
{
|
||||||
sbpz_sbmc: [
|
label: "Modbus",
|
||||||
{ required: true, message: '请输入设备名称', trigger: 'blur' },
|
},
|
||||||
],
|
],
|
||||||
sbpz_sbdz: [
|
|
||||||
{ required: true, message: '请输入设备地址', trigger: 'blur' },
|
|
||||||
],
|
|
||||||
},
|
},
|
||||||
};
|
{
|
||||||
},
|
label: "IOT",
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
label: "Mqtt Client",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: "Alink",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: "Tlink",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: "loTDDC",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: "Ulink",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
defaultProps: {
|
||||||
|
children: "children",
|
||||||
|
label: "label",
|
||||||
|
},
|
||||||
|
rules: {
|
||||||
|
sbpz_sbid: [
|
||||||
|
{ required: true, message: "请输入设备ID", trigger: "blur" },
|
||||||
|
],
|
||||||
|
sbpz_sbmc: [
|
||||||
|
{ required: true, message: "请输入设备名称", trigger: "blur" },
|
||||||
|
],
|
||||||
|
sbpz_sbdz: [
|
||||||
|
{ required: true, message: "请输入设备地址", trigger: "blur" },
|
||||||
|
],
|
||||||
|
},
|
||||||
|
};
|
||||||
|
},
|
||||||
|
|
||||||
mounted() {
|
mounted() {},
|
||||||
|
|
||||||
},
|
methods: {
|
||||||
|
rightClick(e, data, node) {
|
||||||
methods: {
|
this.menuShow = false;
|
||||||
rightClick(e, data, node) {
|
this.menuShow = true;
|
||||||
this.menuShow = false
|
e.preventDefault(); //关闭浏览器右键默认事件
|
||||||
this.menuShow = true
|
this.rightMenu = { top: e.pageY + "px", left: e.pageX + "px" };
|
||||||
e.preventDefault() //关闭浏览器右键默认事件
|
document.addEventListener("click", (ev) => {
|
||||||
this.rightMenu = { top: e.pageY + 'px', left: e.pageX + 'px' }
|
ev.stopImmediatePropagation();
|
||||||
document.addEventListener('click', (ev) => {
|
if (ev.target !== document.querySelector(".el-menu-item.is-active")) {
|
||||||
ev.stopImmediatePropagation()
|
this.foo();
|
||||||
if (ev.target !== document.querySelector('.el-menu-item.is-active')) {
|
|
||||||
this.foo()
|
|
||||||
}
|
|
||||||
})
|
|
||||||
},
|
|
||||||
// 点击时候的判断,判断是否为新增设备
|
|
||||||
selectMenuNode(index, indexPath) {
|
|
||||||
console.log(index);
|
|
||||||
if (index == 1) {
|
|
||||||
this.add_passage = true;
|
|
||||||
}
|
|
||||||
},
|
|
||||||
foo() {
|
|
||||||
// 取消鼠标监听事件 菜单栏
|
|
||||||
this.menuShow = false
|
|
||||||
document.removeEventListener('click', this.foo) // 关掉监听,
|
|
||||||
},
|
|
||||||
treeNodeClick() {
|
|
||||||
this.foo()
|
|
||||||
},
|
|
||||||
getDriveName() {
|
|
||||||
this.diag_drive = true;
|
|
||||||
},
|
|
||||||
closeMenu(ev) {
|
|
||||||
console.log({ ev });
|
|
||||||
this.dialogVisible = false;
|
|
||||||
},
|
|
||||||
async saveDevice() {
|
|
||||||
let datas = sessionStorage.getItem("answer");
|
|
||||||
console.log(datas);
|
|
||||||
this.formdata.sbpz_jdzxz = Number(this.formdata.sbpz_jdzxz);
|
|
||||||
this.formdata.sbpz_jysb = Number(this.formdata.sbpz_jysb);
|
|
||||||
this.formdata = { ...this.formdata, ...JSON.parse(datas) };
|
|
||||||
this.add_passage = false;
|
|
||||||
let res = await SaveUserAnswer({
|
|
||||||
mark: "DB-IotLite_yx",
|
|
||||||
user_id: "USER202307301109254198",
|
|
||||||
mark_value: JSON.stringify(this.formdata),
|
|
||||||
});
|
|
||||||
console.log(res);
|
|
||||||
console.log(JSON.parse(res.data.data.mark_value));
|
|
||||||
this.$router.push("/dbcollect");
|
|
||||||
}
|
}
|
||||||
|
});
|
||||||
},
|
},
|
||||||
directives: {
|
// 点击时候的判断,判断是否为新增设备
|
||||||
'click-outside': {
|
selectMenuNode(index, indexPath) {
|
||||||
bind: function (el, binding, vnode) {
|
console.log(index);
|
||||||
console.log('el', el);
|
if (index == 1) {
|
||||||
console.log("binding", binding);
|
this.add_passage = true;
|
||||||
el.event = function (event) {
|
}
|
||||||
// 检查点击是否发生在节点之内(包括子节点)
|
|
||||||
if (!(el == event.target || el.contains(event.target))) {
|
|
||||||
// 如果没有,则触发调用
|
|
||||||
// 若绑定值为函数,则执行
|
|
||||||
// 这里我们可以通过钩子函数中的 vnode.context,来获取当前组件的作用域
|
|
||||||
if (typeof vnode.context[binding.expression] == 'function') {
|
|
||||||
vnode.context[binding.expression](event)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
// 绑定事件
|
|
||||||
// 设置为true,代表在DOM树中,注册了该listener的元素,会先于它下方的任何事件目标,接收到该事件。
|
|
||||||
document.body.addEventListener('click', el.event, true)
|
|
||||||
},
|
|
||||||
unbind: function (el) {
|
|
||||||
// 解绑事件
|
|
||||||
document.body.removeEventListener('click', el.event, true)
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
|
foo() {
|
||||||
|
// 取消鼠标监听事件 菜单栏
|
||||||
|
this.menuShow = false;
|
||||||
|
document.removeEventListener("click", this.foo); // 关掉监听,
|
||||||
|
},
|
||||||
|
treeNodeClick() {
|
||||||
|
this.foo();
|
||||||
|
},
|
||||||
|
getDriveName() {
|
||||||
|
this.diag_drive = true;
|
||||||
|
},
|
||||||
|
closeMenu(ev) {
|
||||||
|
console.log({ ev });
|
||||||
|
this.dialogVisible = false;
|
||||||
|
},
|
||||||
|
async saveDevice() {
|
||||||
|
let datas = sessionStorage.getItem("answer");
|
||||||
|
console.log(datas);
|
||||||
|
this.formdata.sbpz_jdzxz = Number(this.formdata.sbpz_jdzxz);
|
||||||
|
this.formdata.sbpz_jysb = Number(this.formdata.sbpz_jysb);
|
||||||
|
this.formdata = { ...this.formdata, ...JSON.parse(datas) };
|
||||||
|
this.add_passage = false;
|
||||||
|
let res = await SaveUserAnswer({
|
||||||
|
mark: "DB-IotLite_yx",
|
||||||
|
user_id: "USER202307301109254198",
|
||||||
|
mark_value: JSON.stringify(this.formdata),
|
||||||
|
});
|
||||||
|
console.log(res);
|
||||||
|
console.log(JSON.parse(res.data.data.mark_value));
|
||||||
|
this.$router.push("/dbcollect");
|
||||||
|
},
|
||||||
|
},
|
||||||
|
directives: {
|
||||||
|
"click-outside": {
|
||||||
|
bind: function (el, binding, vnode) {
|
||||||
|
console.log("el", el);
|
||||||
|
console.log("binding", binding);
|
||||||
|
el.event = function (event) {
|
||||||
|
// 检查点击是否发生在节点之内(包括子节点)
|
||||||
|
if (!(el == event.target || el.contains(event.target))) {
|
||||||
|
// 如果没有,则触发调用
|
||||||
|
// 若绑定值为函数,则执行
|
||||||
|
// 这里我们可以通过钩子函数中的 vnode.context,来获取当前组件的作用域
|
||||||
|
if (typeof vnode.context[binding.expression] == "function") {
|
||||||
|
vnode.context[binding.expression](event);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
// 绑定事件
|
||||||
|
// 设置为true,代表在DOM树中,注册了该listener的元素,会先于它下方的任何事件目标,接收到该事件。
|
||||||
|
document.body.addEventListener("click", el.event, true);
|
||||||
|
},
|
||||||
|
unbind: function (el) {
|
||||||
|
// 解绑事件
|
||||||
|
document.body.removeEventListener("click", el.event, true);
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
.tree_menu {
|
.tree_menu {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 286px;
|
width: 286px;
|
||||||
height: 753px;
|
height: 753px;
|
||||||
left: 64px;
|
left: 64px;
|
||||||
top: 104px;
|
top: 104px;
|
||||||
width: 286px;
|
width: 286px;
|
||||||
height: 753px;
|
height: 753px;
|
||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
background-color: rgba(255, 255, 255, 1);
|
background-color: rgba(255, 255, 255, 1);
|
||||||
text-align: center;
|
text-align: center;
|
||||||
border: 1px solid rgba(220, 220, 220, 1);
|
border: 1px solid rgba(220, 220, 220, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
.tree_rightmenu {
|
.tree_rightmenu {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
width: 120px;
|
width: 120px;
|
||||||
border: 1px solid rgba(0, 0, 0, 0.15);
|
border: 1px solid rgba(0, 0, 0, 0.15);
|
||||||
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
|
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
|
||||||
z-index: 1000;
|
z-index: 1000;
|
||||||
}
|
}
|
||||||
|
|
||||||
.super_parmams {
|
.super_parmams {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
width: 668px;
|
width: 668px;
|
||||||
|
|
||||||
i {
|
i {
|
||||||
width: 24px;
|
width: 24px;
|
||||||
height: 24px;
|
height: 24px;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/deep/ .pas_params {
|
/deep/ .pas_params {
|
||||||
.el-col-12:last-child {
|
.el-col-12:last-child {
|
||||||
padding-right: 150px;
|
padding-right: 150px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.el-col-12:first-child {
|
||||||
|
padding-right: 42px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.el-input__inner {
|
||||||
|
height: 30px;
|
||||||
|
text-align: left;
|
||||||
|
padding: 0px 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.el-row {
|
||||||
|
display: flex;
|
||||||
|
align-items: flex-end;
|
||||||
|
|
||||||
|
.el-col-1 {
|
||||||
|
text-align: center;
|
||||||
|
line-height: 20px;
|
||||||
|
height: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-col-12:first-child {
|
.el-col-6 {
|
||||||
padding-right: 42px;
|
height: 40px;
|
||||||
}
|
top: 5px;
|
||||||
|
left: 77px;
|
||||||
.el-input__inner {
|
position: relative;
|
||||||
height: 30px;
|
width: 50px;
|
||||||
text-align: left;
|
|
||||||
padding: 0px 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.el-row {
|
|
||||||
display: flex;
|
|
||||||
align-items: flex-end;
|
|
||||||
|
|
||||||
.el-col-1 {
|
|
||||||
text-align: center;
|
|
||||||
line-height: 20px;
|
|
||||||
height: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.el-col-6 {
|
|
||||||
height: 40px;
|
|
||||||
top: 5px;
|
|
||||||
left: 77px;
|
|
||||||
position: relative;
|
|
||||||
width: 50px;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.super_con {
|
.super_con {
|
||||||
.el-col-12:last-child {
|
.el-col-12:last-child {
|
||||||
padding-right: 28px;
|
padding-right: 28px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-col-12:first-child {
|
.el-col-12:first-child {
|
||||||
padding-right: 42px;
|
padding-right: 42px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-input__inner {
|
.el-input__inner {
|
||||||
|
text-align: left;
|
||||||
text-align: left;
|
padding: 0 8px;
|
||||||
padding: 0 8px;
|
}
|
||||||
}
|
|
||||||
|
.el-row {
|
||||||
.el-row {
|
display: flex;
|
||||||
display: flex;
|
align-items: flex-end;
|
||||||
align-items: flex-end;
|
|
||||||
|
.el-col-4 {
|
||||||
.el-col-4 {
|
padding-left: 5px;
|
||||||
padding-left: 5px;
|
width: 14px;
|
||||||
width: 14px;
|
text-align: center;
|
||||||
text-align: center;
|
line-height: 4px;
|
||||||
line-height: 4px;
|
height: 20px;
|
||||||
height: 20px;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
|
|
@ -188,9 +188,7 @@
|
||||||
</el-form>
|
</el-form>
|
||||||
|
|
||||||
<div slot="footer" class="dialog-footer footer">
|
<div slot="footer" class="dialog-footer footer">
|
||||||
<el-button type="primary" @click="saveAll" :disabled="disabled"
|
<el-button type="primary" @click="saveAll">保 存</el-button>
|
||||||
>保 存</el-button
|
|
||||||
>
|
|
||||||
<el-button @click="dialogFormVisible = false">取 消</el-button>
|
<el-button @click="dialogFormVisible = false">取 消</el-button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
ref="multipleTable"
|
ref="multipleTable"
|
||||||
:data="wgpz"
|
:data="wgpz"
|
||||||
border
|
border
|
||||||
style="margin-top: 10px"
|
style="margin-top: 10px; width: 100%"
|
||||||
tooltip-effect="dark"
|
tooltip-effect="dark"
|
||||||
@selection-change="handleSelectionChange"
|
@selection-change="handleSelectionChange"
|
||||||
:cell-style="cellStyle"
|
:cell-style="cellStyle"
|
||||||
|
|
@ -45,7 +45,12 @@
|
||||||
>
|
>
|
||||||
<el-table-column label="参数配置">
|
<el-table-column label="参数配置">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button type="text" size="small">参数配置</el-button>
|
<el-button
|
||||||
|
type="text"
|
||||||
|
size="small"
|
||||||
|
@click="$router.push('/ntmaintenance')"
|
||||||
|
>参数配置</el-button
|
||||||
|
>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
|
|
|
||||||
|
|
@ -65,7 +65,7 @@
|
||||||
class="demo-ruleForm"
|
class="demo-ruleForm"
|
||||||
:label-position="labelPosition"
|
:label-position="labelPosition"
|
||||||
>
|
>
|
||||||
<el-form-item label="所属网关:" prop="sswg" class="red">
|
<el-form-item label="所属网关:" prop="sswg">
|
||||||
<el-select v-model="ruleForm.sswg">
|
<el-select v-model="ruleForm.sswg">
|
||||||
<el-option label="lan-box1" value="lan-box1"></el-option>
|
<el-option label="lan-box1" value="lan-box1"></el-option>
|
||||||
<el-option label="lan-box2" value="lan-box2"></el-option>
|
<el-option label="lan-box2" value="lan-box2"></el-option>
|
||||||
|
|
@ -81,7 +81,7 @@
|
||||||
></el-option> -->
|
></el-option> -->
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="参数名称:" prop="csname" class="red">
|
<el-form-item label="参数名称:" prop="csname">
|
||||||
<el-select v-model="ruleForm.csname">
|
<el-select v-model="ruleForm.csname">
|
||||||
<el-option label="产量" value="产量"></el-option>
|
<el-option label="产量" value="产量"></el-option>
|
||||||
<el-option label="主轴转速" value="主轴转速"></el-option>
|
<el-option label="主轴转速" value="主轴转速"></el-option>
|
||||||
|
|
@ -91,12 +91,7 @@
|
||||||
<el-option label="额定电流" value="额定电流"></el-option> -->
|
<el-option label="额定电流" value="额定电流"></el-option> -->
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="是否运行标识:" prop="sfyxbs">
|
|
||||||
<el-select v-model="ruleForm.sfyxbs">
|
|
||||||
<el-option label="是" value="1"></el-option>
|
|
||||||
<el-option label="否" value="0"></el-option>
|
|
||||||
</el-select>
|
|
||||||
</el-form-item>
|
|
||||||
<el-form-item label="设定值:" prop="sdz">
|
<el-form-item label="设定值:" prop="sdz">
|
||||||
<el-input v-model="ruleForm.sdz"> </el-input>
|
<el-input v-model="ruleForm.sdz"> </el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
@ -111,7 +106,7 @@
|
||||||
class="demo-ruleForm"
|
class="demo-ruleForm"
|
||||||
:label-position="labelPosition"
|
:label-position="labelPosition"
|
||||||
>
|
>
|
||||||
<el-form-item label="参数key:" prop="cskey" class="red">
|
<el-form-item label="参数key:" prop="cskey">
|
||||||
<el-select v-model="ruleForm.cskey">
|
<el-select v-model="ruleForm.cskey">
|
||||||
<el-option
|
<el-option
|
||||||
label="MachinePamHID910"
|
label="MachinePamHID910"
|
||||||
|
|
@ -142,12 +137,6 @@
|
||||||
<el-form-item label="小数位数:" prop="xsws">
|
<el-form-item label="小数位数:" prop="xsws">
|
||||||
<el-input v-model="ruleForm.xsws"> </el-input>
|
<el-input v-model="ruleForm.xsws"> </el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="是否报警标识:" prop="sfbjbz">
|
|
||||||
<el-select v-model="ruleForm.sfbjbz">
|
|
||||||
<el-option label="是" value="1"></el-option>
|
|
||||||
<el-option label="否" value="0"></el-option>
|
|
||||||
</el-select>
|
|
||||||
</el-form-item>
|
|
||||||
<el-form-item label="偏差值:" prop="pcz">
|
<el-form-item label="偏差值:" prop="pcz">
|
||||||
<el-input v-model="ruleForm.pcz"> </el-input>
|
<el-input v-model="ruleForm.pcz"> </el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
@ -179,8 +168,6 @@ export default {
|
||||||
pcz: "",
|
pcz: "",
|
||||||
whr: "",
|
whr: "",
|
||||||
whsj: "",
|
whsj: "",
|
||||||
sfyxbz: "",
|
|
||||||
sfbjbz: "",
|
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
ruleForm: {
|
ruleForm: {
|
||||||
|
|
@ -190,7 +177,6 @@ export default {
|
||||||
sdz: "",
|
sdz: "",
|
||||||
cskey: "",
|
cskey: "",
|
||||||
xsws: "",
|
xsws: "",
|
||||||
sfbjbz: "",
|
|
||||||
pcz: "",
|
pcz: "",
|
||||||
},
|
},
|
||||||
FormData: [],
|
FormData: [],
|
||||||
|
|
@ -211,9 +197,7 @@ export default {
|
||||||
xsws: [
|
xsws: [
|
||||||
{ required: true, trigger: "blur", message: "小数位数是必填参数" },
|
{ required: true, trigger: "blur", message: "小数位数是必填参数" },
|
||||||
],
|
],
|
||||||
sfbjbz: [
|
|
||||||
{ required: true, trigger: "change", message: "请选择一个选项" },
|
|
||||||
],
|
|
||||||
pcz: [{ required: true, trigger: "blur", message: "偏差值是必填参数" }],
|
pcz: [{ required: true, trigger: "blur", message: "偏差值是必填参数" }],
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -3,13 +3,20 @@
|
||||||
<div>
|
<div>
|
||||||
<!-- <el-button @click="dialogVisible = true">ip配置</el-button> -->
|
<!-- <el-button @click="dialogVisible = true">ip配置</el-button> -->
|
||||||
<el-dialog title="IP配置" :visible.sync="dialogVisible" width="30%">
|
<el-dialog title="IP配置" :visible.sync="dialogVisible" width="30%">
|
||||||
|
<p class="txt">本页面涉及排错,请检查修改默认值</p>
|
||||||
<div class="ip_setting">
|
<div class="ip_setting">
|
||||||
<el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="140px" class="demo-ruleForm"
|
<el-form
|
||||||
:label-position="labelPosition">
|
:model="ruleForm"
|
||||||
|
:rules="rules"
|
||||||
|
ref="ruleForm"
|
||||||
|
label-width="140px"
|
||||||
|
class="demo-ruleForm"
|
||||||
|
:label-position="labelPosition"
|
||||||
|
>
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="24">
|
<el-col :span="24">
|
||||||
<el-form-item label="IP获取方式" prop="ippz_ip_hqfs">
|
<el-form-item label="IP获取方式" prop="ippz_ip_hqfs">
|
||||||
<el-select v-model="ruleForm.ippz_ip_hqfs" style="width:200px">
|
<el-select v-model="ruleForm.ippz_ip_hqfs" style="width: 200px">
|
||||||
<el-option label="Static IP" value="Static IP"></el-option>
|
<el-option label="Static IP" value="Static IP"></el-option>
|
||||||
<el-option label="DHCP" value="DHCP"></el-option>
|
<el-option label="DHCP" value="DHCP"></el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
|
|
@ -19,7 +26,10 @@
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="24">
|
<el-col :span="24">
|
||||||
<el-form-item label="DNS获取方式" prop="ippz_dns_hqfs">
|
<el-form-item label="DNS获取方式" prop="ippz_dns_hqfs">
|
||||||
<el-select v-model="ruleForm.ippz_dns_hqfs" style="width:200px">
|
<el-select
|
||||||
|
v-model="ruleForm.ippz_dns_hqfs"
|
||||||
|
style="width: 200px"
|
||||||
|
>
|
||||||
<el-option label="自动获取" value="自动获取"></el-option>
|
<el-option label="自动获取" value="自动获取"></el-option>
|
||||||
<el-option label="手动设定" value="手动设定"></el-option>
|
<el-option label="手动设定" value="手动设定"></el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
|
|
@ -144,7 +154,9 @@
|
||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
<span slot="footer" class="dialog-footer">
|
<span slot="footer" class="dialog-footer">
|
||||||
<el-button type="primary" @click="dialogVisible = false">保存</el-button>
|
<el-button type="primary" @click="dialogVisible = false"
|
||||||
|
>保存</el-button
|
||||||
|
>
|
||||||
<el-button @click="dialogVisible = false">取 消</el-button>
|
<el-button @click="dialogVisible = false">取 消</el-button>
|
||||||
</span>
|
</span>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
|
@ -327,8 +339,17 @@ export default {
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-col-24 {
|
.el-col-24 {
|
||||||
padding-right: 152px
|
padding-right: 152px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.el-dialog {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
.txt {
|
||||||
|
position: absolute;
|
||||||
|
top: 22px;
|
||||||
|
left: 100px;
|
||||||
|
color: red;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
|
|
@ -2,14 +2,24 @@
|
||||||
<div>
|
<div>
|
||||||
<!-- <el-button @click="dialogVisible = true">网络管理</el-button> -->
|
<!-- <el-button @click="dialogVisible = true">网络管理</el-button> -->
|
||||||
|
|
||||||
<el-dialog title="网络管理" :visible.sync="dialogVisible" width="40%" :before-close="handleClose">
|
<el-dialog
|
||||||
|
title="网络管理"
|
||||||
|
:visible.sync="dialogVisible"
|
||||||
|
width="40%"
|
||||||
|
:before-close="handleClose"
|
||||||
|
>
|
||||||
<h3>内网网卡</h3>
|
<h3>内网网卡</h3>
|
||||||
<el-divider></el-divider>
|
<el-divider></el-divider>
|
||||||
<el-table :data="tableData" style="width: 100%" border>
|
<el-table :data="tableData" style="width: 100%" border>
|
||||||
<el-table-column prop="wlgl_nw_name" label="网卡名称">
|
<el-table-column prop="wlgl_nw_name" label="网卡名称">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-select v-model="scope.row.wlgl_nw_name" placeholder="">
|
<el-select v-model="scope.row.wlgl_nw_name" placeholder="">
|
||||||
<el-option v-for="item in options1" :key="item" :label="item.label" :value="item.value">
|
<el-option
|
||||||
|
v-for="item in options1"
|
||||||
|
:key="item"
|
||||||
|
:label="item.label"
|
||||||
|
:value="item.value"
|
||||||
|
>
|
||||||
</el-option>
|
</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</template>
|
</template>
|
||||||
|
|
@ -57,8 +67,8 @@
|
||||||
<el-input v-model="wlgl_nw_zwym4"></el-input>
|
<el-input v-model="wlgl_nw_zwym4"></el-input>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
</div>
|
</div> </template
|
||||||
</template></el-table-column>
|
></el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
<h3>外网网卡</h3>
|
<h3>外网网卡</h3>
|
||||||
<el-divider></el-divider>
|
<el-divider></el-divider>
|
||||||
|
|
@ -66,7 +76,12 @@
|
||||||
<el-table-column prop="wlgl_ww_name" label="网卡名称">
|
<el-table-column prop="wlgl_ww_name" label="网卡名称">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-select v-model="scope.row.wlgl_ww_name" placeholder="">
|
<el-select v-model="scope.row.wlgl_ww_name" placeholder="">
|
||||||
<el-option v-for="item in options1" :key="item" :label="item.label" :value="item.value">
|
<el-option
|
||||||
|
v-for="item in options1"
|
||||||
|
:key="item"
|
||||||
|
:label="item.label"
|
||||||
|
:value="item.value"
|
||||||
|
>
|
||||||
</el-option>
|
</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</template>
|
</template>
|
||||||
|
|
@ -119,7 +134,9 @@
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
<span slot="footer" class="dialog-footer">
|
<span slot="footer" class="dialog-footer">
|
||||||
<el-button type="primary" @click="dialogVisible = false">保存</el-button>
|
<el-button type="primary" @click="dialogVisible = false"
|
||||||
|
>保存</el-button
|
||||||
|
>
|
||||||
<el-button @click="dialogVisible = false">取 消</el-button>
|
<el-button @click="dialogVisible = false">取 消</el-button>
|
||||||
</span>
|
</span>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
|
@ -129,22 +146,22 @@
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
wlgl_nw_ip1:"192",
|
wlgl_nw_ip1: "192",
|
||||||
wlgl_nw_ip2:"168",
|
wlgl_nw_ip2: "168",
|
||||||
wlgl_nw_ip3:"1",
|
wlgl_nw_ip3: "1",
|
||||||
wlgl_nw_ip4:"1",
|
wlgl_nw_ip4: "1",
|
||||||
wlgl_nw_zwym1:'255',
|
wlgl_nw_zwym1: "255",
|
||||||
wlgl_nw_zwym2:"255",
|
wlgl_nw_zwym2: "255",
|
||||||
wlgl_nw_zwym3:"255",
|
wlgl_nw_zwym3: "255",
|
||||||
wlgl_nw_zwym4:"0",
|
wlgl_nw_zwym4: "0",
|
||||||
wlgl_ww_ip1:'',
|
wlgl_ww_ip1: "",
|
||||||
wlgl_ww_ip2:'',
|
wlgl_ww_ip2: "",
|
||||||
wlgl_ww_ip3:'',
|
wlgl_ww_ip3: "",
|
||||||
wlgl_ww_ip4:'',
|
wlgl_ww_ip4: "",
|
||||||
wlgl_ww_zwym1:"",
|
wlgl_ww_zwym1: "",
|
||||||
wlgl_ww_zwym2:"",
|
wlgl_ww_zwym2: "",
|
||||||
wlgl_ww_zwym3:"",
|
wlgl_ww_zwym3: "",
|
||||||
wlgl_ww_zwym4:"",
|
wlgl_ww_zwym4: "",
|
||||||
options1: [
|
options1: [
|
||||||
{
|
{
|
||||||
label: "有线区网闸(内网)",
|
label: "有线区网闸(内网)",
|
||||||
|
|
@ -206,7 +223,7 @@ export default {
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-col-24 {
|
.el-col-24 {
|
||||||
padding-right: 152px
|
padding-right: 152px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,19 @@
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<!-- <el-button @click="dialogVisible = true">对象管理</el-button> -->
|
<!-- <el-button @click="dialogVisible = true">对象管理</el-button> -->
|
||||||
<el-dialog title="对象管理" :visible.sync="dialogVisible" width="50%" :before-close="handleClose">
|
<el-dialog
|
||||||
|
title="对象管理"
|
||||||
|
:visible.sync="dialogVisible"
|
||||||
|
width="50%"
|
||||||
|
:before-close="handleClose"
|
||||||
|
>
|
||||||
|
<div class="title">
|
||||||
|
<el-button style="margin-bottom: 10px" @click="dialogVisible1 = true"
|
||||||
|
>新增对象</el-button
|
||||||
|
>
|
||||||
|
<p v-if="dxgl.length == 2">只能添加两条数据</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
<el-button style="margin-bottom: 10px" @click="dialogVisible1 = true">新增对象</el-button>
|
|
||||||
<el-table :data="dxgl" style="width: 100%" border>
|
<el-table :data="dxgl" style="width: 100%" border>
|
||||||
<el-table-column label="序号">
|
<el-table-column label="序号">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
|
|
@ -14,31 +24,50 @@
|
||||||
<el-table-column prop="address" label="IP地址信息"> </el-table-column>
|
<el-table-column prop="address" label="IP地址信息"> </el-table-column>
|
||||||
<el-table-column fixed="right" label="操作" width="100">
|
<el-table-column fixed="right" label="操作" width="100">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button @click="handleClick(scope.row)" type="text" size="small">编辑</el-button>
|
<el-button @click="handleClick(scope.row)" type="text" size="small"
|
||||||
|
>编辑</el-button
|
||||||
|
>
|
||||||
<el-button type="text" size="small">删除</el-button>
|
<el-button type="text" size="small">删除</el-button>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
|
||||||
<el-dialog title="新增对象" :visible.sync="dialogVisible1" width="30%" :before-close="handleClose">
|
<el-dialog
|
||||||
|
title="新增对象"
|
||||||
|
:visible.sync="dialogVisible1"
|
||||||
|
width="30%"
|
||||||
|
:before-close="handleClose"
|
||||||
|
>
|
||||||
<div class="ip_address">
|
<div class="ip_address">
|
||||||
<el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="150px" class="demo-ruleForm"
|
<el-form
|
||||||
:label-position="labelPosition">
|
:model="ruleForm"
|
||||||
|
:rules="rules"
|
||||||
|
ref="ruleForm"
|
||||||
|
label-width="150px"
|
||||||
|
class="demo-ruleForm"
|
||||||
|
:label-position="labelPosition"
|
||||||
|
>
|
||||||
<el-form-item label="IP类型:" prop="iplx">
|
<el-form-item label="IP类型:" prop="iplx">
|
||||||
<el-col :span="10">
|
<el-col :span="10">
|
||||||
<el-select v-model="ruleForm.iplx" style="width:200px">
|
<el-select v-model="ruleForm.iplx" style="width: 200px">
|
||||||
<el-option label="IP4" value="IP4"></el-option>
|
<el-option label="IP4" value="IP4"></el-option>
|
||||||
<el-option label="IP6" value="IP6"></el-option>
|
<el-option label="IP6" value="IP6"></el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
<el-form-item label="对象名称:" prop="dx_name">
|
<el-form-item label="对象名称:" prop="dxmc">
|
||||||
<el-col :span="10">
|
<el-col :span="10">
|
||||||
<el-select v-model="ruleForm.dx_name" style="width:200px">
|
<el-select v-model="ruleForm.dxmc" style="width: 200px">
|
||||||
<el-option label="有线区交换机" value="有线区交换机"></el-option>
|
<el-option
|
||||||
<el-option label="无线区路由器" value="无线区路由器"></el-option>
|
label="有线区交换机"
|
||||||
|
value="有线区交换机"
|
||||||
|
></el-option>
|
||||||
|
<el-option
|
||||||
|
label="无线区路由器"
|
||||||
|
value="无线区路由器"
|
||||||
|
></el-option>
|
||||||
<el-option label="数采服务器" value="数采服务器"></el-option>
|
<el-option label="数采服务器" value="数采服务器"></el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
|
@ -70,12 +99,12 @@
|
||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
<span slot="footer" class="dialog-footer">
|
<span slot="footer" class="dialog-footer">
|
||||||
<el-button type="primary" @click="dialogVisible1 = false">保存</el-button>
|
<el-button type="primary" @click="dialogVisible1 = false"
|
||||||
|
>保存</el-button
|
||||||
|
>
|
||||||
<el-button @click="dialogVisible1 = false">取 消</el-button>
|
<el-button @click="dialogVisible1 = false">取 消</el-button>
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
|
|
@ -86,27 +115,29 @@ export default {
|
||||||
dialogVisible1: false,
|
dialogVisible1: false,
|
||||||
labelPosition: "left",
|
labelPosition: "left",
|
||||||
dxgl: [
|
dxgl: [
|
||||||
{
|
// {
|
||||||
dx_name: "",
|
// dx_name: "",
|
||||||
ip: "",
|
// ip: "",
|
||||||
},
|
// },
|
||||||
{
|
// {
|
||||||
dx_name: "",
|
// dx_name: "",
|
||||||
ip: "",
|
// ip: "",
|
||||||
},
|
// },
|
||||||
],
|
],
|
||||||
ruleForm: {
|
ruleForm: {
|
||||||
iplx: "IP4",
|
iplx: "IP4",
|
||||||
dxmc: "有线区交换机",
|
dxmc: "有线区交换机",
|
||||||
|
ip: "",
|
||||||
},
|
},
|
||||||
rules: {
|
rules: {
|
||||||
iplx: [{ required: true, trigger: "change" }],
|
iplx: [{ required: true, trigger: "change" }],
|
||||||
dxmc: [{ required: true, trigger: "blur" }],
|
dxmc: [{ required: true, trigger: "blur" }],
|
||||||
|
ip: [{ required: true, trigger: "blur" }],
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
handleClick() { },
|
handleClick() {},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
@ -136,8 +167,19 @@ export default {
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-col-24 {
|
.el-col-24 {
|
||||||
padding-right: 152px
|
padding-right: 152px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.el-table--enable-row-hover .el-table__body tr:hover > td {
|
||||||
|
background-color: transparent !important;
|
||||||
|
}
|
||||||
|
.title {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
p {
|
||||||
|
margin-left: 20px;
|
||||||
|
color: red;
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
|
|
@ -2,9 +2,13 @@
|
||||||
<div>
|
<div>
|
||||||
<!-- <el-button @click="dialogVisible = true">策略管理</el-button> -->
|
<!-- <el-button @click="dialogVisible = true">策略管理</el-button> -->
|
||||||
<el-dialog title="策略管理" :visible.sync="dialogVisible" width="50%">
|
<el-dialog title="策略管理" :visible.sync="dialogVisible" width="50%">
|
||||||
<el-button style="margin-bottom: 10px" @click="addPolicy"
|
<div class="title">
|
||||||
>新增策略</el-button
|
<el-button style="margin-bottom: 10px" @click="addPolicy"
|
||||||
>
|
>新增策略</el-button
|
||||||
|
>
|
||||||
|
<p v-if="tableData.length == 2">只能添加两条数据</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
<el-table :data="tableData" style="width: 100%" border>
|
<el-table :data="tableData" style="width: 100%" border>
|
||||||
<el-table-column label="序号">
|
<el-table-column label="序号">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
|
|
@ -187,22 +191,22 @@ export default {
|
||||||
dialogVisible: true,
|
dialogVisible: true,
|
||||||
labelPosition: "left",
|
labelPosition: "left",
|
||||||
tableData: [
|
tableData: [
|
||||||
{
|
// {
|
||||||
clgl_name: "",
|
// clgl_name: "",
|
||||||
cmdlist_qsdz: "",
|
// cmdlist_qsdz: "",
|
||||||
clgl_xy: "",
|
// clgl_xy: "",
|
||||||
clgl_gzms: "",
|
// clgl_gzms: "",
|
||||||
clgl_ydx: "",
|
// clgl_ydx: "",
|
||||||
clgl_ydk: "",
|
// clgl_ydk: "",
|
||||||
clgl_rkwk: "",
|
// clgl_rkwk: "",
|
||||||
clgl_rkip: "",
|
// clgl_rkip: "",
|
||||||
clgl_rkwg: "",
|
// clgl_rkwg: "",
|
||||||
clgl_ckwk: "",
|
// clgl_ckwk: "",
|
||||||
clgl_ckip: "",
|
// clgl_ckip: "",
|
||||||
clgl_ckwg: "",
|
// clgl_ckwg: "",
|
||||||
clgl_mddx: "",
|
// clgl_mddx: "",
|
||||||
clgl_mddk: "",
|
// clgl_mddk: "",
|
||||||
},
|
// },
|
||||||
],
|
],
|
||||||
tableData1: [
|
tableData1: [
|
||||||
{
|
{
|
||||||
|
|
@ -312,4 +316,12 @@ export default {
|
||||||
height: 30px;
|
height: 30px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.title {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
p {
|
||||||
|
margin-left: 10px;
|
||||||
|
color: red;
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,20 @@
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<!-- <el-button @click="dialogVisible = true">无线设置</el-button> -->
|
<!-- <el-button @click="dialogVisible = true">无线设置</el-button> -->
|
||||||
<el-dialog title="无线设置" :visible.sync="dialogVisible" width="30%" :before-close="handleClose">
|
<el-dialog
|
||||||
<el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="150px" class="demo-ruleForm"
|
title="无线设置"
|
||||||
:label-position="labelPosition">
|
:visible.sync="dialogVisible"
|
||||||
|
width="30%"
|
||||||
|
:before-close="handleClose"
|
||||||
|
>
|
||||||
|
<el-form
|
||||||
|
:model="ruleForm"
|
||||||
|
:rules="rules"
|
||||||
|
ref="ruleForm"
|
||||||
|
label-width="150px"
|
||||||
|
class="demo-ruleForm"
|
||||||
|
:label-position="labelPosition"
|
||||||
|
>
|
||||||
<el-form-item label="工作模式:" prop="wxpz_gzms">
|
<el-form-item label="工作模式:" prop="wxpz_gzms">
|
||||||
<el-col :span="10">
|
<el-col :span="10">
|
||||||
<el-select v-model="ruleForm.wxpz_gzms">
|
<el-select v-model="ruleForm.wxpz_gzms">
|
||||||
|
|
@ -15,8 +26,8 @@
|
||||||
<el-form-item label="网络名称:" prop="wxpz_wlmc">
|
<el-form-item label="网络名称:" prop="wxpz_wlmc">
|
||||||
<el-col :span="10">
|
<el-col :span="10">
|
||||||
<el-select v-model="ruleForm.wxpz_wlmc" placeholder="无线网名称">
|
<el-select v-model="ruleForm.wxpz_wlmc" placeholder="无线网名称">
|
||||||
<el-option label="区域一" value="shanghai"></el-option>
|
<el-option label="无线区无限网" value="shanghai"></el-option>
|
||||||
<el-option label="区域二" value="beijing"></el-option>
|
<!-- <el-option label="区域二" value="beijing"></el-option> -->
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
@ -51,7 +62,9 @@
|
||||||
</el-form>
|
</el-form>
|
||||||
|
|
||||||
<span slot="footer" class="dialog-footer">
|
<span slot="footer" class="dialog-footer">
|
||||||
<el-button type="primary" @click="dialogVisible = false">保存</el-button>
|
<el-button type="primary" @click="dialogVisible = false"
|
||||||
|
>保存</el-button
|
||||||
|
>
|
||||||
<el-button @click="dialogVisible = false">取 消</el-button>
|
<el-button @click="dialogVisible = false">取 消</el-button>
|
||||||
</span>
|
</span>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
|
@ -65,7 +78,7 @@ export default {
|
||||||
labelPosition: "left",
|
labelPosition: "left",
|
||||||
ruleForm: {
|
ruleForm: {
|
||||||
wxpz_gzms: "STA模式",
|
wxpz_gzms: "STA模式",
|
||||||
wxpz_wlmc: "",
|
wxpz_wlmc: "无线区无限网",
|
||||||
wxpz_mac: "",
|
wxpz_mac: "",
|
||||||
wxpz_jmms: "WPA2PSK",
|
wxpz_jmms: "WPA2PSK",
|
||||||
wxpz_jmsf: "AES",
|
wxpz_jmsf: "AES",
|
||||||
|
|
|
||||||
|
|
@ -35,9 +35,18 @@
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="检验位:" prop="ckcssz_jyw">
|
<el-form-item label="检验位:" prop="ckcssz_jyw">
|
||||||
<el-select v-model="ruleForm.ckcssz_jyw" placeholder="请选择检验位">
|
<el-select v-model="ruleForm.ckcssz_jyw" placeholder="请选择检验位">
|
||||||
<el-option label="无校验(none)" value="无校验(none)"></el-option>
|
<el-option
|
||||||
<el-option label="无校验(none)" value="无校验(none)"></el-option>
|
label="无校验(none)"
|
||||||
<el-option label="无校验(none)" value="无校验(none)"></el-option>
|
value="无校验(none)"
|
||||||
|
></el-option>
|
||||||
|
<el-option
|
||||||
|
label="无校验(none)"
|
||||||
|
value="无校验(none)"
|
||||||
|
></el-option>
|
||||||
|
<el-option
|
||||||
|
label="无校验(none)"
|
||||||
|
value="无校验(none)"
|
||||||
|
></el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="流控:" prop="ckcssz_lk">
|
<el-form-item label="流控:" prop="ckcssz_lk">
|
||||||
|
|
@ -47,7 +56,10 @@
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="自适应波特率(类RFC2117):" prop="ckcssz_zdybtl">
|
<el-form-item label="自适应波特率(类RFC2117):" prop="ckcssz_zdybtl">
|
||||||
<el-select v-model="ruleForm.ckcssz_zdybtl" placeholder="请选择自适应波特率">
|
<el-select
|
||||||
|
v-model="ruleForm.ckcssz_zdybtl"
|
||||||
|
placeholder="请选择自适应波特率"
|
||||||
|
>
|
||||||
<el-option label="开启" value="开启"></el-option>
|
<el-option label="开启" value="开启"></el-option>
|
||||||
<el-option label="关闭" value="关闭"></el-option>
|
<el-option label="关闭" value="关闭"></el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
|
|
@ -73,7 +85,10 @@
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="485功能:" prop="ckcssz_485">
|
<el-form-item label="485功能:" prop="ckcssz_485">
|
||||||
<el-select v-model="ruleForm.ckcssz_485" placeholder="请选择485功能">
|
<el-select
|
||||||
|
v-model="ruleForm.ckcssz_485"
|
||||||
|
placeholder="请选择485功能"
|
||||||
|
>
|
||||||
<el-option label="开启" value="开启"></el-option>
|
<el-option label="开启" value="开启"></el-option>
|
||||||
<el-option label="关闭" value="关闭"></el-option>
|
<el-option label="关闭" value="关闭"></el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
|
|
@ -87,7 +102,7 @@
|
||||||
:model="ruleForm"
|
:model="ruleForm"
|
||||||
:rules="rules"
|
:rules="rules"
|
||||||
ref="ruleForm"
|
ref="ruleForm"
|
||||||
label-width="150px"
|
label-width="200px"
|
||||||
class="demo-ruleForm"
|
class="demo-ruleForm"
|
||||||
:label-position="labelPosition"
|
:label-position="labelPosition"
|
||||||
>
|
>
|
||||||
|
|
@ -117,8 +132,10 @@
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
<div>
|
<div>
|
||||||
注意:开启后,模块主动向服务器发送注册包,此功能用于辨识设备。
|
<p>
|
||||||
first:模块建议时发送注册包,every:每次发送数据时发送注册包
|
注意:开启后,模块主动向服务器发送注册包,此功能用于辨识设备。
|
||||||
|
first:模块建议时发送注册包,every:每次发送数据时发送注册包
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<span slot="footer" class="dialog-footer">
|
<span slot="footer" class="dialog-footer">
|
||||||
|
|
@ -170,6 +187,14 @@ export default {
|
||||||
.formOne {
|
.formOne {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-around;
|
justify-content: space-around;
|
||||||
|
div {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
p {
|
||||||
|
width: 70%;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.demo-ruleForm {
|
.demo-ruleForm {
|
||||||
width: 50%;
|
width: 50%;
|
||||||
|
|
|
||||||
|
|
@ -6,42 +6,86 @@
|
||||||
<router-link to="/cockpit">驾驶舱</router-link>
|
<router-link to="/cockpit">驾驶舱</router-link>
|
||||||
<!-- <router-link to="/ipsetting">IP设置</router-link> -->
|
<!-- <router-link to="/ipsetting">IP设置</router-link> -->
|
||||||
<router-link to="/wiredgatewayip">db网关-ip配置-有线网关</router-link>
|
<router-link to="/wiredgatewayip">db网关-ip配置-有线网关</router-link>
|
||||||
<router-link to="/dbcollectiongate">db有线网关-数据采集配置-有线网关配置</router-link>
|
<router-link to="/dbcollectiongate"
|
||||||
<router-link to="/channelconfig">db有线网关-数据采集配置-网口通道配置</router-link>
|
>db有线网关-数据采集配置-有线网关配置</router-link
|
||||||
<router-link to="/dbcollectdevice">db有线网关-数据采集配置-网口设备配置</router-link>
|
>
|
||||||
<router-link to="/dbcollect">db有线网关-数据采集配置-网口采集点配置</router-link>
|
<router-link to="/channelconfig"
|
||||||
<router-link to="/mqttconfig">db有线网关-MQTT上云-网口MQTT1配置</router-link>
|
>db有线网关-数据采集配置-网口通道配置</router-link
|
||||||
|
>
|
||||||
|
<router-link to="/dbcollectdevice"
|
||||||
|
>db有线网关-数据采集配置-网口设备配置</router-link
|
||||||
|
>
|
||||||
|
<router-link to="/dbcollect"
|
||||||
|
>db有线网关-数据采集配置-网口采集点配置</router-link
|
||||||
|
>
|
||||||
|
<router-link to="/mqttconfig"
|
||||||
|
>db有线网关-MQTT上云-网口MQTT1配置</router-link
|
||||||
|
>
|
||||||
<!--db无线网关配置 -->
|
<!--db无线网关配置 -->
|
||||||
<router-link to="/wirelessgatewayip">db网关-ip配置-无线网关</router-link>
|
<router-link to="/wirelessgatewayip">db网关-ip配置-无线网关</router-link>
|
||||||
<router-link to="/dbcollectionwifi">db无线网关-数据采集配置-网关配置配置</router-link>
|
<router-link to="/dbcollectionwifi"
|
||||||
<router-link to="/dbcollectserial">db无线网关-数据采集配置-串口通道配置</router-link>
|
>db无线网关-数据采集配置-网关配置配置</router-link
|
||||||
<router-link to="/dbserialdevice">db无线网关-数据采集配置-串口设备配置</router-link>
|
>
|
||||||
<router-link to="/dbwificollect">db无线网关-数据采集配置-网口采集点配置</router-link>
|
<router-link to="/dbcollectserial"
|
||||||
<router-link to="/mqttconfigwifi">db无线网关-MQTT上云-网口MQTT1配置</router-link>
|
>db无线网关-数据采集配置-串口通道配置</router-link
|
||||||
|
>
|
||||||
|
<router-link to="/dbserialdevice"
|
||||||
|
>db无线网关-数据采集配置-串口设备配置</router-link
|
||||||
|
>
|
||||||
|
<router-link to="/dbwificollect"
|
||||||
|
>db无线网关-数据采集配置-网口采集点配置</router-link
|
||||||
|
>
|
||||||
|
<router-link to="/mqttconfigwifi"
|
||||||
|
>db无线网关-MQTT上云-网口MQTT1配置</router-link
|
||||||
|
>
|
||||||
</div>
|
</div>
|
||||||
<div class="chihou" style="background-color: aqua; height: 100px">
|
<div class="chihou" style="background-color: aqua; height: 100px">
|
||||||
<router-link to="/chwiredgatewayip">斥候工业网关-ip配置-有线网关</router-link>
|
<router-link to="/chwiredgatewayip"
|
||||||
<router-link to="/gatewayconfiguration">斥候有线工业网关-数据采集配置-网关配置</router-link>
|
>斥候工业网关-ip配置-有线网关</router-link
|
||||||
<router-link to="/configuration">斥候有线工业网关-数据采集配置-设备配置</router-link>
|
>
|
||||||
<router-link to="/collectionpoint">斥候有线工业网关-数据采集配置-采集点配置</router-link>
|
<router-link to="/gatewayconfiguration"
|
||||||
<router-link to="/chmqtt">斥候有线工业网关-数据上云配置-MQTT上云</router-link>
|
>斥候有线工业网关-数据采集配置-网关配置</router-link
|
||||||
|
>
|
||||||
<router-link to="/chwirelessgatewayip">斥候工业网关-ip配置-无线网关</router-link>
|
<router-link to="/configuration"
|
||||||
<router-link to="/chiwifigate">斥候无线工业网关-数据采集配置-网关配置</router-link>
|
>斥候有线工业网关-数据采集配置-设备配置</router-link
|
||||||
<router-link to="/chiwifidevice">斥候无线工业网关-数据采集配置-设备配置</router-link>
|
>
|
||||||
<router-link to="/collectionpoint">斥候无线工业网关-数据采集配置-采集点配置</router-link>
|
<router-link to="/collectionpoint"
|
||||||
<router-link to="/chiwifimqtt">斥候无线工业网关-数据上云配置-MQTT上云</router-link>
|
>斥候有线工业网关-数据采集配置-采集点配置</router-link
|
||||||
|
>
|
||||||
|
<router-link to="/chmqtt"
|
||||||
|
>斥候有线工业网关-数据上云配置-MQTT上云</router-link
|
||||||
|
>
|
||||||
|
|
||||||
|
<router-link to="/chwirelessgatewayip"
|
||||||
|
>斥候工业网关-ip配置-无线网关</router-link
|
||||||
|
>
|
||||||
|
<router-link to="/chiwifigate"
|
||||||
|
>斥候无线工业网关-数据采集配置-网关配置</router-link
|
||||||
|
>
|
||||||
|
<router-link to="/chiwifidevice"
|
||||||
|
>斥候无线工业网关-数据采集配置-设备配置</router-link
|
||||||
|
>
|
||||||
|
<router-link to="/collectionpoint"
|
||||||
|
>斥候无线工业网关-数据采集配置-采集点配置</router-link
|
||||||
|
>
|
||||||
|
<router-link to="/chiwifimqtt"
|
||||||
|
>斥候无线工业网关-数据上云配置-MQTT上云</router-link
|
||||||
|
>
|
||||||
</div>
|
</div>
|
||||||
<div class="serial" style="background-color: aqua; height: 100px">
|
<div class="serial" style="background-color: aqua; height: 100px">
|
||||||
<router-link to="/ckipconfig">串口服务器-Ip配置</router-link>
|
<router-link to="/ckipconfig">串口服务器-Ip配置</router-link>
|
||||||
<router-link to="/ckportconfig">串口服务器-端口配置</router-link>
|
<router-link to="/ckportconfig">串口服务器-端口配置</router-link>
|
||||||
<router-link to="/towifi">串口服务器-485towifi-串口及网络协议设置</router-link>
|
<router-link to="/towifi"
|
||||||
|
>串口服务器-485towifi-串口及网络协议设置</router-link
|
||||||
|
>
|
||||||
<router-link to="/cknet">串口服务器-485towifi-网口配置</router-link>
|
<router-link to="/cknet">串口服务器-485towifi-网口配置</router-link>
|
||||||
<router-link to="/ckwireless">串口服务器-485towifi-无线配置</router-link>
|
<router-link to="/ckwireless">串口服务器-485towifi-无线配置</router-link>
|
||||||
<router-link to="/networkmanagement">工业网闸配置-网络管理</router-link>
|
<router-link to="/networkmanagement">工业网闸配置-网络管理</router-link>
|
||||||
<router-link to="/objmanagement">工业网闸配置-对象管理</router-link>
|
<router-link to="/objmanagement">工业网闸配置-对象管理</router-link>
|
||||||
<router-link to="/strategyManagement">工业网闸配置-策略管理</router-link>
|
<router-link to="/strategyManagement">工业网闸配置-策略管理</router-link>
|
||||||
<router-link to="/addstrategy">工业网闸配置-策略管理-添加策略</router-link>
|
<router-link to="/addstrategy"
|
||||||
|
>工业网闸配置-策略管理-添加策略</router-link
|
||||||
|
>
|
||||||
<router-link to="/ntconfig">网络优化-网关配置</router-link>
|
<router-link to="/ntconfig">网络优化-网关配置</router-link>
|
||||||
<router-link to="/ntmaintenance">网络优化-网关维护</router-link>
|
<router-link to="/ntmaintenance">网络优化-网关维护</router-link>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -68,7 +112,7 @@ export default {
|
||||||
#app {
|
#app {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
background-color: #2b2d38;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
.db_lite,
|
.db_lite,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue