Commit fcba4742 authored by 张俊's avatar 张俊

合并

parents 6a822253 49de291e
...@@ -67,6 +67,13 @@ const devWebpackConfig = merge(baseWebpackConfig, { ...@@ -67,6 +67,13 @@ const devWebpackConfig = merge(baseWebpackConfig, {
to: config.dev.assetsSubDirectory, to: config.dev.assetsSubDirectory,
ignore: ['.*'] ignore: ['.*']
} }
]),
new CopyWebpackPlugin([
{
from: path.resolve(__dirname, '../docs'),
to: config.dev.assetsSubDirectory,
ignore: ['.*']
}
]) ])
], ],
optimization: { optimization: {
......
{
"timestamp": 1587020309,
"duration": 600,
"graphType": "app",
"elements": {
"nodes": [
{
"data": {
"id": "ac4338d28c3ad444cdbe51d5e7d69891",
"nodeType": "app",
"namespace": "cloud",
"app": "awe-redis",
"destServices": [
{
"namespace": "cloud",
"name": "awe-redis"
}
],
"traffic": [
{
"protocol": "tcp",
"rates": {
"tcpIn": "399.14"
}
}
],
"hasMissingSC": true
}
},
{
"data": {
"id": "8c3a116b49b6a224bb240304efada0ef",
"nodeType": "app",
"namespace": "cloud",
"app": "awecloud-ci-api",
"isRoot": true
}
},
{
"data": {
"id": "28d134027d60a0a450655bf9e25fd820",
"nodeType": "app",
"namespace": "cloud",
"app": "awecloud-dex",
"destServices": [
{
"namespace": "cloud",
"name": "awecloud-dex"
}
]
}
},
{
"data": {
"id": "1166f964717d2b5326c637803017397a",
"nodeType": "app",
"namespace": "cloud",
"app": "awecloud-hub-api",
"traffic": [
{
"protocol": "tcp",
"rates": {
"tcpOut": "0.61"
}
}
],
"isRoot": true
}
},
{
"data": {
"id": "3bbb6a16f0a039e7f18d86aa5dbeb655",
"nodeType": "app",
"namespace": "cloud",
"app": "awecloud-istio",
"isRoot": true
}
},
{
"data": {
"id": "c7cb4666416998aff6b6772e492cf1e6",
"nodeType": "app",
"namespace": "cloud",
"app": "awecloud-kubernetes",
"destServices": [
{
"namespace": "cloud",
"name": "awecloud-kubernetes"
}
],
"traffic": [
{
"protocol": "http",
"rates": {
"httpIn": "0.13",
"httpOut": "0.18"
}
},
{
"protocol": "tcp",
"rates": {
"tcpOut": "5571.74"
}
}
]
}
},
{
"data": {
"id": "17091f02abcc66d5a6aa573af81bc293",
"nodeType": "app",
"namespace": "cloud",
"app": "awecloud-meshgraph",
"destServices": [
{
"namespace": "cloud",
"name": "awecloud-meshgraph"
}
],
"traffic": [
{
"protocol": "http",
"rates": {
"httpIn": "0.59",
"httpOut": "0.59"
}
}
]
}
},
{
"data": {
"id": "1e1c805b21415eb30bf16b4109bb70b8",
"nodeType": "app",
"namespace": "cloud",
"app": "awecloud-rest",
"destServices": [
{
"namespace": "cloud",
"name": "awecloud-rest"
}
],
"traffic": [
{
"protocol": "http",
"rates": {
"httpIn": "0.20",
"httpOut": "0.21"
}
},
{
"protocol": "tcp",
"rates": {
"tcpOut": "21.20"
}
}
]
}
},
{
"data": {
"id": "d5e9dbf839f63edfb600a17470053845",
"nodeType": "app",
"namespace": "cloud",
"app": "awecloud-ui",
"destServices": [
{
"namespace": "cloud",
"name": "awecloud-ui"
}
],
"traffic": [
{
"protocol": "http",
"rates": {
"httpIn": "0.07"
}
},
{
"protocol": "tcp",
"rates": {
"tcpOut": "10.05"
}
}
]
}
},
{
"data": {
"id": "0fa9c4517f3b2ce89f0ae5f3229c9d05",
"nodeType": "app",
"namespace": "devops",
"app": "drone-server",
"destServices": [
{
"namespace": "devops",
"name": "drone-server"
}
],
"isOutside": true
}
},
{
"data": {
"id": "a4347f4ca23e80f984111fa9252c71cc",
"nodeType": "app",
"namespace": "devops",
"app": "gitlab",
"destServices": [
{
"namespace": "devops",
"name": "gitlab"
}
],
"traffic": [
{
"protocol": "http",
"rates": {
"httpIn": "0.08"
}
}
],
"isOutside": true
}
},
{
"data": {
"id": "71ce69559b37469990f5e55c538acd9f",
"nodeType": "app",
"namespace": "devops",
"app": "stolon",
"destServices": [
{
"namespace": "devops",
"name": "stolon-proxy"
}
],
"traffic": [
{
"protocol": "tcp",
"rates": {
"tcpIn": "400.27"
}
}
],
"isOutside": true
}
},
{
"data": {
"id": "e474e0b8e6b953250452df0c4d19fa4b",
"nodeType": "app",
"namespace": "istio-system",
"app": "istio-ingressgateway",
"traffic": [
{
"protocol": "http",
"rates": {
"httpOut": "1.05"
}
}
],
"isOutside": true,
"isRoot": true
}
},
{
"data": {
"id": "ee75dded555d80a2d11d8807e600e28b",
"nodeType": "app",
"namespace": "istio-system",
"app": "kiali",
"destServices": [
{
"namespace": "istio-system",
"name": "kiali"
}
],
"traffic": [
{
"protocol": "http",
"rates": {
"httpIn": "0.59"
}
}
],
"isOutside": true
}
},
{
"data": {
"id": "472267b2b5068361f791ac7d738bb201",
"nodeType": "workload",
"namespace": "kube-system",
"workload": "heapster",
"version": "v1.5.0",
"destServices": [
{
"namespace": "kube-system",
"name": "heapster"
}
],
"traffic": [
{
"protocol": "http",
"rates": {
"httpIn": "0.18"
}
}
],
"isInaccessible": true,
"isOutside": true
}
},
{
"data": {
"id": "1ef34af8124e05c0b6a4acfec8a2441b",
"nodeType": "workload",
"namespace": "kube-system",
"workload": "traefik",
"app": "unknown",
"version": "unknown",
"destServices": [
{
"namespace": "default",
"name": "kubernetes"
}
],
"traffic": [
{
"protocol": "tcp",
"rates": {
"tcpIn": "984.97"
}
}
],
"isInaccessible": true,
"isMisconfigured": "labels=[app version]",
"isOutside": true
}
},
{
"data": {
"id": "64eb41f62645f34716ec98bd07fb5d4e",
"nodeType": "app",
"namespace": "kubesphere-monitoring-system",
"app": "node-exporter",
"destServices": [
{
"namespace": "default",
"name": "kubernetes"
}
],
"isInaccessible": true,
"isOutside": true
}
},
{
"data": {
"id": "de9b5ca2fab6d65e97371a7f492da4d6",
"nodeType": "app",
"namespace": "monitoring",
"app": "kube-prometheus-exporter-node",
"destServices": [
{
"namespace": "default",
"name": "kubernetes"
}
],
"traffic": [
{
"protocol": "tcp",
"rates": {
"tcpIn": "5522.40"
}
}
],
"isOutside": true
}
},
{
"data": {
"id": "b30b0078325bf2e1adb4d57c4c0c2665",
"nodeType": "unknown",
"namespace": "unknown",
"workload": "unknown",
"app": "unknown",
"version": "unknown",
"traffic": [
{
"protocol": "http",
"rates": {
"httpOut": "0.005"
}
}
],
"isInaccessible": true,
"isRoot": true
}
}
],
"edges": [
{
"data": {
"id": "7fef53ce379610b48a6d45d0997532e3",
"source": "1166f964717d2b5326c637803017397a",
"target": "ac4338d28c3ad444cdbe51d5e7d69891",
"traffic": {
"protocol": "tcp",
"rates": {
"tcp": "0.61"
},
"responses": {
"-": {
"-": "100.0"
}
}
}
}
},
{
"data": {
"id": "61e5b52912401edfd1ae6be7b1d7f7fa",
"source": "17091f02abcc66d5a6aa573af81bc293",
"target": "ee75dded555d80a2d11d8807e600e28b",
"traffic": {
"protocol": "http",
"rates": {
"http": "0.59",
"httpPercentReq": "100.0"
},
"responses": {
"200": {
"-": "100.0"
}
}
}
}
},
{
"data": {
"id": "fce91b418e315982d54c02be2c3df25f",
"source": "1e1c805b21415eb30bf16b4109bb70b8",
"target": "0fa9c4517f3b2ce89f0ae5f3229c9d05",
"traffic": {
"protocol": "http"
}
}
},
{
"data": {
"id": "1e9b3cb3fa3ca3567f8c10b6b34763b2",
"source": "1e1c805b21415eb30bf16b4109bb70b8",
"target": "a4347f4ca23e80f984111fa9252c71cc",
"traffic": {
"protocol": "http",
"rates": {
"http": "0.08",
"httpPercentReq": "37.7"
},
"responses": {
"200": {
"-": "100.0"
}
}
}
}
},
{
"data": {
"id": "aa92e2fd559e9e9e10a27b18127b2195",
"source": "1e1c805b21415eb30bf16b4109bb70b8",
"target": "ac4338d28c3ad444cdbe51d5e7d69891",
"traffic": {
"protocol": "tcp",
"rates": {
"tcp": "21.20"
},
"responses": {
"-": {
"-": "100.0"
}
}
}
}
},
{
"data": {
"id": "0f53f13f9536138d3a8c1691d590cedb",
"source": "1e1c805b21415eb30bf16b4109bb70b8",
"target": "c7cb4666416998aff6b6772e492cf1e6",
"traffic": {
"protocol": "http",
"rates": {
"http": "0.13",
"httpPercentReq": "62.3"
},
"responses": {
"200": {
"-": "100.0"
}
}
}
}
},
{
"data": {
"id": "0f4dbf5205695d97becefc301f9edd23",
"source": "28d134027d60a0a450655bf9e25fd820",
"target": "71ce69559b37469990f5e55c538acd9f",
"traffic": {
"protocol": "tcp"
}
}
},
{
"data": {
"id": "75a23548fe5582e7e4cf07e3cced89bf",
"source": "28d134027d60a0a450655bf9e25fd820",
"target": "a4347f4ca23e80f984111fa9252c71cc",
"traffic": {
"protocol": "http"
}
}
},
{
"data": {
"id": "dd2aa003784fa7f869fe12e57d0ea8c6",
"source": "28d134027d60a0a450655bf9e25fd820",
"target": "ac4338d28c3ad444cdbe51d5e7d69891",
"traffic": {
"protocol": "tcp"
}
}
},
{
"data": {
"id": "290de737a239fc821bb0287fc724375e",
"source": "3bbb6a16f0a039e7f18d86aa5dbeb655",
"target": "1ef34af8124e05c0b6a4acfec8a2441b",
"traffic": {
"protocol": "tcp"
}
}
},
{
"data": {
"id": "cc2e0258f36eb3b1f147946fd46a1b67",
"source": "8c3a116b49b6a224bb240304efada0ef",
"target": "71ce69559b37469990f5e55c538acd9f",
"traffic": {
"protocol": "tcp"
}
}
},
{
"data": {
"id": "5024053524fdd64eff56fc11bc3111dd",
"source": "c7cb4666416998aff6b6772e492cf1e6",
"target": "1ef34af8124e05c0b6a4acfec8a2441b",
"traffic": {
"protocol": "tcp",
"rates": {
"tcp": "49.34"
},
"responses": {
"-": {
"-": "100.0"
}
}
}
}
},
{
"data": {
"id": "5a8c0b2ac4c47e0f1654a355d6f6ac7d",
"source": "c7cb4666416998aff6b6772e492cf1e6",
"target": "472267b2b5068361f791ac7d738bb201",
"traffic": {
"protocol": "http",
"rates": {
"http": "0.18",
"httpPercentReq": "100.0"
},
"responses": {
"200": {
"-": "100.0"
}
}
}
}
},
{
"data": {
"id": "c6ee31b229d5f949c1e8fe66915d5540",
"source": "c7cb4666416998aff6b6772e492cf1e6",
"target": "de9b5ca2fab6d65e97371a7f492da4d6",
"traffic": {
"protocol": "tcp",
"rates": {
"tcp": "5522.40"
},
"responses": {
"-": {
"-": "100.0"
}
}
}
}
},
{
"data": {
"id": "d876be957b1f663c90383aa7aec42df5",
"source": "d5e9dbf839f63edfb600a17470053845",
"target": "ac4338d28c3ad444cdbe51d5e7d69891",
"traffic": {
"protocol": "tcp",
"rates": {
"tcp": "10.05"
},
"responses": {
"-": {
"-": "100.0"
}
}
}
}
},
{
"data": {
"id": "0f96e4674e6b79acebee3f560f15212d",
"source": "e474e0b8e6b953250452df0c4d19fa4b",
"target": "17091f02abcc66d5a6aa573af81bc293",
"traffic": {
"protocol": "http",
"rates": {
"http": "0.59",
"httpPercentReq": "56.5"
},
"responses": {
"200": {
"-": "100.0"
}
}
}
}
},
{
"data": {
"id": "c843e09cd081097d292014056f60a805",
"source": "e474e0b8e6b953250452df0c4d19fa4b",
"target": "1e1c805b21415eb30bf16b4109bb70b8",
"traffic": {
"protocol": "http",
"rates": {
"http": "0.05",
"httpPercentReq": "4.9"
},
"responses": {
"200": {
"-": "100.0"
}
}
}
}
},
{
"data": {
"id": "de2ed713d3cb38e6265cb836032aeaf7",
"source": "e474e0b8e6b953250452df0c4d19fa4b",
"target": "28d134027d60a0a450655bf9e25fd820",
"traffic": {
"protocol": "http"
}
}
},
{
"data": {
"id": "5219307d003d4802af03fb5d4377a13c",
"source": "e474e0b8e6b953250452df0c4d19fa4b",
"target": "d5e9dbf839f63edfb600a17470053845",
"traffic": {
"protocol": "http",
"rates": {
"http": "0.07",
"httpPercentReq": "6.9"
},
"responses": {
"200": {
"-": "100.0"
}
}
}
}
}
]
}
}
\ No newline at end of file
{
"data": {
"tableData": [
{
"date": "2016-05-02",
"name": "王小虎",
"address": "0",
"id": "ssss2722"
},
{
"date": "2016-05-04",
"name": "王小虎",
"address": "0",
"id": "ssss2224"
},
{
"date": "2016-05-01",
"name": "王小虎",
"address": "0",
"id": "ssss222"
},
{
"date": "2016-05-03",
"name": "王小虎",
"address": "0",
"id": "ssss22"
}
],
"tableData1": [
{
"id": 1,
"date": "2016-05-02",
"name": "王小虎",
"address": "上海市普陀区金沙江路 1518 弄"
},
{
"id": 2,
"date": "2016-05-04",
"name": "王小虎",
"address": "上海市普陀区金沙江路 1517 弄"
},
{
"id": 3,
"date": "2016-05-01",
"name": "王小虎",
"address": "上海市普陀区金沙江路 1519 弄",
"children": [
{
"id": 31,
"date": "2016-05-01",
"name": "王小虎",
"address": "上海市普陀区金沙江路 1519 弄"
},
{
"id": 32,
"date": "2016-05-01",
"name": "王小虎",
"address": "上海市普陀区金沙江路 1519 弄"
}
]
},
{
"id": 4,
"date": "2016-05-03",
"name": "王小虎",
"address": "上海市普陀区金沙江路 1516 弄"
}
],
"params_arr":[
{
"id": 1,
"zdmc": "地区",
"zdbm": "area",
"zdlx": "字符串",
"zdsm": "这是一个地区的名称",
"zdsl":"贵阳市"
},
{
"id": 2,
"zdmc": "地区生产总值",
"zdbm": "GDP",
"zdlx": "字符串",
"zdsm": "这是一个地区的总值",
"zdsl":"1235",
"children": [
{
"id": 21,
"zdmc": "地区",
"zdbm": "area",
"zdlx": "字符串",
"zdsm": "这是一个地区的名称",
"zdsl":"贵阳市"
}
]
}
],
"params_use_arr":[
{
"id": 1,
"dydw": "某某省某某市莫某城管局字符占位",
"dyr": "张先生",
"dyyw": "某某项目的决策指挥系统字符占位",
"ywxt": "https://apaas.wodcloud.com/apaas/ui/#/",
"cjms": "某某某应用于决策指挥系统占位字符",
"sqsj": "2016-05-02 12:20:35"
},
{
"id": 1,
"dydw": "某某省某某市莫某城管局字符占位",
"dyr": "张先生",
"dyyw": "某某项目的决策指挥系统字符占位",
"ywxt": "https://apaas.wodcloud.com/apaas/ui/#/",
"cjms": "某某某应用于决策指挥系统占位字符",
"sqsj": "2016-05-02 12:20:35"
},
{
"id": 1,
"dydw": "某某省某某市莫某城管局字符占位",
"dyr": "张先生",
"dyyw": "某某项目的决策指挥系统字符占位",
"ywxt": "https://apaas.wodcloud.com/apaas/ui/#/",
"cjms": "某某某应用于决策指挥系统占位字符",
"sqsj": "2016-05-02 12:20:35"
},
{
"id": 1,
"dydw": "某某省某某市莫某城管局字符占位",
"dyr": "张先生",
"dyyw": "某某项目的决策指挥系统字符占位",
"ywxt": "https://apaas.wodcloud.com/apaas/ui/#/",
"cjms": "某某某应用于决策指挥系统占位字符",
"sqsj": "2016-05-02 12:20:35"
},
{
"id": 1,
"dydw": "某某省某某市莫某城管局字符占位",
"dyr": "张先生",
"dyyw": "某某项目的决策指挥系统字符占位",
"ywxt": "https://apaas.wodcloud.com/apaas/ui/#/",
"cjms": "某某某应用于决策指挥系统占位字符",
"sqsj": "2016-05-02 12:20:35"
}
],
"creat_app":[
{
"id": 1,
"yymc": "地市GDP基础数据",
"yylx": "基础数据服务",
"yybb": "V1.1.1",
"yycjsj": "2016-05-02 12:20:35",
"yybscs":12
}
],
"check_app":[
{
"id": 1,
"yymc": "地市GDP基础数据",
"yylx": "基础数据服务",
"yybb": "V1.1.1",
"yyspsj": "2016-05-02 12:20:35",
"spzt":12
}
],
"nor_service_list":[
{
"id": 1,
"fwmc": "地市GDP基础数据",
"fwlx": "基础数据服务",
"zcfbsj": "2016-05-02 12:20:35",
"bdycs": "12"
},
{
"id": 2,
"fwmc": "地市GDP基础数据",
"fwlx": "基础数据服务",
"zcfbsj": "2016-05-02",
"bdycs": "12"
},
{
"id": 3,
"fwmc": "地市GDP基础数据",
"fwlx": "基础数据服务",
"zcfbsj": "2016-05-02",
"bdycs": "12"
},
{
"id": 4,
"fwmc": "地市GDP基础数据",
"fwlx": "基础数据服务",
"zcfbsj": "2016-05-02",
"bdycs": "12"
},
{
"id": 5,
"fwmc": "贵州行政区划要素",
"fwlx": "基础数据服务",
"zcfbsj": "2016-05-02",
"bdycs": "12"
}
],
"nor_apply_service":[
{
"id": 1,
"fwmc": "地市GDP基础数据",
"fwlx": "基础数据服务",
"sqsj": "2016-05-02",
"sqspzt": "审批通过"
},
{
"id": 1,
"fwmc": "地市GDP基础数据",
"fwlx": "基础数据服务",
"sqsj": "2016-05-02",
"sqspzt": "审批通过"
},
{
"id": 1,
"fwmc": "地市GDP基础数据",
"fwlx": "基础数据服务",
"sqsj": "2016-05-02",
"sqspzt": "审批通过"
},
{
"id": 1,
"fwmc": "地市GDP基础数据",
"fwlx": "基础数据服务",
"sqsj": "2016-05-02",
"sqspzt": "审批通过"
},
{
"id": 1,
"fwmc": "地市GDP基础数据",
"fwlx": "基础数据服务",
"sqsj": "2016-05-02",
"sqspzt": "待审批"
}
],
"nor_service_sh":[
{
"id": 1,
"fwmc": "地市GDP基础数据",
"fwlx": "基础数据服务",
"spsj": "2016-05-02",
"spzt": "待审批"
},
{
"id": 1,
"fwmc": "地市GDP基础数据",
"fwlx": "基础数据服务",
"spsj": "2016-05-02",
"spzt": "待审批"
},
{
"id": 1,
"fwmc": "地市GDP基础数据",
"fwlx": "基础数据服务",
"spsj": "2016-05-02",
"spzt": "待审批"
},
{
"id": 1,
"fwmc": "地市GDP基础数据",
"fwlx": "基础数据服务",
"spsj": "2016-05-02",
"spzt": "待审批"
},
{
"id": 1,
"fwmc": "地市GDP基础数据",
"fwlx": "基础数据服务",
"spsj": "2016-05-02",
"spzt": "待审批"
}
],
"nor_cloud":[
{
"id": 1,
"gzqy": "地市GDP基础数据",
"wlhj": "互联网",
"cpu": "2",
"ncgb": "12",
"zyzlgb": "1024",
"sqzt": "审批通过"
},
{
"id": 1,
"gzqy": "地市GDP基础数据",
"wlhj": "互联网",
"cpu": "2",
"ncgb": "12",
"zyzlgb": "1024",
"sqzt": "审批通过"
},
{
"id": 1,
"gzqy": "地市GDP基础数据",
"wlhj": "互联网",
"cpu": "2",
"ncgb": "12",
"zyzlgb": "1024",
"sqzt": "审批通过"
},
{
"id": 1,
"gzqy": "地市GDP基础数据",
"wlhj": "互联网",
"cpu": "2",
"ncgb": "12",
"zyzlgb": "1024",
"sqzt": "审批通过"
},
{
"id": 1,
"gzqy": "地市GDP基础数据",
"wlhj": "互联网",
"cpu": "2",
"ncgb": "12",
"zyzlgb": "1024",
"sqzt": "审批通过"
}
],
"nor_cloud_manage":[
{
"id": 1,
"sszz": "地市GDP基础",
"cpu": "2",
"ncgb": "12",
"gzqysl": "10"
},
{
"id": 1,
"sszz": "地市GDP基础",
"cpu": "2",
"ncgb": "12",
"gzqysl": "10"
},
{
"id": 1,
"sszz": "地市GDP基础",
"cpu": "2",
"ncgb": "12",
"gzqysl": "10"
},
{
"id": 1,
"sszz": "地市GDP基础",
"cpu": "2",
"ncgb": "12",
"gzqysl": "10"
},
{
"id": 1,
"sszz": "地市GDP基础",
"cpu": "2",
"ncgb": "12",
"gzqysl": "10"
}
],
"fwzc_fwcs": [
{
"id": 1,
"requestEncoding": "2016-05-02",
"requestValue": "王小虎"
},
{
"id": 2,
"requestEncoding": "2016-05-02",
"requestValue": "王小虎"
},
{
"id": 13,
"requestEncoding": "2016-05-02",
"requestValue": "王小虎"
},
{
"id": 11,
"requestEncoding": "2016-05-02",
"requestValue": "王小虎"
}
],
"qqcstx": [
{
"id": 1,
"unicode": "2016-05-02",
"examples": "2016-05-02",
"type": "ssdNW",
"name": "王小虎",
"needable": "0",
"explanation": "上海市普陀区金沙江路 1518 弄"
},
{
"id": 2,
"unicode": "2016-05-04",
"examples": "2016-05-02",
"type": "ssdNW",
"name": "王小虎",
"needable": "0",
"explanation": "上海市普陀区金沙江路 1517 弄"
},
{
"id": 3,
"unicode": "2016-05-01",
"examples": "2016-05-02",
"type": "ssdNW",
"name": "王小虎",
"needable": "0",
"explanation": "上海市普陀区金沙江路 1519 弄",
"children": [
{
"id": 31,
"unicode": "2016-05-01",
"examples": "2016-05-02",
"type": "ssdNW",
"name": "王小虎",
"needable": "0",
"explanation": "上海市普陀区金沙江路 1519 弄"
},
{
"id": 32,
"unicode": "2016-05-01",
"examples": "2016-05-02",
"type": "ssdNW",
"name": "王小虎",
"needable": "0",
"explanation": "上海市普陀区金沙江路 1519 弄"
}
]
},
{
"id": 4,
"unicode": "2016-05-03",
"examples": "2016-05-02",
"type": "ssdNW",
"name": "王小虎",
"needable": "0",
"explanation": "上海市普陀区金沙江路 1516 弄"
}
],
"fhcstx": [
{
"id": 1,
"unicode": "2016-05-02",
"type": "ssdNW",
"name": "王小虎",
"explanation": "上海市普陀区金沙江路 1518 弄"
},
{
"id": 2,
"unicode": "2016-05-04",
"type": "ssdNW",
"name": "王小虎",
"explanation": "上海市普陀区金沙江路 1517 弄"
},
{
"id": 3,
"unicode": "2016-05-01",
"type": "ssdNWssdNWssdNWssdNWssdNWssdNWssdNW",
"name": "王小虎",
"explanation": "上海市普陀区金沙江路 1519 弄",
"children": [
{
"id": 31,
"unicode": "2016-05-01",
"type": "ssdNW",
"name": "王小虎",
"explanation": "上海市普陀区金沙江路 1519 弄"
},
{
"id": 32,
"unicode": "2016-05-01",
"type": "ssdNW",
"name": "王小虎",
"explanation": "上海市普陀区金沙江路 1519 弄"
}
]
},
{
"id": 4,
"unicode": "2016-05-03",
"type": "ssdNW",
"name": "王小虎",
"explanation": "上海市普陀区金沙江路 1516 弄"
}
]
}
}
\ No newline at end of file
{
"data": {
"data": [
{
"id": 0,
"title": "水路货物周转量情况",
"state": 0,
"resourceSummary": "提供水路货物周转量排名和同比增长的专题数据服务提供水路货物周转量排名和同比增长的专题数据服务提供水路货物周转量排名和同比增长的专题数据服务",
"provider": "提供机构提供机构提供机构",
"dataField": "经济建设",
"serviceType": "数据服务 专题数据服务 企业专题数据服务",
"updateTime": "2020-03-12 18:31:12",
"numberOfMonth": "2698755",
"rate": 3
},
{
"id": 1,
"title": "水路货物周转量情况",
"state": 2,
"resourceSummary": "提供水路货物周转量排名和同比增长的专题数据服务提供水路货物周转量排名和同比增长的专题数据服务提供水路货物周转量排名和同比增长的专题数据服务",
"provider": "提供机构提供机构提供机构",
"dataField": "经济建设",
"serviceType": "数据服务 专题数据服务 企业专题数据服务",
"updateTime": "2020-03-12 18:31:12",
"numberOfMonth": "2698745",
"rate": 3.4
},
{
"id": 2,
"title": "水路货物周转量情况",
"state": 1,
"resourceSummary": "提供水路货物周转量排名和同比增长的专题数据服务提供水路货物周转量排名和同比增长的专题数据服务提供水路货物周转量排名和同比增长的专题数据服务",
"provider": "提供机构提供机构提供机构",
"dataField": "经济建设",
"serviceType": "数据服务 专题数据服务 企业专题数据服务",
"updateTime": "2020-03-12 18:31:12",
"numberOfMonth": "2698455",
"rate": 2.5
},
{
"id": 3,
"title": "水路货物周转量情况",
"state": 0,
"resourceSummary": "提供水路货物周转量排名和同比增长的专题数据服务提供水路货物周转量排名和同比增长的专题数据服务提供水路货物周转量排名和同比增长的专题数据服务",
"provider": "提供机构提供机构提供机构",
"dataField": "经济建设",
"serviceType": "数据服务 专题数据服务 企业专题数据服务",
"updateTime": "2020-03-12 18:31:12",
"numberOfMonth": "267455",
"rate": 3.7
}
]
}
}
\ No newline at end of file
{
"data": {
"filterList": [
{
"id": 1283,
"name": "数据服务类型",
"children": [
{
"id": 1233,
"name": "诶哦尬舞",
"children": [
{
"id": 18273,
"name": "那我空间服务"
},
{
"id": 12378343,
"name": "诶哦尬舞"
},
{
"id": 123533,
"name": "诶哦尬舞"
}
]
},
{
"id": 121833,
"name": "诶哦尬舞"
},
{
"id": 1234573,
"name": "诶哦尬舞"
},
{
"id": 134534233,
"name": "诶哦尬舞"
},
{
"id": 1234533,
"name": "诶哦尬舞"
},
{
"id": 123533,
"name": "诶哦尬舞",
"children": [
{
"id": 1824573,
"name": "那我空间服务"
},
{
"id": 123378343,
"name": "诶哦尬舞"
},
{
"id": 1235333,
"name": "诶哦尬舞"
}
]
},
{
"id": 12112833,
"name": "诶哦尬舞"
},
{
"id": 12341573,
"name": "诶哦尬舞"
},
{
"id": 1345434233,
"name": "诶哦尬舞"
},
{
"id": 12345533,
"name": "诶哦尬舞"
}
]
},
{
"id": 128133,
"name": "数据服务类型",
"children": [
{
"id": 123313,
"name": "诶哦尬舞",
"children": [
{
"id": 1821373,
"name": "那我个社工师空间服务"
},
{
"id": 123728343,
"name": "诶哦甲方推荐尬舞"
},
{
"id": 12312533,
"name": "诶哦库空调尬舞"
}
]
},
{
"id": 121123833,
"name": "诶哦尬舞"
},
{
"id": 1231234573,
"name": "诶哦达瓦大尬舞"
},
{
"id": 13453334233,
"name": "诶哦达瓦大尬舞"
},
{
"id": 1234123533,
"name": "诶哦尬舞"
},
{
"id": 123512333,
"name": "诶哦尬舞",
"children": [
{
"id": 1824123573,
"name": "那我空间服务"
},
{
"id": 1233738343,
"name": "诶哦尬舞"
},
{
"id": 123125333,
"name": "诶哦尬舞"
}
]
},
{
"id": 1211312833,
"name": "诶哦挖到尬舞"
},
{
"id": 12341231573,
"name": "诶哦尬舞"
},
{
"id": 13454314233,
"name": "诶哦色粉尬舞"
},
{
"id": 123452533,
"name": "诶环境日哦尬舞"
}
]
}
]
}
}
\ No newline at end of file
{
"objectMeta": {
"name": "zhzltest-1525854120-pcsfx",
"namespace": "test-zhzl",
"labels": {
"controller-uid": "0f53c523-5362-11e8-88ba-000c29516a6e",
"job-name": "zhzltest-1525854120"
},
"creationTimestamp": "2018-05-09T08:22:06Z"
},
"typeMeta": {
"kind": "pod"
},
"podPhase": "Succeeded",
"podIP": "10.2.1.239",
"nodeName": "192.168.74.102",
"restartCount": 0,
"qosClass": "BestEffort",
"controller": {
"objectMeta": {
"name": "zhzltest-1525854120",
"namespace": "test-zhzl",
"labels": {
"controller-uid": "0f53c523-5362-11e8-88ba-000c29516a6e",
"job-name": "zhzltest-1525854120"
},
"creationTimestamp": "2018-05-09T08:22:06Z"
},
"typeMeta": {
"kind": "job"
},
"pods": {
"current": 0,
"desired": 1,
"running": 0,
"pending": 0,
"failed": 0,
"succeeded": 1,
"warnings": []
},
"containerImages": [
"registry.ispacesys.cn/cig/zhzlconsole:0.0.2-test"
],
"initContainerImages": null
},
"containers": [
{
"name": "zhzlconsole",
"image": "registry.ispacesys.cn/cig/zhzlconsole:0.0.2-test",
"env": [
{
"name": "STORAGE_URL",
"value": "192.168.74.102",
"valueFrom": {
"configMapKeyRef": {
"name": "cig",
"key": "STORAGE_URL"
}
}
},
{
"name": "ELASTIC_PORT",
"value": "9200",
"valueFrom": {
"configMapKeyRef": {
"name": "cig",
"key": "ELASTIC_PORT"
}
}
},
{
"name": "NODE_ORACLEDB_EP_PASSWORD",
"value": "EFLOW1234",
"valueFrom": {
"configMapKeyRef": {
"name": "cig",
"key": "NODE_ORACLEDB_EP_PASSWORD"
}
}
},
{
"name": "NODE_ORACLEDB_USER",
"value": "cigproxy",
"valueFrom": {
"configMapKeyRef": {
"name": "cig",
"key": "NODE_ORACLEDB_USER"
}
}
},
{
"name": "SDJ_EVENTURL",
"value": "http://cxcig.ddns.net:10014/gateway/api/001003001029/GrassrootsGovernance/bR4rD5d1O04KUdV0.htm",
"valueFrom": {
"configMapKeyRef": {
"name": "cig",
"key": "SDJ_EVENTURL"
}
}
},
{
"name": "SDJ_SECRETURL_BYKEY",
"value": "http://cxcig.ddns.net:10014/gateway/app/refreshTokenByKey.htm",
"valueFrom": {
"configMapKeyRef": {
"name": "cig",
"key": "SDJ_SECRETURL_BYKEY"
}
}
},
{
"name": "SYS_SERVICE_ROOT",
"value": "http://test-zhzl.spacecig.com/",
"valueFrom": {
"configMapKeyRef": {
"name": "cig",
"key": "SYS_SERVICE_ROOT"
}
}
},
{
"name": "WX_PROTOCOL",
"value": "http://",
"valueFrom": {
"configMapKeyRef": {
"name": "cig",
"key": "WX_PROTOCOL"
}
}
},
{
"name": "APPKEYSECRET",
"value": "bF97LaEoiVPuGn8HMUy4",
"valueFrom": {
"configMapKeyRef": {
"name": "cig",
"key": "APPKEYSECRET"
}
}
},
{
"name": "NODE_REDIS_CONNECTION",
"value": "redis://deps:6379",
"valueFrom": {
"configMapKeyRef": {
"name": "cig",
"key": "NODE_REDIS_CONNECTION"
}
}
},
{
"name": "ELASTIC_HOST",
"value": "elasticsearch.efk",
"valueFrom": {
"configMapKeyRef": {
"name": "cig",
"key": "ELASTIC_HOST"
}
}
},
{
"name": "HOST_OUTER",
"value": "123.157.108.231",
"valueFrom": {
"configMapKeyRef": {
"name": "cig",
"key": "HOST_OUTER"
}
}
},
{
"name": "MAP_BAIDU_SERVICEID",
"value": "149274",
"valueFrom": {
"configMapKeyRef": {
"name": "cig",
"key": "MAP_BAIDU_SERVICEID"
}
}
},
{
"name": "NODE_MSMQ_REDIS_CONNECTION",
"value": "redis://deps-msmqredis:6379",
"valueFrom": {
"configMapKeyRef": {
"name": "cig",
"key": "NODE_MSMQ_REDIS_CONNECTION"
}
}
},
{
"name": "NODE_ORACLEDB_PASSWORD",
"value": "cigproxy",
"valueFrom": {
"configMapKeyRef": {
"name": "cig",
"key": "NODE_ORACLEDB_PASSWORD"
}
}
},
{
"name": "TOKEN_SERVICE",
"value": "http://iam:3011/admin",
"valueFrom": {
"configMapKeyRef": {
"name": "cig",
"key": "TOKEN_SERVICE"
}
}
},
{
"name": "WFSERVICE_PORT",
"value": "890",
"valueFrom": {
"configMapKeyRef": {
"name": "cig",
"key": "WFSERVICE_PORT"
}
}
},
{
"name": "DH_HOST",
"value": "10.21.197.45",
"valueFrom": {
"configMapKeyRef": {
"name": "cig",
"key": "DH_HOST"
}
}
},
{
"name": "JPUSH_IOS_ENV",
"value": "PRODUCTION",
"valueFrom": {
"configMapKeyRef": {
"name": "cig",
"key": "JPUSH_IOS_ENV"
}
}
},
{
"name": "MSG_NONCE",
"value": "58772015",
"valueFrom": {
"configMapKeyRef": {
"name": "cig",
"key": "MSG_NONCE"
}
}
},
{
"name": "NODE_MSMQ_REDIS_REST_TICK",
"value": "[1, 6, 11, 16, 21, 26, 31, 36, 41, 46, 51, 56]",
"valueFrom": {
"configMapKeyRef": {
"name": "cig",
"key": "NODE_MSMQ_REDIS_REST_TICK"
}
}
},
{
"name": "TXYZB_ACCOUNT_TYPE",
"value": "18538",
"valueFrom": {
"configMapKeyRef": {
"name": "cig",
"key": "TXYZB_ACCOUNT_TYPE"
}
}
},
{
"name": "APPKEY_OUTER",
"value": "28624821",
"valueFrom": {
"configMapKeyRef": {
"name": "cig",
"key": "APPKEY_OUTER"
}
}
},
{
"name": "CIG_TASK_JOB",
"value": "0",
"valueFrom": {
"configMapKeyRef": {
"name": "cig",
"key": "CIG_TASK_JOB"
}
}
},
{
"name": "MAP_BAIDU_APPKEY",
"value": "f1PKq1WeBmB893LfnGxQ7gEuDV6uSeRb",
"valueFrom": {
"configMapKeyRef": {
"name": "cig",
"key": "MAP_BAIDU_APPKEY"
}
}
},
{
"name": "PORT_OUTER",
"value": "9999",
"valueFrom": {
"configMapKeyRef": {
"name": "cig",
"key": "PORT_OUTER"
}
}
},
{
"name": "TXYZB_SDK_APPID",
"value": "1400047153",
"valueFrom": {
"configMapKeyRef": {
"name": "cig",
"key": "TXYZB_SDK_APPID"
}
}
},
{
"name": "YH_API_URL",
"value": "http://192.168.74.102:29980/yhapi",
"valueFrom": {
"configMapKeyRef": {
"name": "cig",
"key": "YH_API_URL"
}
}
},
{
"name": "APP_FILE_SERVICE",
"value": "https://test-zhzl.spacecig.com",
"valueFrom": {
"configMapKeyRef": {
"name": "cig",
"key": "APP_FILE_SERVICE"
}
}
},
{
"name": "MSG_APPSECRET",
"value": "92fac7d3a7dc",
"valueFrom": {
"configMapKeyRef": {
"name": "cig",
"key": "MSG_APPSECRET"
}
}
},
{
"name": "HEZHANG_DEAL_PATH",
"value": "/hzzpublic/event/outTimeEvent/doOverEvent",
"valueFrom": {
"configMapKeyRef": {
"name": "cig",
"key": "HEZHANG_DEAL_PATH"
}
}
},
{
"name": "HEZHANG_HOST",
"value": "https://hzz.spacecig.com",
"valueFrom": {
"configMapKeyRef": {
"name": "cig",
"key": "HEZHANG_HOST"
}
}
},
{
"name": "NODE_ORACLEDB_CONNECTIONSTRING",
"value": "oracle:11421/xe",
"valueFrom": {
"configMapKeyRef": {
"name": "cig",
"key": "NODE_ORACLEDB_CONNECTIONSTRING"
}
}
},
{
"name": "NODE_ORACLEDB_EP_USER",
"value": "EFLOW",
"valueFrom": {
"configMapKeyRef": {
"name": "cig",
"key": "NODE_ORACLEDB_EP_USER"
}
}
},
{
"name": "NODE_ORACLEGEODB_PASSWORD",
"value": "cigsde",
"valueFrom": {
"configMapKeyRef": {
"name": "cig",
"key": "NODE_ORACLEGEODB_PASSWORD"
}
}
},
{
"name": "REST_APIURLBASE_WF",
"value": "http://test-zhzl.spacecig.com/",
"valueFrom": {
"configMapKeyRef": {
"name": "cig",
"key": "REST_APIURLBASE_WF"
}
}
},
{
"name": "APPSECRET_INNER",
"value": "Q9GM11oUW74AkOcc0Gq9",
"valueFrom": {
"configMapKeyRef": {
"name": "cig",
"key": "APPSECRET_INNER"
}
}
},
{
"name": "SDJ_APPSECRET",
"value": "a1be950e557946af91a0bb425bd3b2ac",
"valueFrom": {
"configMapKeyRef": {
"name": "cig",
"key": "SDJ_APPSECRET"
}
}
},
{
"name": "WX_HOST",
"value": "test-zhzl.spacecig.com",
"valueFrom": {
"configMapKeyRef": {
"name": "cig",
"key": "WX_HOST"
}
}
},
{
"name": "MSG_CODELEN",
"value": "6",
"valueFrom": {
"configMapKeyRef": {
"name": "cig",
"key": "MSG_CODELEN"
}
}
},
{
"name": "REST_APIURLBASE_WF_NEW",
"value": "http://test-zhzl.spacecig.com/wf/",
"valueFrom": {
"configMapKeyRef": {
"name": "cig",
"key": "REST_APIURLBASE_WF_NEW"
}
}
},
{
"name": "SCHEDULE",
"value": "1",
"valueFrom": {
"configMapKeyRef": {
"name": "cig",
"key": "SCHEDULE"
}
}
},
{
"name": "UV_THREADPOOL_SIZE",
"value": "20",
"valueFrom": {
"configMapKeyRef": {
"name": "cig",
"key": "UV_THREADPOOL_SIZE"
}
}
},
{
"name": "YICHUANG_HOST",
"value": "http://xzfw.zjcx.gov.cn",
"valueFrom": {
"configMapKeyRef": {
"name": "cig",
"key": "YICHUANG_HOST"
}
}
},
{
"name": "NODE_ORACLEGEODB_USER",
"value": "cigsde",
"valueFrom": {
"configMapKeyRef": {
"name": "cig",
"key": "NODE_ORACLEGEODB_USER"
}
}
},
{
"name": "MEMCACHED_PATH",
"value": "deps:11211",
"valueFrom": {
"configMapKeyRef": {
"name": "cig",
"key": "MEMCACHED_PATH"
}
}
},
{
"name": "SDJ_SECRETURL_BYSEC",
"value": "http://cxcig.ddns.net:10014/gateway/app/refreshTokenBySec.htm",
"valueFrom": {
"configMapKeyRef": {
"name": "cig",
"key": "SDJ_SECRETURL_BYSEC"
}
}
},
{
"name": "CACHE_CONFIG_URL",
"value": "deps:11211",
"valueFrom": {
"configMapKeyRef": {
"name": "cig",
"key": "CACHE_CONFIG_URL"
}
}
},
{
"name": "DH_HOST_OUT",
"value": "client.zjcx1.cn",
"valueFrom": {
"configMapKeyRef": {
"name": "cig",
"key": "DH_HOST_OUT"
}
}
},
{
"name": "GEO_SERVER_HOST",
"value": "test-zhzl.spacecig.com",
"valueFrom": {
"configMapKeyRef": {
"name": "cig",
"key": "GEO_SERVER_HOST"
}
}
},
{
"name": "GEO_SERVER_PORT",
"value": "80",
"valueFrom": {
"configMapKeyRef": {
"name": "cig",
"key": "GEO_SERVER_PORT"
}
}
},
{
"name": "MSG_SERVERURL",
"value": "https://api.netease.im/sms/sendcode.action",
"valueFrom": {
"configMapKeyRef": {
"name": "cig",
"key": "MSG_SERVERURL"
}
}
},
{
"name": "MSG_TEMPLATEID",
"value": "4022280",
"valueFrom": {
"configMapKeyRef": {
"name": "cig",
"key": "MSG_TEMPLATEID"
}
}
},
{
"name": "WFSERVICE_HOST",
"value": "192.168.74.116",
"valueFrom": {
"configMapKeyRef": {
"name": "cig",
"key": "WFSERVICE_HOST"
}
}
},
{
"name": "APPKEY_INNER",
"value": "26208115",
"valueFrom": {
"configMapKeyRef": {
"name": "cig",
"key": "APPKEY_INNER"
}
}
},
{
"name": "JPUSH_SECRET",
"value": "350010b7ff0c0f8c7700ab91",
"valueFrom": {
"configMapKeyRef": {
"name": "cig",
"key": "JPUSH_SECRET"
}
}
},
{
"name": "MSG_APPKEY",
"value": "7cd4776db7cebf12a733b78fdba7bba1",
"valueFrom": {
"configMapKeyRef": {
"name": "cig",
"key": "MSG_APPKEY"
}
}
},
{
"name": "SDJ_ISSEND",
"value": "0",
"valueFrom": {
"configMapKeyRef": {
"name": "cig",
"key": "SDJ_ISSEND"
}
}
},
{
"name": "STORAGE_PORT",
"value": "50070",
"valueFrom": {
"configMapKeyRef": {
"name": "cig",
"key": "STORAGE_PORT"
}
}
},
{
"name": "ZHZLBACKEND_DOMAIN",
"value": "http://zhzlbackend:3003",
"valueFrom": {
"configMapKeyRef": {
"name": "cig",
"key": "ZHZLBACKEND_DOMAIN"
}
}
},
{
"name": "DH_HOST_PORT",
"value": "8080",
"valueFrom": {
"configMapKeyRef": {
"name": "cig",
"key": "DH_HOST_PORT"
}
}
},
{
"name": "JPUSH_KEY",
"value": "a2b9b0542275313950882390",
"valueFrom": {
"configMapKeyRef": {
"name": "cig",
"key": "JPUSH_KEY"
}
}
},
{
"name": "TXYZB_KEY_PATH",
"value": "common/config/txYunKey/test",
"valueFrom": {
"configMapKeyRef": {
"name": "cig",
"key": "TXYZB_KEY_PATH"
}
}
},
{
"name": "CIGWBJ_NODE_ORACLEDB_USER",
"value": "cigwbj",
"valueFrom": {
"configMapKeyRef": {
"name": "cig",
"key": "CIGWBJ_NODE_ORACLEDB_USER"
}
}
},
{
"name": "CIGWBJ_NODE_ORACLEDB_PASSWORD",
"value": "esri@123",
"valueFrom": {
"configMapKeyRef": {
"name": "cig",
"key": "CIGWBJ_NODE_ORACLEDB_PASSWORD"
}
}
},
{
"name": "DH_PORT_OUT",
"value": "8081",
"valueFrom": {
"configMapKeyRef": {
"name": "cig",
"key": "DH_PORT_OUT"
}
}
},
{
"name": "HEZHANG_OVERTIME_PATH",
"value": "/hzzpublic/event/outTimeEvent/addOverEvent",
"valueFrom": {
"configMapKeyRef": {
"name": "cig",
"key": "HEZHANG_OVERTIME_PATH"
}
}
},
{
"name": "HOST_INNER",
"value": "10.21.197.78",
"valueFrom": {
"configMapKeyRef": {
"name": "cig",
"key": "HOST_INNER"
}
}
},
{
"name": "KUBERNETES_HOST",
"value": "https://k8s.ispacesys.cn:6443",
"valueFrom": {
"configMapKeyRef": {
"name": "cig",
"key": "KUBERNETES_HOST"
}
}
},
{
"name": "NODE_ORACLEGEODB_CONNECTIONSTRING",
"value": "192.168.74.109:1521/orcl",
"valueFrom": {
"configMapKeyRef": {
"name": "cig",
"key": "NODE_ORACLEGEODB_CONNECTIONSTRING"
}
}
},
{
"name": "PORT_INNER",
"value": "9999",
"valueFrom": {
"configMapKeyRef": {
"name": "cig",
"key": "PORT_INNER"
}
}
},
{
"name": "CIGWBJ_NODE_ORACLEDB_CONNECTIONSTRING",
"value": "10.21.198.126:15214/xe",
"valueFrom": {
"configMapKeyRef": {
"name": "cig",
"key": "CIGWBJ_NODE_ORACLEDB_CONNECTIONSTRING"
}
}
},
{
"name": "PROXY_IIS_CIGSYSTEM",
"value": "http://192.168.74.109",
"valueFrom": {
"configMapKeyRef": {
"name": "cig",
"key": "PROXY_IIS_CIGSYSTEM"
}
}
}
],
"commands": [
"pm2"
],
"args": [
"start",
"./pm2/prod-zhzlconsole.config.js",
"--env",
"production",
"--no-daemon",
"--",
"-r",
"test/index",
"-a",
"\"{'b':1}\""
]
}
],
"initContainers": [],
"metrics": [
{
"dataPoints": [],
"metricPoints": [],
"metricName": "cpu/usage_rate",
"aggregation": "sum"
},
{
"dataPoints": [],
"metricPoints": [],
"metricName": "memory/usage",
"aggregation": "sum"
}
],
"conditions": [
{
"type": "Initialized",
"status": "True",
"lastProbeTime": null,
"lastTransitionTime": "2018-05-09T08:22:06Z",
"reason": "PodCompleted",
"message": ""
},
{
"type": "Ready",
"status": "False",
"lastProbeTime": null,
"lastTransitionTime": "2018-05-09T08:22:21Z",
"reason": "PodCompleted",
"message": ""
},
{
"type": "PodScheduled",
"status": "True",
"lastProbeTime": null,
"lastTransitionTime": "2018-05-09T08:22:06Z",
"reason": "",
"message": ""
}
],
"eventList": {
"listMeta": {
"totalItems": 9
},
"events": [
{
"objectMeta": {
"name": "zhzltest-1525854120-pcsfx.152cec3e605825a8",
"namespace": "test-zhzl",
"creationTimestamp": "2018-05-09T08:22:06Z"
},
"typeMeta": {
"kind": "event"
},
"message": "Successfully assigned zhzltest-1525854120-pcsfx to 192.168.74.102",
"sourceComponent": "default-scheduler",
"sourceHost": "",
"object": "",
"count": 1,
"firstSeen": "2018-05-09T08:22:06Z",
"lastSeen": "2018-05-09T08:22:06Z",
"reason": "Scheduled",
"type": "Normal"
},
{
"objectMeta": {
"name": "zhzltest-1525854120-pcsfx.152cec3e71be3c05",
"namespace": "test-zhzl",
"creationTimestamp": "2018-05-09T08:22:06Z"
},
"typeMeta": {
"kind": "event"
},
"message": "MountVolume.SetUp succeeded for volume \"uploaddir\" ",
"sourceComponent": "kubelet",
"sourceHost": "192.168.74.102",
"object": "",
"count": 1,
"firstSeen": "2018-05-09T08:22:06Z",
"lastSeen": "2018-05-09T08:22:06Z",
"reason": "SuccessfulMountVolume",
"type": "Normal"
},
{
"objectMeta": {
"name": "zhzltest-1525854120-pcsfx.152cec3e71cb9080",
"namespace": "test-zhzl",
"creationTimestamp": "2018-05-09T08:22:06Z"
},
"typeMeta": {
"kind": "event"
},
"message": "MountVolume.SetUp succeeded for volume \"logdir\" ",
"sourceComponent": "kubelet",
"sourceHost": "192.168.74.102",
"object": "",
"count": 1,
"firstSeen": "2018-05-09T08:22:06Z",
"lastSeen": "2018-05-09T08:22:06Z",
"reason": "SuccessfulMountVolume",
"type": "Normal"
},
{
"objectMeta": {
"name": "zhzltest-1525854120-pcsfx.152cec3e71cd1649",
"namespace": "test-zhzl",
"creationTimestamp": "2018-05-09T08:22:06Z"
},
"typeMeta": {
"kind": "event"
},
"message": "MountVolume.SetUp succeeded for volume \"localtime\" ",
"sourceComponent": "kubelet",
"sourceHost": "192.168.74.102",
"object": "",
"count": 1,
"firstSeen": "2018-05-09T08:22:06Z",
"lastSeen": "2018-05-09T08:22:06Z",
"reason": "SuccessfulMountVolume",
"type": "Normal"
},
{
"objectMeta": {
"name": "zhzltest-1525854120-pcsfx.152cec3e729c7be8",
"namespace": "test-zhzl",
"creationTimestamp": "2018-05-09T08:22:06Z"
},
"typeMeta": {
"kind": "event"
},
"message": "MountVolume.SetUp succeeded for volume \"default-token-mr56l\" ",
"sourceComponent": "kubelet",
"sourceHost": "192.168.74.102",
"object": "",
"count": 1,
"firstSeen": "2018-05-09T08:22:06Z",
"lastSeen": "2018-05-09T08:22:06Z",
"reason": "SuccessfulMountVolume",
"type": "Normal"
},
{
"objectMeta": {
"name": "zhzltest-1525854120-pcsfx.152cec3ecba4ed74",
"namespace": "test-zhzl",
"creationTimestamp": "2018-05-09T08:22:08Z"
},
"typeMeta": {
"kind": "event"
},
"message": "pulling image \"registry.ispacesys.cn/cig/zhzlconsole:0.0.2-test\"",
"sourceComponent": "kubelet",
"sourceHost": "192.168.74.102",
"object": "spec.containers{zhzlconsole}",
"count": 1,
"firstSeen": "2018-05-09T08:22:08Z",
"lastSeen": "2018-05-09T08:22:08Z",
"reason": "Pulling",
"type": "Normal"
},
{
"objectMeta": {
"name": "zhzltest-1525854120-pcsfx.152cec3ee78808a3",
"namespace": "test-zhzl",
"creationTimestamp": "2018-05-09T08:22:08Z"
},
"typeMeta": {
"kind": "event"
},
"message": "Successfully pulled image \"registry.ispacesys.cn/cig/zhzlconsole:0.0.2-test\"",
"sourceComponent": "kubelet",
"sourceHost": "192.168.74.102",
"object": "spec.containers{zhzlconsole}",
"count": 1,
"firstSeen": "2018-05-09T08:22:08Z",
"lastSeen": "2018-05-09T08:22:08Z",
"reason": "Pulled",
"type": "Normal"
},
{
"objectMeta": {
"name": "zhzltest-1525854120-pcsfx.152cec3efafce4dc",
"namespace": "test-zhzl",
"creationTimestamp": "2018-05-09T08:22:09Z"
},
"typeMeta": {
"kind": "event"
},
"message": "Created container",
"sourceComponent": "kubelet",
"sourceHost": "192.168.74.102",
"object": "spec.containers{zhzlconsole}",
"count": 1,
"firstSeen": "2018-05-09T08:22:09Z",
"lastSeen": "2018-05-09T08:22:09Z",
"reason": "Created",
"type": "Normal"
},
{
"objectMeta": {
"name": "zhzltest-1525854120-pcsfx.152cec3f1afdc1f8",
"namespace": "test-zhzl",
"creationTimestamp": "2018-05-09T08:22:09Z"
},
"typeMeta": {
"kind": "event"
},
"message": "Started container",
"sourceComponent": "kubelet",
"sourceHost": "192.168.74.102",
"object": "spec.containers{zhzlconsole}",
"count": 1,
"firstSeen": "2018-05-09T08:22:09Z",
"lastSeen": "2018-05-09T08:22:09Z",
"reason": "Started",
"type": "Normal"
}
]
},
"persistentVolumeClaimList": {
"listMeta": {
"totalItems": 0
},
"items": null,
"errors": null
},
"errors": []
}
\ No newline at end of file
...@@ -453,4 +453,15 @@ width: 620px!important; ...@@ -453,4 +453,15 @@ width: 620px!important;
} }
.el-radio__input.is-checked .el-radio__inner::after { .el-radio__input.is-checked .el-radio__inner::after {
background-color: #e56600; background-color: #e56600;
}
/* 面包屑样式 */
.bread_crumb {
margin: 20px;
font-size: 14px;
}
.bread_crumb .el-breadcrumb__inner {
color: #b4c0f5 !important;
}
.bread_crumb .is-link {
color: #626de9 !important;
} }
\ No newline at end of file
...@@ -7,29 +7,48 @@ ...@@ -7,29 +7,48 @@
/> />
</div> </div>
<div class="com_cell_message"> <div class="com_cell_message">
<div class="com_cell_msg_title" @click="goUrl('ssurl')">水路货物周转量情况</div> <div class="com_cell_msg_title">
{{ cellData.title }}
<span v-if="cellData.state == 1" class="tags shared">共享</span>
<span v-else-if="cellData.state == 2" class="tags restricted">受限</span>
<span v-else class="tags sensitive">敏感</span>
</div>
<div class="com_cell_item"> <div class="com_cell_item">
<span class="com_cell_item_title">资源摘要:</span> <span class="com_cell_item_title">资源摘要:</span>
<span <span
class="com_cell_data" class="com_cell_data"
>提供水路货物周转量排名和同比增长的专题数据服务提供水路货物周转量排名和同比增长的专题数据服务提供水路货物周转量排名和同比增长的专题数据服务</span> >{{ cellData.resourceSummary }}</span>
</div> </div>
<div class="com_cell_item"> <div class="com_cell_item">
<span class="com_cell_item_title">提供机构:</span> <span class="com_cell_item_title">提供机构:</span>
<span class="com_cell_data">贵州省交通运输厅</span> <span class="com_cell_data">{{ cellData.provider }}</span>
</div> </div>
<div class="com_cell_item"> <div class="com_cell_item">
<span class="com_cell_item_title">数据领域:</span> <span class="com_cell_item_title">数据领域:</span>
<span class="com_cell_data">经济建设</span> <span class="com_cell_data">{{ cellData.dataField }}</span>
</div> </div>
<div class="com_cell_item"> <div class="com_cell_item">
<span class="com_cell_item_title">服务类型:</span> <span class="com_cell_item_title">服务类型:</span>
<span class="com_cell_data">数据服务 专题数据服务 企业专题数据服务</span> <span class="com_cell_data">{{ cellData.serviceType }}</span>
</div> </div>
<div class="com_cell_item"> <div class="com_cell_item">
<span class="com_cell_item_title">更新时间:</span> <span class="com_cell_item_title">更新时间:</span>
<span class="com_cell_data">2020-03-12 18:31:12</span> <span class="com_cell_data">{{ cellData.updateTime }}</span>
</div>
</div>
<div class="com_cell_right">
<el-rate
v-model="cellData.rate"
disabled
show-score
text-color="#58617a"
score-template="{value}"
></el-rate>
<div class="com_cell_right_text">
<span class="com_cell_right_time_tit">本月获取次数:</span>
<span class="com_cell_right_time">{{ cellData.numberOfMonth }}</span>
</div> </div>
<el-button class="com_cell_right_btn" @click="goUrl('ssurl')">查看详情</el-button>
</div> </div>
</div> </div>
</template> </template>
...@@ -38,7 +57,8 @@ ...@@ -38,7 +57,8 @@
export default { export default {
components: {}, components: {},
props: { props: {
url: { type: String, default: "" } url: { type: String, default: "" },
cellData: { type: Object, default: {} }
}, },
data: () => ({}), data: () => ({}),
computed: {}, computed: {},
...@@ -58,7 +78,7 @@ export default { ...@@ -58,7 +78,7 @@ export default {
.com_cell { .com_cell {
display: flex; display: flex;
justify-content: flex-start; justify-content: flex-start;
padding: 10px; padding: 20px 10px;
border-bottom: 2px #f4f7fc solid; border-bottom: 2px #f4f7fc solid;
} }
.com_cell_img_box { .com_cell_img_box {
...@@ -73,20 +93,19 @@ export default { ...@@ -73,20 +93,19 @@ export default {
} }
.com_cell_message { .com_cell_message {
padding-left: 20px; padding-left: 20px;
width: calc(100% - 190px); width: calc(100% - 420px);
} }
.com_cell_msg_title { .com_cell_msg_title {
color: #0d1847; color: #0d1847;
font-size: 22px; font-size: 22px;
font-weight: 700; font-weight: 700;
margin-bottom: 6px; margin-bottom: 6px;
cursor: pointer;
} }
.com_cell_item { .com_cell_item {
font-size: 16px; font-size: 16px;
line-height: 26px; line-height: 26px;
margin-top: 1px; margin-top: 1px;
color: #51ac14; color: #8890a7;
display: flex; display: flex;
align-self: start; align-self: start;
} }
...@@ -96,10 +115,67 @@ export default { ...@@ -96,10 +115,67 @@ export default {
.com_cell_data { .com_cell_data {
display: inline-block; display: inline-block;
width: calc(100% - 90px); width: calc(100% - 90px);
color: #f1ac14; color: #242c43;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
} }
.com_cell_right {
width: 250px;
padding: 25px 0 0 50px;
}
.com_cell_right_text {
font-size: 14px;
margin-top: 15px;
}
.com_cell_right_time_tit {
color: #8890a7;
}
.com_cell_right_time {
color: #242c43;
}
.com_cell_right_btn {
background-color: #0f2683;
color: #f8f9fd;
width: 160px;
height: 40px;
border-radius: 20px;
margin-top: 35px;
}
.tags {
display: inline-block;
margin-left: 10px;
padding: 1px 8px;
font-size: 12px;
font-weight: 500;
border-radius: 15px;
position: relative;
top: -2px;
}
.shared {
background-color: #e7fdfc;
border: solid 1px #8bd6d0;
color: #25bdb1;
}
.restricted {
background-color: #fffee8;
border: solid 1px #e4c884;
color: #ef9433;
}
.sensitive {
background-color: #ffefef;
border: solid 1px #d7a4a9;
color: #e15260;
}
</style> </style>
<style>
.com_cell_right .el-rate__text {
display: inline-block;
margin-left: 10px;
font-size: 22px;
font-weight: 700;
}
.com_cell_right .el-rate__icon {
font-size: 20px;
}
</style>
\ No newline at end of file
<template> <template>
<div> <div>
<commodity-cell v-for="item in datas" :url="url" :key="item"></commodity-cell> <commodity-cell v-for="item in datas" :cellData="item" :url="url" :key="item.id"></commodity-cell>
<!-- 分页 --> <!-- 分页 -->
<section class="com-pagination" v-if="paginationShow"> <section class="com-pagination" v-if="paginationShow">
<div class="com_page_total">{{ pagination.total }} 个条目</div> <div class="com_page_total">{{ pagination.total }} 个条目</div>
<div class="com_page_num" v-if="pageSizeShow"> <div class="com_page_item">
<div class="com_page_num_sel"> <div class="com_page_num" v-if="pageSizeShow">
<el-select <div>每页行数:</div>
v-model="pagination.rowsPerPage" <div class="com_page_num_sel">
placeholder="请选择" <el-select
size="mini" v-model="pagination.rowsPerPage"
@change="handleSizeChange" placeholder="请选择"
> size="small"
<el-option @change="handleSizeChange"
v-for="item in pageOptions" >
:key="item.value" <el-option
:label="item.label" v-for="item in pageOptions"
:value="item.value" :key="item.value"
></el-option> :label="item.label"
</el-select> :value="item.value"
></el-option>
</el-select>
</div>
</div> </div>
<div>条 / 页</div> <div class="com_page_control">
</div> <el-button
<div class="com_page_control"> icon="el-icon-arrow-left"
<el-button circle
icon="el-icon-arrow-left" size="mini"
circle @click="handleCurrentChange(-1)"
size="mini" :disabled="pagination.page == 1"
@click="handleCurrentChange(-1)" ></el-button>
:disabled="pagination.page == 1" &nbsp;&nbsp;{{ pagination.page }}页 / 共{{
></el-button> Math.ceil(pagination.total / pagination.rowsPerPage)
&nbsp;&nbsp;{{ pagination.page }}页 / 共{{ }}
Math.ceil(pagination.total / pagination.rowsPerPage) <el-button
}} icon="el-icon-arrow-right"
<el-button circle
icon="el-icon-arrow-right" size="mini"
circle @click="handleCurrentChange(1)"
size="mini" :disabled="
@click="handleCurrentChange(1)"
:disabled="
pagination.page >= pagination.page >=
Math.ceil(pagination.total / pagination.rowsPerPage) Math.ceil(pagination.total / pagination.rowsPerPage)
" "
></el-button> ></el-button>
</div>
</div> </div>
</section> </section>
</div> </div>
...@@ -92,14 +94,14 @@ export default { ...@@ -92,14 +94,14 @@ export default {
methods: { methods: {
handleSizeChange(val) { handleSizeChange(val) {
this.pagination.rowsPerPage = val; this.pagination.rowsPerPage = val;
this.$emit("refresh"); this.$emit("refresh", this.pagination);
}, },
handleCurrentChange(val) { handleCurrentChange(val) {
this.pagination.page += val; this.pagination.page += val;
this.$emit("refresh"); this.$emit("refresh", this.pagination);
}, },
getTotal() { getTotal() {
this.total = this.datas.length; this.pagination.total = this.datas.length;
} }
}, },
mounted() { mounted() {
...@@ -119,17 +121,30 @@ export default { ...@@ -119,17 +121,30 @@ export default {
align-items: center; align-items: center;
} }
.com_page_num { .com_page_num {
width: 120px; width: 140px;
margin-right: 20px;
display: flex; display: flex;
justify-content: space-around; justify-content: space-around;
align-items: center; align-items: center;
} }
.com_page_num_sel { .com_page_num_sel {
width: 66px; width: 50px;
font-size: 14px;
position: relative;
top: 1px;
}
.com_page_item {
display: flex;
justify-content: flex-end;
align-items: center;
} }
</style> </style>
<style> <style>
.com_page_control .el-button { .com_page_control .el-button {
border: 0; border: 0;
} }
.com_page_num .el-input__inner {
border: 0;
padding: 0;
}
</style> </style>
\ No newline at end of file
<template>
<div>
<div class="head_flex">
<el-breadcrumb separator="/" class="bread_crumb bread_left">
<el-breadcrumb-item :to="{ path: '/fwcs' }">服务超市</el-breadcrumb-item>
<el-breadcrumb-item>数据服务</el-breadcrumb-item>
</el-breadcrumb>
<div class="input_right">
<el-input
v-model="search"
prefix-icon="el-icon-search"
placeholder="请输入关键字搜索服务"
@input="searchVal"
></el-input>
</div>
</div>
<block-radius>
<div class="classification">
<div v-for="(item, index) in filterLists" :key="'cd' + index" class="classification_line">
<div class="classification_line_title">{{ item.name }}</div>
<div
:class="index == filterLists.length - 1 ? 'classification_line_items':'classification_line_items classification_line_items_border'"
>
<div
:class="openList[index] == 'up' ? 'classification_line_hid':'classification_line_show'"
>
<ul :id="item.id" class="classification_line_items_ul">
<li
:class="items.children && openChildren[index].state == true && openChildren[index].index == indexs ? 'classification_line_items_li_act classification_line_items_li':'classification_line_items_li'"
v-for="(items, indexs) in item.children"
:key="'cds' + indexs"
>
<div class="classification_span" @click="clickItem(index, indexs, items)">
<span
:class="activeOptions[index] == items.id ? 'classification_act':''"
>{{ items.name }}</span>
<i
v-if="items.children && openChildren[index].state == true && openChildren[index].index == indexs"
class="el-icon-caret-top"
></i>
<i
v-else-if="items.children && openChildren[index].state == false && openChildren[index].index == indexs"
class="el-icon-caret-bottom"
></i>
<i v-else-if="items.children" class="el-icon-caret-bottom"></i>
</div>
</li>
</ul>
<div
v-if="item.showOpen"
class="classification_line_items_open"
@click="clickOpen(index)"
>
<span v-if="openList[index] == 'down'">收起</span>
<span v-if="openList[index] == 'up'">展开</span>
<i v-if="openList[index] == 'down'" class="el-icon-caret-top"></i>
<i v-if="openList[index] == 'up'" class="el-icon-caret-bottom"></i>
</div>
</div>
<div v-if="openChildren[index].state">
<ul class="classification_children_ul">
<li
class="classification_children_li"
v-for="itemChildren in openChildren[index].act"
:key="itemChildren.id"
>
<div class="classification_span" @click="clickChildren(itemChildren.id, index)">
<span
:class="activeOptions[index] == itemChildren.id ? 'classification_act':''"
>{{ itemChildren.name }}</span>
</div>
</li>
</ul>
</div>
</div>
</div>
</div>
<div class="gray_line"></div>
<el-button
v-for="(item, index) in buttonFilter"
:key="item.name"
size="small"
:class="item.state == false ? 'button_filter':'button_filter_act'"
@click="clickButtonFilter(index)"
>{{ item.name }}</el-button>
<commodity-list :datas="lists" url="urlssss" :paginationShow="true" :pageSizeShow="true" @refresh="getNewList()"></commodity-list>
</block-radius>
</div>
</template>
<script>
import CommodityList from "@/components/commodity-list.vue";
import BlockRadius from "@/components/block-radius";
export default {
components: {
"commodity-list": CommodityList,
BlockRadius
},
props: {
urlList: {
type: String,
default: ""
},
urlFilter: {
type: String,
default: ""
}
},
data: () => ({
search: "",
openList: [0, 0, 0, 0],
openChildren: [
{ index: null, state: false, act: null },
{ index: null, state: false, act: null },
{ index: null, state: false, act: null },
{ index: null, state: false, act: null }
],
activeOptions: [null, null, null, null],
buttonFilter: [
{
name: "综合排序",
state: false
},
{
name: "最新更新",
state: false
},
{
name: "最高人气",
state: false
},
{
name: "最好好评",
state: false
}
],
lists: [
{
id: 0,
title: "水路货物周转量情况",
state: 0,
resourceSummary:
"提供水路货物周转量排名和同比增长的专题数据服务提供水路货物周转量排名和同比增长的专题数据服务提供水路货物周转量排名和同比增长的专题数据服务",
provider: "提供机构提供机构提供机构",
dataField: "经济建设",
serviceType: "数据服务 专题数据服务 企业专题数据服务",
updateTime: "2020-03-12 18:31:12",
numberOfMonth: "2698755",
rate: 3
},
{
id: 1,
title: "水路货物周转量情况",
state: 2,
resourceSummary:
"提供水路货物周转量排名和同比增长的专题数据服务提供水路货物周转量排名和同比增长的专题数据服务提供水路货物周转量排名和同比增长的专题数据服务",
provider: "提供机构提供机构提供机构",
dataField: "经济建设",
serviceType: "数据服务 专题数据服务 企业专题数据服务",
updateTime: "2020-03-12 18:31:12",
numberOfMonth: "2698745",
rate: 3.4
},
{
id: 2,
title: "水路货物周转量情况",
state: 1,
resourceSummary:
"提供水路货物周转量排名和同比增长的专题数据服务提供水路货物周转量排名和同比增长的专题数据服务提供水路货物周转量排名和同比增长的专题数据服务",
provider: "提供机构提供机构提供机构",
dataField: "经济建设",
serviceType: "数据服务 专题数据服务 企业专题数据服务",
updateTime: "2020-03-12 18:31:12",
numberOfMonth: "2698455",
rate: 2.5
},
{
id: 3,
title: "水路货物周转量情况",
state: 0,
resourceSummary:
"提供水路货物周转量排名和同比增长的专题数据服务提供水路货物周转量排名和同比增长的专题数据服务提供水路货物周转量排名和同比增长的专题数据服务",
provider: "提供机构提供机构提供机构",
dataField: "经济建设",
serviceType: "数据服务 专题数据服务 企业专题数据服务",
updateTime: "2020-03-12 18:31:12",
numberOfMonth: "267455",
rate: 3.7
}
],
filterLists: [
{
id: 1283,
name: "数据服务类型",
children: [
{
id: 1233,
name: "诶哦尬舞",
children: [
{ id: 18273, name: "那我空间服务" },
{
id: 12378343,
name: "诶哦尬舞"
},
{
id: 123533,
name: "诶哦尬舞"
}
]
},
{
id: 121833,
name: "诶哦尬舞"
},
{
id: 1234573,
name: "诶哦尬舞"
},
{
id: 134534233,
name: "诶哦尬舞"
},
{
id: 1234533,
name: "诶哦尬舞"
},
{
id: 123533,
name: "诶哦尬舞",
children: [
{ id: 1824573, name: "那我空间服务" },
{
id: 123378343,
name: "诶哦尬舞"
},
{
id: 1235333,
name: "诶哦尬舞"
}
]
},
{
id: 12112833,
name: "诶哦尬舞"
},
{
id: 12341573,
name: "诶哦尬舞"
},
{
id: 1345434233,
name: "诶哦尬舞"
},
{
id: 12345533,
name: "诶哦尬舞"
}
]
},
{
id: 128133,
name: "数据服务类型",
children: [
{
id: 123313,
name: "诶哦尬舞",
children: [
{ id: 1821373, name: "那我个社工师空间服务" },
{
id: 123728343,
name: "诶哦甲方推荐尬舞"
},
{
id: 12312533,
name: "诶哦库空调尬舞"
}
]
},
{
id: 121123833,
name: "诶哦尬舞"
},
{
id: 1231234573,
name: "诶哦达瓦大尬舞"
},
{
id: 13453334233,
name: "诶哦达瓦大尬舞"
},
{
id: 1234123533,
name: "诶哦尬舞"
},
{
id: 123512333,
name: "诶哦尬舞",
children: [
{ id: 1824123573, name: "那我空间服务" },
{
id: 1233738343,
name: "诶哦尬舞"
},
{
id: 123125333,
name: "诶哦尬舞"
}
]
},
{
id: 1211312833,
name: "诶哦挖到尬舞"
},
{
id: 12341231573,
name: "诶哦尬舞"
},
{
id: 13454314233,
name: "诶哦色粉尬舞"
},
{
id: 123452533,
name: "诶环境日哦尬舞"
}
]
}
],
dataServiceType: "",
dataField: "",
dataSourceOrganization: "",
page: 1,
limit: 10,
}),
mounted() {
this.getFwcsList();
this.getFwcsFilter();
this.setTout();
},
methods: {
getFwcsList() {
// dataServiceType: "",
// dataField: "",
// dataSourceOrganization: ""
let url = `${this.urlList}`;
this.$http
.get(url)
.then(response => {
if (response.data.message == "success") {
this.list = response.data.data;
} else {
console.log(response.data.message);
}
})
.catch(function(response) {
this.error = true;
});
},
getFwcsFilter() {
let url = `${this.urlFilter}`;
this.$http
.get(url)
.then(response => {
if (response.data.message == "success") {
this.filterList = response.data.data;
} else {
console.log(response.data.message);
}
})
.catch(function(response) {
this.error = true;
});
},
setTout() {
setTimeout(() => {
this.judgeHeight();
}, 500);
},
judgeHeight() {
let list = this.filterLists;
for (let i = 0; i < list.length; i++) {
let offHeight = document.getElementById(list[i].id).offsetHeight;
if (offHeight > 60) {
list[i].showOpen = true;
this.openList[i] = "up";
} else {
list[i].showOpen = false;
}
}
this.$set((this.filterLists = list));
},
clickOpen(index) {
let list = this.openList;
if (list[index] == "up") {
this.$set(this.openList, index, "down");
} else if (list[index] == "down") {
this.$set(this.openList, index, "up");
}
// 这里不能像上面那样整体更新,因为啥我也不知道,我太菜
console.log(index);
},
clickItem(index, indexs, items) {
this.activeOptions[index] = items.id;
if (items.children) {
if (this.openChildren[index].index == indexs) {
this.$set(this.openChildren, index, {
index: indexs,
state: !this.openChildren[index].state,
act: items.children
});
} else {
this.$set(this.openChildren, index, {
index: indexs,
state: true,
act: items.children
});
}
} else {
this.$set(this.openChildren, index, {
index: null,
state: false,
act: null
});
}
this.getFilterValue(items.id, index);
},
clickButtonFilter(index) {
this.buttonFilter[index].state = !this.buttonFilter[index].state;
this.getFwcsList();
},
clickChildren(id, index) {
this.$set(this.activeOptions, index, id);
this.getFilterValue(id, index);
},
getFilterValue(id, index) {
switch (index) {
case 0:
this.dataServiceType = id;
break;
case 1:
this.dataField = id;
break;
case 2:
this.dataSourceOrganization = id;
break;
default:
break;
}
this.getFwcsList();
},
// search debonce 500ms
searchVal() {
if (this.times !== null) clearTimeout(this.times);
this.times = setTimeout(() => {
this.getFwcsList();
}, 500);
},
getNewList(val) {
this.page = val.page;
this.limit = val.rowsPerPage;
this.getFwcsList();
}
}
};
</script>
<style scoped>
.head_flex {
display: flex;
justify-content: space-between;
}
.bread_left {
width: 300px;
}
.input_right {
width: 300px;
}
.gray_line {
width: 100%;
margin: 20px auto;
height: 1px;
background-color: #e9ecf3;
}
.classification {
}
.classification_line {
width: 100%;
display: flex;
align-items: flex-start;
}
.classification_line_title {
display: inline-block;
width: 130px;
padding: 15px 0;
text-align: right;
}
.classification_line_items {
width: calc(100% - 100px);
}
.classification_line_items_border {
border-bottom: 1px #e9ecf3 solid;
}
.classification_line_hid {
height: 50px;
width: 100%;
overflow: hidden;
display: inline-flex;
align-items: flex-start;
}
.classification_line_show {
width: 100%;
display: inline-flex;
align-items: flex-start;
}
.classification_line_items_ul {
display: inline-block;
width: calc(100% - 50px);
}
.classification_line_items_li {
display: inline-block;
padding: 15px 20px;
}
.classification_line_items_li_act {
background-color: #fbfbfb;
border-left: 1px #e9ecf3 solid;
border-right: 1px #e9ecf3 solid;
}
.classification_span {
color: #58617a;
display: inline-block;
cursor: pointer;
}
.classification_act {
font-weight: 700;
color: #515fe7;
}
.classification_line_items_open {
display: inline-block;
width: 60px;
padding: 15px 0;
cursor: pointer;
}
.classification_children_ul {
display: inline-block;
width: 100%;
background-color: #fbfbfb;
border-top: 1px #e9ecf3 solid;
}
.classification_children_li {
display: inline-block;
padding: 15px 20px;
color: #58617a;
}
.button_filter {
background-color: #e6eefe;
color: #626de9;
}
.button_filter_act {
background-color: #515fe7;
color: #f8f9fd;
}
</style>
<style>
.input_right .el-input__inner {
border-radius: 20px;
}
.input_right .el-input--prefix .el-input__inner {
padding-left: 40px;
}
.input_right .el-input__prefix,
.el-input__suffix {
left: 10px;
}
</style>
\ No newline at end of file
<template>
<div class="service_shop_menu">
<ul class="service_shop_menu_list">
<li v-for="(item, index) in menuList" :key="index" @click="active(item.id)">
<img
v-if="item.id == actives"
:src="require('../assets/imgs/' + item.active + '.png')"
class="menu_img"
/>
<img v-else :src="require('../assets/imgs/' + item.default + '.png')" class="menu_img" />
<span :class="item.id == actives ? 'menu_item_active':'menu_item'">{{ item.label }}</span>
</li>
</ul>
</div>
</template>
<script>
export default {
props: {},
data() {
return {
actives: 0,
menuList: [
{
id: 0,
label: "数据服务",
active: "tool_ic_shujufw_sel",
default: "tool_ic_shujufw"
},
{
id: 1,
label: "时空服务",
active: "tool_ic_shikongfw_sel",
default: "tool_ic_shikongfw"
},
{
id: 2,
label: "视频服务",
active: "tool_ic_shipinfw_sel",
default: "tool_ic_shipinfw"
},
{
id: 3,
label: "感知服务",
active: "tool_ic_ganzhifw_sel",
default: "tool_ic_ganzhifw"
},
{
id: 4,
label: "综合应用服务",
active: "tool_ic_zongheyyfw_sel",
default: "tool_ic_zongheyyfw"
},
{
id: 5,
label: "云资源服务",
active: "tool_ic_yunziyuanfw_sel",
default: "tool_ic_yunziyuanfw"
},
{
id: 6,
label: "应用商店",
active: "tool_ic_yingyongsd_sel",
default: "tool_ic_yingyongsd"
}
]
};
},
computed: {
getActive() {
return this.$store.state.serviceShopMenu;
}
},
watch: {
getActive(newVal) {
this.getActiveMenu(newVal);
}
},
methods: {
active(id) {
this.$store.commit("serviceShopMenuAct", id);
},
getActiveMenu(val) {
this.actives = val;
}
}
};
</script>
<style scoped>
.service_shop_menu {
background-color: #0d1847;
position: fixed;
top: 84px;
left: 0;
width: 200px;
height: 100%;
padding-top: 30px;
}
.service_shop_menu_list > li {
padding: 16px 10px 8px 22px;
border-left: 5px solid #0d1847;
font-size: 16px;
line-height: 24px;
cursor: pointer;
}
.service_shop_menu_list > li:hover,
.service_shop_menu_list > li.current {
border-left: 5px solid #e56600;
background-color: #182665;
color: #e6ebfe;
}
.menu_img {
width: 25px;
margin-right: 6px;
}
.menu_item {
position: relative;
color: #6573ae;
top: -6px;
}
.menu_item_active {
position: relative;
color: #e6ebfe;
top: -6px;
}
</style>
<template> <template>
<el-tabs <el-tabs
class="service_info_tab"
type="border-card"
v-model="serviceTabsActiveName" v-model="serviceTabsActiveName"
type="card"
@tab-click="handleClick"
:stretch="true" :stretch="true"
style="margin-top: 20px;" style="margin-top: 20px;"
> >
...@@ -545,22 +545,21 @@ export default { ...@@ -545,22 +545,21 @@ export default {
], ],
}, // 服务评价信息 }, // 服务评价信息
}), }),
methods: { methods: {},
handleClick(tab, event) {
console.log(tab, event);
},
},
mounted() {}, mounted() {},
}; };
</script> </script>
<style scoped> <style scoped>
.service_info_tab {
width: 70%;
margin: 0 auto;
}
.service_info { .service_info {
width: 80%; min-height: 500px;
padding: 10px 20px; padding: 10px 20px;
margin: 0 auto;
box-sizing: border-box; box-sizing: border-box;
background-color: #eee; /* background-color: #eee; */
} }
.service_info .fwxqxx_item { .service_info .fwxqxx_item {
margin-bottom: 20px; margin-bottom: 20px;
......
...@@ -182,45 +182,47 @@ ...@@ -182,45 +182,47 @@
<!-- 分页 --> <!-- 分页 -->
<section class="ces-pagination" v-if="paginationShow"> <section class="ces-pagination" v-if="paginationShow">
<div class="ces_page_total">共 {{ pagination.total }} 个条目</div> <div class="ces_page_total">共 {{ pagination.total }} 个条目</div>
<div class="ces_page_num" v-if="pageSizeShow"> <div class="ces_page_item">
<div class="ces_page_num_sel"> <div class="ces_page_num" v-if="pageSizeShow">
<el-select <div>每页行数:</div>
v-model="pagination.rowsPerPage" <div class="ces_page_num_sel">
placeholder="请选择" <el-select
size="mini" v-model="pagination.rowsPerPage"
@change="handleSizeChange" placeholder="请选择"
> size="small"
<el-option @change="handleSizeChange"
v-for="item in pageOptions" >
:key="item.value" <el-option
:label="item.label" v-for="item in pageOptions"
:value="item.value" :key="item.value"
></el-option> :label="item.label"
</el-select> :value="item.value"
></el-option>
</el-select>
</div>
</div> </div>
<div>条 / 页</div> <div class="ces_page_control">
</div> <el-button
<div class="ces_page_control"> icon="el-icon-arrow-left"
<el-button circle
icon="el-icon-arrow-left" size="mini"
circle @click="handleCurrentChange(-1)"
size="mini" :disabled="pagination.page == 1"
@click="handleCurrentChange(-1)" ></el-button>
:disabled="pagination.page == 1" &nbsp;&nbsp;第{{ pagination.page }}页 / 共{{
></el-button> Math.ceil(pagination.total / pagination.rowsPerPage)
&nbsp;&nbsp;第{{ pagination.page }}页 / 共{{ }}页
Math.ceil(pagination.total / pagination.rowsPerPage) <el-button
}}页 icon="el-icon-arrow-right"
<el-button circle
icon="el-icon-arrow-right" size="mini"
circle @click="handleCurrentChange(1)"
size="mini" :disabled="
@click="handleCurrentChange(1)"
:disabled="
pagination.page >= pagination.page >=
Math.ceil(pagination.total / pagination.rowsPerPage) Math.ceil(pagination.total / pagination.rowsPerPage)
" "
></el-button> ></el-button>
</div>
</div> </div>
</section> </section>
</section> </section>
...@@ -467,10 +469,12 @@ export default { ...@@ -467,10 +469,12 @@ export default {
}, },
handleCurrentChange(val) { handleCurrentChange(val) {
this.pagination.page += val; this.pagination.page += val;
this.getDataFromApiSync();
this.$emit("refresh"); this.$emit("refresh");
}, },
handleSizeChange(val) { handleSizeChange(val) {
this.pagination.rowsPerPage = val; this.pagination.rowsPerPage = val;
this.getDataFromApiSync();
this.$emit("refresh"); this.$emit("refresh");
}, },
renderHeader(h, obj) { renderHeader(h, obj) {
...@@ -698,6 +702,13 @@ em.action { ...@@ -698,6 +702,13 @@ em.action {
.th_pink { .th_pink {
background-color: #faf2e2 !important; background-color: #faf2e2 !important;
} }
.ces_page_control .el-button {
border: 0;
}
.ces_page_num .el-input__inner {
border: 0;
padding: 0;
}
</style> </style>
<style scoped> <style scoped>
.ces-table { .ces-table {
...@@ -728,13 +739,17 @@ em.action { ...@@ -728,13 +739,17 @@ em.action {
/* .ces_page_total { /* .ces_page_total {
} */ } */
.ces_page_num { .ces_page_num {
width: 120px; width: 140px;
margin-right: 20px;
display: flex; display: flex;
justify-content: space-around; justify-content: space-around;
align-items: center; align-items: center;
} }
.ces_page_num_sel { .ces_page_num_sel {
width: 66px; width: 50px;
font-size: 14px;
position: relative;
top: 1px;
} }
.table_radius { .table_radius {
border-radius: 8px; border-radius: 8px;
...@@ -813,7 +828,9 @@ em.action { ...@@ -813,7 +828,9 @@ em.action {
background-color: #515fe7; background-color: #515fe7;
color: #f4f7fc; color: #f4f7fc;
} }
.ces_page_control .el-button { .ces_page_item {
border: 0; display: flex;
justify-content: flex-end;
align-items: center;
} }
</style> </style>
<template>
<div class="service_list">
<el-container>
<el-aside width="200px">
<service-shop-menu></service-shop-menu>
</el-aside>
<el-main>
<service-list urlList="url1sss" urlFilter="urldwad2222"></service-list>
</el-main>
</el-container>
</div>
</template>
<script>
import ServiceShopMenu from "@/components/service_shop_menu";
import ServiceList from "@/components/service_list";
export default {
components: {
ServiceShopMenu,
ServiceList
},
data: () => ({}),
mounted() {},
methods: {
}
};
</script>
<style scoped>
</style>
\ No newline at end of file
...@@ -17,7 +17,7 @@ export default { ...@@ -17,7 +17,7 @@ export default {
BlockRadius BlockRadius
}, },
data: () => ({ data: () => ({
list: [1, 2, 3, 4, 5, 6] list: [{ id: 0 }, { id: 1 }, { id: 2 }, { id: 3 }, { id: 4 }, { id: 5 }]
}), }),
mounted() {}, mounted() {},
methods: {} methods: {}
......
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
@primary-del="delItem" @primary-del="delItem"
:emptyText="emptyText" :emptyText="emptyText"
:stripe="true" :stripe="true"
:paginationShow="true"
:pageSizeShow="true" :pageSizeShow="true"
:filterList="filterList" :filterList="filterList"
cellClassName="cell_width" cellClassName="cell_width"
......
<template> <template>
<div class="fwgl_container"> <div class="fwgl_container">
<side-nav-bar :nav-list="navList" :title-path="navList[0].path"></side-nav-bar> <side-nav-bar
:nav-list="navList"
:title-path="navList[0] && navList[0].path"
></side-nav-bar>
<div class="main_container"> <div class="main_container">
<router-view <router-view
:key="'type_' + $route.params && $route.params.type" :key="'type_' + $route.params && $route.params.type"
...@@ -18,66 +21,75 @@ export default { ...@@ -18,66 +21,75 @@ export default {
}, },
data: () => ({ data: () => ({
navList: [], navList: [],
userLevel: 0,
}), }),
mounted() { watch: {
this.navList = [ "$route.fullPath"(path) {
this.initNavList();
},
},
methods: {
initNavList() {
let level = parseInt(this.$route.params.level);
// 普通用户 // 普通用户
{ if (level == 0) {
level: 0, this.navList = [
name: "注册发布的服务", {
path: "/fwgl/list/0/注册发布的服务", name: "注册发布的服务",
}, path: `/fwgl/list/${level}/0`,
{ },
level: 0, {
name: "申请的服务", name: "申请的服务",
path: "/fwgl/list/1/申请的服务", path: `/fwgl/list/${level}/1`,
}, },
{ {
level: 0, name: "审批的服务",
name: "审批的服务", path: `/fwgl/list/${level}/2`,
path: "/fwgl/list/2/审批的服务", },
}, {
{ name: "云资源服务",
level: 0, path: `/fwgl/list/${level}/3`,
name: "云资源服务", },
path: "/fwgl/list/3/云资源服务", ];
}, }
// 组织管理员 // 组织管理员
{ else if (level == 1) {
level: 1, this.navList = [
name: "组织服务管理", {
path: "/fwgl/list/4/组织服务管理", name: "组织服务管理",
}, path: `/fwgl/list/${level}/0`,
{ },
level: 1, {
name: "服务审批管理", name: "服务审批管理",
path: "/fwgl/list/5/服务审批管理", path: `/fwgl/list/${level}/1`,
}, },
{ {
level: 1, name: "云资源管理",
name: "云资源管理", path: `/fwgl/list/${level}/2`,
path: "/fwgl/list/6/云资源管理", },
}, ];
}
// 超级管理员 // 超级管理员
{ else if (level == 2) {
level: 2, this.navList = [
name: "平台服务管理", {
path: "/fwgl/list/7/平台服务管理", name: "平台服务管理",
}, path: `/fwgl/list/${level}/0`,
{ },
level: 2, {
name: "服务审批管理", name: "服务审批管理",
path: "/fwgl/list/8/服务审批管理", path: `/fwgl/list/${level}/1`,
}, },
{ {
level: 2, name: "云资源管理",
name: "云资源管理", path: `/fwgl/list/${level}/2`,
path: "/fwgl/list/9/云资源管理", },
}, ];
].filter((nav) => nav.level === this.userLevel); }
},
// this.$router.push(this.navList[0].path); },
mounted() {
this.initNavList();
}, },
}; };
</script> </script>
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
class="r_yhgl_table" class="r_yhgl_table"
size="mini" size="mini"
url="tableData" url="tableData"
detailsUrl="/fwgl/servicedetail/" :detailsUrl="`/fwgl/servicedetail/${$route.params.level}/`"
:border="false" :border="false"
:headers="headers" :headers="headers"
:searchShow="true" :searchShow="true"
...@@ -104,7 +104,7 @@ export default { ...@@ -104,7 +104,7 @@ export default {
this.$refs.myConfirm.showModel(); this.$refs.myConfirm.showModel();
}, },
editItem(item) { editItem(item) {
this.$router.push("/fwgl/serviceedit/" + item.id); this.$router.push(`/fwgl/serviceedit/${this.$route.params.level}/${item.id}`);
}, },
soldOutItem(item) { soldOutItem(item) {
this.confirmOptions.title = "是否删除该条服务?"; this.confirmOptions.title = "是否删除该条服务?";
...@@ -132,161 +132,158 @@ export default { ...@@ -132,161 +132,158 @@ export default {
}, },
}, },
mounted() { mounted() {
switch (parseInt(this.$route.params.type)) { let level = parseInt(this.$route.params.level);
case 0: let type = parseInt(this.$route.params.type);
this.headers = [
{ label: "服务名称", prop: "name", type: "href", align: "left" }, if (level == 0 && type == 0) {
{ label: "服务url", prop: "date", type: "", align: "center" }, this.headers = [
{ label: "开放程度", prop: "address", type: "", align: "center" }, { label: "服务名称", prop: "name", type: "href", align: "left" },
{ label: "服务描述", prop: "address", type: "", align: "left" }, { label: "服务url", prop: "date", type: "", align: "center" },
{ { label: "开放程度", prop: "address", type: "", align: "center" },
label: "注册发布时间", { label: "服务描述", prop: "address", type: "", align: "left" },
prop: "address", {
type: "", label: "注册发布时间",
align: "center", prop: "address",
}, type: "",
{ label: "服务类型", prop: "address", type: "", align: "center" }, align: "center",
{ },
label: "操作", { label: "服务类型", prop: "address", type: "", align: "center" },
type: "Button", {
align: "center", label: "操作",
width: 240, type: "Button",
btnList: [ align: "center",
{ width: 240,
type: "action-edit", btnList: [
label: "编辑", {
line: "|", type: "action-edit",
}, label: "编辑",
{ line: "|",
type: "action-sold-out", },
label: "申请下架", {
line: "|", type: "action-sold-out",
}, label: "申请下架",
{ line: "|",
type: "action-delete", },
label: "删除", {
}, type: "action-delete",
], label: "删除",
}, },
]; ],
break; },
case 1: ];
this.headers = [ } else if (level == 0 && type == 1) {
{ label: "服务名称", prop: "name", type: "href", align: "left" }, this.headers = [
{ label: "服务领域", prop: "date", type: "", align: "center" }, { label: "服务名称", prop: "name", type: "href", align: "left" },
{ label: "开放程度", prop: "address", type: "", align: "center" }, { label: "服务领域", prop: "date", type: "", align: "center" },
{ label: "服务描述", prop: "address", type: "", align: "left" }, { label: "开放程度", prop: "address", type: "", align: "center" },
{ label: "申请时间", prop: "address", type: "", align: "left" }, { label: "服务描述", prop: "address", type: "", align: "left" },
{ label: "服务类型", prop: "address", type: "", align: "center" }, { label: "申请时间", prop: "address", type: "", align: "left" },
{ { label: "服务类型", prop: "address", type: "", align: "center" },
label: "操作", {
type: "Button", label: "操作",
align: "center", type: "Button",
width: 160, align: "center",
btnList: [ width: 160,
{ btnList: [
type: "action-cancel", {
label: "取消", type: "action-cancel",
line: "|", label: "取消",
}, line: "|",
{ },
type: "action-delete", {
label: "删除", type: "action-delete",
}, label: "删除",
], },
}, ],
]; },
break; ];
case 2: } else if (level == 0 && type == 2) {
this.headers = [ this.headers = [
{ label: "服务名称", prop: "name", type: "href", align: "left" }, { label: "服务名称", prop: "name", type: "href", align: "left" },
{ label: "服务领域", prop: "address", type: "", align: "center" }, { label: "服务领域", prop: "address", type: "", align: "center" },
{ label: "开放程度", prop: "address", type: "", align: "center" }, { label: "开放程度", prop: "address", type: "", align: "center" },
{ label: "请求方式", prop: "address", type: "", align: "center" }, { label: "请求方式", prop: "address", type: "", align: "center" },
{ label: "服务描述", prop: "address", type: "", align: "left" }, { label: "服务描述", prop: "address", type: "", align: "left" },
{ label: "审批时间", prop: "address", type: "", align: "center" }, { label: "审批时间", prop: "address", type: "", align: "center" },
{ label: "服务类型", prop: "address", type: "", align: "center" }, { label: "服务类型", prop: "address", type: "", align: "center" },
{ label: "审批状态", prop: "address", type: "", align: "center" }, { label: "审批状态", prop: "address", type: "", align: "center" },
{ {
label: "操作", label: "操作",
type: "Button", type: "Button",
align: "center", align: "center",
width: 160, width: 160,
btnList: [ btnList: [
{ {
type: "action-examine", type: "action-examine",
label: "审批", label: "审批",
line: "|", line: "|",
}, },
{ {
type: "action-delete", type: "action-delete",
label: "删除", label: "删除",
}, },
], ],
}, },
]; ];
break; } else if (level == 0 && type == 2) {
case 3: this.headers = [
this.headers = [ { label: "工作区域", prop: "name", type: "href", align: "left" },
{ label: "工作区域", prop: "name", type: "href", align: "left" }, { label: "网络环境", prop: "name", type: "", align: "center" },
{ label: "网络环境", prop: "name", type: "", align: "center" }, { label: "CPU(核)", prop: "name", type: "", align: "center" },
{ label: "CPU(核)", prop: "name", type: "", align: "center" }, { label: "内存(GB)", prop: "name", type: "", align: "center" },
{ label: "内存(GB)", prop: "name", type: "", align: "center" }, { label: "资源总量(GB)", prop: "name", type: "", align: "center" },
{ label: "资源总量(GB)", prop: "name", type: "", align: "center" }, { label: "实例数(个)", prop: "name", type: "", align: "center" },
{ label: "实例数(个)", prop: "name", type: "", align: "center" }, { label: "申请时间", prop: "name", type: "", align: "center" },
{ label: "申请时间", prop: "name", type: "", align: "center" }, { label: "申请状态", prop: "name", type: "", align: "center" },
{ label: "申请状态", prop: "name", type: "", align: "center" }, {
{ label: "操作",
label: "操作", type: "Button",
type: "Button", align: "center",
align: "center", width: 160,
width: 160, btnList: [
btnList: [ {
{ type: "action-detail",
type: "action-detail", label: "查看详情",
label: "查看详情", },
}, ],
], },
}, ];
]; } else {
break; this.headers = [
default: { label: "服务名称", prop: "name", type: "href", align: "left" },
this.headers = [ { label: "服务url", prop: "date", type: "", align: "center" },
{ label: "服务名称", prop: "name", type: "href", align: "left" }, { label: "开放程度", prop: "address", type: "", align: "center" },
{ label: "服务url", prop: "date", type: "", align: "center" }, { label: "服务描述", prop: "address", type: "", align: "left" },
{ label: "开放程度", prop: "address", type: "", align: "center" }, {
{ label: "服务描述", prop: "address", type: "", align: "left" }, label: "注册发布时间",
{ prop: "address",
label: "注册发布时间", type: "",
prop: "address", align: "center",
type: "", },
align: "center", { label: "服务类型", prop: "address", type: "", align: "center" },
}, {
{ label: "服务类型", prop: "address", type: "", align: "center" }, label: "操作",
{ type: "Button",
label: "操作", align: "center",
type: "Button", width: 240,
align: "center", btnList: [
width: 160, {
btnList: [ type: "action-edit",
{ label: "编辑",
type: "action-edit", line: "|",
label: "编辑", },
line: "|", {
}, type: "action-sold-out",
{ label: "申请下架",
type: "action-sold-out", line: "|",
label: "申请下架", },
line: "|", {
}, type: "action-delete",
{ label: "删除",
type: "action-delete", },
label: "删除", ],
}, },
], ];
},
];
break;
} }
}, },
}; };
......
...@@ -183,7 +183,12 @@ ...@@ -183,7 +183,12 @@
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<p class="formname">服务描述:</p> <p class="formname">服务描述:</p>
<el-input type="textarea" v-model="form.desc" placeholder="请输入服务描述,不超过200个字" class="form_in"></el-input> <el-input
type="textarea"
v-model="form.desc"
placeholder="请输入服务描述,不超过200个字"
class="form_in"
></el-input>
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<p class="formname">服务领域:</p> <p class="formname">服务领域:</p>
...@@ -232,8 +237,8 @@ ...@@ -232,8 +237,8 @@
</el-form-item> </el-form-item>
<el-form-item class="btn_footer"> <el-form-item class="btn_footer">
<el-button class="previous" @click="previous">上一步</el-button> <el-button class="previous" @click="previous">上一步</el-button>
<el-button class="registe" @click="registe">服务注册</el-button> <el-button class="registe" @click="registe">服务注册</el-button>
</el-form-item> </el-form-item>
</el-form> </el-form>
</div> </div>
...@@ -388,10 +393,6 @@ export default { ...@@ -388,10 +393,6 @@ export default {
margin-top: -157px; margin-top: -157px;
margin-bottom: 20px; margin-bottom: 20px;
} }
.bread_crumb {
margin: 20px;
font-size: 14px;
}
.fwcs_btn_act { .fwcs_btn_act {
width: 100px; width: 100px;
background-color: #e56600; background-color: #e56600;
...@@ -521,12 +522,6 @@ export default { ...@@ -521,12 +522,6 @@ export default {
} }
</style> </style>
<style> <style>
.bread_crumb .el-breadcrumb__inner {
color: #b4c0f5 !important;
}
.bread_crumb .is-link {
color: #626de9 !important;
}
.fwcs_fwdz_inner .el-select .el-input { .fwcs_fwdz_inner .el-select .el-input {
width: 130px; width: 130px;
background-color: #0f2683; background-color: #0f2683;
......
<template>
<div class="com_ex">
<block-radius>
<el-breadcrumb separator="/" class="bread_crumb">
<el-breadcrumb-item>服务超市</el-breadcrumb-item>
<el-breadcrumb-item>数据服务</el-breadcrumb-item>
<el-breadcrumb-item>服务详情信息</el-breadcrumb-item>
</el-breadcrumb>
<Commodity :datas="datas" />
<servive-info></servive-info>
</block-radius>
</div>
</template>
<script>
// @ is an alias to /src
import Commodity from "@/components/commodity.vue";
import BlockRadius from "@/components/block-radius";
import serviveInfo from "@/components/servive-info";
export default {
components: {
Commodity,
BlockRadius,
serviveInfo,
},
data: () => ({
datas: {
productName: "地图视频融合服务",
providedBy: "北京比格数据",
releaseTime: "2020-03-12 18:31:12",
updated: "2020-03-12 18:31:12",
dataField: "经济建设",
serviceType: "综合应用服务",
resourceSummary:
"提供视频监控的空间分布展示和视频监控直播的服务提供视频监控的空间分布展示和视频监控直播的服务",
openLevel: "共享",
views: "99999",
numberOfAcquisitions: "99999",
specifications:
"用户服务申请通过审核确认后,每日可对应急资源地图进行20次免费访问用户服务申请通过审核确认后,每日可对应急资源地图进行20次免费访问",
},
}),
mounted() {},
methods: {},
};
</script>
<style scoped>
.com_ex {
margin-top: 100px;
padding: 20px;
}
</style>
<template>
<div class="com_ex">
<block-radius>
<el-breadcrumb separator="/" class="bread_crumb">
<el-breadcrumb-item>服务超市</el-breadcrumb-item>
<el-breadcrumb-item>数据服务</el-breadcrumb-item>
<el-breadcrumb-item>服务详情信息</el-breadcrumb-item>
</el-breadcrumb>
<Commodity :datas="datas" />
<servive-info></servive-info>
</block-radius>
</div>
</template>
<script>
// @ is an alias to /src
import Commodity from "@/components/commodity.vue";
import BlockRadius from "@/components/block-radius";
import serviveInfo from "@/components/servive-info";
export default {
components: {
Commodity,
BlockRadius,
serviveInfo,
},
data: () => ({
datas: {
productName: "地图视频融合服务",
providedBy: "北京比格数据",
releaseTime: "2020-03-12 18:31:12",
updated: "2020-03-12 18:31:12",
dataField: "经济建设",
serviceType: "综合应用服务",
resourceSummary:
"提供视频监控的空间分布展示和视频监控直播的服务提供视频监控的空间分布展示和视频监控直播的服务",
openLevel: "共享",
views: "99999",
numberOfAcquisitions: "99999",
specifications:
"用户服务申请通过审核确认后,每日可对应急资源地图进行20次免费访问用户服务申请通过审核确认后,每日可对应急资源地图进行20次免费访问",
},
}),
mounted() {},
methods: {},
};
</script>
<style scoped>
.com_ex {
margin-top: 100px;
padding: 20px;
}
</style>
<template>
<div class="com_ex">
<block-radius>
<el-breadcrumb separator="/" class="bread_crumb">
<el-breadcrumb-item>服务超市</el-breadcrumb-item>
<el-breadcrumb-item>数据服务</el-breadcrumb-item>
<el-breadcrumb-item>服务详情信息</el-breadcrumb-item>
</el-breadcrumb>
<Commodity :datas="datas" />
<servive-info></servive-info>
</block-radius>
</div>
</template>
<script>
// @ is an alias to /src
import Commodity from "@/components/commodity.vue";
import BlockRadius from "@/components/block-radius";
import serviveInfo from "@/components/servive-info";
export default {
components: {
Commodity,
BlockRadius,
serviveInfo,
},
data: () => ({
datas: {
productName: "地图视频融合服务",
providedBy: "北京比格数据",
releaseTime: "2020-03-12 18:31:12",
updated: "2020-03-12 18:31:12",
dataField: "经济建设",
serviceType: "综合应用服务",
resourceSummary:
"提供视频监控的空间分布展示和视频监控直播的服务提供视频监控的空间分布展示和视频监控直播的服务",
openLevel: "共享",
views: "99999",
numberOfAcquisitions: "99999",
specifications:
"用户服务申请通过审核确认后,每日可对应急资源地图进行20次免费访问用户服务申请通过审核确认后,每日可对应急资源地图进行20次免费访问",
},
}),
mounted() {},
methods: {},
};
</script>
<style scoped>
.com_ex {
margin-top: 100px;
padding: 20px;
}
</style>
...@@ -24,6 +24,21 @@ export default new Router({ ...@@ -24,6 +24,21 @@ export default new Router({
component: () => import("@/pages/index"), component: () => import("@/pages/index"),
redirect: "/workplace", redirect: "/workplace",
children: [ children: [
{
path: "/sjfwDetail",
name: "sjfwDetail",
component: () => import("@/pages/sjfwDetail"),
}, // 数据服务详情
{
path: "/skfwDetail",
name: "skfwDetail",
component: () => import("@/pages/skfwDetail"),
}, // 时空服务详情
{
path: "/zhyyfwDetail",
name: "zhyyfwDetail",
component: () => import("@/pages/zhyyfwDetail"),
}, // 综合应用服务详情
{ {
path: "/workplace", path: "/workplace",
name: "workPlace", name: "workPlace",
...@@ -43,23 +58,23 @@ export default new Router({ ...@@ -43,23 +58,23 @@ export default new Router({
], ],
}, },
{ {
path: "/fwgl", // 服务管理 path: "/fwgl/:level", // 服务管理 level:用户等级
name: "fwgl", name: "fwgl",
// redirect: "/fwgl/list", redirect: "/fwgl/list/:level/0",
component: () => import("@/pages/fwgl"), component: () => import("@/pages/fwgl"),
children: [ children: [
{ {
path: "/fwgl/list/:type/:name", // 服务管理/我的服务 path: "/fwgl/list/:level/:type", // 服务管理/我的服务
name: "fwglList", name: "fwglList",
component: () => import("@/pages/fwglList"), component: () => import("@/pages/fwglList"),
}, },
{ {
path: "/fwgl/servicedetail/:id", path: "/fwgl/servicedetail/:level/:id",
name: "servicedetail", name: "servicedetail",
component: () => import("@/pages/serviceDetail"), component: () => import("@/pages/serviceDetail"),
}, },
{ {
path: "/fwgl/serviceedit/:id", path: "/fwgl/serviceedit/:level/:id",
name: "serviceedit", name: "serviceedit",
component: () => import("@/pages/serviceEdit"), component: () => import("@/pages/serviceEdit"),
}, },
...@@ -75,6 +90,18 @@ export default new Router({ ...@@ -75,6 +90,18 @@ export default new Router({
}, },
], ],
}, },
{
path: "/fwcs", // 服务超市
name: "fwcs",
component: () => import("@/pages/data_service_list"),
children: [
{
path: "/data_service_list", // 服务超市列表页
name: "fwcsDataList",
component: () => import("@/pages/data_service_list"),
},
],
},
], ],
}, },
{ {
...@@ -100,17 +127,17 @@ export default new Router({ ...@@ -100,17 +127,17 @@ export default new Router({
{ {
path: "/example_topology", // 拓扑图实例 path: "/example_topology", // 拓扑图实例
name: "example_topology", name: "example_topology",
component: () => import("@/pages/example_topology") component: () => import("@/pages/example_topology"),
}, },
{ {
path: "/example_commodity", // 商品详情实例 path: "/example_commodity", // 商品详情实例
name: "example_commodity", name: "example_commodity",
component: () => import("@/pages/example_commodity") component: () => import("@/pages/example_commodity"),
}, },
{ {
path: "/example_com_list", // 商品列表实例 path: "/example_com_list", // 商品列表实例
name: "example_com_list", name: "example_com_list",
component: () => import("@/pages/example_com_list") component: () => import("@/pages/example_com_list"),
} },
] ],
}); });
...@@ -13,3 +13,46 @@ module.exports.GetProperty = function (obj, prop) { ...@@ -13,3 +13,46 @@ module.exports.GetProperty = function (obj, prop) {
} }
return res; return res;
} }
module.exports.ymhdateFormat = function (timestamp) {
let date = new Date(timestamp);
let ret;
const opt = {
"Y+": date.getFullYear().toString(), // 年
"m+": (date.getMonth() + 1).toString(), // 月
"d+": date.getDate().toString(), // 日
"H+": date.getHours().toString(), // 时
"M+": date.getMinutes().toString(), // 分
"S+": date.getSeconds().toString() // 秒
// 有其他格式化字符需求可以继续添加,必须转化成字符串
};
var fmt="YYYY-mm-dd HH:MM:SS"
for (let k in opt) {
ret = new RegExp("(" + k + ")").exec(fmt);
if (ret) {
fmt = fmt.replace(ret[1], (ret[1].length == 1) ? (opt[k]) : (opt[k].padStart(ret[1].length, "0")))
};
};
return fmt;
}
module.exports.dateFormat = function (fmt, timestamp) {
let date = new Date(timestamp);
let ret;
const opt = {
"Y+": date.getFullYear().toString(), // 年
"m+": (date.getMonth() + 1).toString(), // 月
"d+": date.getDate().toString(), // 日
"H+": date.getHours().toString(), // 时
"M+": date.getMinutes().toString(), // 分
"S+": date.getSeconds().toString() // 秒
// 有其他格式化字符需求可以继续添加,必须转化成字符串
};
for (let k in opt) {
ret = new RegExp("(" + k + ")").exec(fmt);
if (ret) {
fmt = fmt.replace(ret[1], (ret[1].length == 1) ? (opt[k]) : (opt[k].padStart(ret[1].length, "0")))
};
};
return fmt;
}
\ No newline at end of file
...@@ -5,7 +5,8 @@ Vue.use(Vuex); ...@@ -5,7 +5,8 @@ Vue.use(Vuex);
const store = new Vuex.Store({ const store = new Vuex.Store({
state: { state: {
role:1,//0:普通用户,1:组织管理员,2:超级管理员 role: 1,//0:普通用户,1:组织管理员,2:超级管理员
serviceShopMenu: 0, // 服务超市侧边栏
}, },
modules: { modules: {
}, },
...@@ -13,6 +14,9 @@ const store = new Vuex.Store({ ...@@ -13,6 +14,9 @@ const store = new Vuex.Store({
rolefun(state, newValue) { rolefun(state, newValue) {
state.role = newValue; state.role = newValue;
}, },
serviceShopMenuAct(state, newValue) {
state.serviceShopMenu = newValue;
},
}, },
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment