diff --git a/config/index.js b/config/index.js index c20902ff6814ade1f091e4303067a9a7f325fcff..3b1177d3715693d946a83f23dcb459c54c5588bf 100644 --- a/config/index.js +++ b/config/index.js @@ -11,21 +11,21 @@ module.exports = { assetsPublicPath: "/apaas/ui/", proxyTable: { "/apaas": { - target: "http://apaas.gzdata.ydeci.gz.cegn.cn:81//apaas/", + target: "https://apaas3.wodcloud.com/apaas/", changeOrigin: true, pathRewrite: { "^/apaas": "" } }, "/awecloud": { - target: "http://apaas.gzdata.ydeci.gz.cegn.cn:81//awecloud/", + target: "https://apaas3.wodcloud.com/awecloud/", changeOrigin: true, pathRewrite: { "^/awecloud": "" } }, "/vmap": { - target: "http://apaas.gzdata.ydeci.gz.cegn.cn:81//vmap/", + target: "https://apaas3.wodcloud.com/vmap/", changeOrigin: true, pathRewrite: { "^/vmap": "" diff --git a/package.json b/package.json index 3c90effd7c9493c4a1d02d8bcddaa22816e071a9..c78b29c34d7b870892042ca3f2a51356285fb23d 100644 --- a/package.json +++ b/package.json @@ -22,6 +22,7 @@ "element-ui": "^2.11.1", "js-yaml": "^3.13.1", "json2yaml": "^1.1.0", + "markdown-loader": "^6.0.0", "material-design-icons-iconfont": "^4.0.5", "mavon-editor": "^2.9.0", "qs": "^6.9.4", diff --git a/src/assets/imgs/nav_ic_chanpinzy.png b/src/assets/imgs/nav_ic_chanpinzy.png new file mode 100644 index 0000000000000000000000000000000000000000..1f84bf9401433b18da1a184e19675d589853e0bb Binary files /dev/null and b/src/assets/imgs/nav_ic_chanpinzy.png differ diff --git a/src/assets/imgs/nav_ic_chanpinzy_sel.png b/src/assets/imgs/nav_ic_chanpinzy_sel.png new file mode 100644 index 0000000000000000000000000000000000000000..7d78436c5cac10f3af561ae95bc7f85cfd72e868 Binary files /dev/null and b/src/assets/imgs/nav_ic_chanpinzy_sel.png differ diff --git a/src/assets/imgs/shop_nav_iv_chanpinzy.png b/src/assets/imgs/shop_nav_iv_chanpinzy.png new file mode 100644 index 0000000000000000000000000000000000000000..f2def2735882beb3a746029040aa4ed0ba24c85e Binary files /dev/null and b/src/assets/imgs/shop_nav_iv_chanpinzy.png differ diff --git a/src/assets/imgs/shop_nav_iv_chanpinzy_pre.png b/src/assets/imgs/shop_nav_iv_chanpinzy_pre.png new file mode 100644 index 0000000000000000000000000000000000000000..2f4e29f9e4c47eddc89628f7341224f1793206b0 Binary files /dev/null and b/src/assets/imgs/shop_nav_iv_chanpinzy_pre.png differ diff --git a/src/components/general/upload_file.vue b/src/components/general/upload_file.vue index a30354a7773a08e449c80afbc6f99dc2c469568d..b5a8482ad7d70e191a462ebcadbdc2d90f1190ae 100644 --- a/src/components/general/upload_file.vue +++ b/src/components/general/upload_file.vue @@ -31,8 +31,8 @@
将文件拖到此处,或 - 点击上传
- {{ up_fz }} + 点击上传 +
{{ up_fz }}
\ No newline at end of file diff --git a/src/components/service-info/app-info.vue b/src/components/service-info/app-info.vue index 990a1f00f219d64462e409dfc5f5b3cf684a8929..3a0db17a0c34392307c5dfdbfcd430bbb210618a 100644 --- a/src/components/service-info/app-info.vue +++ b/src/components/service-info/app-info.vue @@ -464,4 +464,43 @@ export default { .service_info .el-input-number { width: 128px; } +.service_info .el-input-number .el-input-number__decrease { + top: 1px; + left: 1px; + line-height: 34px; + border-radius: 5px 0 0 5px; + border-right-width: 1px; +} +.service_info .el-input-number .el-input-number__increase { + top: 1px; + right: 1px; + line-height: 34px; + border-radius: 0 5px 5px 0; + border-left-width: 1px; +} +.service_info .el-input-number .el-input__inner { + border-width: 1px; + height: 36px; + line-height: 36px; +} +.service_info .el-input-number { + width: 128px; + line-height: 36px; +} +.service_info + .el-input-number__decrease:hover:not(.is-disabled) + ~ .el-input + .el-input__inner:not(.is-disabled), +.el-input-number__increase:hover:not(.is-disabled) + ~ .el-input + .el-input__inner:not(.is-disabled) { + border-color: #515fe7; +} +.service_info .el-input__inner:focus { + border-color: #515fe7; +} +.service_info .el-input-number__decrease:hover, +.el-input-number__increase:hover { + color: #515fe7; +} diff --git a/src/components/service-info/service-info.vue b/src/components/service-info/service-info.vue index 38682159a078bbf808c23355cf2b3b038b66e369..ead337b3b8b4a02a5756319e0874a33d23c22909 100644 --- a/src/components/service-info/service-info.vue +++ b/src/components/service-info/service-info.vue @@ -25,7 +25,12 @@
- + + {{ data.name }} + + ( {{ data.version }} ) + + 共享 diff --git a/src/components/service-list/commodity-cell-new.vue b/src/components/service-list/commodity-cell-new.vue index 412b915f7e17589e24b99704d3e3b69ee2a2105f..8933102b3c9907e9c547301c2607b1dde21be6b3 100644 --- a/src/components/service-list/commodity-cell-new.vue +++ b/src/components/service-list/commodity-cell-new.vue @@ -9,6 +9,9 @@
{{ cellData.name }} + + ( {{ cellData.version }} )
- + 服务类型: {{ cellData.data_service_type1_name }}   {{ cellData.data_service_type2_name }}   {{ cellData.data_service_type3_name }} - + 服务领域: {{ cellData.sectors_name }} - + 更新时间: {{ helper.dateStringTransform(cellData.update_date) }} + + 产品标签: + {{ item }} +
@@ -79,9 +110,18 @@ export default { props: { url: { type: String, default: "" }, cellData: { type: Object, default: {} }, + urlFilter: { type: String, default: "" }, }, data: () => ({ helper: helper }), - computed: {}, + computed: { + getTags() { + let str = ""; + this.cellData.tags.forEach((item) => { + str += item + " "; + }); + return str; + }, + }, watch: {}, methods: { goUrl(parame) { @@ -97,7 +137,7 @@ export default { diff --git a/src/pages/service_shop/cpDetail.vue b/src/pages/service_shop/cpDetail.vue new file mode 100644 index 0000000000000000000000000000000000000000..0585df7f3fc3d14329783dc0a3a181fda3ee2db7 --- /dev/null +++ b/src/pages/service_shop/cpDetail.vue @@ -0,0 +1,174 @@ + + + diff --git a/src/pages/service_shop/shop_car_apply.vue b/src/pages/service_shop/shop_car_apply.vue index 847b8892cdfe3a937d812643f0e5ddf54f527831..3f541ba7687b074692f8a138d0bdd7a5f0f5ee7c 100644 --- a/src/pages/service_shop/shop_car_apply.vue +++ b/src/pages/service_shop/shop_car_apply.vue @@ -180,7 +180,7 @@ export default { app_data.duration * parseFloat(data.price) + "金币"; this.service_arr[0]["isMg"] = false; this.service_arr[0]["isapp"] = true; - console.log(data, this.service_arr) + console.log(data, this.service_arr); this.all_cost = app_data.duration * parseFloat(data.price); } }); @@ -216,7 +216,7 @@ export default { objs.auth = data.organization_name; objs.size = ""; objs.count = ""; - let request_spcs_info = data.request_spcs_info||[] + let request_spcs_info = data.request_spcs_info || []; request_spcs_info.forEach((el) => { if (service_data.spec_id == el.id) { let size = ""; @@ -242,10 +242,12 @@ export default { objs.applytype = "申请方式:" + (service_data.duration_unit == 1 ? "月" : "年"); objs.isMg = data.openness == 3; - objs.data = JSON.parse(data.res_fields); + if (data.data_service_type1 != 36) { + objs.data = JSON.parse(data.res_fields); + } objs.isapp = false; this.service_arr = [objs]; - console.log(this.service_arr); + console.log(objs, this.service_arr); } else { this.$message.error(response.data.errMsg); } @@ -456,7 +458,7 @@ export default { this.service_arr[l]["isMg"] = e.service.openness == 3; this.service_arr[l]["data"] = e.service.res_fields ? JSON.parse(e.service.res_fields) - : "[]"; + : []; console.log(this.service_arr[l]["data"]); this.service_arr[l]["isapp"] = false; } diff --git a/src/pages/service_shop/shop_list-new.vue b/src/pages/service_shop/shop_list-new.vue index 231364c4f3fbba042fe2dad0e148169a486aca9e..adf51b27e1754a439039764f841a6a856c10359f 100644 --- a/src/pages/service_shop/shop_list-new.vue +++ b/src/pages/service_shop/shop_list-new.vue @@ -76,6 +76,12 @@ export default { this.url = "/shop/yysdDetail"; this.filterNames = ["应用类型", "应用领域", "应用来源机构"]; break; + case "products_list": + this.name = "产品资源"; + this.urlFilter = "36"; + this.url = "/shop/cpDetail"; + this.filterNames = ["产品类型", "产品领域", "产品来源组织"]; + break; default: this.name = ""; this.urlFilter = ""; diff --git a/src/pages/workbench/fwgl/apply_service_detail.vue b/src/pages/workbench/fwgl/apply_service_detail.vue index c4b24f9b9fa85e4fc24f7493db39245861b5742f..4b1df1133f8121687d8eaec705a777aa6fbf8334 100644 --- a/src/pages/workbench/fwgl/apply_service_detail.vue +++ b/src/pages/workbench/fwgl/apply_service_detail.vue @@ -11,7 +11,7 @@
{ + strtags += item + " "; + }); + } + this.$set(this.cp_arr[2], "info", strtags); + this.$set(this.cp_arr[3], "info", data.organization_name); + this.$set(this.cp_arr[4], "info", data.openness_name); + this.$set( + this.cp_arr[5], + "info", + data.create_time == "0001-01-01T00:00:00Z" + ? "-" + : data.create_time + .replace("T", " ") + .replace("Z", "") + .split("+")[0] + ); + this.data_service_type1 = data.data_service_type1; + if (this.data_service_type1 == "36") { + this.service_arr[0] = "产品基本信息"; + this.service_arr[1] = ""; + this.service_arr[2] = "申请审批信息"; + this.getMd(data.doc_file); + } this.$set( this.servicead_arr[0], "info", diff --git a/src/pages/workbench/fwgl/serviceDetail.vue b/src/pages/workbench/fwgl/serviceDetail.vue index 6dc68e4190b60a0fd01ac7092e344324c5d3e8a5..39d6b3686fb927e388c117ca8983f6f3fbb1aaec 100644 --- a/src/pages/workbench/fwgl/serviceDetail.vue +++ b/src/pages/workbench/fwgl/serviceDetail.vue @@ -19,20 +19,32 @@
{{ item }}
- + - + + -

+

流程服务接口说明见文档中心流程服务接口文档

- +
- + + :value="item.value" + > -
+
- + - +
- + - + - +

服务运行概况

-
- +
+ - 故障 - - {{item.label}} + :value="item.value + ',' + item.able" + > + 故障 + + {{ item.label }}
@@ -117,13 +214,17 @@