单风机:实时预览页码显示调整
设备:点击量测当枚举接口报错取消全局提示
This commit is contained in:
parent
c90c7d297b
commit
8d2a8f1c9d
@ -21,7 +21,7 @@
|
|||||||
:total="pageSetting.total"
|
:total="pageSetting.total"
|
||||||
:page-sizes="pageSetting.pageSizes"
|
:page-sizes="pageSetting.pageSizes"
|
||||||
background
|
background
|
||||||
:pager-count="7"
|
:pager-count="4"
|
||||||
layout="prev, pager, next, jumper,sizes,total"
|
layout="prev, pager, next, jumper,sizes,total"
|
||||||
@size-change="sizeChangePage"
|
@size-change="sizeChangePage"
|
||||||
></el-pagination>
|
></el-pagination>
|
||||||
|
@ -85,17 +85,23 @@ import { reactive, ref, watch, onMounted } from 'vue'
|
|||||||
import { ElMessage, FormInstance, dayjs } from 'element-plus'
|
import { ElMessage, FormInstance, dayjs } from 'element-plus'
|
||||||
import type { ModelAttributeFieldsEnums, GetModelAttributeType } from '/@/views/backend/auth/model/type'
|
import type { ModelAttributeFieldsEnums, GetModelAttributeType } from '/@/views/backend/auth/model/type'
|
||||||
import { ModelAttributeType } from '/@/views/backend/auth/model/type'
|
import { ModelAttributeType } from '/@/views/backend/auth/model/type'
|
||||||
import { getModelAttributeListReq, getRealValueListReq } from '/@/api/backend/deviceModel/request'
|
import { getModelAttributeListReq, getRealValueListReq, getRealValueRangeReq, queryfaultCodeDict } from '/@/api/backend/deviceModel/request'
|
||||||
import * as echarts from 'echarts'
|
import * as echarts from 'echarts'
|
||||||
import { getRealValueRangeReq } from '/@/api/backend/deviceModel/request'
|
|
||||||
import { useEnumStore } from '/@/stores/enums'
|
import { useEnumStore } from '/@/stores/enums'
|
||||||
import { queryfaultCodeDict } from '/@/api/backend/theoreticalpowerCurve/request'
|
|
||||||
import { malFunctionKeys } from '/@/views/backend/equipment/airBlower/utils'
|
import { malFunctionKeys } from '/@/views/backend/equipment/airBlower/utils'
|
||||||
|
|
||||||
const enumStore = useEnumStore()
|
const enumStore = useEnumStore()
|
||||||
|
|
||||||
const props = withDefaults(
|
const props = withDefaults(
|
||||||
defineProps<{ iotModelId: string; deviceId: string; show: boolean; autoUpdate: boolean; attributeType: ModelAttributeType;model:string;madeinFactory:string }>(),
|
defineProps<{
|
||||||
|
iotModelId: string
|
||||||
|
deviceId: string
|
||||||
|
show: boolean
|
||||||
|
autoUpdate: boolean
|
||||||
|
attributeType: ModelAttributeType
|
||||||
|
model: string
|
||||||
|
madeinFactory: string
|
||||||
|
}>(),
|
||||||
{
|
{
|
||||||
iotModelId: '',
|
iotModelId: '',
|
||||||
deviceId: '',
|
deviceId: '',
|
||||||
@ -103,7 +109,7 @@ const props = withDefaults(
|
|||||||
autoUpdate: false,
|
autoUpdate: false,
|
||||||
attributeType: 138,
|
attributeType: 138,
|
||||||
model: '',
|
model: '',
|
||||||
madeinFactory:''
|
madeinFactory: '',
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -222,7 +228,6 @@ const getMalfunctionEnums = () => {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
const getCompleteData = () => {
|
const getCompleteData = () => {
|
||||||
getAttributeList()
|
getAttributeList()
|
||||||
.then(({ data, codeList }: any) => {
|
.then(({ data, codeList }: any) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user