|
|
@@ -2,7 +2,7 @@ let app = new Vue({
|
|
|
el: '#app',
|
|
|
data () {
|
|
|
return {
|
|
|
- versions: false,
|
|
|
+ versions: true,
|
|
|
app_token: '',
|
|
|
centerShow: false, // 中间内容显示
|
|
|
echartR4Chart: '',// 倒数第二个专用
|
|
|
@@ -198,12 +198,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()
|
|
|
@@ -212,6 +212,9 @@ let app = new Vue({
|
|
|
// this.getDate10()
|
|
|
// // this.getDate11() // 右下A
|
|
|
// this.getDate12() // 右下B
|
|
|
+
|
|
|
+ // 中间
|
|
|
+ this.getDate14()
|
|
|
resolve(1);
|
|
|
})
|
|
|
});
|
|
|
@@ -286,7 +289,7 @@ let app = new Vue({
|
|
|
}
|
|
|
post('/ierp/kapi/v2/mdnb/mdnb_xmkb/mdnb_manager_preinvest/tqcebjfx', value).then(res => {
|
|
|
let dataList = this.classify(res.data.rows[0].mdnb_entryentity, 'mdnb_textfield1')
|
|
|
- console.log('看看分组情况', dataList, res.data.rows[0].mdnb_entryentity)
|
|
|
+ // console.log('看看分组情况', dataList, res.data.rows[0].mdnb_entryentity)
|
|
|
// 传统产业分析
|
|
|
dataList[0].data.forEach((item, index) => {
|
|
|
left7[index].num = item.mdnb_integerfield13
|
|
|
@@ -566,6 +569,52 @@ let app = new Vue({
|
|
|
presetYear: 2023
|
|
|
}
|
|
|
get('/ierp/kapi/v2/mdnb/mdnb_pmba_ext/presetdata/getKeyData', value).then(res => {
|
|
|
+ console.log(res.data, '????????')
|
|
|
+ // 头部指标
|
|
|
+ center4[0] = res.data.transformations.estateAmount
|
|
|
+ center4[1] = res.data.transformations.estateNum
|
|
|
+ center4[2] = res.data.transformations.figureAmount
|
|
|
+ center4[3] = res.data.transformations.figureNum
|
|
|
+ // 左投部指标
|
|
|
+ center1[0] = res.data.keyIndicators.totalSum
|
|
|
+ center1[1] = res.data.keyIndicators.total
|
|
|
+ center1[2] = res.data.keyIndicators.property
|
|
|
+ center1[3] = res.data.keyIndicators.invest
|
|
|
+ // 投资产业分布
|
|
|
+ res.data.distribution.forEach((item, index) => {
|
|
|
+ center2[index] = { name: item.type, y: item.amount, num: item.count }
|
|
|
+ })
|
|
|
+ // 投资执行情况
|
|
|
+ res.data.implementationStatus.forEach((item, index) => {
|
|
|
+ center3[index].value = item.plan
|
|
|
+ center3[index].value2 = item.reality
|
|
|
+ })
|
|
|
+ // 五个一体化
|
|
|
+ center6[0].value = res.data.five.amount1
|
|
|
+ center6[1].value = res.data.five.amount2
|
|
|
+ center6[2].value = res.data.five.amount3
|
|
|
+ center6[3].value = res.data.five.amount4
|
|
|
+ center6[4].value = res.data.five.amount5
|
|
|
+ // 投资阶段分析
|
|
|
+ center7[0].value = res.data.investmentStage.newnum
|
|
|
+ center7[0].value2 = res.data.investmentStage.newamount
|
|
|
+ center7[1].value = res.data.investmentStage.renewnum
|
|
|
+ center7[1].value2 = res.data.investmentStage.renewamount
|
|
|
+ // 重点项目监控
|
|
|
+ center8 = []
|
|
|
+ res.data.projectMonitoring.forEach((item, index) => {
|
|
|
+ center8.push({ value: item.amount, name: item.name, office: item.group })
|
|
|
+ })
|
|
|
+ console.log(center8,'??????????')
|
|
|
+ // 山西地图
|
|
|
+ center5 = []
|
|
|
+ res.data.investmentMap.forEach((item, index) => {
|
|
|
+ center5.push({ name: item.address, value: item.amount, value2: item.value2 })
|
|
|
+ })
|
|
|
+ // 项目状态
|
|
|
+ proState.projectStatus1 = res.data.projectStatus.projectStatus1
|
|
|
+ proState.projectStatus2 = res.data.projectStatus.projectStatus2
|
|
|
+ proState.projectStatus3 = res.data.projectStatus.projectStatus3
|
|
|
resolve(1);
|
|
|
})
|
|
|
});
|
|
|
@@ -1329,8 +1378,9 @@ let app = new Vue({
|
|
|
{
|
|
|
type: "liquidFill",
|
|
|
radius: "80%",
|
|
|
- data: [common2[0], common2[0] + 0.05, common2[0] - 0.05],
|
|
|
- waveLength: '50%', //波浪长度
|
|
|
+ data: [left2[0], left2[0] + 0.02, left2[0] - 0.02],
|
|
|
+ amplitude: '4%',
|
|
|
+ waveLength: '20%', //波浪长度
|
|
|
// data: [
|
|
|
// {}
|
|
|
// ],
|
|
|
@@ -1438,10 +1488,10 @@ let app = new Vue({
|
|
|
{
|
|
|
type: "liquidFill",
|
|
|
radius: "80%",
|
|
|
- data: [left2[0], left2[0] + 0.05, left2[0] - 0.05],
|
|
|
- // amplitude:'15%',
|
|
|
+ data: [left2[0], left2[0] + 0.02, left2[0] - 0.02],
|
|
|
+ amplitude: '4%',
|
|
|
// period:'1500',
|
|
|
- waveLength: '50%', //波浪长度
|
|
|
+ waveLength: '20%', //波浪长度
|
|
|
// data: [
|
|
|
// {}
|
|
|
// ],
|
|
|
@@ -1553,7 +1603,7 @@ let app = new Vue({
|
|
|
let that = this
|
|
|
|
|
|
var option = {
|
|
|
- colors: ['#a79c57', '#cc8c29','#034a39', '#383062', '#91a65f', '#e1d7da', '#b48494', '#85868b'],
|
|
|
+ colors: ['#a79c57', '#cc8c29', '#034a39', '#383062', '#91a65f', '#e1d7da', '#b48494', '#85868b'],
|
|
|
chart: {
|
|
|
type: 'pie',
|
|
|
backgroundColor: 'rgba(0,0,0,0)',
|
|
|
@@ -3948,19 +3998,7 @@ let app = new Vue({
|
|
|
return res
|
|
|
},
|
|
|
initProvinceChart () {
|
|
|
- var data = [
|
|
|
- { name: '大同市', value: 60.35, value2: 28 },
|
|
|
- { name: '朔州市', value: 33.61, value2: 13 },
|
|
|
- { name: '忻州市', value: 73.35, value2: 25 },
|
|
|
- { name: '吕梁市', value: 109.04, value2: 45 },
|
|
|
- { name: '太原市', value: 251.67, value2: 113 },
|
|
|
- { name: '阳泉市', value: 25.12, value2: 28 },
|
|
|
- { name: '晋中市', value: 148.57, value2: 52 },
|
|
|
- { name: '临汾市', value: 130.55, value2: 30 },
|
|
|
- { name: '长治市', value: 103.00, value2: 23 },
|
|
|
- { name: '运城市', value: 41.06, value2: 23 },
|
|
|
- { name: '晋城市', value: 45.43, value2: 31 }
|
|
|
- ]
|
|
|
+ var data = center5
|
|
|
this.geoCoordMap = []
|
|
|
/*获取地图数据*/
|
|
|
this.mapChart = echarts.init(this.$refs['echarts-map'])
|