修改订单管理
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 2m28s

This commit is contained in:
sexygoat
2026-02-28 16:49:28 +08:00
parent ce1032c7f9
commit 7b459b5c8d
6 changed files with 219 additions and 21 deletions

View File

@@ -67,8 +67,14 @@
<p>1. 请先下载 Excel 模板文件按照模板格式填写设备信息</p>
<p>2. 仅支持 Excel 格式.xlsx单次最多导入 1000 </p>
<p>3. 列格式请设置为文本格式避免长数字被转为科学计数法</p>
<p>4. 必填列device_no设备号device_name设备名称device_model设备型号device_type设备类型</p>
<p>5. 可选列manufacturer制造商max_sim_slots最大插槽数默认4iccid_1 ~ iccid_4绑定的卡ICCID</p>
<p
>4.
必填列device_no设备号device_name设备名称device_model设备型号device_type设备类型</p
>
<p
>5. 可选列manufacturer制造商max_sim_slots最大插槽数默认4iccid_1 ~
iccid_4绑定的卡ICCID</p
>
</div>
</template>
</ElAlert>
@@ -106,7 +112,6 @@
</ElButton>
</template>
</ElDialog>
</ArtTableFullScreen>
</template>
@@ -353,7 +358,6 @@
}
} catch (error) {
console.error(error)
ElMessage.error('获取设备任务列表失败')
} finally {
loading.value = false
}
@@ -437,7 +441,7 @@
{ wch: 22 }, // iccid_1
{ wch: 22 }, // iccid_2
{ wch: 22 }, // iccid_3
{ wch: 22 } // iccid_4
{ wch: 22 } // iccid_4
]
// 将所有单元格设置为文本格式
@@ -520,7 +524,11 @@
const { upload_url, file_key } = uploadUrlRes.data
ElMessage.info('正在上传文件...')
await StorageService.uploadFile(upload_url, file, 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet')
await StorageService.uploadFile(
upload_url,
file,
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
)
ElMessage.info('正在创建导入任务...')
const importRes = await DeviceService.importDevices({

View File

@@ -399,7 +399,6 @@
}
} catch (error) {
console.error(error)
ElMessage.error('获取IoT卡任务列表失败')
} finally {
loading.value = false
}