|
@@ -2,7 +2,7 @@ |
|
@@ -2,7 +2,7 @@ |
2
|
<div class="snmp-form" :style="{ height: dynamicHeight + 'vh' }">
|
2
|
<div class="snmp-form" :style="{ height: dynamicHeight + 'vh' }">
|
3
|
<div class="form-item1" :style="{ height: dynamicHeight + 'vh' }">
|
3
|
<div class="form-item1" :style="{ height: dynamicHeight + 'vh' }">
|
4
|
<div style="margin-left: 1vw">
|
4
|
<div style="margin-left: 1vw">
|
5
|
- <h3 style="color: gray">Scope*</h3>
|
5
|
+ <h3 style="color: gray">范围*</h3>
|
6
|
<Select
|
6
|
<Select
|
7
|
v-model:value="selectValue"
|
7
|
v-model:value="selectValue"
|
8
|
style="width: 140px"
|
8
|
style="width: 140px"
|
|
@@ -14,7 +14,7 @@ |
|
@@ -14,7 +14,7 @@ |
14
|
</div>
|
14
|
</div>
|
15
|
<div class="form-item2" :style="{ height: dynamicHeight + 'vh' }">
|
15
|
<div class="form-item2" :style="{ height: dynamicHeight + 'vh' }">
|
16
|
<div style="margin-left: 1vw">
|
16
|
<div style="margin-left: 1vw">
|
17
|
- <h3 style="color: gray">Querying frequency,ms*</h3>
|
17
|
+ <h3 style="color: gray">查询频率(毫秒*)</h3>
|
18
|
<InputNumber
|
18
|
<InputNumber
|
19
|
v-if="selectValue == 'TELEMETRY_QUERYING' || selectValue == 'CLIENT_ATTRIBUTES_QUERYING'"
|
19
|
v-if="selectValue == 'TELEMETRY_QUERYING' || selectValue == 'CLIENT_ATTRIBUTES_QUERYING'"
|
20
|
v-model:value="inputNmberValue"
|
20
|
v-model:value="inputNmberValue"
|
|
@@ -34,7 +34,7 @@ |
|
@@ -34,7 +34,7 @@ |
34
|
style="text-align: center; line-height: 20vh"
|
34
|
style="text-align: center; line-height: 20vh"
|
35
|
:style="{ lineHeight: dynamicHeight + 'vh' }"
|
35
|
:style="{ lineHeight: dynamicHeight + 'vh' }"
|
36
|
>
|
36
|
>
|
37
|
- <Button size="small" type="default" @click="handleRemove(item, index)">
|
37
|
+ <Button size="small" type="dashed" @click="handleRemove(item, index)">
|
38
|
<template #icon>
|
38
|
<template #icon>
|
39
|
<MinusCircleOutlined />
|
39
|
<MinusCircleOutlined />
|
40
|
</template>
|
40
|
</template>
|
|
@@ -69,7 +69,7 @@ |
|
@@ -69,7 +69,7 @@ |
69
|
const emit = defineEmits(['removeItem', 'selectItem']);
|
69
|
const emit = defineEmits(['removeItem', 'selectItem']);
|
70
|
const selectValue = ref('CLIENT_ATTRIBUTES_QUERYING');
|
70
|
const selectValue = ref('CLIENT_ATTRIBUTES_QUERYING');
|
71
|
const inputNmberValue = ref(5000);
|
71
|
const inputNmberValue = ref(5000);
|
72
|
- const dynamicHeight = ref(20);
|
72
|
+ const dynamicHeight = ref(25);
|
73
|
const selectOptions: any = ref([
|
73
|
const selectOptions: any = ref([
|
74
|
{
|
74
|
{
|
75
|
label: 'Telemetry',
|
75
|
label: 'Telemetry',
|
|
@@ -151,25 +151,25 @@ |
|
@@ -151,25 +151,25 @@ |
151
|
justify-content: space-between;
|
151
|
justify-content: space-between;
|
152
|
width: 40vw;
|
152
|
width: 40vw;
|
153
|
height: 20vh;
|
153
|
height: 20vh;
|
154
|
- border: 1px solid gray;
|
154
|
+ border: 0.1px solid #bfbfbf;
|
155
|
margin-top: 2vh;
|
155
|
margin-top: 2vh;
|
156
|
|
156
|
|
157
|
.form-item1 {
|
157
|
.form-item1 {
|
158
|
width: 9vw;
|
158
|
width: 9vw;
|
159
|
height: 20vh;
|
159
|
height: 20vh;
|
160
|
- border: 1px solid gray;
|
160
|
+ border: 0.1px solid #bfbfbf;
|
161
|
}
|
161
|
}
|
162
|
|
162
|
|
163
|
.form-item2 {
|
163
|
.form-item2 {
|
164
|
width: 28vw;
|
164
|
width: 28vw;
|
165
|
height: 20vh;
|
165
|
height: 20vh;
|
166
|
- border: 1px solid gray;
|
166
|
+ border: 0.1px solid #bfbfbf;
|
167
|
}
|
167
|
}
|
168
|
|
168
|
|
169
|
.form-item3 {
|
169
|
.form-item3 {
|
170
|
width: 2vw;
|
170
|
width: 2vw;
|
171
|
height: 20vh;
|
171
|
height: 20vh;
|
172
|
- border: 1px solid gray;
|
172
|
+ border: 0.1px solid #bfbfbf;
|
173
|
}
|
173
|
}
|
174
|
}
|
174
|
}
|
175
|
</style> |
175
|
</style> |