Merge remote-tracking branch 'origin/main'
This commit is contained in:
commit
df8c900be7
@ -21,7 +21,7 @@
|
||||
:total="pageSetting.total"
|
||||
:page-sizes="pageSetting.pageSizes"
|
||||
background
|
||||
:pager-count="7"
|
||||
:pager-count="4"
|
||||
layout="prev, pager, next, jumper,sizes,total"
|
||||
@size-change="sizeChangePage"
|
||||
></el-pagination>
|
||||
|
@ -85,17 +85,23 @@ import { reactive, ref, watch, onMounted } from 'vue'
|
||||
import { ElMessage, FormInstance, dayjs } from 'element-plus'
|
||||
import type { ModelAttributeFieldsEnums, GetModelAttributeType } 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 { getRealValueRangeReq } from '/@/api/backend/deviceModel/request'
|
||||
import { useEnumStore } from '/@/stores/enums'
|
||||
import { queryfaultCodeDict } from '/@/api/backend/theoreticalpowerCurve/request'
|
||||
import { malFunctionKeys } from '/@/views/backend/equipment/airBlower/utils'
|
||||
|
||||
const enumStore = useEnumStore()
|
||||
|
||||
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: '',
|
||||
deviceId: '',
|
||||
@ -103,7 +109,7 @@ const props = withDefaults(
|
||||
autoUpdate: false,
|
||||
attributeType: 138,
|
||||
model: '',
|
||||
madeinFactory:''
|
||||
madeinFactory: '',
|
||||
}
|
||||
)
|
||||
|
||||
@ -222,7 +228,6 @@ const getMalfunctionEnums = () => {
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
const getCompleteData = () => {
|
||||
getAttributeList()
|
||||
.then(({ data, codeList }: any) => {
|
||||
|
Loading…
Reference in New Issue
Block a user