Commit e98c455c authored by 徐一鸣's avatar 徐一鸣

组织云资源详情状态fixed

parent 5391b149
......@@ -502,11 +502,25 @@ export default {
align: "center",
type: "image-tooltip",
getImage(item) {
if (
(item.apply_type === 0 && item.approve_state === -1) ||
(item.apply_type === 1 && item.approve_update_state === -1)
) {
return require("@/assets/imgs/ic_cancel.png");
}
return item.state == 1
? require("@/assets/imgs/ic_true.png")
: require("@/assets/imgs/ic_failed.png");
},
getTooltip(item) {
if (
(item.apply_type === 0 && item.approve_state === -1) ||
(item.apply_type === 1 && item.approve_update_state === -1)
) {
return "审批未通过";
}
return item.state == 1 ? "运行中" : "该工作区域已被禁用";
},
},
......@@ -859,11 +873,25 @@ export default {
align: "center",
type: "image-tooltip",
getImage(item) {
if (
(item.apply_type === 0 && item.approve_state === -1) ||
(item.apply_type === 1 && item.approve_update_state === -1)
) {
return require("@/assets/imgs/ic_cancel.png");
}
return item.state == 1
? require("@/assets/imgs/ic_true.png")
: require("@/assets/imgs/ic_failed.png");
},
getTooltip(item) {
if (
(item.apply_type === 0 && item.approve_state === -1) ||
(item.apply_type === 1 && item.approve_update_state === -1)
) {
return "审批未通过";
}
return item.state == 1 ? "运行中" : "该工作区域已被禁用";
},
},
......
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