This commit is contained in:
dj
2026-03-06 19:41:16 +08:00
4 changed files with 1711 additions and 10 deletions

View File

@@ -9,7 +9,7 @@
<el-button type="primary" @click="closeSocket">关闭连接</el-button> <el-button type="primary" @click="closeSocket">关闭连接</el-button>
<el-button type="primary" @click="handleClear" style="float: right">清除</el-button> <el-button type="primary" @click="handleClear" style="float: right">清除</el-button>
<div class="socket-box"> <div class="socket-box">
<div v-for="item in dataList" ref="child"> <div v-for="item in dataList" :key="item.cmdType" ref="child">
<div v-if="item.cmdType == 3"> <div v-if="item.cmdType == 3">
<span style="color: #007bff">server send:</span> <span style="color: #007bff">server send:</span>
<div>{{ item.cmd }}</div> <div>{{ item.cmd }}</div>

View File

@@ -77,7 +77,7 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="serialNumber" label="序列号" align="center" > <el-table-column prop="serialNumber" label="序列号" align="center" >
<template #default="scope"> <!-- <template #default="scope"> -->
<!-- {{scope.row.serialNumberOption.filter(item => item.value == scope.row.serialNumber).map(item => item.label)[0]}}?--> <!-- {{scope.row.serialNumberOption.filter(item => item.value == scope.row.serialNumber).map(item => item.label)[0]}}?-->
<!-- <el-select placeholder="请选择" v-model="scope.row.serialNumber" popper-class="serialNumber-select"--> <!-- <el-select placeholder="请选择" v-model="scope.row.serialNumber" popper-class="serialNumber-select"-->
<!-- clearable class="serialNumber">--> <!-- clearable class="serialNumber">-->
@@ -88,7 +88,7 @@
<!-- :value="item.value"--> <!-- :value="item.value"-->
<!-- />--> <!-- />-->
<!-- </el-select>--> <!-- </el-select>-->
</template> <!-- </template> -->
</el-table-column> </el-table-column>
<el-table-column prop="state" label="状态" align="center" width="200"> <el-table-column prop="state" label="状态" align="center" width="200">
<template #default="scope"> <template #default="scope">
@@ -796,10 +796,6 @@ getList()
background: #0f7da9; background: #0f7da9;
} }
.wind-switch {
//margin-left: 26px;
}
.switch { .switch {
margin-top: 22px; margin-top: 22px;

View File

@@ -608,9 +608,6 @@ const handleMoreDelete = debounce(() => {
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
.serialNumber-name-overflow-hidden {
}
.showNull { .showNull {
margin-top: 150px; margin-top: 150px;

1708
yarn.lock Normal file

File diff suppressed because it is too large Load Diff