一次值更改
This commit is contained in:
@@ -80,6 +80,7 @@
|
||||
<el-form
|
||||
:inline="true"
|
||||
style="white-space: nowrap; margin-top: 10px"
|
||||
id="formRef"
|
||||
v-if="
|
||||
dataSet.indexOf('_trenddata') == -1 &&
|
||||
dataSet.indexOf('_realtimedata') == -1 &&
|
||||
@@ -99,7 +100,11 @@
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="值类型">
|
||||
<el-select v-model="formInline.dataLevel" :disabled="dataLevel == 'Primary'">
|
||||
<el-select
|
||||
style="width: 160px !important"
|
||||
v-model="formInline.dataLevel"
|
||||
:disabled="dataLevel == 'Primary' && deviceType == '0'"
|
||||
>
|
||||
<el-option value="Primary" label="一次值"></el-option>
|
||||
<el-option value="Secondary" label="二次值"></el-option>
|
||||
</el-select>
|
||||
@@ -324,7 +329,7 @@ const dataSet = ref('')
|
||||
const devTypeOptions = ref([])
|
||||
const devModelOptions = ref([])
|
||||
const tableData = ref<any[]>([])
|
||||
const tableHeight = mainHeight(330).height
|
||||
|
||||
const mangePopup = ref()
|
||||
const datePickerRef = ref()
|
||||
const formInline = reactive({
|
||||
@@ -467,8 +472,6 @@ const deviceType = ref('0')
|
||||
const pointTypeChange = (val: any, obj: any) => {
|
||||
deviceType.value = val
|
||||
nodeClick(obj)
|
||||
formInline.dataLevel = 'Secondary'
|
||||
console.log(formInline, '????????????????????????????466')
|
||||
}
|
||||
const realTimeRef: any = ref()
|
||||
const intRealTime = async (val: any) => {
|
||||
@@ -659,7 +662,11 @@ const openGroup = () => {
|
||||
})
|
||||
})
|
||||
}
|
||||
onMounted(() => {})
|
||||
const tableHeight = mainHeight(330).height
|
||||
|
||||
onMounted(() => {
|
||||
|
||||
})
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
|
||||
Reference in New Issue
Block a user