Commit 3b0f5cc9 authored by 徐一鸣's avatar 徐一鸣

云资源管理fixed

parent fd012023
...@@ -921,11 +921,11 @@ export default { ...@@ -921,11 +921,11 @@ export default {
actionList: [ actionList: [
{ {
getLabel(item) { getLabel(item) {
return item.use_uid !== "" ? "已分配" : "分配"; return item.approve_state === 1 && item.use_uid !== "" ? "已分配" : "分配";
}, },
callback: this.cloudAllot, callback: this.cloudAllot,
disabledRule(item) { disabledRule(item) {
return item.use_uid !== ""; return item.approve_state === 1 && item.use_uid !== "";
}, },
}, },
], ],
......
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