修复: list->items
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 6m46s
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 6m46s
This commit is contained in:
@@ -869,7 +869,7 @@
|
|||||||
}
|
}
|
||||||
const res = await OrderService.getOrders(params)
|
const res = await OrderService.getOrders(params)
|
||||||
if (res.code === 0) {
|
if (res.code === 0) {
|
||||||
orderList.value = res.data.list || []
|
orderList.value = res.data.items || []
|
||||||
pagination.total = res.data.total || 0
|
pagination.total = res.data.total || 0
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
@@ -1011,9 +1011,7 @@
|
|||||||
try {
|
try {
|
||||||
// 获取资源ID (IoT卡ID或设备ID)
|
// 获取资源ID (IoT卡ID或设备ID)
|
||||||
const resourceId =
|
const resourceId =
|
||||||
createForm.order_type === 'single_card'
|
createForm.order_type === 'single_card' ? createForm.iot_card_id : createForm.device_id
|
||||||
? createForm.iot_card_id
|
|
||||||
: createForm.device_id
|
|
||||||
|
|
||||||
if (!resourceId) {
|
if (!resourceId) {
|
||||||
ElMessage.error('请选择IoT卡或设备')
|
ElMessage.error('请选择IoT卡或设备')
|
||||||
|
|||||||
@@ -161,7 +161,9 @@
|
|||||||
:stroke-width="20"
|
:stroke-width="20"
|
||||||
:color="getProgressColor(initProgress.progress)"
|
:color="getProgressColor(initProgress.progress)"
|
||||||
>
|
>
|
||||||
<span style="font-size: 14px; font-weight: bold">{{ initProgress.progress.toFixed(1) }}%</span>
|
<span style="font-size: 14px; font-weight: bold"
|
||||||
|
>{{ initProgress.progress.toFixed(1) }}%</span
|
||||||
|
>
|
||||||
</el-progress>
|
</el-progress>
|
||||||
</div>
|
</div>
|
||||||
</el-card>
|
</el-card>
|
||||||
|
|||||||
Reference in New Issue
Block a user