diff --git a/package.json b/package.json index 6742000703b3e0663813c130f0971158661bd7eb..1660aed5e880221d987076b56342ad08c4ebc465 100644 --- a/package.json +++ b/package.json @@ -17,6 +17,7 @@ "babel-polyfill": "^6.26.0", "codemirror": "^5.45.0", "echarts": "^4.8.0", + "echarts-liquidfill": "^2.0.6", "element-ui": "^2.11.1", "js-yaml": "^3.13.1", "json2yaml": "^1.1.0", diff --git a/src/components/allot-info-confirm.vue b/src/components/allot-info-confirm.vue index 003cd0b8cf3211db0d31d1832ee41851df12f15f..2de4b37c9d0c4335e063b7e64521fab07e97522c 100644 --- a/src/components/allot-info-confirm.vue +++ b/src/components/allot-info-confirm.vue @@ -110,7 +110,7 @@ export default { this.$http .get("/apaas/service/v3/resource/apply/distributionDisplay", { params: { - apply_id: apply_id, + apply_id: apply_id }, }) .then(({ data }) => { @@ -146,6 +146,7 @@ export default { params: { id: this.detail.id, user_id: this.detail.user_id, + namespace: this.detail.namespace }, }) .then(({ data }) => { diff --git a/src/components/e-charts/bar-chart.vue b/src/components/e-charts/bar-chart.vue index 41b06568865c7a501fd87743d98057765ec4e3cd..1bc083d1b85c0f8361c9a6746cee64b6ebe36338 100644 --- a/src/components/e-charts/bar-chart.vue +++ b/src/components/e-charts/bar-chart.vue @@ -32,8 +32,12 @@ export default { } }, show_split: { - typr: Boolean, + type: Boolean, default: false + }, + x_router: { + type: Number, + default: 0 } }, data: () => ({}), @@ -60,7 +64,7 @@ export default { fontSize: 12 }, interval: 0, - rotate: 30, + rotate: self.x_router, formatter: function(value) { let valueTxt = ""; if (value.length > 6) { diff --git a/src/components/e-charts/graph.vue b/src/components/e-charts/graph.vue index 1c8c341b3a7124fe727c75fe45525b4d7b8b3ea8..7057049186fc59a6bb09534614f51e01cc1c2d5d 100644 --- a/src/components/e-charts/graph.vue +++ b/src/components/e-charts/graph.vue @@ -17,9 +17,7 @@ export default { } } }, - data: () => ({ - navList: [] - }), + data: () => ({}), mounted() {}, methods: { graph() { @@ -95,7 +93,7 @@ export default { lineStyle: { width: 2, color: "#274fee", - shadowColor: "rgb(39, 79, 238, 0.3)", + shadowColor: "rgb(39, 79, 238, 0.4)", shadowBlur: 5, shadowOffsetY: 8 } @@ -112,7 +110,7 @@ export default { lineStyle: { width: 2, color: "#ef9433", - shadowColor: "rgb(239, 148, 51, 0.3)", + shadowColor: "rgb(239, 148, 51, 0.4)", shadowBlur: 5, shadowOffsetY: 8 } diff --git a/src/components/e-charts/water-polo.vue b/src/components/e-charts/water-polo.vue new file mode 100644 index 0000000000000000000000000000000000000000..6d03beeea59fb448e232ffc27049819ba96795c3 --- /dev/null +++ b/src/components/e-charts/water-polo.vue @@ -0,0 +1,176 @@ + + + + \ No newline at end of file diff --git a/src/components/topology.vue b/src/components/topology.vue index 4ba94fc5ca8a878c94673c0775a9a0fa890961ac..866845a6899b38799447591e382f23aca3febbfd 100644 --- a/src/components/topology.vue +++ b/src/components/topology.vue @@ -416,7 +416,7 @@ export default { diff --git a/src/pages/user/order/order_list.vue b/src/pages/user/order/order_list.vue index 11f5dde3ecc44d9bc6c679f43cc29863fae12429..49ca27d60a2d32b0e0eb75d448748f43b6dd6467 100644 --- a/src/pages/user/order/order_list.vue +++ b/src/pages/user/order/order_list.vue @@ -15,7 +15,6 @@ export default { OrderList }, data: () => ({ - navList: [] }), mounted() {}, methods: {} diff --git a/yarn.lock b/yarn.lock index a54741ff02285cd41f990c1166c7eaf7fba629cf..d907cfe763624d0060716ab6ac851fe97964f379 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2706,6 +2706,11 @@ duplexify@^3.4.2, duplexify@^3.6.0: readable-stream "^2.0.0" stream-shift "^1.0.0" +echarts-liquidfill@^2.0.6: + version "2.0.6" + resolved "https://registry.npm.taobao.org/echarts-liquidfill/download/echarts-liquidfill-2.0.6.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fecharts-liquidfill%2Fdownload%2Fecharts-liquidfill-2.0.6.tgz#0668dc61d87a6262003090bd32c55aa8108c252e" + integrity sha1-BmjcYdh6YmIAMJC9MsVaqBCMJS4= + echarts@^4.8.0: version "4.8.0" resolved "https://registry.yarnpkg.com/echarts/-/echarts-4.8.0.tgz#b2c1cfb9229b13d368ee104fc8eea600b574d4c4" @@ -7528,6 +7533,16 @@ xtend@^4.0.0, xtend@~4.0.1: resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.2.tgz#bb72779f5fa465186b1f438f674fa347fdb5db54" integrity sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ== +xterm-addon-fit@^0.4.0: + version "0.4.0" + resolved "https://registry.npm.taobao.org/xterm-addon-fit/download/xterm-addon-fit-0.4.0.tgz#06e0c5d0a6aaacfb009ef565efa1c81e93d90193" + integrity sha1-BuDF0KaqrPsAnvVl76HIHpPZAZM= + +xterm@^4.7.0: + version "4.8.1" + resolved "https://registry.npm.taobao.org/xterm/download/xterm-4.8.1.tgz#155a1729a43e1a89b406524e22c5634339e39ca1" + integrity sha1-FVoXKaQ+Gom0BlJOIsVjQznjnKE= + xxhashjs@^0.2.1: version "0.2.2" resolved "https://registry.yarnpkg.com/xxhashjs/-/xxhashjs-0.2.2.tgz#8a6251567621a1c46a5ae204da0249c7f8caa9d8" @@ -7550,6 +7565,18 @@ yallist@^3.0.2: resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.1.1.tgz#dbb7daf9bfd8bac9ab45ebf602b8cbad0d5d08fd" integrity sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g== +yaml2json@^1.0.2: + version "1.0.2" + resolved "https://registry.npm.taobao.org/yaml2json/download/yaml2json-1.0.2.tgz#3ab846deb87c062d9904e143c6947128d488c119" + integrity sha1-OrhG3rh8Bi2ZBOFDxpRxKNSIwRk= + dependencies: + yaml "0.2.x" + +yaml@0.2.x: + version "0.2.3" + resolved "https://registry.npm.taobao.org/yaml/download/yaml-0.2.3.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fyaml%2Fdownload%2Fyaml-0.2.3.tgz#b5450e92e76ef36b5dd24e3660091ebaeef3e5c7" + integrity sha1-tUUOkudu82td0k42YAkeuu7z5cc= + yargs-parser@^11.1.1: version "11.1.1" resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-11.1.1.tgz#879a0865973bca9f6bab5cbdf3b1c67ec7d3bcf4"