886 lines
30 KiB
Vue
886 lines
30 KiB
Vue
<template>
|
||
<div>
|
||
<!-- 设置树形控件 -->
|
||
<!-- 串口通道的页面 -->
|
||
<div v-click-outside="closeMenu">
|
||
<el-button type="info" plain @click="dialogVisible = true">串口通道</el-button>
|
||
<div class="tree_menu" v-show="dialogVisible">
|
||
<el-tree :data="datas" :props="defaultProps" @node-contextmenu="rightClick"
|
||
@node-click="treeNodeClick"></el-tree>
|
||
<!-- 树形控件右键组件 -->
|
||
<div v-show="menuShow" class="tree_rightmenu" :style="{ ...rightMenu }">
|
||
|
||
<el-menu class="el-menu-vertical-demo" @select="selectMenuNode" default-active="#0078FE">
|
||
|
||
<el-menu-item id="menuitem" index="1" style="font-size: 12px;">
|
||
<span slot="title">新建通道</span>
|
||
</el-menu-item>
|
||
<el-menu-item index="2" style="font-size: 12px;">
|
||
<span slot="title">取 消</span>
|
||
</el-menu-item>
|
||
</el-menu>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="pas_params">
|
||
<el-dialog title="通道参数设置" :visible.sync="add_passage" width="765px">
|
||
<el-form :label-position="labelPosition" :rules="rules" ref="ruleForm">
|
||
<el-row>
|
||
<el-col :span="12">
|
||
<el-form-item label="通道名称:" :label-width="formLabelWidth" prop="pass_name">
|
||
<el-select v-model="value1" placeholder="" style="width: 200px;height:30px">
|
||
<el-option v-for="item in options1" :key="item.value" :label="item.label"
|
||
:value="item.value">
|
||
</el-option>
|
||
</el-select>
|
||
</el-form-item>
|
||
</el-col>
|
||
</el-row>
|
||
<el-row>
|
||
<el-col :span="12">
|
||
<el-form-item label="通道:" :label-width="formLabelWidth" prop="passage">
|
||
<el-select v-model="value2" placeholder="" style="width: 200px;height:30px">
|
||
<el-option v-for="item in options2" :key="item.value" :label="item.label"
|
||
:value="item.value">
|
||
</el-option>
|
||
</el-select>
|
||
</el-form-item>
|
||
</el-col>
|
||
<el-col :span="12">
|
||
<el-form-item label="驱动名称:" :label-width="formLabelWidth" prop="drive_name">
|
||
<el-row>
|
||
<el-col :span="18">
|
||
<el-input v-model="input1" placeholder="" style="width: 200px;height:30px"
|
||
disabled></el-input>
|
||
</el-col>
|
||
<el-col :span="6">
|
||
<el-button style="width: 50px; height: 30px;" @click="getDriveName">...</el-button>
|
||
</el-col>
|
||
</el-row>
|
||
</el-form-item>
|
||
</el-col>
|
||
</el-row>
|
||
<el-row>
|
||
<el-col :span="12">
|
||
<el-form-item label="串口号:" :label-width="formLabelWidth" prop="port_number">
|
||
<el-select v-model="value3" placeholder="" style="width: 200px;height:30px">
|
||
<el-option v-for="item in options3" :key="item.value" :label="item.label"
|
||
:value="item.value">
|
||
</el-option>
|
||
</el-select>
|
||
</el-form-item>
|
||
</el-col>
|
||
</el-row>
|
||
<el-row>
|
||
<el-col :span="12">
|
||
<el-form-item label="波特率:" :label-width="formLabelWidth" prop="passage">
|
||
<el-select v-model="value4" placeholder="" style="width: 200px;height:30px">
|
||
<el-option v-for="item in options4" :key="item.value" :label="item.label"
|
||
:value="item.value">
|
||
</el-option>
|
||
</el-select>
|
||
</el-form-item>
|
||
</el-col>
|
||
<el-col :span="12">
|
||
<el-form-item label="数据位:" :label-width="formLabelWidth" prop="passage">
|
||
<el-select v-model="value5" placeholder="" style="width: 200px;height:30px">
|
||
<el-option v-for="item in options5" :key="item.value" :label="item.label"
|
||
:value="item.value">
|
||
</el-option>
|
||
</el-select>
|
||
</el-form-item>
|
||
</el-col>
|
||
</el-row>
|
||
<el-row>
|
||
<el-col :span="12">
|
||
<el-form-item label="停止位:" :label-width="formLabelWidth" prop="passage">
|
||
<el-select v-model="value6" placeholder="" style="width: 200px;height:30px">
|
||
<el-option v-for="item in options6" :key="item.value" :label="item.label"
|
||
:value="item.value">
|
||
</el-option>
|
||
</el-select>
|
||
</el-form-item>
|
||
</el-col>
|
||
<el-col :span="12">
|
||
<el-form-item label="奇偶校验:" :label-width="formLabelWidth" prop="passage">
|
||
<el-select v-model="value7" placeholder="" style="width: 200px;height:30px">
|
||
<el-option v-for="item in options7" :key="item.value" :label="item.label"
|
||
:value="item.value">
|
||
</el-option>
|
||
</el-select>
|
||
</el-form-item>
|
||
</el-col>
|
||
</el-row>
|
||
<el-row>
|
||
<el-col :span="12">
|
||
<el-form-item label="超过时间(ms):" :label-width="formLabelWidth" prop="time_exceeded">
|
||
<el-input v-model="input1" placeholder="" style="width: 200px;height:30px"></el-input>
|
||
</el-form-item>
|
||
</el-col>
|
||
<el-col :span="12">
|
||
<el-form-item label="间隔时间(ms):" :label-width="formLabelWidth" prop="time_interval">
|
||
<el-input v-model="input1" placeholder="" style="width: 200px;height:30px"></el-input>
|
||
</el-form-item>
|
||
</el-col>
|
||
</el-row>
|
||
<el-row>
|
||
<el-col :span="12">
|
||
<el-form-item label="轮询时间(ms):" :label-width="formLabelWidth" prop="time_polling">
|
||
<el-input v-model="input1" placeholder="" style="width: 200px;height:30px"></el-input>
|
||
</el-form-item>
|
||
</el-col>
|
||
<el-col :span="12">
|
||
<el-form-item label="重复次数:" :label-width="formLabelWidth" prop="repeate_count">
|
||
<el-input v-model="input1" placeholder="" style="width: 200px;height:30px"></el-input>
|
||
</el-form-item>
|
||
</el-col>
|
||
</el-row>
|
||
</el-form>
|
||
<div class="super_parmams">
|
||
<h3>高级参数</h3>
|
||
<div>
|
||
<i class="el-icon-caret-bottom" v-if="is_retract"></i>
|
||
<i class="el-icon-caret-top" v-else="is_retract"></i>
|
||
<el-button type="text" plain @click="getRetract" style="width: 28px;
|
||
height: 20px;color: rgba(16, 16, 16, 1);font-size: 14px;text-align: left;">
|
||
收起</el-button>
|
||
</div>
|
||
</div>
|
||
<div class="super_con" v-show="is_retract">
|
||
<el-form :label-position="labelPosition" :rules="rules" ref="ruleForm">
|
||
<el-row>
|
||
<el-col :span="12">
|
||
<el-form-item>
|
||
<el-checkbox v-model="checked1">watch time(s)</el-checkbox>
|
||
<el-input v-model="input1" placeholder="" style="width: 200px;height:30px"
|
||
:disabled="isdisabled"></el-input>
|
||
</el-form-item>
|
||
</el-col>
|
||
<el-col :span="12">
|
||
<el-form-item>
|
||
<el-checkbox v-model="checked2">采集使用连续地址</el-checkbox>
|
||
</el-form-item>
|
||
</el-col>
|
||
</el-row>
|
||
<el-row>
|
||
<el-col :span="12">
|
||
<el-form-item label="读写占空比:" :label-width="formLabelWidth">
|
||
<el-row>
|
||
<el-col :span="10">
|
||
<el-input v-model="input1" style="width: 91px;height:30px"></el-input>
|
||
</el-col>
|
||
<el-col :span="4">:
|
||
</el-col>
|
||
<el-col :span="10">
|
||
<el-input v-model="input1" style="width: 91px;height:30px"></el-input>
|
||
</el-col>
|
||
</el-row>
|
||
</el-form-item>
|
||
</el-col>
|
||
</el-row>
|
||
<el-row>
|
||
<el-col :span="12">
|
||
<el-form-item label="05/0F:" :label-width="formLabelWidth">
|
||
<el-row>
|
||
<el-col :span="8"><el-radio v-model="radio" label="1">auto</el-radio></el-col>
|
||
<el-col :span="8"><el-radio v-model="radio" label="2">05</el-radio></el-col>
|
||
<el-col :span="8"><el-radio v-model="radio" label="3">0F</el-radio></el-col>
|
||
</el-row>
|
||
</el-form-item>
|
||
</el-col>
|
||
<el-col :span="12">
|
||
<el-form-item label="06/10:" :label-width="formLabelWidth">
|
||
<el-row>
|
||
<el-col :span="8"><el-radio v-model="radio" label="1">auto</el-radio></el-col>
|
||
<el-col :span="8"><el-radio v-model="radio" label="2">06</el-radio></el-col>
|
||
<el-col :span="8"><el-radio v-model="radio" label="3">10</el-radio></el-col>
|
||
</el-row>
|
||
</el-form-item>
|
||
</el-col>
|
||
</el-row>
|
||
</el-form>
|
||
</div>
|
||
<span slot="footer" class="dialog-footer">
|
||
<el-button @click="add_passage = false">取 消</el-button>
|
||
<el-button type="primary" @click="add_passage = false">确 定</el-button>
|
||
</span>
|
||
</el-dialog>
|
||
</div>
|
||
<div class="drvieName_All" v-show="diag_drive">
|
||
<h3>协议选择</h3>
|
||
<el-divider></el-divider>
|
||
<el-tree :data="datas2" :props="defaultProps"></el-tree>
|
||
</div>
|
||
</div>
|
||
</template>
|
||
|
||
<script>
|
||
export default {
|
||
name: 'TestTreeView',
|
||
|
||
data() {
|
||
return {
|
||
diag_drive: false,
|
||
options1: [{
|
||
value: "有线区Channel1",
|
||
label: "有线区Channel1",
|
||
}, {
|
||
value: "无线区Channel1",
|
||
label: "无线区Channel1",
|
||
}],
|
||
options2: [{
|
||
value: "网口",
|
||
label: "网口",
|
||
}, {
|
||
value: "串口",
|
||
label: "串口",
|
||
}],
|
||
options3: [{
|
||
value: "com1",
|
||
label: "com1",
|
||
},
|
||
{
|
||
value: "com2",
|
||
label: "com2",
|
||
},
|
||
{
|
||
value: "com3",
|
||
label: "com3",
|
||
},
|
||
{
|
||
value: "com4",
|
||
label: "com4",
|
||
},
|
||
{
|
||
value: "com5",
|
||
label: "com5",
|
||
}, {
|
||
value: "com6",
|
||
label: "com6",
|
||
},
|
||
{
|
||
value: "com7",
|
||
label: "com7",
|
||
},
|
||
{
|
||
value: "com8",
|
||
label: "com8",
|
||
},
|
||
{
|
||
value: "com9",
|
||
label: "com9",
|
||
},
|
||
{
|
||
value: "com10",
|
||
label: "com10",
|
||
}, {
|
||
value: "com11",
|
||
label: "com11",
|
||
},
|
||
{
|
||
value: "com12",
|
||
label: "com12",
|
||
},
|
||
{
|
||
value: "com13",
|
||
label: "com13",
|
||
},
|
||
{
|
||
value: "com14",
|
||
label: "com14",
|
||
},
|
||
{
|
||
value: "com15",
|
||
label: "com15",
|
||
}, {
|
||
value: "com16",
|
||
label: "com16",
|
||
},
|
||
{
|
||
value: "com17",
|
||
label: "com17",
|
||
},
|
||
{
|
||
value: "com18",
|
||
label: "com18",
|
||
},
|
||
{
|
||
value: "com19",
|
||
label: "com19",
|
||
},
|
||
{
|
||
value: "com20",
|
||
label: "com20",
|
||
}, {
|
||
value: "com21",
|
||
label: "com21",
|
||
},
|
||
{
|
||
value: "com22",
|
||
label: "com22",
|
||
},
|
||
{
|
||
value: "com23",
|
||
label: "com23",
|
||
},
|
||
{
|
||
value: "com24",
|
||
label: "com24",
|
||
},
|
||
{
|
||
value: "com25",
|
||
label: "com25",
|
||
}, {
|
||
value: "com26",
|
||
label: "com26",
|
||
},
|
||
{
|
||
value: "com27",
|
||
label: "com27",
|
||
},
|
||
{
|
||
value: "com28",
|
||
label: "com28",
|
||
},
|
||
{
|
||
value: "com29",
|
||
label: "com29",
|
||
},
|
||
{
|
||
value: "com30",
|
||
label: "com30",
|
||
}, {
|
||
value: "com31",
|
||
label: "com31",
|
||
},
|
||
{
|
||
value: "com32",
|
||
label: "com32",
|
||
},
|
||
{
|
||
value: "com33",
|
||
label: "com33",
|
||
},
|
||
{
|
||
value: "com34",
|
||
label: "com34",
|
||
},
|
||
{
|
||
value: "com35",
|
||
label: "com35",
|
||
}, {
|
||
value: "com36",
|
||
label: "com36",
|
||
},
|
||
{
|
||
value: "com37",
|
||
label: "com37",
|
||
},
|
||
{
|
||
value: "com38",
|
||
label: "com38",
|
||
},
|
||
{
|
||
value: "com39",
|
||
label: "com39",
|
||
},
|
||
{
|
||
value: "com40",
|
||
label: "com40",
|
||
}, {
|
||
value: "com41",
|
||
label: "com41",
|
||
},
|
||
{
|
||
value: "com42",
|
||
label: "com42",
|
||
},
|
||
{
|
||
value: "com43",
|
||
label: "com43",
|
||
},
|
||
{
|
||
value: "com44",
|
||
label: "com44",
|
||
},
|
||
{
|
||
value: "com45",
|
||
label: "com45",
|
||
}, {
|
||
value: "com46",
|
||
label: "com46",
|
||
},
|
||
{
|
||
value: "com47",
|
||
label: "com47",
|
||
},
|
||
{
|
||
value: "com48",
|
||
label: "com48",
|
||
},
|
||
{
|
||
value: "com49",
|
||
label: "com49",
|
||
},
|
||
{
|
||
value: "com50",
|
||
label: "com50",
|
||
},
|
||
],
|
||
options4: [{
|
||
value: "1200",
|
||
label: "1200"
|
||
}, {
|
||
value: "2400",
|
||
label: "2400"
|
||
}, {
|
||
value: "4800",
|
||
label: "4800",
|
||
}, {
|
||
value: "9600",
|
||
label: "9600",
|
||
}, {
|
||
value: "115200",
|
||
label: "115200"
|
||
}],
|
||
options5: [{
|
||
value: "8",
|
||
label: "8"
|
||
}, {
|
||
value: "7",
|
||
label: "7"
|
||
}],
|
||
options6: [{
|
||
value: "1",
|
||
label: "1"
|
||
}, {
|
||
value: "2",
|
||
label: "2",
|
||
}],
|
||
options7: [{
|
||
value: "奇校验",
|
||
label: "奇校验"
|
||
}, {
|
||
value: "偶校验",
|
||
label: "偶校验"
|
||
}, {
|
||
value: "无校验(none)",
|
||
label: "无校验(none)"
|
||
}],
|
||
tdpz_tdmc: "有线区Channel1",
|
||
tdpz_td: "网口",
|
||
tdpz_qdmc: "ModbusTCPClient",
|
||
tdpz_watchtime: false,
|
||
tdpz_cjsylxdz: true,
|
||
tdpz_dxzkb: "",
|
||
tdpz_dxzkb1: "1",
|
||
tdpz_dxzkb2: "1",
|
||
tdpz_050F: "1",
|
||
tdpz_0610: "1",
|
||
value1: '有线区Channel1',
|
||
value2: "网口",
|
||
value3: "com1",
|
||
value4: "1200",
|
||
value5: "8",
|
||
value6: "1",
|
||
value7: "无校验(none)",
|
||
isdisabled: true,
|
||
radio: "1",
|
||
checked1: false,
|
||
checked2: true,
|
||
is_retract: true,
|
||
labelPosition: "left",
|
||
formLabelWidth: "116px",
|
||
input1: 192,
|
||
add_passage: false,
|
||
rightMenu: "",
|
||
dialogVisible: false,
|
||
menuShow: false,
|
||
datas: [{
|
||
label: 'Gateway',
|
||
children: [{
|
||
label: '数据采集',
|
||
children: [{
|
||
label: 'I/O点'
|
||
},
|
||
{
|
||
label: '用户点',
|
||
},
|
||
{
|
||
label: '计算点',
|
||
},
|
||
{
|
||
label: '系统点',
|
||
},
|
||
]
|
||
},
|
||
{
|
||
label: "数据服务",
|
||
children: [{
|
||
label: "Modbus"
|
||
}]
|
||
},
|
||
{
|
||
label: "IOT",
|
||
children: [
|
||
{
|
||
label: "Mqtt Client"
|
||
},
|
||
{
|
||
label: "Alink"
|
||
},
|
||
{
|
||
label: "Tlink"
|
||
},
|
||
{
|
||
label: "loTDDC"
|
||
},
|
||
{
|
||
label: "Ulink"
|
||
},
|
||
]
|
||
}
|
||
]
|
||
}],
|
||
datas2: [{
|
||
label: '通用标准',
|
||
children: [
|
||
{
|
||
label: 'ModbusTCPClient',
|
||
},
|
||
{
|
||
label: 'ModbusRTU_over_TCP',
|
||
},
|
||
{
|
||
label: 'OPCUAClient',
|
||
},
|
||
{
|
||
label: 'OPCDAClient',
|
||
},
|
||
{
|
||
label: 'MQTTClient',
|
||
},
|
||
{
|
||
label: "OPCXMLDAClient",
|
||
},
|
||
{
|
||
label: "环保212协议网口监听",
|
||
}
|
||
]
|
||
},
|
||
{
|
||
label: "PLC",
|
||
children: [
|
||
{
|
||
label: "Slemens S7-200 Network"
|
||
},
|
||
{
|
||
label: "Slemens S7-300 Network"
|
||
},
|
||
{
|
||
label: "Slemens S7-400 Network"
|
||
},
|
||
{
|
||
label: "Slemens S7-1200 Network"
|
||
},
|
||
{
|
||
label: "Slemens S7-1500 Network"
|
||
},
|
||
{
|
||
label: "EtherNet/IP CIP协议(AB OMR ON)"
|
||
},
|
||
{
|
||
label: "MC_Qna-3E(三菱 基恩士 松下)"
|
||
},
|
||
{
|
||
label: "MC_A-1E_Binary"
|
||
},
|
||
{
|
||
label: "OMRON-FINS"
|
||
},
|
||
{
|
||
label: "横河PLC"
|
||
},
|
||
{
|
||
label: "西门子FetchWirte"
|
||
},
|
||
{
|
||
label: "富机 FUJI_SPH_NET"
|
||
},
|
||
{
|
||
label: "基恩士上位链路通讯"
|
||
},
|
||
]
|
||
},
|
||
{
|
||
label: "智能建筑",
|
||
children: []
|
||
},
|
||
{
|
||
label: "厂家定制",
|
||
children: []
|
||
},
|
||
{
|
||
label: "电力行业标准",
|
||
children: [
|
||
{
|
||
label: "IEC104",
|
||
},
|
||
{
|
||
label: "DLT645_over_TCP"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
label: "CNC数控",
|
||
children: []
|
||
}, {
|
||
label: "私有协议",
|
||
children: []
|
||
}],
|
||
defaultProps: {
|
||
children: 'children',
|
||
label: 'label'
|
||
},
|
||
rules: {
|
||
pass_name: [
|
||
{ required: true, message: '请输入通道名称', trigger: 'blur' },
|
||
{ min: 3, max: 5, message: '长度在 3 到 5 个字符', trigger: 'blur' }
|
||
],
|
||
passage: [
|
||
{ required: true, message: '请输入通道', trigger: 'blur' },
|
||
],
|
||
drive_name: [
|
||
{ required: true, message: '请输入驱动名称', trigger: 'blur' },
|
||
],
|
||
ip_address: [
|
||
{ required: true, message: '请输入ip地址', trigger: 'blur' },
|
||
],
|
||
port_number: [
|
||
{ required: true, message: '请输入端口号', trigger: 'blur' },
|
||
],
|
||
time_exceeded: [
|
||
{ required: true, message: '请输入超出时间', trigger: 'blur' },
|
||
],
|
||
time_interval: [
|
||
{ required: true, message: '请输入间隔时间', trigger: 'blur' },
|
||
],
|
||
time_polling: [
|
||
{ required: true, message: '请输入轮询时间', trigger: 'blur' },
|
||
],
|
||
repeate_count: [
|
||
{ required: true, message: '请输入重复次数', trigger: 'blur' },
|
||
],
|
||
},
|
||
};
|
||
},
|
||
|
||
mounted() {
|
||
|
||
},
|
||
|
||
methods: {
|
||
rightClick(e, data, node) {
|
||
this.menuShow = false
|
||
this.menuShow = true
|
||
e.preventDefault() //关闭浏览器右键默认事件
|
||
this.rightMenu = { top: e.pageY + 'px', left: e.pageX + 'px' }
|
||
document.addEventListener('click', (ev) => {
|
||
ev.stopImmediatePropagation()
|
||
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()
|
||
},
|
||
// 收起点击事件的判断
|
||
getRetract() {
|
||
if (this.is_retract == true) {
|
||
this.is_retract = false;
|
||
} else {
|
||
this.is_retract = true;
|
||
}
|
||
},
|
||
getDriveName() {
|
||
this.diag_drive = true;
|
||
},
|
||
closeMenu(ev) {
|
||
console.log({ ev });
|
||
this.dialogVisible = false;
|
||
}
|
||
},
|
||
watch: {
|
||
checked1: {
|
||
handler(old,) {
|
||
if (old) {
|
||
this.isdisabled = false;
|
||
} else {
|
||
this.isdisabled = true;
|
||
}
|
||
}
|
||
}
|
||
},
|
||
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>
|
||
|
||
<style lang="less" scoped>
|
||
.tree_menu {
|
||
position: absolute;
|
||
width: 286px;
|
||
height: 753px;
|
||
left: 64px;
|
||
top: 104px;
|
||
width: 286px;
|
||
height: 753px;
|
||
line-height: 20px;
|
||
border-radius: 3px;
|
||
background-color: rgba(255, 255, 255, 1);
|
||
text-align: center;
|
||
border: 1px solid rgba(220, 220, 220, 1);
|
||
}
|
||
|
||
.tree_rightmenu {
|
||
position: fixed;
|
||
width: 120px;
|
||
border: 1px solid rgba(0, 0, 0, 0.15);
|
||
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
|
||
z-index: 1000;
|
||
}
|
||
|
||
.super_parmams {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: center;
|
||
width: 668px;
|
||
|
||
i {
|
||
width: 24px;
|
||
height: 24px;
|
||
display: inline-block;
|
||
}
|
||
}
|
||
|
||
/deep/ .pas_params {
|
||
.el-col-12:last-child {
|
||
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-6 {
|
||
height: 40px;
|
||
top: 5px;
|
||
left: 77px;
|
||
position: relative;
|
||
width: 50px;
|
||
}
|
||
}
|
||
}
|
||
|
||
.super_con {
|
||
.el-col-12:last-child {
|
||
padding-right: 28px;
|
||
}
|
||
|
||
.el-col-12:first-child {
|
||
padding-right: 42px;
|
||
}
|
||
|
||
.el-input__inner {
|
||
|
||
text-align: left;
|
||
padding: 0 8px;
|
||
}
|
||
|
||
.el-row {
|
||
display: flex;
|
||
align-items: flex-end;
|
||
|
||
.el-col-4 {
|
||
padding-left: 5px;
|
||
width: 14px;
|
||
text-align: center;
|
||
line-height: 4px;
|
||
height: 20px;
|
||
}
|
||
}
|
||
}
|
||
|
||
/deep/ .drvieName_All {
|
||
position: absolute;
|
||
left: 1335px;
|
||
top: 218px;
|
||
width: 435px;
|
||
height: 720px;
|
||
z-index: 10000;
|
||
border: 1px solid #f5f5f5;
|
||
|
||
h3 {
|
||
background-color: #fff;
|
||
padding-bottom: 10px;
|
||
}
|
||
|
||
.el-divider--horizontal {
|
||
margin: 0px;
|
||
}
|
||
}
|
||
</style> |