diff --git a/SafeCampus.WEB/src/views/warn/zjrq/index.vue b/SafeCampus.WEB/src/views/warn/zjrq/index.vue index 9fd7159..e9d5cff 100644 --- a/SafeCampus.WEB/src/views/warn/zjrq/index.vue +++ b/SafeCampus.WEB/src/views/warn/zjrq/index.vue @@ -20,7 +20,7 @@ label="label" id="value" :isData="true" - width="300px" + width="260px" :data="warnOptions" @change="changeType" > @@ -59,7 +59,12 @@ - +
@@ -281,6 +286,7 @@ const columns: ColumnProps[] = [ { prop: "tick", label: "预警时间", + width: 180, search: { // 自定义 search 组件 span: 1, @@ -340,16 +346,14 @@ function RefreshTable() { let detailData = ref({}); function onDetail(row: any) { visible.value = true; - setTimeout(async ()=> { - await warnZJRQApi.detail({ id: row.id }).then((res:any) => { + warnZJRQApi.detail({ id: row.id }).then((res:any) => { let { code, data } = res; if (code == 200) { detailData.value = data - } }); - }) + }