Commit 06ad33a0 authored by 张耀's avatar 张耀

feat:

我的预警工单详情接口对接
parent 9e3b461e
......@@ -6,10 +6,11 @@
<div class="content bg-scroll">
<warn-detail :label-data="labelData" :value-data="info" :tabLabels="tabLabels" :tabDatas="tabDatas">
<template #status="{ item, valueData }">
<span class="status-body">
<span class="status-body" v-if="valueData.status">
<span class="status" :class="`status-${valueData.status}`"></span>
<span>{{ statusOptions[valueData[item.prop]] }}</span>
</span>
<span v-else>-</span>
</template>
</warn-detail>
</div>
......@@ -100,7 +101,7 @@ const getInfo = () => {
const params = {
id,
};
axios.get("/v1/api/alert_list", { params }).then((res) => {
axios.get("/v1/api/work_order/alert", { params }).then((res) => {
if (res.data.code == 200) {
const { data } = res.data;
info.value = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment