diff --git a/src/components/dialog-action.vue b/src/components/dialog-action.vue
index f903f86a5ed64c4e7790fe051be1a35c278a8a6d..a5a28f796862773adde6aec4fa1703dd3e8e0547 100644
--- a/src/components/dialog-action.vue
+++ b/src/components/dialog-action.vue
@@ -35,7 +35,7 @@
+
+
+
diff --git a/src/pages/authority/organizationedit.vue b/src/pages/authority/organizationedit.vue
new file mode 100644
index 0000000000000000000000000000000000000000..25299849289d16b50c39e85b82baa7c92b08b18d
--- /dev/null
+++ b/src/pages/authority/organizationedit.vue
@@ -0,0 +1,38 @@
+
+
+ 1111
+
+
+
+
+
+
diff --git a/src/pages/authority/users.vue b/src/pages/authority/users.vue
index 068f7bf896c84ed9d0437637f27cdc139d14984d..532c396ccdc653b20bb718441361f0af4bd2a712 100644
--- a/src/pages/authority/users.vue
+++ b/src/pages/authority/users.vue
@@ -1,12 +1,39 @@
-
-
+
+
+
+
+
diff --git a/src/pages/workbench/fwgl/serviceDetail.vue b/src/pages/workbench/fwgl/serviceDetail.vue
index 52704a50b2054eb9e02efd56e9549a9741332dd5..41564f39495cb1f123cf127c1df34e5cefd13b04 100644
--- a/src/pages/workbench/fwgl/serviceDetail.vue
+++ b/src/pages/workbench/fwgl/serviceDetail.vue
@@ -177,9 +177,32 @@ export default {
["服务基本信息", "接口详细信息", "服务运行状态", "服务规格"],
],
service_header_arr: {
+ url:'',
name: "",
- first: [],
- second: [],
+ first: [
+ {
+ "name": "服务类型",
+ "text": ""
+ },
+ {
+ "name": "申请次数",
+ "text": '',
+ },
+ {
+ "name": "调用次数",
+ "text": '',
+ },
+ {
+ "name": "服务状态",
+ "text": ""
+ }
+ ],
+ second: [
+ {
+ "name": "服务接口地址",
+ "text": ""
+ }
+ ],
fixed: true,
},
now_service: 0,
@@ -456,7 +479,32 @@ export default {
solt_name: "zd_code",
},
],
- list_arr: [],
+ list_arr: [
+ {
+ "title": "服务描述:",
+ "info": ""
+ },
+ {
+ "title": "服务领域:",
+ "info": ""
+ },
+ {
+ "title": "所属组织:",
+ "info": ""
+ },
+ {
+ "title": "开放程度:",
+ "info": ""
+ },
+ {
+ "title": "接口编码:",
+ "info": ""
+ },
+ {
+ "title": "注册发布时间:",
+ "info": ""
+ }
+ ],
};
},
watch: {
@@ -490,12 +538,28 @@ export default {
},
getServiceInfo() {
this.$http
- .get("/static/servicedetail1.json")
+ .get("/apaas/service/v3/service/manager?service_id=10")
.then((response) => {
let data = response.data.data;
- this.$set(this.service_header_arr, "name", data.serviceInfo.name);
- this.$set(this.service_header_arr, "first", data.serviceInfo.first);
- this.$set(this.service_header_arr, "second", data.serviceInfo.second);
+ console.log(data);
+ this.$set(this.service_header_arr, "name", data.name);
+ this.$set(this.service_header_arr['first'][0], 'text', data.data_service_type1);
+ this.$set(this.service_header_arr['first'][1], 'text', data.apply_num);
+ this.$set(this.service_header_arr['first'][2], 'text', data.request_count);
+ this.$set(this.service_header_arr['first'][3], 'text', data.state);
+ this.$set(this.service_header_arr['second'][0], "text", data.req_url);
+ this.$set(this.service_header_arr, "url", data.cover);
+ this.$set(this.list_arr[0], "info", data.descript);
+ this.$set(this.list_arr[1], "info", data.sectors);
+ this.$set(this.list_arr[2], "info", data.organization);
+ this.$set(this.list_arr[3], "info", data.data_service_type3);
+ this.$set(this.list_arr[4], "info", data.encode_method);
+ this.$set(this.list_arr[5], "info", data.create_time);
+ this.$set(this.servicead_arr[0], "info", data.req_type);
+ this.$set(this.servicead_arr[1], "info", data.req_query);
+ this.$set(this.servicead_arr[2], "info", data.create_time);
+ this.$set(this.servicead_arr[3], "info", data.create_time);
+
})
.catch(function(response) {});
},
diff --git a/src/router/index.js b/src/router/index.js
index c6307e651298ceed5593c197b8fdb911989ab4de..9034bc5897b6885200b98261ba33b4ac121d9212 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -153,7 +153,7 @@ export default new Router({
component: () => import("@/pages/service_shop/shopping_cart"),
},
{
- path: "/shop/shop_car_apply", // 购物车页
+ path: "/shop/shop_car_apply", // 购物车服务申请页
name: "shopCarApply",
component: () => import("@/pages/service_shop/shop_car_apply"),
},
@@ -228,6 +228,11 @@ export default new Router({
name: "organization",
component: () => import("@/pages/authority/organization"),
},
+ {
+ path: "/authority/organizationdetail", // 组织管理页
+ name: "organizationdetail",
+ component: () => import("@/pages/authority/organizationdetail"),
+ },
{
path: "/authority/users", // 用户管理页
name: "users",