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

Merge branch 'xym' into dev

parents 94865b4f 6166798a
...@@ -509,7 +509,11 @@ export default { ...@@ -509,7 +509,11 @@ export default {
(item.service_apply_info && (item.service_apply_info &&
item.service_apply_info.approval_time) || item.service_apply_info.approval_time) ||
""; "";
return helper.dateStringTransform(date);
return item.service_apply_info &&
item.service_apply_info.approval_status == 1
? helper.dateStringTransform(date)
: "-";
}, },
align: "center", align: "center",
}, },
...@@ -778,7 +782,11 @@ export default { ...@@ -778,7 +782,11 @@ export default {
(item.service_apply_info && (item.service_apply_info &&
item.service_apply_info.approval_time) || item.service_apply_info.approval_time) ||
""; "";
return helper.dateStringTransform(date);
return item.service_apply_info &&
item.service_apply_info.approval_status == 1
? helper.dateStringTransform(date)
: "-";
}, },
align: "center", align: "center",
}, },
......
...@@ -1207,9 +1207,13 @@ export default { ...@@ -1207,9 +1207,13 @@ export default {
this.$refs.dialog.show(); this.$refs.dialog.show();
}, },
deploymentAction(item) { deploymentAction(item) {
// console.log("deployment " + item.app_name); setTimeout(() => {
console.log("一键部署功能设计中···"); this.$message({
}, // TODO: 一键部署功能设计中 message: `一键部署${item.app_name}成功.`,
type: "success",
});
}, 200);
}, // FIXME: 一键部署功能设计中
changePageSize(value) { changePageSize(value) {
this.pageSize = value; this.pageSize = value;
this.currentPage = 1; this.currentPage = 1;
...@@ -1219,7 +1223,7 @@ export default { ...@@ -1219,7 +1223,7 @@ export default {
}, },
detailItem(item) { detailItem(item) {
this.$router.push( this.$router.push(
`${this.detailsUrl + (this.type === 1 ? item.deploy_id : item.app_id)}` `${this.detailsUrl + [item.deploy_id, item.app_id, item.id][this.type]}`
); );
}, },
soldUpItem(item) { soldUpItem(item) {
......
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