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

一键部署增加字段

parent 636766ea
...@@ -473,6 +473,7 @@ export default { ...@@ -473,6 +473,7 @@ export default {
namespace: this.baseInfoForm.namespace, namespace: this.baseInfoForm.namespace,
uu: this.evtUuid, uu: this.evtUuid,
values: this.app_set_info, values: this.app_set_info,
source: this.$route.query.source == "apply" ? "apply" : ""
}; };
} else { } else {
//编辑提交 //编辑提交
...@@ -483,6 +484,7 @@ export default { ...@@ -483,6 +484,7 @@ export default {
namespace: this.baseInfoForm.namespace, namespace: this.baseInfoForm.namespace,
uu: this.evtUuid, uu: this.evtUuid,
values: yaml.load(this.app_set_code), values: yaml.load(this.app_set_code),
source: this.$route.query.source == "apply" ? "apply" : ""
}; };
} }
this.next_step(); this.next_step();
......
...@@ -1187,7 +1187,7 @@ export default { ...@@ -1187,7 +1187,7 @@ export default {
}, },
deploymentAction(item) { deploymentAction(item) {
this.$router.push( this.$router.push(
`/yygl/${this.level}/${this.type}/deployment/${item.app_id}` `/yygl/${this.level}/${this.type}/deployment/${item.app_id}?source=${item.source}`
); );
}, },
changePageSize(value) { changePageSize(value) {
...@@ -1269,7 +1269,7 @@ export default { ...@@ -1269,7 +1269,7 @@ export default {
this.showDialog(); this.showDialog();
}, },
editItem(item) { editItem(item) {
this.$router.push(`/yygl/${this.level}/${this.type}/edit/${item.id}?source=${item.source}`); this.$router.push(`/yygl/${this.level}/${this.type}/edit/${item.id}`);
}, },
onLine(item) { onLine(item) {
this.dialogInfo.title = "提示"; this.dialogInfo.title = "提示";
......
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