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