Commit 5de8371d authored by 徐一鸣's avatar 徐一鸣

云资源状态

parent ae25b350
......@@ -502,10 +502,7 @@ 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)
) {
if (item.apply_type === 0 && item.approve_state === -1) {
return require("@/assets/imgs/ic_cancel.png");
}
......@@ -514,10 +511,7 @@ export default {
: 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)
) {
if (item.apply_type === 0 && item.approve_state === -1) {
return "审批未通过";
}
......@@ -873,10 +867,7 @@ 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)
) {
if (item.apply_type === 0 && item.approve_state === -1) {
return require("@/assets/imgs/ic_cancel.png");
}
......@@ -885,10 +876,7 @@ export default {
: 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)
) {
if (item.apply_type === 0 && item.approve_state === -1) {
return "审批未通过";
}
......
......@@ -443,10 +443,7 @@ 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)
) {
if (item.apply_type === 0 && item.approve_state === -1) {
return require("@/assets/imgs/ic_cancel.png");
}
......@@ -455,10 +452,7 @@ export default {
: 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)
) {
if (item.apply_type === 0 && item.approve_state === -1) {
return "审批未通过";
}
......
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