|
|
@@ -12,7 +12,7 @@ let app = new Vue({
|
|
|
lineCommonCompany: [], //双柱状图弹窗上面的折线图x轴
|
|
|
commonCompanyAll: [], // 公司包括编码
|
|
|
changeLine: true,
|
|
|
- versions: true, // 是否使用接口数据数据
|
|
|
+ versions: false, // 是否使用接口数据数据
|
|
|
app_token: '',
|
|
|
centerShow: false, // 中间内容显示
|
|
|
echartR4Chart: '',// 倒数第二个专用
|
|
|
@@ -248,17 +248,19 @@ let app = new Vue({
|
|
|
pageSize: 1000
|
|
|
}
|
|
|
post('/ierp/kapi/v2/mdnb/mdnb_xmkb/mdnb_manager_preinvest/tqqyedfx', value).then(res => {
|
|
|
- let dataList = res.data.rows[0].entryentity
|
|
|
- left3 = [[],[],[]]
|
|
|
- dataList.forEach(item => {
|
|
|
- // 已用额度
|
|
|
- left3[0].push(that.yuanChange(item.mdnb_amountfield26))
|
|
|
- // 剩余额度
|
|
|
- left3[1].push(that.yuanChange(item.mdnb_amountfield27))
|
|
|
- // 总额度
|
|
|
- left3[2].push(that.yuanChange(item.mdnb_amountfield25))
|
|
|
- })
|
|
|
- this.initChartL4(dataList)
|
|
|
+ if (res.data.rows.length > 0) {
|
|
|
+ let dataList = res.data.rows[0].entryentity
|
|
|
+ left3 = [[], [], []]
|
|
|
+ dataList.forEach(item => {
|
|
|
+ // 已用额度
|
|
|
+ left3[0].push(that.yuanChange(item.mdnb_amountfield26))
|
|
|
+ // 剩余额度
|
|
|
+ left3[1].push(that.yuanChange(item.mdnb_amountfield27))
|
|
|
+ // 总额度
|
|
|
+ left3[2].push(that.yuanChange(item.mdnb_amountfield25))
|
|
|
+ })
|
|
|
+ this.initChartL4(dataList)
|
|
|
+ }
|
|
|
resolve(1);
|
|
|
})
|
|
|
});
|
|
|
@@ -276,23 +278,25 @@ let app = new Vue({
|
|
|
pageSize: 1000
|
|
|
}
|
|
|
post('/ierp/kapi/v2/mdnb/mdnb_xmkb/mdnb_manager_preinvest/tqtzjhfx', value).then(res => {
|
|
|
- let dataList = res.data.rows[0]
|
|
|
- left4 = []
|
|
|
- left4[0] = dataList.mdnb_amountfield7
|
|
|
- left4[1] = dataList.mdnb_amountfield13
|
|
|
- left4[2] = dataList.mdnb_amountfield23
|
|
|
- left4[3] = dataList.mdnb_amountfield43
|
|
|
- left4[4] = dataList.mdnb_integerfield14
|
|
|
- left5[0].y = that.yuanChange(dataList.mdnb_amountfield9)
|
|
|
- left5[0].num = dataList.mdnb_integerfield15
|
|
|
- left5[1].y = that.yuanChange(dataList.mdnb_amountfield43)
|
|
|
- left5[1].num = dataList.mdnb_integerfield14
|
|
|
- left6[0].y = that.yuanChange(dataList.mdnb_amountfield15)
|
|
|
- left6[0].num = dataList.mdnb_integerfield16
|
|
|
- left6[1].y = that.yuanChange(dataList.mdnb_amountfield16)
|
|
|
- left6[1].num = dataList.mdnb_integerfield17
|
|
|
- that.initChartL2()
|
|
|
- that.initChartL3()
|
|
|
+ if (res.data.rows.length > 0) {
|
|
|
+ let dataList = res.data.rows[0]
|
|
|
+ left4 = []
|
|
|
+ left4[0] = dataList.mdnb_amountfield7
|
|
|
+ left4[1] = dataList.mdnb_amountfield13
|
|
|
+ left4[2] = dataList.mdnb_amountfield23
|
|
|
+ left4[3] = dataList.mdnb_amountfield43
|
|
|
+ left4[4] = dataList.mdnb_integerfield14
|
|
|
+ left5[0].y = that.yuanChange(dataList.mdnb_amountfield9)
|
|
|
+ left5[0].num = dataList.mdnb_integerfield15
|
|
|
+ left5[1].y = that.yuanChange(dataList.mdnb_amountfield43)
|
|
|
+ left5[1].num = dataList.mdnb_integerfield14
|
|
|
+ left6[0].y = that.yuanChange(dataList.mdnb_amountfield15)
|
|
|
+ left6[0].num = dataList.mdnb_integerfield16
|
|
|
+ left6[1].y = that.yuanChange(dataList.mdnb_amountfield16)
|
|
|
+ left6[1].num = dataList.mdnb_integerfield17
|
|
|
+ that.initChartL2()
|
|
|
+ that.initChartL3()
|
|
|
+ }
|
|
|
resolve(1);
|
|
|
})
|
|
|
});
|
|
|
@@ -310,31 +314,41 @@ let app = new Vue({
|
|
|
pageSize: 1000
|
|
|
}
|
|
|
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')
|
|
|
- // 传统产业分析
|
|
|
- for (let i = 0; i < left7.length; i++) {
|
|
|
- left7[i].num = dataList[0].data[i].mdnb_integerfield13
|
|
|
- left7[i].y = dataList[0].data[i].mdnb_amountfield8
|
|
|
- }
|
|
|
- this.initChartL5()
|
|
|
- // 战略性新兴产业
|
|
|
- for (let i = 0; i < left8.length; i++) {
|
|
|
- left8[i].num = dataList[1].data[i].mdnb_integerfield13
|
|
|
- left8[i].y = dataList[1].data[i].mdnb_amountfield8
|
|
|
- }
|
|
|
- this.initChartL6()
|
|
|
- 特色优势产业
|
|
|
- for (let i = 0; i < left9.length; i++) {
|
|
|
- left9[i].num = dataList[2].data[i].mdnb_integerfield13
|
|
|
- left9[i].y = dataList[2].data[i].mdnb_amountfield8
|
|
|
- }
|
|
|
- this.initChartL7()
|
|
|
- // 公共基础等产业
|
|
|
- for (let i = 0; i < left10.length; i++) {
|
|
|
- left10[i].num = dataList[3].data[i].mdnb_integerfield13
|
|
|
- left10[i].y = dataList[3].data[i].mdnb_amountfield8
|
|
|
+ if (res.data.rows.length > 0) {
|
|
|
+ let dataList = this.classify(res.data.rows[0].mdnb_entryentity, 'mdnb_textfield1')
|
|
|
+ // 传统产业分析
|
|
|
+ if (dataList[0]) {
|
|
|
+ for (let i = 0; i < left7.length; i++) {
|
|
|
+ left7[i].num = dataList[0].data[i].mdnb_integerfield13
|
|
|
+ left7[i].y = dataList[0].data[i].mdnb_amountfield8
|
|
|
+ }
|
|
|
+ this.initChartL5()
|
|
|
+ }
|
|
|
+ // 战略性新兴产业
|
|
|
+ if (dataList[1]) {
|
|
|
+ for (let i = 0; i < left8.length; i++) {
|
|
|
+ left8[i].num = dataList[1].data[i].mdnb_integerfield13
|
|
|
+ left8[i].y = dataList[1].data[i].mdnb_amountfield8
|
|
|
+ }
|
|
|
+ this.initChartL6()
|
|
|
+ }
|
|
|
+ // 特色优势产业
|
|
|
+ if (dataList[2]) {
|
|
|
+ for (let i = 0; i < left9.length; i++) {
|
|
|
+ left9[i].num = dataList[2].data[i].mdnb_integerfield13
|
|
|
+ left9[i].y = dataList[2].data[i].mdnb_amountfield8
|
|
|
+ }
|
|
|
+ this.initChartL7()
|
|
|
+ }
|
|
|
+ // 公共基础等产业
|
|
|
+ if (dataList[3]) {
|
|
|
+ for (let i = 0; i < left10.length; i++) {
|
|
|
+ left10[i].num = dataList[3].data[i].mdnb_integerfield13
|
|
|
+ left10[i].y = dataList[3].data[i].mdnb_amountfield8
|
|
|
+ }
|
|
|
+ this.initChartL8()
|
|
|
+ }
|
|
|
}
|
|
|
- this.initChartL8()
|
|
|
resolve(1);
|
|
|
})
|
|
|
});
|
|
|
@@ -352,47 +366,49 @@ let app = new Vue({
|
|
|
pageSize: 1000
|
|
|
}
|
|
|
post('/ierp/kapi/v2/mdnb/mdnb_xmkb/mdnb_manager_preinvest/tqxmjdfx', value).then(res => {
|
|
|
- let dataList = res.data.rows[0]
|
|
|
- // 固定资产进度分布
|
|
|
- // 特别监管
|
|
|
- left13[0][0][2] = dataList.mdnb_integerfield1
|
|
|
- left13[0][0][3] = this.yuanChange(dataList.mdnb_amountfield241)
|
|
|
- left13[0][1][2] = dataList.mdnb_integerfield3
|
|
|
- left13[0][1][3] = this.yuanChange(dataList.mdnb_amountfield5)
|
|
|
- left13[0][2][2] = dataList.mdnb_integerfield5
|
|
|
- left13[0][2][3] = this.yuanChange(dataList.mdnb_amountfield21)
|
|
|
- left13[0][3][2] = dataList.mdnb_integerfield7
|
|
|
- left13[0][3][3] = this.yuanChange(dataList.mdnb_amountfield29)
|
|
|
- // 备案
|
|
|
- left13[1][0][2] = dataList.mdnb_integerfield2
|
|
|
- left13[1][0][3] = this.yuanChange(dataList.mdnb_amountfield341)
|
|
|
- left13[1][1][2] = dataList.mdnb_integerfield4
|
|
|
- left13[1][1][3] = this.yuanChange(dataList.mdnb_amountfield11)
|
|
|
- left13[1][2][2] = dataList.mdnb_integerfield6
|
|
|
- left13[1][2][3] = this.yuanChange(dataList.mdnb_amountfield28)
|
|
|
- left13[1][3][2] = dataList.mdnb_integerfield8
|
|
|
- left13[1][3][3] = this.yuanChange(dataList.mdnb_amountfield30)
|
|
|
- // 股权类进度分布
|
|
|
- // 特别监管
|
|
|
- left14[0][0][2] = dataList.mdnb_integerfield11
|
|
|
- left14[0][0][3] = this.yuanChange(dataList.mdnb_amountfield2411)
|
|
|
- left14[0][1][2] = dataList.mdnb_integerfield31
|
|
|
- left14[0][1][3] = this.yuanChange(dataList.mdnb_amountfield51)
|
|
|
- left14[0][2][2] = dataList.mdnb_integerfield51
|
|
|
- left14[0][2][3] = this.yuanChange(dataList.mdnb_amountfield211)
|
|
|
- left14[0][3][2] = dataList.mdnb_integerfield71
|
|
|
- left14[0][3][3] = this.yuanChange(dataList.mdnb_amountfield291)
|
|
|
- // 备案
|
|
|
- left14[1][0][2] = dataList.mdnb_integerfield21
|
|
|
- left14[1][0][3] = this.yuanChange(dataList.mdnb_amountfield3411)
|
|
|
- left14[1][1][2] = dataList.mdnb_integerfield41
|
|
|
- left14[1][1][3] = this.yuanChange(dataList.mdnb_amountfield111)
|
|
|
- left14[1][2][2] = dataList.mdnb_integerfield61
|
|
|
- left14[1][2][3] = this.yuanChange(dataList.mdnb_amountfield281)
|
|
|
- left14[1][3][2] = dataList.mdnb_integerfield81
|
|
|
- left14[1][3][3] = this.yuanChange(dataList.mdnb_amountfield301)
|
|
|
- this.initChartL10()
|
|
|
- this.initChartL11()
|
|
|
+ if (res.data.rows.length > 0) {
|
|
|
+ let dataList = res.data.rows[0]
|
|
|
+ // 固定资产进度分布
|
|
|
+ // 特别监管
|
|
|
+ left13[0][0][2] = dataList.mdnb_integerfield1
|
|
|
+ left13[0][0][3] = this.yuanChange(dataList.mdnb_amountfield241)
|
|
|
+ left13[0][1][2] = dataList.mdnb_integerfield3
|
|
|
+ left13[0][1][3] = this.yuanChange(dataList.mdnb_amountfield5)
|
|
|
+ left13[0][2][2] = dataList.mdnb_integerfield5
|
|
|
+ left13[0][2][3] = this.yuanChange(dataList.mdnb_amountfield21)
|
|
|
+ left13[0][3][2] = dataList.mdnb_integerfield7
|
|
|
+ left13[0][3][3] = this.yuanChange(dataList.mdnb_amountfield29)
|
|
|
+ // 备案
|
|
|
+ left13[1][0][2] = dataList.mdnb_integerfield2
|
|
|
+ left13[1][0][3] = this.yuanChange(dataList.mdnb_amountfield341)
|
|
|
+ left13[1][1][2] = dataList.mdnb_integerfield4
|
|
|
+ left13[1][1][3] = this.yuanChange(dataList.mdnb_amountfield11)
|
|
|
+ left13[1][2][2] = dataList.mdnb_integerfield6
|
|
|
+ left13[1][2][3] = this.yuanChange(dataList.mdnb_amountfield28)
|
|
|
+ left13[1][3][2] = dataList.mdnb_integerfield8
|
|
|
+ left13[1][3][3] = this.yuanChange(dataList.mdnb_amountfield30)
|
|
|
+ // 股权类进度分布
|
|
|
+ // 特别监管
|
|
|
+ left14[0][0][2] = dataList.mdnb_integerfield11
|
|
|
+ left14[0][0][3] = this.yuanChange(dataList.mdnb_amountfield2411)
|
|
|
+ left14[0][1][2] = dataList.mdnb_integerfield31
|
|
|
+ left14[0][1][3] = this.yuanChange(dataList.mdnb_amountfield51)
|
|
|
+ left14[0][2][2] = dataList.mdnb_integerfield51
|
|
|
+ left14[0][2][3] = this.yuanChange(dataList.mdnb_amountfield211)
|
|
|
+ left14[0][3][2] = dataList.mdnb_integerfield71
|
|
|
+ left14[0][3][3] = this.yuanChange(dataList.mdnb_amountfield291)
|
|
|
+ // 备案
|
|
|
+ left14[1][0][2] = dataList.mdnb_integerfield21
|
|
|
+ left14[1][0][3] = this.yuanChange(dataList.mdnb_amountfield3411)
|
|
|
+ left14[1][1][2] = dataList.mdnb_integerfield41
|
|
|
+ left14[1][1][3] = this.yuanChange(dataList.mdnb_amountfield111)
|
|
|
+ left14[1][2][2] = dataList.mdnb_integerfield61
|
|
|
+ left14[1][2][3] = this.yuanChange(dataList.mdnb_amountfield281)
|
|
|
+ left14[1][3][2] = dataList.mdnb_integerfield81
|
|
|
+ left14[1][3][3] = this.yuanChange(dataList.mdnb_amountfield301)
|
|
|
+ this.initChartL10()
|
|
|
+ this.initChartL11()
|
|
|
+ }
|
|
|
resolve(1);
|
|
|
})
|
|
|
});
|
|
|
@@ -410,13 +426,15 @@ let app = new Vue({
|
|
|
pageSize: 1000
|
|
|
}
|
|
|
post('/ierp/kapi/v2/mdnb/mdnb_xmkb/mdnb_manager_preinvest/tqtzedfx', value).then(res => {
|
|
|
- let dataList = res.data.rows[0]
|
|
|
- left1[0] = dataList.mdnb_amountfield
|
|
|
- left1[1] = dataList.mdnb_amountfield1
|
|
|
- left1[2] = dataList.mdnb_amountfield2
|
|
|
- left2[0] = dataList.mdnb_decimalfield
|
|
|
- left2[1] = dataList.mdnb_amountfield3
|
|
|
- this.initChartL1()
|
|
|
+ if (res.data.rows.length > 0) {
|
|
|
+ let dataList = res.data.rows[0]
|
|
|
+ left1[0] = dataList.mdnb_amountfield
|
|
|
+ left1[1] = dataList.mdnb_amountfield1
|
|
|
+ left1[2] = dataList.mdnb_amountfield2
|
|
|
+ left2[0] = dataList.mdnb_decimalfield
|
|
|
+ left2[1] = dataList.mdnb_amountfield3
|
|
|
+ this.initChartL1()
|
|
|
+ }
|
|
|
resolve(1);
|
|
|
})
|
|
|
});
|
|
|
@@ -434,28 +452,30 @@ let app = new Vue({
|
|
|
pageSize: 1000
|
|
|
}
|
|
|
post('/ierp/kapi/v2/mdnb/mdnb_xmkb/mdnb_manager_preinvest/tqzdlxzb', value).then(res => {
|
|
|
- let dataList2 = this.classify(res.data.rows[0].mdnb_entryentity1, 'mdnb_textfield3')
|
|
|
- // 右边的柱状图
|
|
|
- left12 = []
|
|
|
- dataList2.forEach((item, index) => {
|
|
|
- left12[index] = [[], [], []]
|
|
|
- for (let i = 0; i < 5; i++) {
|
|
|
- left12[index][0].push(item.data[i].mdnb_integerfield10)
|
|
|
- left12[index][1].push(item.data[i].mdnb_integerfield12)
|
|
|
- left12[index][2].push(item.data[i].mdnb_integerfield9)
|
|
|
- }
|
|
|
- })
|
|
|
- that.initChartL9()
|
|
|
- // 左边的轮播
|
|
|
- let dataList = []
|
|
|
- dataList2.forEach((item, index) => {
|
|
|
- dataList[index] = []
|
|
|
- dataList[index][0] = item.data[0].mdnb_textfield18
|
|
|
- dataList[index][1] = item.data[0].mdnb_textfield3
|
|
|
- dataList[index][2] = item.data[0].mdnb_amountfield24
|
|
|
- })
|
|
|
- this.storageRecordConfig.data = dataList
|
|
|
- this.storageRecordConfig = { ...this.storageRecordConfig }
|
|
|
+ if (res.data.rows.length > 0) {
|
|
|
+ let dataList2 = this.classify(res.data.rows[0].mdnb_entryentity1, 'mdnb_textfield3')
|
|
|
+ // 右边的柱状图
|
|
|
+ left12 = []
|
|
|
+ dataList2.forEach((item, index) => {
|
|
|
+ left12[index] = [[], [], []]
|
|
|
+ for (let i = 0; i < 5; i++) {
|
|
|
+ left12[index][0].push(item.data[i].mdnb_integerfield10)
|
|
|
+ left12[index][1].push(item.data[i].mdnb_integerfield12)
|
|
|
+ left12[index][2].push(item.data[i].mdnb_integerfield9)
|
|
|
+ }
|
|
|
+ })
|
|
|
+ that.initChartL9()
|
|
|
+ // 左边的轮播
|
|
|
+ let dataList = []
|
|
|
+ dataList2.forEach((item, index) => {
|
|
|
+ dataList[index] = []
|
|
|
+ dataList[index][0] = item.data[0].mdnb_textfield18
|
|
|
+ dataList[index][1] = item.data[0].mdnb_textfield3
|
|
|
+ dataList[index][2] = that.yuanChange(item.data[0].mdnb_amountfield24) + '亿'
|
|
|
+ })
|
|
|
+ this.storageRecordConfig.data = dataList
|
|
|
+ this.storageRecordConfig = { ...this.storageRecordConfig }
|
|
|
+ }
|
|
|
resolve(1);
|
|
|
})
|
|
|
});
|
|
|
@@ -529,6 +549,7 @@ let app = new Vue({
|
|
|
},
|
|
|
// 进度成本偏差
|
|
|
getDate10 () {
|
|
|
+ let that = this
|
|
|
return new Promise((resolve, err) => {
|
|
|
let value = {
|
|
|
access_token: this.access_token,
|
|
|
@@ -540,11 +561,11 @@ let app = new Vue({
|
|
|
post('/ierp/kapi/v2/mdnb/mdnb_xmkb/mdnb_manager_middle/getInvestSunstractionGas', value).then(res => {
|
|
|
res.data.forEach((item, index) => {
|
|
|
right5[0][index][1] = item.mdnb_amount_zb
|
|
|
- right5[0][index][2] = item.mdnb_amount_z
|
|
|
+ right5[0][index][2] = that.yuanChange(item.mdnb_amount_z)
|
|
|
right5[1][index][1] = item.mdnb_amount_nb
|
|
|
- right5[1][index][2] = item.mdnb_amount_n
|
|
|
+ right5[1][index][2] = that.yuanChange(item.mdnb_amount_n)
|
|
|
right5[2][index][1] = item.mdnb_amount_fb
|
|
|
- right5[2][index][2] = item.mdnb_amount_f
|
|
|
+ right5[2][index][2] = that.yuanChange(item.mdnb_amount_f)
|
|
|
})
|
|
|
this.initChartR2()
|
|
|
resolve(1);
|
|
|
@@ -699,6 +720,7 @@ let app = new Vue({
|
|
|
post('/ierp/kapi/v2/mdnb/mdnb_xmkb/mdnb_manager_middle/getTwoLevelData', value).then(res => {
|
|
|
that.config6.data = []
|
|
|
that.originalConfig6 = res.data
|
|
|
+ that.config6.header[5] = '投资总额(亿)'
|
|
|
res.data.forEach((item, index) => {
|
|
|
that.config6.data[index] = []
|
|
|
that.config6.data[index][0] = item.mdnb_project_name
|
|
|
@@ -731,19 +753,21 @@ let app = new Vue({
|
|
|
pageSize: 1000
|
|
|
}
|
|
|
post('/ierp/kapi/v2/mdnb/mdnb_xmkb/mdnb_manager_preinvest/yjct', value).then(res => {
|
|
|
- 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('left', mdnb_textfield11, mdnb_textfield13, mdnb_textfield16, mdnb_textfield23, type, param, typeCTwo, paramCTwo)
|
|
|
- this.initChartLTip3('left', mdnb_textfield11, mdnb_textfield13, mdnb_textfield16, mdnb_textfield23, type, param, typeCTwo, paramCTwo)
|
|
|
- })
|
|
|
- } else if (typeNum == 1) {
|
|
|
- this.initChartLTip('left', mdnb_textfield11, mdnb_textfield13, mdnb_textfield16, mdnb_textfield23, type, param, typeCTwo, paramCTwo)
|
|
|
+ if (res.data.rows.length > 0) {
|
|
|
+ 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('left', mdnb_textfield11, mdnb_textfield13, mdnb_textfield16, mdnb_textfield23, type, param, typeCTwo, paramCTwo)
|
|
|
+ this.initChartLTip3('left', mdnb_textfield11, mdnb_textfield13, mdnb_textfield16, mdnb_textfield23, type, param, typeCTwo, paramCTwo)
|
|
|
+ })
|
|
|
+ } else if (typeNum == 1) {
|
|
|
+ this.initChartLTip('left', mdnb_textfield11, mdnb_textfield13, mdnb_textfield16, mdnb_textfield23, type, param, typeCTwo, paramCTwo)
|
|
|
+ }
|
|
|
}
|
|
|
resolve(1);
|
|
|
})
|
|
|
@@ -768,38 +792,44 @@ let app = new Vue({
|
|
|
},
|
|
|
pageSize: 1000
|
|
|
}
|
|
|
+ that.config6.header[5] = '年投资完成额(亿)'
|
|
|
if (mdnb_textfield20) {
|
|
|
post('/ierp/kapi/v2/mdnb/mdnb_xmkb/mdnb_manager_preinvest/ejct', value).then(res => {
|
|
|
- that.originalConfig6 = res.data.rows[0].mdnb_entryentity11
|
|
|
that.config6.data = []
|
|
|
- res.data.rows[0].mdnb_entryentity11.forEach((item, index) => {
|
|
|
- that.config6.data[index] = []
|
|
|
- that.config6.data[index][0] = item.mdnb_textfield6
|
|
|
- that.config6.data[index][1] = item.mdnb_textfield7
|
|
|
- that.config6.data[index][2] = item.mdnb_textfield8
|
|
|
- that.config6.data[index][3] = item.mdnb_textfield9
|
|
|
- that.config6.data[index][4] = item.mdnb_textfield10
|
|
|
- that.config6.data[index][5] = item.mdnb_amountfield22
|
|
|
- })
|
|
|
+ if (res.data.rows.length > 0) {
|
|
|
+ that.originalConfig6 = res.data.rows[0].mdnb_entryentity11
|
|
|
+ that.config6.data = []
|
|
|
+ res.data.rows[0].mdnb_entryentity11.forEach((item, index) => {
|
|
|
+ that.config6.data[index] = []
|
|
|
+ that.config6.data[index][0] = item.mdnb_textfield6
|
|
|
+ that.config6.data[index][1] = item.mdnb_textfield7
|
|
|
+ that.config6.data[index][2] = item.mdnb_textfield8
|
|
|
+ that.config6.data[index][3] = item.mdnb_textfield9
|
|
|
+ that.config6.data[index][4] = item.mdnb_textfield10
|
|
|
+ that.config6.data[index][5] = item.mdnb_amountfield22
|
|
|
+ })
|
|
|
+ }
|
|
|
that.config6 = { ...that.config6 }
|
|
|
that.projectListTipShow = true
|
|
|
resolve(1);
|
|
|
})
|
|
|
} else {
|
|
|
post('/ierp/kapi/v2/mdnb/mdnb_xmkb/mdnb_manager_preinvest/tzedfxzed', value).then(res => {
|
|
|
- that.originalConfig6 = res.data.rows[0].mdnb_entryentity11
|
|
|
- that.config6.data = []
|
|
|
- res.data.rows[0].mdnb_entryentity11.forEach((item, index) => {
|
|
|
- that.config6.data[index] = []
|
|
|
- that.config6.data[index][0] = item.mdnb_textfield6
|
|
|
- that.config6.data[index][1] = item.mdnb_textfield7
|
|
|
- that.config6.data[index][2] = item.mdnb_textfield8
|
|
|
- that.config6.data[index][3] = item.mdnb_textfield9
|
|
|
- that.config6.data[index][4] = item.mdnb_textfield10
|
|
|
- that.config6.data[index][5] = item.mdnb_amountfield22
|
|
|
- })
|
|
|
- that.config6 = { ...that.config6 }
|
|
|
- that.projectListTipShow = true
|
|
|
+ if (res.data.rows.length > 0) {
|
|
|
+ that.originalConfig6 = res.data.rows[0].mdnb_entryentity11
|
|
|
+ that.config6.data = []
|
|
|
+ res.data.rows[0].mdnb_entryentity11.forEach((item, index) => {
|
|
|
+ that.config6.data[index] = []
|
|
|
+ that.config6.data[index][0] = item.mdnb_textfield6
|
|
|
+ that.config6.data[index][1] = item.mdnb_textfield7
|
|
|
+ that.config6.data[index][2] = item.mdnb_textfield8
|
|
|
+ that.config6.data[index][3] = item.mdnb_textfield9
|
|
|
+ that.config6.data[index][4] = item.mdnb_textfield10
|
|
|
+ that.config6.data[index][5] = item.mdnb_amountfield22
|
|
|
+ })
|
|
|
+ that.config6 = { ...that.config6 }
|
|
|
+ that.projectListTipShow = true
|
|
|
+ }
|
|
|
resolve(1);
|
|
|
})
|
|
|
}
|
|
|
@@ -924,6 +954,7 @@ let app = new Vue({
|
|
|
param,
|
|
|
orgNum
|
|
|
}
|
|
|
+ that.config6.header[5] = '年投资完成额(亿)'
|
|
|
if (portType == 1) {
|
|
|
get('/ierp/kapi/v2/mdnb/mdnb_xmkb/presetdata/MainPageMonthReportProject', value).then(res => {
|
|
|
that.config6.data = []
|
|
|
@@ -1204,7 +1235,7 @@ let app = new Vue({
|
|
|
// },
|
|
|
// },
|
|
|
{
|
|
|
- name: "2023年额度",
|
|
|
+ name: "总额度",
|
|
|
type: "bar",
|
|
|
data: common3,
|
|
|
showBackground: false,
|
|
|
@@ -1230,7 +1261,7 @@ let app = new Vue({
|
|
|
],
|
|
|
legend: {
|
|
|
// data: ["2022年额度", "2023年额度"],
|
|
|
- data: ["2023年额度"],
|
|
|
+ data: ["总额度"],
|
|
|
textStyle: {
|
|
|
// 图列内容样式
|
|
|
color: "#fff", // 字体颜色
|
|
|
@@ -1347,7 +1378,7 @@ let app = new Vue({
|
|
|
},
|
|
|
series: [
|
|
|
{
|
|
|
- name: "2023年额度",
|
|
|
+ name: "总数量",
|
|
|
type: this.changeLine ? "bar" : 'line',
|
|
|
data: common4,
|
|
|
showBackground: false,
|
|
|
@@ -1373,7 +1404,7 @@ let app = new Vue({
|
|
|
],
|
|
|
legend: {
|
|
|
// data: ["2022年额度", "2023年额度"],
|
|
|
- data: ["2023年额度"],
|
|
|
+ data: ["总数量"],
|
|
|
textStyle: {
|
|
|
// 图列内容样式
|
|
|
color: "#fff", // 字体颜色
|
|
|
@@ -1490,7 +1521,7 @@ let app = new Vue({
|
|
|
},
|
|
|
series: [,
|
|
|
{
|
|
|
- name: "2023年额度",
|
|
|
+ name: "总额度",
|
|
|
type: "bar",
|
|
|
data: common5,
|
|
|
showBackground: false,
|
|
|
@@ -1514,7 +1545,7 @@ let app = new Vue({
|
|
|
},
|
|
|
],
|
|
|
legend: {
|
|
|
- data: ["2023年额度"],
|
|
|
+ data: ["总额度"],
|
|
|
textStyle: {
|
|
|
// 图列内容样式
|
|
|
color: "#fff", // 字体颜色
|
|
|
@@ -2385,7 +2416,7 @@ let app = new Vue({
|
|
|
show: true,
|
|
|
trigger: "axis",
|
|
|
formatter: data => {
|
|
|
- return `${data[0].name}<br /><span style="display:inline-block;border-radius:50%; width:7px;height:7px;background-color:${data[0].color.colorStops[0].color}"></span> ${data[0].seriesName}:${data[0].value}亿<br/><span style="display:inline-block;border-radius:50%; width:7px;height:7px;background-color:${data[1].color.colorStops[0].color}"></span> ${data[1].seriesName}:${data[1].value+data[0].value}亿`
|
|
|
+ return `${data[0].name}<br /><span style="display:inline-block;border-radius:50%; width:7px;height:7px;background-color:${data[0].color.colorStops[0].color}"></span> ${data[0].seriesName}:${data[0].value}亿<br/><span style="display:inline-block;border-radius:50%; width:7px;height:7px;background-color:${data[1].color.colorStops[0].color}"></span> ${data[1].seriesName}:${data[1].value + data[0].value}亿`
|
|
|
},
|
|
|
axisPointer: {
|
|
|
// 坐标轴指示器,坐标轴触发有效
|
|
|
@@ -5224,7 +5255,7 @@ let app = new Vue({
|
|
|
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
|
|
|
{
|
|
|
offset: 0,
|
|
|
- color: '#955773',
|
|
|
+ color: '#13400B',
|
|
|
},
|
|
|
{
|
|
|
offset: 1,
|
|
|
@@ -5361,7 +5392,7 @@ let app = new Vue({
|
|
|
fontFamily: 'Microsoft YaHei'
|
|
|
},
|
|
|
formatter: data => {
|
|
|
- return `${data[0].value[0]}<br /><span style="display:inline-block;border-radius:50%; width:7px;height:7px;background-color:${data[0].color}"></span> ${data[0].seriesName}:${data[0].data[2]}%<br /><span style="display:inline-block;border-radius:50%; width:7px;height:7px;background-color:${data[1].color}"></span> ${data[1].seriesName}:${data[1].data[2]}%<br /><span style="display:inline-block;border-radius:50%; width:7px;height:7px;background-color:${data[2].color}"></span> ${data[2].seriesName}:${data[2].data[2]}%`
|
|
|
+ return `${data[0].value[0]}<br /><span style="display:inline-block;border-radius:50%; width:7px;height:7px;background-color:${data[0].color}"></span> ${data[0].seriesName}:${data[0].data[2]}亿<br /><span style="display:inline-block;border-radius:50%; width:7px;height:7px;background-color:${data[1].color}"></span> ${data[1].seriesName}:${data[1].data[2]}亿<br /><span style="display:inline-block;border-radius:50%; width:7px;height:7px;background-color:${data[2].color}"></span> ${data[2].seriesName}:${data[2].data[2]}亿`
|
|
|
},
|
|
|
axisPointer: {
|
|
|
// // type: 'cross',',
|
|
|
@@ -5909,7 +5940,7 @@ let app = new Vue({
|
|
|
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
|
|
|
{
|
|
|
offset: 0,
|
|
|
- color: '#a79c57',
|
|
|
+ color: '#064F78',
|
|
|
},
|
|
|
{
|
|
|
offset: 1,
|
|
|
@@ -5929,7 +5960,7 @@ let app = new Vue({
|
|
|
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
|
|
|
{
|
|
|
offset: 0,
|
|
|
- color: '#cc8c29',
|
|
|
+ color: '#BDB35D',
|
|
|
},
|
|
|
{
|
|
|
offset: 1,
|
|
|
@@ -5949,7 +5980,7 @@ let app = new Vue({
|
|
|
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
|
|
|
{
|
|
|
offset: 0,
|
|
|
- color: '#034a39',
|
|
|
+ color: '#623726',
|
|
|
},
|
|
|
{
|
|
|
offset: 1,
|
|
|
@@ -5969,7 +6000,7 @@ let app = new Vue({
|
|
|
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
|
|
|
{
|
|
|
offset: 0,
|
|
|
- color: '#383062',
|
|
|
+ color: '#955773',
|
|
|
},
|
|
|
{
|
|
|
offset: 1,
|