diff --git a/src/pages/workbench/yygl/apply_app_detail.vue b/src/pages/workbench/yygl/apply_app_detail.vue index b7b509bee6c5fa19e72651b04b09fafe7f6c224a..93f17ff7b7fe9ee8fea4b3c2ba1aa5eb4be9cc66 100644 --- a/src/pages/workbench/yygl/apply_app_detail.vue +++ b/src/pages/workbench/yygl/apply_app_detail.vue @@ -22,13 +22,11 @@
- -
+
@@ -208,35 +206,26 @@ export default { aqdetail: true, }, now_service: 0, - list_arr: '', - // [ - // { - // title: "应用简介:", - // info: "", - // }, - // { - // title: "功能简介:", - // info: "", - // }, - // { - // title: "应用场景:", - // info: "", - // }, - // { - // title: "应用参数:", - // info: "", - // type: "solt", - // solt_name: "app_code", - // }, - // { - // title: "联系人:", - // info: "", - // }, - // { - // title: "联系电话:", - // info: "", - // }, - // ], + list_arr:[ + { + title: "应用简介:", + info: "", + }, + { + title: "功能简介:", + info: "", + }, + { + title: "应用场景:", + info: "", + }, + { + title: "应用参数:", + info: "", + type: "solt", + solt_name: "app_code", + } + ], servicead_arr: [ { title: "申请信息", @@ -274,17 +263,29 @@ export default { created() { this.getServiceInfo(); this.getreadme(); + this.get_app_code(); this.getServiceBaseInfo(); this.getServiceapplyInfo(); }, mounted() {}, methods: { + get_app_code(){ + this.$http + .get("/apaas/hubApi/market/values/"+this.$route.params.id) + .then((response) => { + let data = response.data.data; + this.appcode = data + }) + .catch(function(response) {}); + }, getreadme(){ this.$http - .get("/apaas/hubApi/market/readme/"+this.$route.params.app_id) + .get("/apaas/hubApi/market/app/detail/"+this.$route.params.id) .then((response) => { let data = response.data.data; - this.list_arr = data + this.$set(this.list_arr[0], "info", data.yyjj); + this.$set(this.list_arr[1], "info", data.gnjj); + this.$set(this.list_arr[2], "info", data.cjsl); }) .catch(function(response) {}); }, diff --git a/src/pages/workbench/yygl/approval_app_detail.vue b/src/pages/workbench/yygl/approval_app_detail.vue index 9658f4a0daf47bfb3dc5b8ad3bbaf45c269e011d..4c42785356db6825878ba7868dd2016ca8f734a1 100644 --- a/src/pages/workbench/yygl/approval_app_detail.vue +++ b/src/pages/workbench/yygl/approval_app_detail.vue @@ -17,8 +17,8 @@ >{{item}}
- - + +
@@ -218,7 +218,34 @@ export default { }, ], ], - list_arr: "", + list_arr: [ + { + title: "申请单位:", + info: "" + }, + { + title: "申请人:", + info: "" + }, + { + title: "申请人联系电话:", + info: "" + }, + { + title: "场景描述:", + info: "" + }, + { + title: "申请文件:", + info: "", + url:"", + type: "down" + }, + { + title: "申请时间:", + info: "" + } + ] }; }, watch: {}, @@ -306,10 +333,17 @@ export default { }, getapplyinfo(){ this.$http - .get("/apaas/hubApi/market/readme/"+this.$route.params.app_id) + .get("/apaas/hubApi/market/applyDetailInfo/"+this.$route.params.id) .then((response) => { let data = response.data.data; - this.list_arr = data + this.$set(this.list_arr[0], "info", data.department_name); + this.$set(this.list_arr[1], "info", data.contact_person); + this.$set(this.list_arr[2], "info", data.contact_number); + this.$set(this.list_arr[3], "info", data.scene); + this.$set(this.list_arr[4], "info", data.apply_file.split('/')[0]); + this.$set(this.list_arr[4], "url", data.apply_file); + this.$set(this.list_arr[5], "info", data.apply_time.replace('Z',' ').replace('T',' ')); + }) .catch(function(response) {}); }, diff --git a/src/pages/workbench/yygl/deploy_app_detail.vue b/src/pages/workbench/yygl/deploy_app_detail.vue index b434b75d4c99a8d1303626308220309ea51f627f..24c26d37f3ab2b4da59b73e935399f2a1d903e80 100644 --- a/src/pages/workbench/yygl/deploy_app_detail.vue +++ b/src/pages/workbench/yygl/deploy_app_detail.vue @@ -474,7 +474,11 @@ export default { info: "", type: "solt", solt_name: "markdown" - } + }, + { + title: "使用说明:", + info: "" + }, ], markdown: "", fwfw_arr: [ @@ -829,6 +833,7 @@ export default { this.introductionArr[0].info = data.yyjj; this.introductionArr[1].info = data.gnjj; this.introductionArr[2].info = data.cjsl; + this.introductionArr[4].info = data.sysm; }); this.$api.workbench .getAppParams({