Merge branch 'hi-ucs-dev' of http://192.168.124.50:80/wuhongjian/hi-ucs into hi-ucs-dev

This commit is contained in:
gongjiale 2022-11-17 15:37:35 +08:00
commit 177d0cc95d
10 changed files with 66 additions and 57 deletions

View File

@ -636,7 +636,7 @@ export default {
this.showPutOnTheShelfFlag = true this.showPutOnTheShelfFlag = true
this.$http.get('/category/getCategoryTree').then((res) => { this.$http.get('/category/getCategoryTree').then((res) => {
this.insertList = res.data.data.filter( this.insertList = res.data.data.filter(
(item) => item.name === '组件服务' (item) => item.name === '组件服务'
)[0] )[0]
}) })
}, },
@ -887,7 +887,7 @@ export default {
UpdateData (item) { UpdateData (item) {
this.$http.get('/category/getCategoryTree').then((res) => { this.$http.get('/category/getCategoryTree').then((res) => {
this.insertList = res.data.data.filter( this.insertList = res.data.data.filter(
(item) => item.name === '组件服务' (item) => item.name === '组件服务'
)[0] )[0]
this.radio = item.infoList.filter( this.radio = item.infoList.filter(
(val) => val.attrType === '组件类型' (val) => val.attrType === '组件类型'

View File

@ -577,7 +577,7 @@ export default {
showPutOnTheShelf () { showPutOnTheShelf () {
this.showPutOnTheShelfFlag2 = true this.showPutOnTheShelfFlag2 = true
this.$http.get('/category/getCategoryTree').then(res => { this.$http.get('/category/getCategoryTree').then(res => {
this.insertList = res.data.data.filter(item => item.name === '应用资源')[0] this.insertList = res.data.data.filter(item => item.name === '应用资源')[0]
this.putOnTheShelfList = this.insertList.children this.putOnTheShelfList = this.insertList.children
}) })
}, },
@ -747,7 +747,7 @@ export default {
// //
UpdateData (item) { UpdateData (item) {
this.$http.get('/category/getCategoryTree').then(res => { this.$http.get('/category/getCategoryTree').then(res => {
this.insertList = res.data.data.filter(item => item.name === '应用资源')[0] this.insertList = res.data.data.filter(item => item.name === '应用资源')[0]
this.radio = '应用资源' this.radio = '应用资源'
// this.radio = item.infoList.filter(val => val.attrType === '')[0].attrValue // this.radio = item.infoList.filter(val => val.attrType === '')[0].attrValue
this.putOnTheShelfList = this.insertList.children this.putOnTheShelfList = this.insertList.children

View File

@ -259,7 +259,7 @@
padding-bottom: 0; padding-bottom: 0;
.main { .main {
width: 100%; width: 100%;
margin-top: 10px; margin-top: 60px;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;

View File

@ -240,8 +240,8 @@
}, },
legend: { legend: {
icon: 'emptyCircle', icon: 'emptyCircle',
height: 3, itemGap: 20,
itemGap: 40, padding: 20,
// orient: 'horizontal', // orient: 'horizontal',
bottom: 0, bottom: 0,
formatter: function (name) { formatter: function (name) {
@ -261,8 +261,7 @@
{ {
center: ['50%', '40%'], center: ['50%', '40%'],
type: 'pie', type: 'pie',
selectedMode: 'single', // selectedMode: 'single',
silent: true,
radius: ['50%', '30%'], radius: ['50%', '30%'],
color: ['#fe845e', '#6cc95a', '#02d1b0', '#1772ff', '#FAC858'], color: ['#fe845e', '#6cc95a', '#02d1b0', '#1772ff', '#FAC858'],
top: '0', top: '0',
@ -290,7 +289,6 @@
type: 'pie', type: 'pie',
center: ['50%', '40%'], center: ['50%', '40%'],
radius: ['58%', '50%'], radius: ['58%', '50%'],
silent: true,
itemStyle: { itemStyle: {
normal: { normal: {
color: '#c2c7d6', color: '#c2c7d6',

View File

@ -97,6 +97,12 @@
let myChart = echarts.init(chartDom) let myChart = echarts.init(chartDom)
let option let option
option = { option = {
grid: {
top: '10%',
right: '5%',
bottom: '10%',
left: '5%',
},
xAxis: { xAxis: {
type: 'category', type: 'category',
data: datas.time, data: datas.time,
@ -255,17 +261,22 @@
} }
.situation { .situation {
font-weight: 600; font-size: 30px;
font-style: normal; color: #000;
font-size: 24px;
text-align: center; text-align: center;
} display: flex;
flex-direction: column;
flex-wrap: wrap;
justify-content: center;
align-items: center;
margin-bottom: 26px;
.line { .line {
width: 34px; width: 34px;
height: 3px; height: 3px;
background-color: #0058e1; background-color: #0058e1;
margin-top: 8px; margin-top: 8px;
} }
}
.SharingSituation { .SharingSituation {
font-size: 18px; font-size: 18px;
@ -321,8 +332,8 @@
.Chart { .Chart {
flex: 1; flex: 1;
width: 598px; width: 638px;
height: 286px; height: 296px;
background: #f7f7f7; background: #f7f7f7;
text-align: center; text-align: center;
margin: auto; margin: auto;

View File

@ -592,7 +592,7 @@ const init = () => {
getCategoryTree().then((res) => { getCategoryTree().then((res) => {
// console.clear() // console.clear()
res.data.data = res.data.data res.data.data = res.data.data
.filter((item) => item.name === '组件服务')[0] .filter((item) => item.name === '组件服务')[0]
.children.filter((item) => item.name === '智能算法')[0] .children.filter((item) => item.name === '智能算法')[0]
navList.value = [] navList.value = []
navList2.value = [] navList2.value = []

View File

@ -480,7 +480,7 @@
getCategoryTree().then((res) => { getCategoryTree().then((res) => {
// console.clear() // console.clear()
res.data.data = res.data.data.filter( res.data.data = res.data.data.filter(
(item) => item.name === '应用资源' (item) => item.name === '应用资源'
)[0] )[0]
navList.value = [] navList.value = []
navList2.value = [] navList2.value = []

View File

@ -579,7 +579,7 @@
getCategoryTree().then((res) => { getCategoryTree().then((res) => {
// console.clear() // console.clear()
res.data.data = res.data.data res.data.data = res.data.data
.filter((item) => item.name === '组件服务')[0] .filter((item) => item.name === '组件服务')[0]
.children.filter((item) => item.name === '业务组件')[0] .children.filter((item) => item.name === '业务组件')[0]
navList.value = [] navList.value = []
navList2.value = [] navList2.value = []

View File

@ -577,7 +577,7 @@
getCategoryTree().then((res) => { getCategoryTree().then((res) => {
// console.clear() // console.clear()
res.data.data = res.data.data res.data.data = res.data.data
.filter((item) => item.name === '组件服务')[0] .filter((item) => item.name === '组件服务')[0]
.children.filter((item) => item.name === '开发组件')[0] .children.filter((item) => item.name === '开发组件')[0]
navList.value = [] navList.value = []
navList2.value = [] navList2.value = []

View File

@ -472,7 +472,7 @@
getCategoryTree().then((res) => { getCategoryTree().then((res) => {
// console.clear() // console.clear()
res.data.data = res.data.data res.data.data = res.data.data
.filter((item) => item.name === '组件服务')[0] .filter((item) => item.name === '组件服务')[0]
.children.filter((item) => item.name === '图层服务')[0] .children.filter((item) => item.name === '图层服务')[0]
navList.value = [] navList.value = []
navList2.value = [] navList2.value = []