Merge branch 'master' of http://192.168.20.39:8989/r/LFWEB_NEW
| | |
| | | case "å·¥ç¨å±ç¤º": |
| | | this.DisplayCurrentProject(child) |
| | | break |
| | | case "项ç®å±ç¤º": |
| | | this.changeProject(child) |
| | | break |
| | | default: |
| | | break |
| | | } |
| | |
| | | wkt: item.st_astext, |
| | | } |
| | | }) |
| | | console.log(menu.children.length) |
| | | |
| | | } |
| | | }, |
| | | async getCountProjectTour() { |
| | |
| | | wkt: item.wkt, |
| | | } |
| | | }) |
| | | console.log(menu.children.length) |
| | | |
| | | } |
| | | }, |
| | | changeProject(params) { |
| | | this.$bus.$emit('changeProject', params.name) |
| | | } |
| | | }, |
| | | } |
| | | </script> |
| | |
| | | <div class="leftarrow"> |
| | | <img :src="leftImg" @click="ChangeLeft" /> |
| | | </div> |
| | | <div class="leftContainer" v-show="ChartDisplay"> |
| | | <div class="current1" id="leftCurrent1"> |
| | | <div class="leftContainer" v-if="ChartDisplay"> |
| | | <div class="current1" style="height: 27%;" id="leftCurrent1"> |
| | | <div class="aside-title">æ°æ®ç³è¯·æ¬¡æ°</div> |
| | | <count-data-apply ></count-data-apply> |
| | | </div> |
| | | <div class="current1" id="leftCurrent2"> |
| | | <div class="current1" style="height: 27%;" id="leftCurrent2"> |
| | | <div class="aside-title">æå¡ç±»å«</div> |
| | | |
| | | <service-type></service-type> |
| | | </div> |
| | | <div class="current1" id="leftCurrent3"> |
| | | <div class="current1" style="height: 36%;" id="leftCurrent3"> |
| | | <div class="aside-title">åå¨ä¿¡æ¯</div> |
| | | <data-storage></data-storage> |
| | | </div> |
| | | </div> |
| | | <div class="leftContainer" v-show="ProjectreeDisplay"> |
| | | <div class="leftContainer" v-if="ProjectreeDisplay"> |
| | | <project-tree></project-tree> |
| | | </div> |
| | | </div> |
| | |
| | | <template> |
| | | <div class="current"> |
| | | <div class="rightContainer" v-show="ChartDisplay"> |
| | | <div class="rightContainer" v-if="ChartDisplay"> |
| | | <div class="current1"> |
| | | <div class="aside-title">å·¥ç¨ç§ç±»</div> |
| | | <project-category></project-category> |
| | | </div> |
| | | <!-- <div class="current1"> |
| | | <div class="aside-title">æ°æ®åæå¡æäº¤</div> |
| | | <echart12></echart12> |
| | | </div> --> |
| | | <div class="" > |
| | | <div class="" style="height: 60%"> |
| | | <div class="aside-title">æä»¶æ ¼å¼</div> |
| | | <div class="content" style="height: 542px"> |
| | | <div class="content" style="height: calc(100% - 30px)"> |
| | | <div class="header"> |
| | | <div>æ ¼å¼</div> |
| | | <div>æ°é</div> |
| | | </div> |
| | | <file-format></file-format> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div |
| | | class="rightContainer2" |
| | | v-if="CourtyDisplay && currentProject =='å
¨ç项ç®'" |
| | | > |
| | | <div class="current1"> |
| | | <div class="aside-title">é¡¹ç®æ°éæ±ç¶å¾</div> |
| | | <country-dimension-bar ref="barRef"></country-dimension-bar> |
| | | </div> |
| | | <div class="current1"> |
| | | <div class="aside-title">é¡¹ç®æ°é饼ç¶å¾</div> |
| | | <country-dimension-pie ref="pieRef"></country-dimension-pie> |
| | | </div> |
| | | </div> |
| | | <div class="rightContainer2" v-if="CourtyDisplay && currentProject =='å
¨å½é¡¹ç®'"> |
| | | <div class="current1"> |
| | | <div class="aside-title">é¡¹ç®æ°éæ±ç¶å¾</div> |
| | | <province-dimension-bar ref="barRef"></province-dimension-bar> |
| | | </div> |
| | | <div class="current1"> |
| | | <div class="aside-title">é¡¹ç®æ°é饼ç¶å¾</div> |
| | | <province-dimension-pie ref="pieRef"></province-dimension-pie> |
| | | </div> |
| | | </div> |
| | | <div class="rightarrow"> |
| | |
| | | import echart13 from "@/components/echart13.vue" |
| | | import FileFormat from "@/components/chart/FileFormat.vue" |
| | | import ProjectCategory from "../chart/ProjectCategory.vue" |
| | | import CountryDimensionBar from "../chart/CountryDimensionBar.vue" |
| | | import CountryDimensionPie from "../chart/CountryDimensionPie.vue" |
| | | import ProvinceDimensionBar from "../chart/CountryProvinceBar.vue" |
| | | import ProvinceDimensionPie from "../chart/CountryProvincePie.vue" |
| | | import { countCountryDimension, countProvinceDimension } from "@/api/screen.js" |
| | | |
| | | export default { |
| | | components: { |
| | |
| | | echart12, |
| | | echart13, |
| | | FileFormat, |
| | | ProjectCategory |
| | | ProjectCategory, |
| | | CountryDimensionBar, |
| | | CountryDimensionPie, |
| | | ProvinceDimensionBar, |
| | | ProvinceDimensionPie |
| | | }, |
| | | data() { |
| | | return { |
| | | ChartDisplay: true, |
| | | CourtyDisplay: false, |
| | | RightImg: require("../../assets/img/Screen/leftArrow.png"), |
| | | leftMessage: "init", |
| | | currentProject: "å
¨ç项ç®", |
| | | countryData: [], |
| | | provinceData: [], |
| | | } |
| | | }, |
| | | created() { |
| | | // this.getCountryData() |
| | | // this.getProvinceData() |
| | | }, |
| | | mounted() { |
| | | // const countryData = this.countryData |
| | | // const provinceData = this.provinceData |
| | | |
| | | // this.$refs.barRef.initChart(countryData) |
| | | // this.$refs.pieRef.initChart(countryData) |
| | | this.$bus.$on("changeProject", name => { |
| | | this.currentProject = name |
| | | }) |
| | | }, |
| | | methods: { |
| | | ChangeRight() { |
| | | if (this.ChartDisplay) { |
| | | this.RightImg = require("../../assets/img/Screen/rightArrow.png") |
| | | } else { |
| | | this.RightImg = require("../../assets/img/Screen/leftArrow.png") |
| | | async getCountryData() { |
| | | const res = await countCountryDimension() |
| | | if (res.code == 200) { |
| | | this.countryData = res.result |
| | | } |
| | | }, |
| | | async getProvinceData() { |
| | | const res = await countProvinceDimension() |
| | | if (res.code == 200) { |
| | | this.provinceData = res.result |
| | | } |
| | | }, |
| | | ChangeRight() { |
| | | if (this.leftMessage == "init") { |
| | | if (this.ChartDisplay) { |
| | | this.RightImg = require("../../assets/img/Screen/rightArrow.png") |
| | | } else { |
| | | this.RightImg = require("../../assets/img/Screen/leftArrow.png") |
| | | } |
| | | this.ChartDisplay = !this.ChartDisplay |
| | | } |
| | | |
| | | if (this.leftMessage == "projectree") { |
| | | if (this.ProjectreeDisplay) { |
| | | this.RightImg = require("../../assets/img/Screen/leftArrow.png") |
| | | } else { |
| | | this.RightImg = require("../../assets/img/Screen/rightArrow.png") |
| | | } |
| | | this.ProjectreeDisplay = !this.ProjectreeDisplay |
| | | } |
| | | |
| | | this.ChartDisplay = !this.ChartDisplay |
| | | this.$parent.ChangeWidth("right") |
| | | }, |
| | | //æå¼å¤§å±å·¦ä¾§çé¢ |
| | | OpenLeftInit() { |
| | | this.ChartDisplay = true |
| | | this.CourtyDisplay = false |
| | | this.leftMessage = "init" |
| | | // this.OpenLeftInitChart(); |
| | | this.$parent.ChangeWidth("leftTree") |
| | | }, |
| | | |
| | | //æå¼å·¥ç¨æ |
| | | OpenLeftProjectTree() { |
| | | this.ChartDisplay = false |
| | | this.CourtyDisplay = true |
| | | this.leftMessage = "projectree" |
| | | this.$parent.ChangeWidth("leftTree") |
| | | }, |
| | | }, |
| | | } |
| | |
| | | align-items: center; |
| | | justify-content: space-around; |
| | | .current1 { |
| | | height: 30%; |
| | | height: 32%; |
| | | width: 100%; |
| | | background: url(../../assets/img/Screen/chartbg.png); |
| | | background-size: 100% 100%; |
| | | background-repeat: no-repeat; |
| | | } |
| | | } |
| | | .rightContainer2 { |
| | | height: 100%; |
| | | width: calc(100% - 7px); |
| | | |
| | | display: flex; |
| | | flex-direction: column; |
| | | align-items: center; |
| | | .current1 { |
| | | margin-top: 10px; |
| | | margin-bottom: 30px; |
| | | height: 32%; |
| | | width: 100%; |
| | | background: url(../../assets/img/Screen/chartbg.png); |
| | | background-size: 100% 100%; |
| | |
| | | this.currView = "chart" |
| | | this.screen = true |
| | | this.$parent.$refs.mapleft.OpenLeftInit() |
| | | this.$parent.$refs.mapright.OpenLeftInit() |
| | | }, |
| | | |
| | | //æå¼å·¥ç¨æ |
| | | OpenProjectree() { |
| | | this.screen = false |
| | | |
| | | this.currView = "tree" |
| | | |
| | | this.$parent.$refs.mapleft.OpenLeftProjectTree() |
| | | this.$parent.$refs.mapright.OpenLeftProjectTree() |
| | | |
| | | }, |
| | | }, |
| | | } |
| | |
| | | xAxis.push(item.name) |
| | | yAxis.push(item.number) |
| | | }) |
| | | |
| | | |
| | | // let data = [220, 182, 191, 234, 290, 330, 310] |
| | | // const sideData = data.map(item => { |
| | | // return { |
| | |
| | | type: "shadow", // é»è®¤ä¸ºç´çº¿ï¼å¯é为ï¼'line' | 'shadow' |
| | | }, |
| | | }, |
| | | grid: { |
| | | top: "10%", |
| | | bottom: "15%", |
| | | right: "5%", |
| | | left: "5%", |
| | | containLabel: true, |
| | | }, |
| | | xAxis: { |
| | | data: xAxis, |
| | | //åæ è½´ |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <div class="CountryDimension" ref="chart"></div> |
| | | </template> |
| | | |
| | | <script> |
| | | import * as echarts from "echarts" |
| | | import { countCountryDimension } from "@/api/screen.js" |
| | | export default { |
| | | data() { |
| | | return { |
| | | option: {}, |
| | | } |
| | | }, |
| | | mounted() { |
| | | this.initChart() |
| | | }, |
| | | methods: { |
| | | async initChart() { |
| | | let data = [ |
| | | { |
| | | country: "è丹", |
| | | count: 1, |
| | | }, |
| | | { |
| | | country: "å°åº¦å°¼è¥¿äº", |
| | | count: 1, |
| | | }, |
| | | { |
| | | country: "é¿èé
", |
| | | count: 1, |
| | | }, |
| | | { |
| | | country: "ä¹å
¹å«å
æ¯å¦", |
| | | count: 1, |
| | | }, |
| | | { |
| | | country: "åè¨å
æ¯å¦", |
| | | count: 2, |
| | | }, |
| | | { |
| | | country: "å§å
çæ", |
| | | count: 1, |
| | | }, |
| | | { |
| | | country: "æ¯éå
°å¡", |
| | | count: 1, |
| | | }, |
| | | { |
| | | country: "ä¸å½", |
| | | count: 17, |
| | | }, |
| | | { |
| | | country: "å
¶ä»", |
| | | count: 1, |
| | | }, |
| | | { |
| | | country: "ååºæ¼æ¯å¦", |
| | | count: 1, |
| | | }, |
| | | { |
| | | country: "æ°å å¡", |
| | | count: 1, |
| | | }, |
| | | ] |
| | | const res = await countCountryDimension() |
| | | if (res.code == 200) { |
| | | data = res.result |
| | | } |
| | | let xAxisData = [] |
| | | let yAxisData = [] |
| | | |
| | | data.forEach(item => { |
| | | xAxisData.push(item.country) |
| | | yAxisData.push(item.count) |
| | | }) |
| | | let option = { |
| | | backgroundColor: "transparent", |
| | | tooltip: { |
| | | trigger: "axis", |
| | | axisPointer: { |
| | | type: "shadow", |
| | | }, |
| | | }, |
| | | grid: { |
| | | top: "12%", |
| | | right: "0%", |
| | | left: "0%", |
| | | bottom: "13%", |
| | | containLabel: true, |
| | | }, |
| | | xAxis: [ |
| | | { |
| | | type: "category", |
| | | data: xAxisData, |
| | | axisLine: { |
| | | lineStyle: { |
| | | color: "rgba(255,255,255,0.12)", |
| | | }, |
| | | }, |
| | | interval: 0, |
| | | axisLabel: { |
| | | margin: 10, |
| | | color: "#e2e9ff", |
| | | textStyle: { |
| | | fontSize: 11, |
| | | }, |
| | | formatter: function (value) { |
| | | //debugger |
| | | var ret = "" //æ¼æ¥å \nè¿åçç±»ç®é¡¹ |
| | | var maxLength = 2 //æ¯é¡¹æ¾ç¤ºæåä¸ªæ° |
| | | var valLength = value.length //Xè½´ç±»ç®é¡¹çæåä¸ªæ° |
| | | var rowN = Math.ceil(valLength / maxLength) //ç±»ç®é¡¹éè¦æ¢è¡çè¡æ° |
| | | if (rowN > 1) { |
| | | //å¦æç±»ç®é¡¹çæå大äº3, |
| | | for (var i = 0; i < rowN; i++) { |
| | | var temp = "" //æ¯æ¬¡æªåçå符串 |
| | | var start = i * maxLength //å¼å§æªåçä½ç½® |
| | | var end = start + maxLength //ç»ææªåçä½ç½® |
| | | //è¿éä¹å¯ä»¥å ä¸ä¸ªæ¯å¦æ¯æåä¸è¡ç夿ï¼ä½æ¯ä¸å 乿²¡æå½±åï¼é£å°±ä¸å å§ |
| | | temp = value.substring(start, end) + "\n" |
| | | ret += temp //ååæç»çå符串 |
| | | } |
| | | return ret |
| | | } else { |
| | | return value |
| | | } |
| | | }, |
| | | }, |
| | | }, |
| | | ], |
| | | yAxis: [ |
| | | { |
| | | axisLabel: { |
| | | formatter: "{value}", |
| | | color: "#e2e9ff", |
| | | }, |
| | | axisLine: { |
| | | show: false, |
| | | }, |
| | | splitLine: { |
| | | lineStyle: { |
| | | color: "rgba(255,255,255,0.12)", |
| | | }, |
| | | }, |
| | | }, |
| | | ], |
| | | series: [ |
| | | { |
| | | type: "bar", |
| | | data: yAxisData, |
| | | barWidth: "12px", |
| | | itemStyle: { |
| | | normal: { |
| | | color: new echarts.graphic.LinearGradient( |
| | | 0, |
| | | 0, |
| | | 0, |
| | | 1, |
| | | [ |
| | | { |
| | | offset: 0, |
| | | color: "rgba(0,244,255,1)", // 0% å¤çé¢è² |
| | | }, |
| | | { |
| | | offset: 1, |
| | | color: "rgba(0,77,167,1)", // 100% å¤çé¢è² |
| | | }, |
| | | ], |
| | | false |
| | | ), |
| | | barBorderRadius: [20, 20, 0, 0], |
| | | shadowColor: "rgba(0,160,221,1)", |
| | | shadowBlur: 4, |
| | | }, |
| | | }, |
| | | label: { |
| | | normal: { |
| | | show: true, |
| | | lineHeight: 14, |
| | | width: 40, |
| | | height: 14, |
| | | backgroundColor: "rgba(0,160,221,0.1)", |
| | | borderRadius: 200, |
| | | position: ["-8", "-20"], |
| | | distance: 1, |
| | | formatter: value => { |
| | | // console.log(value); |
| | | if (value.name == "ä¸å½") { |
| | | return [ |
| | | ` {d|â}", " {a|${value.value}} \n", " {b|}`, |
| | | ].join(",") |
| | | } |
| | | }, |
| | | // formatter: [" {d|â}", " {a|{c}} \n", " {b|}"].join( |
| | | // "," |
| | | // ), |
| | | rich: { |
| | | d: { |
| | | color: "#3CDDCF", |
| | | }, |
| | | a: { |
| | | color: "#fff", |
| | | align: "center", |
| | | }, |
| | | b: { |
| | | width: 1, |
| | | height: 15, |
| | | borderWidth: 1, |
| | | borderColor: "#234e6c", |
| | | align: "left", |
| | | }, |
| | | }, |
| | | }, |
| | | }, |
| | | }, |
| | | ], |
| | | } |
| | | |
| | | const chart = echarts.init(this.$refs.chart) |
| | | |
| | | chart.setOption(option) |
| | | window.addEventListener("resize", function () { |
| | | chart.resize() |
| | | }) |
| | | }, |
| | | }, |
| | | } |
| | | </script> |
| | | |
| | | <style lang="scss" scoped> |
| | | .CountryDimension { |
| | | width: 100%; |
| | | height: 100%; |
| | | } |
| | | </style> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <div class="echart" ref="chart"></div> |
| | | </template> |
| | | |
| | | <script> |
| | | import * as echarts from "echarts" |
| | | import { countCountryDimension, countProvinceDimension } from "@/api/screen.js" |
| | | export default { |
| | | data() { |
| | | return { |
| | | currentProject: 'å
¨ç项ç®' |
| | | } |
| | | }, |
| | | mounted() { |
| | | this.initChart() |
| | | }, |
| | | |
| | | methods: { |
| | | async initChart() { |
| | | const res = await countCountryDimension() |
| | | let dataPie = [ |
| | | { |
| | | value: 410, |
| | | name: "ä¼ä¸", |
| | | }, |
| | | { |
| | | value: 380, |
| | | name: "æ¿åº", |
| | | }, |
| | | { |
| | | value: 50, |
| | | name: "个人", |
| | | }, |
| | | { |
| | | value: 50, |
| | | name: "个人1", |
| | | }, |
| | | { |
| | | value: 50, |
| | | name: "个人2", |
| | | }, |
| | | { |
| | | value: 50, |
| | | name: "个人3", |
| | | }, |
| | | { |
| | | value: 50, |
| | | name: "个人4", |
| | | }, |
| | | { |
| | | value: 50, |
| | | name: "个人5", |
| | | }, |
| | | ] |
| | | let count = 0 |
| | | if (res.code == 200) { |
| | | dataPie = res.result.map(item => { |
| | | return { |
| | | name: item.country, |
| | | value: item.count |
| | | } |
| | | }) |
| | | } |
| | | |
| | | let colorPie = ["#173852", "#0b2036", "#002e49"] |
| | | let colorWrap = [ |
| | | "#3087d6", |
| | | "#f6ce54", |
| | | "#4be1ff", |
| | | "#b6e9ff", |
| | | "#18edc9", |
| | | "#6ac5fa", |
| | | ] |
| | | let baseDataPie = [], |
| | | baseDataWrap = [] |
| | | let total = 0 |
| | | dataPie |
| | | .sort((a, b) => b.value - a.value) |
| | | .forEach(function (val, idx, arr) { |
| | | count += val.value |
| | | }) |
| | | for (let i = 0; i < dataPie.length; i++) { |
| | | baseDataWrap.push( |
| | | { |
| | | value: dataPie[i].value, |
| | | name: dataPie[i].name, |
| | | itemStyle: { |
| | | normal: { |
| | | color: colorWrap[i], |
| | | borderWidth: 1, |
| | | borderColor: colorWrap[i], |
| | | shadowBlur: 10, |
| | | shadowColor: "rgba(7, 132, 250, 0.8)", |
| | | }, |
| | | }, |
| | | }, |
| | | { |
| | | value: 0.1, |
| | | name: "", |
| | | itemStyle: { |
| | | normal: { |
| | | color: "transparent", |
| | | borderWidth: 5, |
| | | borderColor: "transparent", |
| | | }, |
| | | }, |
| | | tooltip: { |
| | | show: false, |
| | | }, |
| | | } |
| | | ) |
| | | |
| | | if (i < 3) { |
| | | baseDataPie.push({ |
| | | value: dataPie[i].value, |
| | | name: dataPie[i].name, |
| | | itemStyle: { |
| | | normal: { |
| | | borderWidth: 10, |
| | | borderColor: colorPie[i], |
| | | }, |
| | | }, |
| | | }) |
| | | } |
| | | } |
| | | |
| | | let option = { |
| | | backgroundColor: "transparent", |
| | | title: { |
| | | text: count, |
| | | subtext: "é¡¹ç®æ»æ°", |
| | | textStyle: { |
| | | color: "#fff", |
| | | fontSize: 20, |
| | | fontWeight: 400, |
| | | fontFamily: "YouSheBiaoTiHei", |
| | | }, |
| | | subtextStyle: { |
| | | align: "center", |
| | | fontSize: 14, |
| | | color: ["#fff"], |
| | | fontWeight: 400, |
| | | fontFamily: "YouSheBiaoTiHei", |
| | | }, |
| | | x: "center", |
| | | y: "center", |
| | | }, |
| | | grid: { |
| | | left: "1%", // ä¸å®¹å¨å·¦ä¾§çè·ç¦» |
| | | right: "1%", // ä¸å®¹å¨å³ä¾§çè·ç¦» |
| | | top: "1%", // ä¸å®¹å¨é¡¶é¨çè·ç¦» |
| | | bottom: "1%", // ä¸å®¹å¨åºé¨çè·ç¦» |
| | | }, |
| | | tooltip: { |
| | | show: true, |
| | | trigger: "item", |
| | | }, |
| | | legend: [ |
| | | { |
| | | show: false, |
| | | data: ["å¨çº¿", "ç»´ä¿®", "离线", "æ£ä¿®", "æ¢ä¿®", "å
¶ä»"], |
| | | icon: "vertical", |
| | | right: "5px", |
| | | top: "center", |
| | | orient: "vertical", |
| | | itemGap: 20, |
| | | itemWidth: 15, |
| | | itemHeight: 8, |
| | | formatter: function (name) { |
| | | let target, percent |
| | | for (let i = 0; i < dataPie.length; i++) { |
| | | if (dataPie[i].name === name) { |
| | | target = dataPie[i].value |
| | | percent = ((target / total) * 100).toFixed(1) |
| | | } |
| | | } |
| | | let arr = [ |
| | | percent + "% " + " {yellow|" + target + "}", |
| | | " {blue|" + name + "}", |
| | | ] |
| | | return arr.join("\n") |
| | | }, |
| | | textStyle: { |
| | | lineHeight: 20, |
| | | color: "#f0f4f6", |
| | | align: "right", |
| | | rich: { |
| | | yellow: { |
| | | color: "#00b5f3", |
| | | fontWeight: "bold", |
| | | }, |
| | | blue: { |
| | | color: "#4be1ff", |
| | | align: "right", |
| | | }, |
| | | }, |
| | | }, |
| | | }, |
| | | ], |
| | | series: [ |
| | | { |
| | | name: "é¡¹ç®æ°é", |
| | | type: "pie", |
| | | // clockWise: false, //顺æ¶å è½½ |
| | | // hoverAnimation: false, //é¼ æ ç§»å
¥å大 |
| | | center: ["50%", "50%"], |
| | | // radius: ["60%", "70%"], |
| | | radius: [70, 80], |
| | | labelLine: { |
| | | show: true, |
| | | }, |
| | | itemStyle: { |
| | | borderWidth: 3, |
| | | // borderColor: "#fff", |
| | | }, |
| | | minAngle: 15, //æå°è§åº¦ |
| | | startAngle: 270, //èµ·å§è§åº¦ |
| | | label: { |
| | | // show: false, |
| | | formatter: params => { |
| | | if (params.percent > 10) { |
| | | return `{b|${params.name}} \n {per|${Math.ceil( |
| | | (params.value * 100) / count |
| | | )}%}` |
| | | } else { |
| | | return `{b|${params.name}}` |
| | | } |
| | | }, |
| | | // backgroundColor: "#fff", |
| | | // borderColor: "#aaa", |
| | | // borderWidth: 1, |
| | | // borderRadius: 3, |
| | | // shadowBlur:3, |
| | | // shadowOffsetX: 2, |
| | | // shadowOffsetY: 2, |
| | | // shadowColor: '#999', |
| | | // padding: [0, 7], |
| | | rich: { |
| | | a: { |
| | | color: "#999", |
| | | lineHeight: 22, |
| | | align: "center", |
| | | }, |
| | | // abg: { |
| | | // backgroundColor: '#333', |
| | | // width: '100%', |
| | | // align: 'right', |
| | | // height: 22, |
| | | // borderRadius: [4, 4, 0, 0] |
| | | // }, |
| | | hr: { |
| | | borderColor: "#aaa", |
| | | width: "100%", |
| | | borderWidth: 0.5, |
| | | height: 0, |
| | | }, |
| | | b: { |
| | | fontSize: 14, |
| | | lineHeight: 14, |
| | | color: '#fff' |
| | | }, |
| | | per: { |
| | | color: "#eee", |
| | | backgroundColor: "#334455", |
| | | padding: [2, 4], |
| | | borderRadius: 2, |
| | | }, |
| | | }, |
| | | }, |
| | | |
| | | data: baseDataWrap, |
| | | }, |
| | | ], |
| | | } |
| | | const chart = echarts.init(this.$refs.chart) |
| | | |
| | | chart.setOption(option) |
| | | window.addEventListener("resize", function () { |
| | | chart.resize() |
| | | }) |
| | | }, |
| | | |
| | | }, |
| | | } |
| | | </script> |
| | | |
| | | <style lang="scss" scoped> |
| | | .echart { |
| | | width: 100%; |
| | | height: 100%; |
| | | } |
| | | </style> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <div class="CountryDimension" ref="chart"></div> |
| | | </template> |
| | | |
| | | <script> |
| | | import * as echarts from "echarts" |
| | | import { countProvinceDimension } from "@/api/screen.js" |
| | | export default { |
| | | data() { |
| | | return { |
| | | option: {}, |
| | | } |
| | | }, |
| | | mounted() { |
| | | this.initChart() |
| | | }, |
| | | methods: { |
| | | async initChart(dataPie) { |
| | | let data = [ |
| | | { |
| | | country: "è丹", |
| | | count: 1, |
| | | }, |
| | | { |
| | | country: "å°åº¦å°¼è¥¿äº", |
| | | count: 1, |
| | | }, |
| | | { |
| | | country: "é¿èé
", |
| | | count: 1, |
| | | }, |
| | | { |
| | | country: "ä¹å
¹å«å
æ¯å¦", |
| | | count: 1, |
| | | }, |
| | | { |
| | | country: "åè¨å
æ¯å¦", |
| | | count: 2, |
| | | }, |
| | | { |
| | | country: "å§å
çæ", |
| | | count: 1, |
| | | }, |
| | | { |
| | | country: "æ¯éå
°å¡", |
| | | count: 1, |
| | | }, |
| | | { |
| | | country: "ä¸å½", |
| | | count: 17, |
| | | }, |
| | | { |
| | | country: "å
¶ä»", |
| | | count: 1, |
| | | }, |
| | | { |
| | | country: "ååºæ¼æ¯å¦", |
| | | count: 1, |
| | | }, |
| | | { |
| | | country: "æ°å å¡", |
| | | count: 1, |
| | | }, |
| | | ] |
| | | const res = await countProvinceDimension() |
| | | if (res.code == 200) { |
| | | data = res.result |
| | | } |
| | | let xAxisData = [] |
| | | let yAxisData = [] |
| | | |
| | | data.forEach(item => { |
| | | xAxisData.push(item.province) |
| | | yAxisData.push(item.count) |
| | | }) |
| | | let option = { |
| | | backgroundColor: "transparent", |
| | | tooltip: { |
| | | trigger: "axis", |
| | | axisPointer: { |
| | | type: "shadow", |
| | | }, |
| | | }, |
| | | grid: { |
| | | top: "12%", |
| | | right: "0%", |
| | | left: "0%", |
| | | bottom: "13%", |
| | | containLabel: true, |
| | | }, |
| | | xAxis: [ |
| | | { |
| | | type: "category", |
| | | data: xAxisData, |
| | | axisLine: { |
| | | lineStyle: { |
| | | color: "rgba(255,255,255,0.12)", |
| | | }, |
| | | }, |
| | | interval: 0, |
| | | axisLabel: { |
| | | margin: 10, |
| | | color: "#e2e9ff", |
| | | textStyle: { |
| | | fontSize: 11, |
| | | }, |
| | | formatter: function (value) { |
| | | //debugger |
| | | var ret = "" //æ¼æ¥å \nè¿åçç±»ç®é¡¹ |
| | | var maxLength = 2 //æ¯é¡¹æ¾ç¤ºæåä¸ªæ° |
| | | var valLength = value.length //Xè½´ç±»ç®é¡¹çæåä¸ªæ° |
| | | var rowN = Math.ceil(valLength / maxLength) //ç±»ç®é¡¹éè¦æ¢è¡çè¡æ° |
| | | if (rowN > 1) { |
| | | //å¦æç±»ç®é¡¹çæå大äº3, |
| | | for (var i = 0; i < rowN; i++) { |
| | | var temp = "" //æ¯æ¬¡æªåçå符串 |
| | | var start = i * maxLength //å¼å§æªåçä½ç½® |
| | | var end = start + maxLength //ç»ææªåçä½ç½® |
| | | //è¿éä¹å¯ä»¥å ä¸ä¸ªæ¯å¦æ¯æåä¸è¡ç夿ï¼ä½æ¯ä¸å 乿²¡æå½±åï¼é£å°±ä¸å å§ |
| | | temp = value.substring(start, end) + "\n" |
| | | ret += temp //ååæç»çå符串 |
| | | } |
| | | return ret |
| | | } else { |
| | | return value |
| | | } |
| | | }, |
| | | }, |
| | | }, |
| | | ], |
| | | yAxis: [ |
| | | { |
| | | axisLabel: { |
| | | formatter: "{value}", |
| | | color: "#e2e9ff", |
| | | }, |
| | | axisLine: { |
| | | show: false, |
| | | }, |
| | | splitLine: { |
| | | lineStyle: { |
| | | color: "rgba(255,255,255,0.12)", |
| | | }, |
| | | }, |
| | | }, |
| | | ], |
| | | series: [ |
| | | { |
| | | type: "bar", |
| | | data: yAxisData, |
| | | barWidth: "12px", |
| | | itemStyle: { |
| | | normal: { |
| | | color: new echarts.graphic.LinearGradient( |
| | | 0, |
| | | 0, |
| | | 0, |
| | | 1, |
| | | [ |
| | | { |
| | | offset: 0, |
| | | color: "rgba(0,244,255,1)", // 0% å¤çé¢è² |
| | | }, |
| | | { |
| | | offset: 1, |
| | | color: "rgba(0,77,167,1)", // 100% å¤çé¢è² |
| | | }, |
| | | ], |
| | | false |
| | | ), |
| | | barBorderRadius: [20, 20, 0, 0], |
| | | shadowColor: "rgba(0,160,221,1)", |
| | | shadowBlur: 4, |
| | | }, |
| | | }, |
| | | label: { |
| | | normal: { |
| | | show: true, |
| | | lineHeight: 14, |
| | | width: 40, |
| | | height: 14, |
| | | backgroundColor: "rgba(0,160,221,0.1)", |
| | | borderRadius: 200, |
| | | position: ["-8", "-20"], |
| | | distance: 1, |
| | | formatter: value => { |
| | | // console.log(value); |
| | | if (value.name == "ä¸å½") { |
| | | return [ |
| | | ` {d|â}", " {a|${value.value}} \n", " {b|}`, |
| | | ].join(",") |
| | | } |
| | | }, |
| | | // formatter: [" {d|â}", " {a|{c}} \n", " {b|}"].join( |
| | | // "," |
| | | // ), |
| | | rich: { |
| | | d: { |
| | | color: "#3CDDCF", |
| | | }, |
| | | a: { |
| | | color: "#fff", |
| | | align: "center", |
| | | }, |
| | | b: { |
| | | width: 1, |
| | | height: 15, |
| | | borderWidth: 1, |
| | | borderColor: "#234e6c", |
| | | align: "left", |
| | | }, |
| | | }, |
| | | }, |
| | | }, |
| | | }, |
| | | ], |
| | | } |
| | | |
| | | const chart = echarts.init(this.$refs.chart) |
| | | |
| | | chart.setOption(option) |
| | | window.addEventListener("resize", function () { |
| | | chart.resize() |
| | | }) |
| | | }, |
| | | }, |
| | | } |
| | | </script> |
| | | |
| | | <style lang="scss" scoped> |
| | | .CountryDimension { |
| | | width: 100%; |
| | | height: 100%; |
| | | } |
| | | </style> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <div class="echart" ref="chart"></div> |
| | | </template> |
| | | |
| | | <script> |
| | | import * as echarts from "echarts" |
| | | import { countCountryDimension, countProvinceDimension } from "@/api/screen.js" |
| | | export default { |
| | | data() { |
| | | return { |
| | | currentProject: 'å
¨ç项ç®' |
| | | } |
| | | }, |
| | | mounted() { |
| | | this.initChart() |
| | | }, |
| | | |
| | | methods: { |
| | | async initChart() { |
| | | const res = await countProvinceDimension() |
| | | let dataPie = [ |
| | | { |
| | | value: 410, |
| | | name: "ä¼ä¸", |
| | | }, |
| | | { |
| | | value: 380, |
| | | name: "æ¿åº", |
| | | }, |
| | | { |
| | | value: 50, |
| | | name: "个人", |
| | | }, |
| | | { |
| | | value: 50, |
| | | name: "个人1", |
| | | }, |
| | | { |
| | | value: 50, |
| | | name: "个人2", |
| | | }, |
| | | { |
| | | value: 50, |
| | | name: "个人3", |
| | | }, |
| | | { |
| | | value: 50, |
| | | name: "个人4", |
| | | }, |
| | | { |
| | | value: 50, |
| | | name: "个人5", |
| | | }, |
| | | ] |
| | | let count = 0 |
| | | if (res.code == 200) { |
| | | dataPie = res.result.map(item => { |
| | | return { |
| | | name: item.province, |
| | | value: item.count |
| | | } |
| | | }) |
| | | } |
| | | |
| | | |
| | | let colorPie = ["#173852", "#0b2036", "#002e49"] |
| | | let colorWrap = [ |
| | | "#3087d6", |
| | | "#f6ce54", |
| | | "#4be1ff", |
| | | "#b6e9ff", |
| | | "#18edc9", |
| | | "#6ac5fa", |
| | | ] |
| | | let baseDataPie = [], |
| | | baseDataWrap = [] |
| | | let total = 0 |
| | | dataPie |
| | | .sort((a, b) => b.value - a.value) |
| | | .forEach(function (val, idx, arr) { |
| | | count += val.value |
| | | }) |
| | | for (let i = 0; i < dataPie.length; i++) { |
| | | baseDataWrap.push( |
| | | { |
| | | value: dataPie[i].value, |
| | | name: dataPie[i].name, |
| | | itemStyle: { |
| | | normal: { |
| | | color: colorWrap[i], |
| | | borderWidth: 1, |
| | | borderColor: colorWrap[i], |
| | | shadowBlur: 10, |
| | | shadowColor: "rgba(7, 132, 250, 0.8)", |
| | | }, |
| | | }, |
| | | }, |
| | | { |
| | | value: 0.1, |
| | | name: "", |
| | | itemStyle: { |
| | | normal: { |
| | | color: "transparent", |
| | | borderWidth: 5, |
| | | borderColor: "transparent", |
| | | }, |
| | | }, |
| | | tooltip: { |
| | | show: false, |
| | | }, |
| | | } |
| | | ) |
| | | |
| | | if (i < 3) { |
| | | baseDataPie.push({ |
| | | value: dataPie[i].value, |
| | | name: dataPie[i].name, |
| | | itemStyle: { |
| | | normal: { |
| | | borderWidth: 10, |
| | | borderColor: colorPie[i], |
| | | }, |
| | | }, |
| | | }) |
| | | } |
| | | } |
| | | |
| | | let option = { |
| | | backgroundColor: "transparent", |
| | | title: { |
| | | text: count, |
| | | subtext: "é¡¹ç®æ»æ°", |
| | | textStyle: { |
| | | color: "#fff", |
| | | fontSize: 20, |
| | | fontWeight: 400, |
| | | fontFamily: "YouSheBiaoTiHei", |
| | | }, |
| | | subtextStyle: { |
| | | align: "center", |
| | | fontSize: 14, |
| | | color: ["#fff"], |
| | | fontWeight: 400, |
| | | fontFamily: "YouSheBiaoTiHei", |
| | | }, |
| | | x: "center", |
| | | y: "center", |
| | | }, |
| | | grid: { |
| | | left: "1%", // ä¸å®¹å¨å·¦ä¾§çè·ç¦» |
| | | right: "1%", // ä¸å®¹å¨å³ä¾§çè·ç¦» |
| | | top: "1%", // ä¸å®¹å¨é¡¶é¨çè·ç¦» |
| | | bottom: "1%", // ä¸å®¹å¨åºé¨çè·ç¦» |
| | | }, |
| | | tooltip: { |
| | | show: true, |
| | | trigger: "item", |
| | | }, |
| | | legend: [ |
| | | { |
| | | show: false, |
| | | data: ["å¨çº¿", "ç»´ä¿®", "离线", "æ£ä¿®", "æ¢ä¿®", "å
¶ä»"], |
| | | icon: "vertical", |
| | | right: "5px", |
| | | top: "center", |
| | | orient: "vertical", |
| | | itemGap: 20, |
| | | itemWidth: 15, |
| | | itemHeight: 8, |
| | | formatter: function (name) { |
| | | let target, percent |
| | | for (let i = 0; i < dataPie.length; i++) { |
| | | if (dataPie[i].name === name) { |
| | | target = dataPie[i].value |
| | | percent = ((target / total) * 100).toFixed(1) |
| | | } |
| | | } |
| | | let arr = [ |
| | | percent + "% " + " {yellow|" + target + "}", |
| | | " {blue|" + name + "}", |
| | | ] |
| | | return arr.join("\n") |
| | | }, |
| | | textStyle: { |
| | | lineHeight: 20, |
| | | color: "#f0f4f6", |
| | | align: "right", |
| | | rich: { |
| | | yellow: { |
| | | color: "#00b5f3", |
| | | fontWeight: "bold", |
| | | }, |
| | | blue: { |
| | | color: "#4be1ff", |
| | | align: "right", |
| | | }, |
| | | }, |
| | | }, |
| | | }, |
| | | ], |
| | | series: [ |
| | | { |
| | | name: "é¡¹ç®æ°é", |
| | | type: "pie", |
| | | // clockWise: false, //顺æ¶å è½½ |
| | | // hoverAnimation: false, //é¼ æ ç§»å
¥å大 |
| | | center: ["50%", "50%"], |
| | | // radius: ["60%", "70%"], |
| | | radius: [70, 80], |
| | | labelLine: { |
| | | show: true, |
| | | }, |
| | | itemStyle: { |
| | | borderWidth: 3, |
| | | // borderColor: "#fff", |
| | | }, |
| | | minAngle: 15, //æå°è§åº¦ |
| | | startAngle: 270, //èµ·å§è§åº¦ |
| | | label: { |
| | | // show: false, |
| | | formatter: params => { |
| | | if (params.percent > 10) { |
| | | return `{b|${params.name}} \n {per|${Math.ceil( |
| | | (params.value * 100) / count |
| | | )}%}` |
| | | } else { |
| | | return `{b|${params.name}}` |
| | | } |
| | | }, |
| | | // backgroundColor: "#eee", |
| | | // borderColor: "#aaa", |
| | | // borderWidth: 1, |
| | | // borderRadius: 3, |
| | | // shadowBlur:3, |
| | | // shadowOffsetX: 2, |
| | | // shadowOffsetY: 2, |
| | | // shadowColor: '#999', |
| | | // padding: [0, 7], |
| | | rich: { |
| | | a: { |
| | | color: "#999", |
| | | lineHeight: 22, |
| | | align: "center", |
| | | }, |
| | | // abg: { |
| | | // backgroundColor: '#333', |
| | | // width: '100%', |
| | | // align: 'right', |
| | | // height: 22, |
| | | // borderRadius: [4, 4, 0, 0] |
| | | // }, |
| | | hr: { |
| | | borderColor: "#aaa", |
| | | width: "100%", |
| | | borderWidth: 0.5, |
| | | height: 0, |
| | | }, |
| | | b: { |
| | | fontSize: 14, |
| | | lineHeight: 14, |
| | | color: '#fff' |
| | | |
| | | }, |
| | | per: { |
| | | color: "#eee", |
| | | backgroundColor: "#334455", |
| | | padding: [2, 4], |
| | | borderRadius: 2, |
| | | }, |
| | | }, |
| | | }, |
| | | |
| | | data: baseDataWrap, |
| | | }, |
| | | ], |
| | | } |
| | | const chart = echarts.init(this.$refs.chart) |
| | | |
| | | chart.setOption(option) |
| | | window.addEventListener("resize", function () { |
| | | chart.resize() |
| | | }) |
| | | }, |
| | | |
| | | }, |
| | | } |
| | | </script> |
| | | |
| | | <style lang="scss" scoped> |
| | | .echart { |
| | | width: 100%; |
| | | height: 100%; |
| | | } |
| | | </style> |
| | |
| | | </el-table-column> |
| | | <el-table-column align="center" prop="name" label="åç§°"> |
| | | <template slot-scope="scope"> |
| | | <div>{{ scope.row.name }}</div> |
| | | <div |
| | | style=" |
| | | overflow: hidden; |
| | | text-overflow: ellipsis; |
| | | white-space: nowrap; |
| | | " |
| | | :title="scope.row.name" |
| | | > |
| | | {{ scope.row.name }} |
| | | </div> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="num" label="æä»¶æ°" width="70"> |
| | |
| | | </style> |
| | | |
| | | <style lang="scss"> |
| | | .index-wrap { |
| | | margin: 0 auto; |
| | | width: 14px; |
| | | height: 14px; |
| | | background: rgba(180, 188, 235, 0.25); |
| | | } |
| | | .scrollbar { |
| | | width: 100%; |
| | | overflow-x: hidden; |
| | | height: 200px; |
| | | .el-scrollbar__wrap { |
| | | overflow-x: hidden; |
| | | .data-storage { |
| | | .index-wrap { |
| | | margin: 0 auto; |
| | | width: 14px; |
| | | height: 14px; |
| | | background: rgba(180, 188, 235, 0.25); |
| | | } |
| | | .el-table { |
| | | height: 100%; |
| | | .scrollbar { |
| | | width: 100%; |
| | | background-color: transparent; |
| | | color: #fff; |
| | | } |
| | | .el-table th.el-table__cell.is-leaf, |
| | | .el-table td.el-table__cell { |
| | | border: none; |
| | | } |
| | | .el-table--group::after, |
| | | .el-table--border::after, |
| | | .el-table::before { |
| | | border: none; |
| | | } |
| | | .el-table::before { |
| | | height: 0; |
| | | overflow-x: hidden; |
| | | height: 200px; |
| | | .el-scrollbar__wrap { |
| | | overflow-x: hidden; |
| | | } |
| | | .el-table { |
| | | height: 100%; |
| | | width: 100%; |
| | | background-color: transparent; |
| | | color: #fff; |
| | | } |
| | | .el-table th.el-table__cell.is-leaf, |
| | | .el-table td.el-table__cell { |
| | | border: none; |
| | | } |
| | | .el-table--group::after, |
| | | .el-table--border::after, |
| | | .el-table::before { |
| | | border: none; |
| | | } |
| | | .el-table::before { |
| | | height: 0; |
| | | } |
| | | } |
| | | } |
| | | </style> |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | const fileTypeBar = require("@/assets/img/Screen/fileTypeBar.png") |
| | | import * as echarts from "echarts" |
| | | import { countFileFormat } from "@/api/screen.js" |
| | | export default { |
| | |
| | | { |
| | | name: "XXX", |
| | | type: "pictorialBar", |
| | | |
| | | symbol: |
| | | "image://data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADoAAAA6CAMAAADWZboaAAAAZlBMVEUAAABe3uVe3+Vf3uVf3+Zf3uVg3+Zg3+Zf3+Vi4OZh4OZg3+Z86/Bh3+Zi4Odj4Odi4OZ86/B76/B86/Bj4ed56+9x5+xn4umB7/N87PB36e+A7/N+7fF/7vJ/7vJ+7fGA7/OB7/PReX+lAAAAIXRSTlMABQkVDREmIhk3MR10LEFFPHh7cUprXE35h2XnqMLAp+mHAG9cAAAB5ElEQVRIx83WjU7CMBQFYIoiKMqU/XUboHv/l/Tce7t2XamDNSacETEmX86tlK2rx4py150o+MstMBLwWRfHKo6JCVxLnvmFGBjFQ58oF1//sUZhGy/ClSTWObgnL4O+bkeN4nY2okfNMbkRt9/vtxz8InoTsWplJSCzFxPmO8+GpSIByX3YQAuGDWtRKhKjCnxDXhF6Z4yxnZ20Wgko7BMRDmxtSGVaI4kdTIgb+zTYoJQlIMlDlmUFgrcDWWC201qSayqlTkiCddWWeV62VU0YlnpRi9VOKaSUsiyq/N0krwq2Ugt7lVpZl5BfHNiytjagMi+XYp0kCR45hMlivVQrE/uU5pXSrCB5bM6d1t2lOZItMqmliT3q5uVxqxzyW/ccfYLNKx7ZTeykMvNyac2yt2Fbc61MHLSC0rwoxbiNdlQ3GBm1NLHQsHUrtEXppR/ljNpW6DbSCoqlFiVoN6YdaFlgsSFVPs1BdT8OaB5QyQzVcaqWDows/zepxR8ObLglTrdtCRVuRNj4Rrxh+//0ke2f8KVL+Kon3GCSbmsJN9OUW3j6g0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l2CQr2ep9qw8Ko1yjkFSNRA2SATYgu10TR9SLoIoNva2j+8k0WDFjHx2/12/Imfj4/GMkqbLCre3SizmiduZhNo5+4sJetHZLZ1r7e2/5ErXvYVm5aAZZxawxns4o9rMBAtxlaSn2MeQvP1h/ZKcqOLnyu43wHjPyMAgUjK6BurqKEY+ZkDqnMT0hSHVFoZTtEdT2Fzr6e2JWBykB4pbgIGTlTKMHNyIZ2E3soeyswcAF0LGG9d0jXE2084qOrIPKPKOx/zn8KwLQ+xeN+2PFEPA+9Uf2nQIDp2ghW6DLJISYkxf+S7m1rDqAGOapRaRTSUFrBhC7NtaU/jgxcfeJ97OSvEN9CcnkTTOTAQ+9hYeKg0E/Ns2liUq3UST1sdUhtNUqaJPWZ7Z42rLtOh8aabHRf7sZm9+8BKq8fVSofex+bE2DUbyGVXyAyvLEHRhC51qlubaSNAkTwEUK7dB87qdXN5q2B7JNWjWV6OjbWOQXzeQX54Cby1R+w/p3HMXAsTSQa6bULeQ4LvT6qZA7MXIGvbGqBYnG/suRnNfjs1rhFMWWmodqg8y4Cul9sFUAPmfwHDKzBJ/a+0f92YML9fS8fwWxuIo+chaQuQWLfQoHzBeqEbbyfRCSZZvaJ/btp882pVtj/bc63ZAGR5xmY5g5+vwuzXYNJbSeZ/pthInF20VKUzFxrZ3ISDJ2D852G8/H/GftlFSJXORwj6PjJPnfoIcG3GiC0gYRaQOI93UZmyPwA7ze0vqh1nW/2XzZHHVhsAIlehwTvkCicfWhnUUvGrvZYiwQAEtRx32Mn7MiitieA078PjY76U8xxj/8LMACxhIqMwsPZ8QAAAABJRU5ErkJggg==", |
| | | symbolSize: [25, 25], |
| | | symbolOffset: [20, 0], |
| | | z: 5, |
| | | data: getSymbolData(data), |
| | |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="bottom_right"> |
| | | <div> |
| | | <div class="bottom_right" > |
| | | <div class="inquire subpage_Div center " ref="container" style="padding: 10px;align-self: center"> |
| | | <el-form |
| | | :inline="true" |
| | | :model="formInline" |
| | | class="demo-form-inline" |
| | | ref="sizeForm" |
| | | label-width="68px" |
| | | > |
| | | <!-- <el-form-item> |
| | | <el-cascader |
| | |
| | | checkStrictly: true, |
| | | emitPath: false, |
| | | }" |
| | | ></el-cascader> --> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | ></el-cascader> |
| | | </el-form-item> --> |
| | | <el-form-item style="padding-right: 10px"> |
| | | <el-cascader |
| | | v-model="formInline.depid" |
| | | :show-all-levels="false" |
| | |
| | | }" |
| | | ></el-cascader> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <el-form-item style="padding-right: 50px"> |
| | | <el-input |
| | | v-model="formInline.tab" |
| | | suffix-icon="el-icon-search" |
| | | :placeholder="$t('common.pleaseInput')" |
| | | ></el-input> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | |
| | | <el-form-item style="padding-right: 40px"> |
| | | <el-button |
| | | icon="el-icon-search" |
| | | @click="searchDataLibSelectTabs" |
| | | size="small" |
| | | >{{ |
| | | $t('common.iquery') |
| | | }}</el-button> |
| | | type="primary" |
| | | icon="el-icon-search" |
| | | @click="searchDataLibSelectTabs" |
| | | size="medium" |
| | | >{{$t('common.iquery')}}</el-button> |
| | | <!-- </el-form-item> |
| | | <el-form-item style="padding-right: 10px">--> |
| | | <el-button |
| | | icon="el-icon-refresh" |
| | | @click="restDataLibSelectTabs" |
| | | type="info" |
| | | size="small" |
| | | >{{ |
| | | $t('common.reset') |
| | | }}</el-button> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | size="medium" |
| | | style=" |
| | | background: #a3a5a6; |
| | | border: 1px solid #a3a5a6; |
| | | color: white; " |
| | | >{{ $t('common.reset') }}</el-button> |
| | | <!-- </el-form-item> |
| | | <el-form-item style="padding-right: 10px">--> |
| | | <el-button |
| | | @click="getSpaceMapVisibale" |
| | | size="small" |
| | | >{{ |
| | | $t('synthesis.rangequery') |
| | | }}</el-button> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | type="success" |
| | | icon="el-icon-search" |
| | | @click="getSpaceMapVisibale" |
| | | size="medium" |
| | | >{{ $t('synthesis.rangequery') }}</el-button> |
| | | <!-- </el-form-item> |
| | | <el-form-item style="padding-right: 10px">--> |
| | | <el-button |
| | | @click="getdownloadList" |
| | | size="small" |
| | | >{{ |
| | | $t('synthesis.DownloadList') |
| | | }}</el-button> |
| | | icon="el-icon-download" |
| | | type="warning" |
| | | @click="getdownloadList" |
| | | size="medium" |
| | | >{{ $t('synthesis.DownloadList') }}</el-button> |
| | | </el-form-item> |
| | | </el-form> |
| | | </div> |
| | |
| | | class="elLink" |
| | | :underline="false" |
| | | @click="setAttachInsert" |
| | | >{{$t('common.append')}}</i></el-link> |
| | | >{{$t('common.append')}}</el-link> |
| | | </el-col> |
| | | <el-col :span="3"> |
| | | <el-link |
| | | class="elLink" |
| | | :underline="false" |
| | | @click="setAttachDel" |
| | | >{{$t('common.delete')}}</i></el-link> |
| | | >{{$t('common.delete')}}</el-link> |
| | | </el-col> |
| | | <!-- <el-col :span="3"> <el-link class="elLink" :underline="false" >{{$t('common.reset')}}</i></el-link></el-col> --> |
| | | </el-row> |
| | |
| | | } |
| | | if (parm == "leftView" || parm == "leftTree") { |
| | | this.leftWidth = "20%" |
| | | this.rightWidth = "20%" |
| | | } |
| | | |
| | | if (parm == "right") { |