@@ -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({