Commit 85c67c0f authored by 张俊's avatar 张俊

Merge branch 'dev' of cloud.wodcloud.com:apaas/apaas-v3-ui into dev

parents 6071aa5f 0e948e41
...@@ -90,7 +90,7 @@ ...@@ -90,7 +90,7 @@
</el-form-item> </el-form-item>
</el-form> </el-form>
<div class="apass_button step_action"> <div class="apass_button step_action">
<el-button type="primary" @click="nextStep"> <el-button type="primary" @click="goToStep1">
下一步 下一步
</el-button> </el-button>
</div> </div>
...@@ -468,6 +468,16 @@ export default { ...@@ -468,6 +468,16 @@ export default {
}; };
this.$refs.dialog.show(); this.$refs.dialog.show();
}, },
goToStep1() {
// if (this.image_total > 0) {
this.nextStep();
/* } else {
this.$message({
message: `您尚未上传任何镜像`,
type: "warning",
});
} */
},
goToStep2(formName) { goToStep2(formName) {
this.$refs[formName].validate((valid) => { this.$refs[formName].validate((valid) => {
if (valid) { if (valid) {
...@@ -482,7 +492,7 @@ export default { ...@@ -482,7 +492,7 @@ export default {
}, },
getYwlys() { getYwlys() {
this.$http this.$http
.get("/apaas/hubApi/market/appTypes") .get("/apaas/hubApi/market/businessAreas")
.then((response) => { .then((response) => {
this.ywlys = response.data.data; this.ywlys = response.data.data;
}) })
...@@ -492,7 +502,7 @@ export default { ...@@ -492,7 +502,7 @@ export default {
}, },
getTypes() { getTypes() {
this.$http this.$http
.get("/apaas/hubApi/market/departments") .get("/apaas/hubApi/market/appTypes")
.then((response) => { .then((response) => {
this.types = response.data.data; this.types = response.data.data;
}) })
...@@ -560,11 +570,24 @@ export default { ...@@ -560,11 +570,24 @@ export default {
return ""; return "";
} }
}, },
showDetail(item) {
console.log(item);
},
}, },
mounted() { mounted() {
this.image_headers = [ this.image_headers = [
{ label: "镜像名称", prop: "name", align: "left" }, {
{ label: "版本号", prop: "tag", align: "center" }, label: "镜像名称",
prop: "name",
align: "left",
type: "button",
callback: this.showDetail,
},
{
label: "版本号",
prop: "tag",
align: "center",
},
{ {
label: "操作", label: "操作",
type: "buttons", type: "buttons",
......
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