Commit 750a8b16 authored by 仇晓婷's avatar 仇晓婷

结果页面加超期预警

parent 71c4b35c
...@@ -66,14 +66,14 @@ export default { ...@@ -66,14 +66,14 @@ export default {
}, },
{ {
title: "超期预警", title: "超期预警",
key: "id", key: "alert",
align: "center", align: "center",
render: (h, params) => { render: (h, params) => {
return h("div", [ return h("div", [
h("Icon", { h("Icon", {
props: { props: {
type: type:
params.row.id == 1 params.row.alert == true
? "ios-information-circle-outline" ? "ios-information-circle-outline"
: "ios-remove-circle-outline" : "ios-remove-circle-outline"
}, },
...@@ -81,7 +81,7 @@ export default { ...@@ -81,7 +81,7 @@ export default {
marginRight: "5px", marginRight: "5px",
fontSize: "18px", fontSize: "18px",
fontWeight: "bold", fontWeight: "bold",
color: params.row.id == 1 ? "#FE7777" : "#0DD78D" color: params.row.alert == true ? "#FE7777" : "#0DD78D"
} }
}) })
]); ]);
......
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