From 167063bf811de7a8653cd1bde0efc2e35f21b14f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=AE=BF=E6=98=95?= Date: Fri, 6 Nov 2020 16:55:48 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=86=E9=A2=91=E6=9C=8D=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/service_shop/shop_list.vue | 2 +- src/pages/service_shop/spfwDetail.vue | 210 ++++++++++++++++++++++++++ src/pages/workbench/fwzc_fwcs.vue | 31 ++-- src/router/index.js | 5 + 4 files changed, 232 insertions(+), 16 deletions(-) create mode 100644 src/pages/service_shop/spfwDetail.vue diff --git a/src/pages/service_shop/shop_list.vue b/src/pages/service_shop/shop_list.vue index 06b951e..369e9ec 100644 --- a/src/pages/service_shop/shop_list.vue +++ b/src/pages/service_shop/shop_list.vue @@ -55,7 +55,7 @@ export default { case "video_service_list": this.name = "视频服务"; this.urlFilter = "7"; - this.url = ""; + this.url = "/shop/spfwDetail"; this.filterNames = ["", "服务领域", "服务来源组织"]; break; case "perception_service_list": diff --git a/src/pages/service_shop/spfwDetail.vue b/src/pages/service_shop/spfwDetail.vue new file mode 100644 index 0000000..363d248 --- /dev/null +++ b/src/pages/service_shop/spfwDetail.vue @@ -0,0 +1,210 @@ + + + diff --git a/src/pages/workbench/fwzc_fwcs.vue b/src/pages/workbench/fwzc_fwcs.vue index 7c9dea7..b7626cf 100644 --- a/src/pages/workbench/fwzc_fwcs.vue +++ b/src/pages/workbench/fwzc_fwcs.vue @@ -636,8 +636,9 @@ " class="next_one" @click="nextOne" - >下一步 + 下一步 + @@ -719,20 +720,20 @@ - {{ - is_map == 1 ? "返回智能制图" : "返回Web应用程序" - }} - 服务发布 + + {{ is_map == 1 ? "返回智能制图" : "返回Web应用程序" }} + + + 服务发布 + - 返回流程管理 - 服务发布 + + 返回流程管理 + + + 服务发布 + 上一步 @@ -1428,7 +1429,7 @@ export default { registePt() { this.$refs.form.validate((valid) => { if (valid) { - if (this.activeBtn == 3 && this.jkwds.length == 0) { + if ((this.activeBtn == 2 && this.jkwds.length == 0) || (this.activeBtn == 3 && this.jkwds.length == 0)) { this.$message.error("请上传接口文档"); } else { if (this.cover.length != 0) { @@ -1436,7 +1437,7 @@ export default { if (this.activeBtn == 1 && !this.is_portal) { this.addPortalItem(); } else { - if (this.activeBtn == 0 || this.activeBtn == 3) { + if (this.activeBtn == 0 || this.activeBtn == 2 || this.activeBtn == 3) { contentType = this.sjfwQqt; } else if (this.activeBtn == 4) { if (this.activeZh == "1") { diff --git a/src/router/index.js b/src/router/index.js index ec68d27..f3425be 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -338,6 +338,11 @@ export default new Router({ name: "skfwDetail", component: () => import("@/pages/service_shop/skfwDetail"), }, // 服务超市 - 时空服务详情 + { + path: "/shop/spfwDetail/:id", + name: "spfwDetail", + component: () => import("@/pages/service_shop/spfwDetail"), + }, // 服务超市 - 视频服务详情 { path: "/shop/gzfwDetail/:id", name: "sjfwDetail", -- 2.26.0