|
|
@@ -2,6 +2,8 @@ let app = new Vue({
|
|
|
el: '#app',
|
|
|
data () {
|
|
|
return {
|
|
|
+ boardUrl: '', // 跳转路径
|
|
|
+ boardTipShow: false, // 项目看板弹窗专用
|
|
|
lineCommonCompany: [], //双柱状图弹窗上面的折线图x轴
|
|
|
changeLine: true,
|
|
|
versions: true,
|
|
|
@@ -200,12 +202,12 @@ let app = new Vue({
|
|
|
get('/ierp/kapi/v2/mdnb/mdnb_xmkb/mdnb_manager_middle/getOrgName', value).then(res => {
|
|
|
commonCompany = res.data.map(item => item.simplename)
|
|
|
// 左边
|
|
|
- // this.getDate1()
|
|
|
- // this.getDate2()
|
|
|
- // this.getDate3()
|
|
|
- // this.getDate4()
|
|
|
- // this.getDate5()
|
|
|
- // this.getDate6()
|
|
|
+ this.getDate1()
|
|
|
+ this.getDate2()
|
|
|
+ this.getDate3()
|
|
|
+ this.getDate4()
|
|
|
+ this.getDate5()
|
|
|
+ this.getDate6()
|
|
|
|
|
|
// 右边
|
|
|
// this.getDate7()
|
|
|
@@ -216,7 +218,7 @@ let app = new Vue({
|
|
|
// this.getDate12() // 右下B
|
|
|
|
|
|
// 中间
|
|
|
- this.getDate14()
|
|
|
+ // this.getDate14()
|
|
|
resolve(1);
|
|
|
})
|
|
|
});
|
|
|
@@ -652,36 +654,38 @@ let app = new Vue({
|
|
|
});
|
|
|
},
|
|
|
// 右边穿透二级
|
|
|
- rightPenetrateTwo (modelName, substraction, name) {
|
|
|
+ rightPenetrateTwo (modelName, substraction, orgName,location) {
|
|
|
let that = this
|
|
|
- return new Promise((resolve, err) => {
|
|
|
- let value = {
|
|
|
- access_token: this.access_token,
|
|
|
- "request": {
|
|
|
- isInsert: '0',
|
|
|
- modelName,
|
|
|
- substraction,
|
|
|
- orgName: name
|
|
|
- },
|
|
|
- pageSize: 1000
|
|
|
- }
|
|
|
- post('/ierp/kapi/v2/mdnb/mdnb_xmkb/mdnb_manager_middle/getTwoLevelData', value).then(res => {
|
|
|
- that.config6.data = []
|
|
|
- res.data.forEach((item, index) => {
|
|
|
- that.config6.data[index] = []
|
|
|
- that.config6.data[index][0] = item.mdnb_project_name
|
|
|
- that.config6.data[index][2] = item.mdnb_implement_org
|
|
|
- that.config6.data[index][3] = item.mdnb_insdrutytype1
|
|
|
- that.config6.data[index][4] = item.mdnb_insdrutytype2
|
|
|
+ if(location == 'right'){
|
|
|
+ return new Promise((resolve, err) => {
|
|
|
+ let value = {
|
|
|
+ access_token: this.access_token,
|
|
|
+ "request": {
|
|
|
+ isInsert: '0',
|
|
|
+ modelName,
|
|
|
+ substraction,
|
|
|
+ orgName
|
|
|
+ },
|
|
|
+ pageSize: 1000
|
|
|
+ }
|
|
|
+ post('/ierp/kapi/v2/mdnb/mdnb_xmkb/mdnb_manager_middle/getTwoLevelData', value).then(res => {
|
|
|
+ that.config6.data = []
|
|
|
+ res.data.forEach((item, index) => {
|
|
|
+ that.config6.data[index] = []
|
|
|
+ that.config6.data[index][0] = item.mdnb_project_name
|
|
|
+ that.config6.data[index][2] = item.mdnb_implement_org
|
|
|
+ that.config6.data[index][3] = item.mdnb_insdrutytype1
|
|
|
+ that.config6.data[index][4] = item.mdnb_insdrutytype2
|
|
|
+ })
|
|
|
+ that.config6 = { ...that.config6 }
|
|
|
+ that.projectListTipShow = true
|
|
|
+ resolve(1);
|
|
|
})
|
|
|
- that.config6 = { ...that.config6 }
|
|
|
- that.projectListTipShow = true
|
|
|
- resolve(1);
|
|
|
- })
|
|
|
- });
|
|
|
+ });
|
|
|
+ }
|
|
|
},
|
|
|
// 左边穿透一级
|
|
|
- leftPenetrateOne (mdnb_textfield11, mdnb_textfield13, mdnb_textfield16, mdnb_textfield23, mdnb_textfield5) {
|
|
|
+ leftPenetrateOne (mdnb_textfield11, mdnb_textfield13, mdnb_textfield16, mdnb_textfield23,typeNum) {
|
|
|
return new Promise((resolve, err) => {
|
|
|
let value = {
|
|
|
access_token: this.access_token,
|
|
|
@@ -691,20 +695,25 @@ let app = new Vue({
|
|
|
mdnb_textfield13,
|
|
|
mdnb_textfield16,
|
|
|
mdnb_textfield23,
|
|
|
- mdnb_textfield5,
|
|
|
mdnb_datefield: '2022-01-01'
|
|
|
},
|
|
|
pageSize: 1000
|
|
|
}
|
|
|
post('/ierp/kapi/v2/mdnb/mdnb_xmkb/mdnb_manager_preinvest/yjct', value).then(res => {
|
|
|
- res.data.forEach((item, index) => {
|
|
|
- common4[index] = item.mdnb_projects
|
|
|
- common5[index] = item.mdnb_amount_sl
|
|
|
- })
|
|
|
- setTimeout(() => {
|
|
|
- this.initChartLTip2()
|
|
|
- this.initChartLTip3()
|
|
|
- })
|
|
|
+ if(typeNum == 2){
|
|
|
+ common4 = []
|
|
|
+ common5 = []
|
|
|
+ res.data.rows[0].mdnb_entryentity12.forEach((item, index) => {
|
|
|
+ common4.push(item.mdnb_integerfield18)
|
|
|
+ common5.push(item.mdnb_amountfield12)
|
|
|
+ })
|
|
|
+ setTimeout(() => {
|
|
|
+ this.initChartLTip2()
|
|
|
+ this.initChartLTip3()
|
|
|
+ })
|
|
|
+ }else if(typeNum == 1){
|
|
|
+
|
|
|
+ }
|
|
|
resolve(1);
|
|
|
})
|
|
|
});
|
|
|
@@ -805,9 +814,9 @@ let app = new Vue({
|
|
|
common5 = []
|
|
|
if (type == 'distribution') {
|
|
|
that.changeLine = false
|
|
|
- that.lineCommonCompany = res.data.topData.map(item=>item.type)
|
|
|
- common4 = res.data.topData.map(item=>item.amount)
|
|
|
- common5 = res.data.bottomData.map(item=>item.amount)
|
|
|
+ that.lineCommonCompany = res.data.topData.map(item => item.type)
|
|
|
+ common4 = res.data.topData.map(item => item.amount)
|
|
|
+ common5 = res.data.bottomData.map(item => item.amount)
|
|
|
} else {
|
|
|
if (param == '新建') {
|
|
|
res.data.keyIndicators.forEach((item, index) => {
|
|
|
@@ -849,8 +858,11 @@ let app = new Vue({
|
|
|
// 去项目看板
|
|
|
goLookBoard (e) {
|
|
|
console.log(e, '?????')
|
|
|
- window.location.href = `http://192.168.2.111:8080/ierp/accessTokenLogin.do?access_token=${this.access_token}&redirect=http://192.168.2.111:8080/ierp/index.html?formId=mdnb_threetoproject&prj=PL_ZZGY_0_2023_000036`
|
|
|
-
|
|
|
+ // window.location.href = `http://192.168.2.111:8080/ierp/accessTokenLogin.do?access_token=${this.access_token}&redirect=http://192.168.2.111:8080/ierp/index.html?formId=mdnb_threetoproject&prj=PL_ZZGY_0_2023_000036`
|
|
|
+ // window.open('http://192.168.2.111:8080/ierp/accessTokenLogin.do?access_token=${this.access_token}&redirect=http://192.168.2.111:8080/ierp/index.html?formId=mdnb_threetoproject&prj=PL_ZZGY_0_2023_000036')
|
|
|
+ this.boardUrl = `http://192.168.2.111:8080/ierp/accessTokenLogin.do?access_token=${this.access_token}&redirect=http://192.168.2.111:8080/ierp/index.html?formId=mdnb_threetoproject&prj=PL_ZZGY_0_2023_000036`
|
|
|
+ this.boardTipShow = true
|
|
|
+ console.log(this.boardUrl, '??????')
|
|
|
},
|
|
|
// 根据key分组
|
|
|
classify (arr, k) {
|
|
|
@@ -875,7 +887,7 @@ let app = new Vue({
|
|
|
return myArr
|
|
|
},
|
|
|
// 两个柱状图的弹窗
|
|
|
- showChartLTipDouble (e, location, mdnb_textfield11, mdnb_textfield13, mdnb_textfield16, mdnb_textfield23, mdnb_textfield5, type, param) {
|
|
|
+ showChartLTipDouble (e, location, mdnb_textfield11, mdnb_textfield13, mdnb_textfield16, mdnb_textfield23, type, param) {
|
|
|
this.titleName = e
|
|
|
this.closeTap()
|
|
|
this.echartDoubleTipShow = true
|
|
|
@@ -883,7 +895,7 @@ let app = new Vue({
|
|
|
this.rightPenetrateOne()
|
|
|
}
|
|
|
if (location == 'left') {
|
|
|
- this.leftPenetrateOne(mdnb_textfield11, mdnb_textfield13, mdnb_textfield16, mdnb_textfield23, mdnb_textfield5)
|
|
|
+ this.leftPenetrateOne(mdnb_textfield11, mdnb_textfield13, mdnb_textfield16, mdnb_textfield23,2)
|
|
|
}
|
|
|
if (location == 'center') {
|
|
|
this.centerPenetrateOne(type, param, 2)
|
|
|
@@ -894,13 +906,16 @@ let app = new Vue({
|
|
|
})
|
|
|
},
|
|
|
// 单个柱状图的弹窗
|
|
|
- showChartLTipSingle (e, location, type, param) {
|
|
|
+ showChartLTipSingle (e, location, type, param,mdnb_textfield11, mdnb_textfield13, mdnb_textfield16, mdnb_textfield23) {
|
|
|
this.closeTap()
|
|
|
this.titleName = e
|
|
|
this.echartSingleTipShow = true
|
|
|
if (location == 'center') {
|
|
|
this.centerPenetrateOne(type, param, 1)
|
|
|
}
|
|
|
+ if (location == 'left') {
|
|
|
+ this.leftPenetrateOne(mdnb_textfield11, mdnb_textfield13, mdnb_textfield16, mdnb_textfield23,1)
|
|
|
+ }
|
|
|
setTimeout(() => {
|
|
|
this.initChartLTip()
|
|
|
})
|
|
|
@@ -1084,7 +1099,7 @@ let app = new Vue({
|
|
|
},
|
|
|
},
|
|
|
xAxis: {
|
|
|
- data: this.changeLine?commonCompany:this.lineCommonCompany,
|
|
|
+ data: this.changeLine ? commonCompany : this.lineCommonCompany,
|
|
|
axisTick: {
|
|
|
show: false,
|
|
|
},
|
|
|
@@ -1147,7 +1162,7 @@ let app = new Vue({
|
|
|
series: [
|
|
|
{
|
|
|
name: "2023年额度",
|
|
|
- type: this.changeLine?"bar":'line',
|
|
|
+ type: this.changeLine ? "bar" : 'line',
|
|
|
data: common4,
|
|
|
showBackground: false,
|
|
|
backgroundStyle: {
|
|
|
@@ -1190,7 +1205,7 @@ let app = new Vue({
|
|
|
})
|
|
|
let that = this
|
|
|
that.myChartTip2.on('click', function (param) {
|
|
|
- that.rightPenetrateTwo('', '', param.name)
|
|
|
+ that.rightPenetrateTwo('', '', param.name,'right')
|
|
|
})
|
|
|
that.myChartTip2.setOption(option);
|
|
|
},
|
|
|
@@ -1344,7 +1359,7 @@ let app = new Vue({
|
|
|
})
|
|
|
let that = this
|
|
|
that.myChartTip3.on('click', function (param) {
|
|
|
- that.rightPenetrateTwo('', '', param.name)
|
|
|
+ that.rightPenetrateTwo('', '', param.name,'right')
|
|
|
})
|
|
|
that.myChartTip3.setOption(option);
|
|
|
},
|
|
|
@@ -1736,7 +1751,7 @@ let app = new Vue({
|
|
|
point: {
|
|
|
events: {
|
|
|
click: function (e) {
|
|
|
- that.showChartLTipDouble(e.point.name, 'left', '投资计划分析', e.point.name, '', '', '')
|
|
|
+ that.showChartLTipDouble(e.point.name, 'left', '投资计划分析', e.point.name, '', '')
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
@@ -1757,7 +1772,7 @@ let app = new Vue({
|
|
|
point: {
|
|
|
events: {
|
|
|
click: function (e) {
|
|
|
- that.showChartLTipDouble(e.point.name, 'left', '投资计划分析', e.point.name, '', '', '')
|
|
|
+ that.showChartLTipDouble(e.point.name, 'left', '投资计划分析', e.point.name, '', '')
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
@@ -1847,7 +1862,7 @@ let app = new Vue({
|
|
|
point: {
|
|
|
events: {
|
|
|
click: function (e) { //点击事件
|
|
|
- that.showChartLTipDouble(e.point.name, 'left', '投资计划分析', e.point.name, '', '', '')
|
|
|
+ that.showChartLTipDouble(e.point.name, 'left', '投资计划分析', e.point.name, '', '')
|
|
|
},
|
|
|
mouseOver: function (e) { //鼠标移入停止轮播并且找到移入的当前数据设为选中
|
|
|
//console.log(e)
|
|
|
@@ -1864,7 +1879,7 @@ let app = new Vue({
|
|
|
point: {
|
|
|
events: {
|
|
|
click: function (e) {
|
|
|
- that.showChartLTipDouble(e.point.name, 'left', '投资计划分析', e.point.name, '', '', '')
|
|
|
+ that.showChartLTipDouble(e.point.name, 'left', '投资计划分析', e.point.name, '', '')
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
@@ -1895,7 +1910,7 @@ let app = new Vue({
|
|
|
point: {
|
|
|
events: {
|
|
|
click: function (e) {
|
|
|
- that.showChartLTipDouble(e.point.name, 'left', '投资计划分析', e.point.name, '', '', '')
|
|
|
+ that.showChartLTipDouble(e.point.name, 'left', '投资计划分析', e.point.name, '', '')
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
@@ -1916,7 +1931,7 @@ let app = new Vue({
|
|
|
point: {
|
|
|
events: {
|
|
|
click: function (e) {
|
|
|
- that.showChartLTipDouble(e.point.name, 'left', '投资计划分析', e.point.name, '', '', '')
|
|
|
+ that.showChartLTipDouble(e.point.name, 'left', '投资计划分析', e.point.name, '', '')
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
@@ -1979,7 +1994,7 @@ let app = new Vue({
|
|
|
point: {
|
|
|
events: {
|
|
|
click: function (e) {
|
|
|
- that.showChartLTipDouble(e.point.name, 'left')
|
|
|
+ that.showChartLTipDouble(e.point.name, 'left', '投资计划分析', e.point.name, '', '')
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
@@ -2000,7 +2015,7 @@ let app = new Vue({
|
|
|
point: {
|
|
|
events: {
|
|
|
click: function (e) {
|
|
|
- that.showChartLTipDouble(e.point.name, 'left')
|
|
|
+ that.showChartLTipDouble(e.point.name, 'left', '投资计划分析', e.point.name, '', '')
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
@@ -2011,7 +2026,7 @@ let app = new Vue({
|
|
|
}, 2000);
|
|
|
},
|
|
|
legendItemClick: function (event) {
|
|
|
- that.showChartLTipDouble(e.point.name, 'left')
|
|
|
+ that.showChartLTipDouble(e.point.name, 'left', '投资计划分析', e.point.name, '', '')
|
|
|
return true;
|
|
|
}
|
|
|
}
|
|
|
@@ -2090,7 +2105,7 @@ let app = new Vue({
|
|
|
point: {
|
|
|
events: {
|
|
|
click: function (e) { //点击事件
|
|
|
- that.showChartLTipDouble(e.point.name, 'left')
|
|
|
+ that.showChartLTipDouble(e.point.name, 'left', '投资计划分析', e.point.name, '', '')
|
|
|
},
|
|
|
mouseOver: function (e) { //鼠标移入停止轮播并且找到移入的当前数据设为选中
|
|
|
//console.log(e)
|
|
|
@@ -2107,7 +2122,7 @@ let app = new Vue({
|
|
|
point: {
|
|
|
events: {
|
|
|
click: function (e) {
|
|
|
- that.showChartLTipDouble(e.point.name, 'left')
|
|
|
+ that.showChartLTipDouble(e.point.name, 'left', '投资计划分析', e.point.name, '', '')
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
@@ -2138,7 +2153,7 @@ let app = new Vue({
|
|
|
point: {
|
|
|
events: {
|
|
|
click: function (e) {
|
|
|
- that.showChartLTipDouble(e.point.name, 'left')
|
|
|
+ that.showChartLTipDouble(e.point.name, 'left', '投资计划分析', e.point.name, '', '')
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
@@ -2402,7 +2417,7 @@ let app = new Vue({
|
|
|
point: {
|
|
|
events: {
|
|
|
click: function (e) {
|
|
|
- that.showChartLTipDouble(e.point.name, 'left')
|
|
|
+ that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '传统产业分析', e.point.name, '')
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
@@ -2496,7 +2511,7 @@ let app = new Vue({
|
|
|
point: {
|
|
|
events: {
|
|
|
click: function (e) { //点击事件
|
|
|
- that.showChartLTipDouble(e.point.name, 'left')
|
|
|
+ that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '传统产业分析', e.point.name, '')
|
|
|
},
|
|
|
mouseOver: function (e) { //鼠标移入停止轮播并且找到移入的当前数据设为选中
|
|
|
//console.log(e)
|
|
|
@@ -2513,7 +2528,7 @@ let app = new Vue({
|
|
|
point: {
|
|
|
events: {
|
|
|
click: function (e) {
|
|
|
- that.showChartLTipDouble(e.point.name, 'left')
|
|
|
+ that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '传统产业分析', e.point.name, '')
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
@@ -2544,7 +2559,7 @@ let app = new Vue({
|
|
|
point: {
|
|
|
events: {
|
|
|
click: function (e) {
|
|
|
- that.showChartLTipDouble(e.point.name, 'left')
|
|
|
+ that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '传统产业分析', e.point.name, '')
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
@@ -2612,7 +2627,7 @@ let app = new Vue({
|
|
|
point: {
|
|
|
events: {
|
|
|
click: function (e) {
|
|
|
- that.showChartLTipDouble(e.point.name, 'left')
|
|
|
+ that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '战略性新兴产业', e.point.name, '')
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
@@ -2706,7 +2721,7 @@ let app = new Vue({
|
|
|
point: {
|
|
|
events: {
|
|
|
click: function (e) { //点击事件
|
|
|
- that.showChartLTipDouble(e.point.name, 'left')
|
|
|
+ that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '战略性新兴产业', e.point.name, '')
|
|
|
},
|
|
|
mouseOver: function (e) { //鼠标移入停止轮播并且找到移入的当前数据设为选中
|
|
|
//console.log(e)
|
|
|
@@ -2723,7 +2738,7 @@ let app = new Vue({
|
|
|
point: {
|
|
|
events: {
|
|
|
click: function (e) {
|
|
|
- that.showChartLTipDouble(e.point.name, 'left')
|
|
|
+ that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '战略性新兴产业', e.point.name, '')
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
@@ -2754,7 +2769,7 @@ let app = new Vue({
|
|
|
point: {
|
|
|
events: {
|
|
|
click: function (e) {
|
|
|
- that.showChartLTipDouble(e.point.name, 'left')
|
|
|
+ that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '战略性新兴产业', e.point.name, '')
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
@@ -2822,7 +2837,7 @@ let app = new Vue({
|
|
|
point: {
|
|
|
events: {
|
|
|
click: function (e) {
|
|
|
- that.showChartLTipDouble(e.point.name, 'left')
|
|
|
+ that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '特色优势产业', e.point.name, '')
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
@@ -2916,7 +2931,7 @@ let app = new Vue({
|
|
|
point: {
|
|
|
events: {
|
|
|
click: function (e) { //点击事件
|
|
|
- that.showChartLTipDouble(e.point.name, 'left')
|
|
|
+ that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '特色优势产业', e.point.name, '')
|
|
|
},
|
|
|
mouseOver: function (e) { //鼠标移入停止轮播并且找到移入的当前数据设为选中
|
|
|
//console.log(e)
|
|
|
@@ -2933,7 +2948,7 @@ let app = new Vue({
|
|
|
point: {
|
|
|
events: {
|
|
|
click: function (e) {
|
|
|
- that.showChartLTipDouble(e.point.name, 'left')
|
|
|
+ that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '特色优势产业', e.point.name, '')
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
@@ -2964,7 +2979,7 @@ let app = new Vue({
|
|
|
point: {
|
|
|
events: {
|
|
|
click: function (e) {
|
|
|
- that.showChartLTipDouble(e.point.name, 'left')
|
|
|
+ that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '特色优势产业', e.point.name, '')
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
@@ -3033,7 +3048,7 @@ let app = new Vue({
|
|
|
point: {
|
|
|
events: {
|
|
|
click: function (e) {
|
|
|
- that.showChartLTipDouble(e.point.name, 'left')
|
|
|
+ that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '公共基础等产业', e.point.name, '')
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
@@ -3127,7 +3142,7 @@ let app = new Vue({
|
|
|
point: {
|
|
|
events: {
|
|
|
click: function (e) { //点击事件
|
|
|
- that.showChartLTipDouble(e.point.name, 'left')
|
|
|
+ that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '公共基础等产业', e.point.name, '')
|
|
|
},
|
|
|
mouseOver: function (e) { //鼠标移入停止轮播并且找到移入的当前数据设为选中
|
|
|
//console.log(e)
|
|
|
@@ -3144,7 +3159,7 @@ let app = new Vue({
|
|
|
point: {
|
|
|
events: {
|
|
|
click: function (e) {
|
|
|
- that.showChartLTipDouble(e.point.name, 'left')
|
|
|
+ that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '公共基础等产业', e.point.name, '')
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
@@ -3175,7 +3190,7 @@ let app = new Vue({
|
|
|
point: {
|
|
|
events: {
|
|
|
click: function (e) {
|
|
|
- that.showChartLTipDouble(e.point.name, 'left')
|
|
|
+ that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '公共基础等产业', e.point.name, '')
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
@@ -3498,7 +3513,7 @@ let app = new Vue({
|
|
|
}
|
|
|
let that = this
|
|
|
myChart.on('click', function (param) {
|
|
|
- that.showChartLTipDouble('固定资产', 'left')
|
|
|
+ that.showChartLTipDouble(param.name, 'left', '项目阶段分析', '固定资产进度分布', param.name,param.seriesName )
|
|
|
})
|
|
|
myChart.setOption(option)
|
|
|
tools.loopShowTooltip(myChart, option, {
|
|
|
@@ -3649,7 +3664,7 @@ let app = new Vue({
|
|
|
}
|
|
|
let that = this
|
|
|
myChart.on('click', function (param) {
|
|
|
- that.showChartLTipDouble('股权类', 'left')
|
|
|
+ that.showChartLTipDouble(param.name, 'left', '项目阶段分析', '股权类进度分布', param.name,param.seriesName )
|
|
|
})
|
|
|
myChart.setOption(option)
|
|
|
tools.loopShowTooltip(myChart, option, {
|
|
|
@@ -3701,7 +3716,7 @@ let app = new Vue({
|
|
|
point: {
|
|
|
events: {
|
|
|
click: function (e) {
|
|
|
- that.showChartLTipDouble(e.point.name, 'center', '', '', '', '', '', 'distribution', e.point.name)
|
|
|
+ that.showChartLTipDouble(e.point.name, 'center', '', '', '', '', 'distribution', e.point.name)
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
@@ -3785,7 +3800,7 @@ let app = new Vue({
|
|
|
point: {
|
|
|
events: {
|
|
|
click: function (e) { //点击事件
|
|
|
- that.showChartLTipDouble(e.point.name, 'center', '', '', '', '', '', 'distribution', e.point.name)
|
|
|
+ that.showChartLTipDouble(e.point.name, 'center', '', '', '', '', 'distribution', e.point.name)
|
|
|
},
|
|
|
mouseOver: function (e) { //鼠标移入停止轮播并且找到移入的当前数据设为选中
|
|
|
//console.log(e)
|
|
|
@@ -3802,7 +3817,7 @@ let app = new Vue({
|
|
|
point: {
|
|
|
events: {
|
|
|
click: function (e) {
|
|
|
- that.showChartLTipDouble(e.point.name, 'center', '', '', '', '', '', 'distribution', e.point.name)
|
|
|
+ that.showChartLTipDouble(e.point.name, 'center', '', '', '', '', 'distribution', e.point.name)
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
@@ -3833,7 +3848,7 @@ let app = new Vue({
|
|
|
point: {
|
|
|
events: {
|
|
|
click: function (e) {
|
|
|
- that.showChartLTipDouble(e.point.name, 'center', '', '', '', '', '', 'distribution', e.point.name)
|
|
|
+ that.showChartLTipDouble(e.point.name, 'center', '', '', '', '', 'distribution', e.point.name)
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
@@ -4614,7 +4629,7 @@ let app = new Vue({
|
|
|
point: {
|
|
|
events: {
|
|
|
click: function (e) {
|
|
|
- that.showChartLTipDouble(e.point.name, 'center', '', '', '', '', '', 'keyIndicators', e.point.name)
|
|
|
+ that.showChartLTipDouble(e.point.name, 'center', '', '', '', '', 'keyIndicators', e.point.name)
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
@@ -4635,7 +4650,7 @@ let app = new Vue({
|
|
|
point: {
|
|
|
events: {
|
|
|
click: function (e) {
|
|
|
- that.showChartLTipDouble(e.point.name, 'center', '', '', '', '', '', 'keyIndicators', e.point.name)
|
|
|
+ that.showChartLTipDouble(e.point.name, 'center', '', '', '', '', 'keyIndicators', e.point.name)
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
@@ -4713,7 +4728,7 @@ let app = new Vue({
|
|
|
point: {
|
|
|
events: {
|
|
|
click: function (e) { //点击事件
|
|
|
- that.showChartLTipDouble(e.point.name, 'center', '', '', '', '', '', 'keyIndicators', e.point.name)
|
|
|
+ that.showChartLTipDouble(e.point.name, 'center', '', '', '', '', 'keyIndicators', e.point.name)
|
|
|
},
|
|
|
mouseOver: function (e) { //鼠标移入停止轮播并且找到移入的当前数据设为选中
|
|
|
//console.log(e)
|
|
|
@@ -4730,7 +4745,7 @@ let app = new Vue({
|
|
|
point: {
|
|
|
events: {
|
|
|
click: function (e) {
|
|
|
- that.showChartLTipDouble(e.point.name, 'center', '', '', '', '', '', 'keyIndicators', e.point.name)
|
|
|
+ that.showChartLTipDouble(e.point.name, 'center', '', '', '', '', 'keyIndicators', e.point.name)
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
@@ -4761,7 +4776,7 @@ let app = new Vue({
|
|
|
point: {
|
|
|
events: {
|
|
|
click: function (e) {
|
|
|
- that.showChartLTipDouble(e.point.name, 'center', '', '', '', '', '', 'keyIndicators', e.point.name)
|
|
|
+ that.showChartLTipDouble(e.point.name, 'center', '', '', '', '', 'keyIndicators', e.point.name)
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
@@ -4782,7 +4797,7 @@ let app = new Vue({
|
|
|
point: {
|
|
|
events: {
|
|
|
click: function (e) {
|
|
|
- that.showChartLTipDouble(e.point.name, 'center', '', '', '', '', '', 'keyIndicators', e.point.name)
|
|
|
+ that.showChartLTipDouble(e.point.name, 'center', '', '', '', '', 'keyIndicators', e.point.name)
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
@@ -5064,7 +5079,7 @@ let app = new Vue({
|
|
|
],
|
|
|
}
|
|
|
myChart.on('click', function (param) {
|
|
|
- that.rightPenetrateTwo(2, '', param.name)
|
|
|
+ that.rightPenetrateTwo(2, '', param.name,'right')
|
|
|
})
|
|
|
myChart.setOption(option)
|
|
|
tools.loopShowTooltip(myChart, option, {
|
|
|
@@ -5263,7 +5278,7 @@ let app = new Vue({
|
|
|
]
|
|
|
}
|
|
|
myChart.on('click', function (param) {
|
|
|
- that.rightPenetrateTwo(1, param.seriesName == '正偏差' ? 1 : param.seriesName == '容差' ? 2 : 3, param.name)
|
|
|
+ that.rightPenetrateTwo(1, param.seriesName == '正偏差' ? 1 : param.seriesName == '容差' ? 2 : 3, param.name,'right')
|
|
|
})
|
|
|
myChart.setOption(option)
|
|
|
tools.loopShowTooltip(myChart, option, {
|
|
|
@@ -5496,7 +5511,7 @@ let app = new Vue({
|
|
|
],
|
|
|
}
|
|
|
myChart.on('click', function (param) {
|
|
|
- that.rightPenetrateTwo('', '', param.name)
|
|
|
+ that.rightPenetrateTwo('', '', param.name,'right')
|
|
|
})
|
|
|
myChart.setOption(option)
|
|
|
tools.loopShowTooltip(myChart, option, {
|