|
@@ -2,12 +2,13 @@ let app = new Vue({
|
|
|
el: '#app',
|
|
el: '#app',
|
|
|
data () {
|
|
data () {
|
|
|
return {
|
|
return {
|
|
|
|
|
+ rightAdd: {},// 左边新增筛选参数
|
|
|
projectNum: '', // 项目列表弹窗顶部类目筛选条件
|
|
projectNum: '', // 项目列表弹窗顶部类目筛选条件
|
|
|
centerType: false, // 中间3D饼图
|
|
centerType: false, // 中间3D饼图
|
|
|
boardType: '', // 哪边的项目看板
|
|
boardType: '', // 哪边的项目看板
|
|
|
pullShow: false, // 选择年份弹窗
|
|
pullShow: false, // 选择年份弹窗
|
|
|
pollList: [],
|
|
pollList: [],
|
|
|
- mockData: true,// 是否使用修改的数据
|
|
|
|
|
|
|
+ mockData: false,// 是否使用修改的数据
|
|
|
year: '', // 选择的年份
|
|
year: '', // 选择的年份
|
|
|
boardUrl: '', // 跳转路径
|
|
boardUrl: '', // 跳转路径
|
|
|
boardTipShow: false, // 项目看板弹窗专用
|
|
boardTipShow: false, // 项目看板弹窗专用
|
|
@@ -753,29 +754,63 @@ let app = new Vue({
|
|
|
access_token: this.access_token,
|
|
access_token: this.access_token,
|
|
|
"request": {
|
|
"request": {
|
|
|
isInsert: this.mockData ? '1' : '0',
|
|
isInsert: this.mockData ? '1' : '0',
|
|
|
- modelName,
|
|
|
|
|
|
|
+ modelName: this.rightAdd.modelName,
|
|
|
|
|
+ projectStepCode: this.rightAdd.projectStepCode,
|
|
|
substraction,
|
|
substraction,
|
|
|
orgName
|
|
orgName
|
|
|
},
|
|
},
|
|
|
pageSize: 1000
|
|
pageSize: 1000
|
|
|
}
|
|
}
|
|
|
post('/ierp/kapi/v2/mdnb/mdnb_xmkb/mdnb_manager_middle/getTwoLevelData', value).then(res => {
|
|
post('/ierp/kapi/v2/mdnb/mdnb_xmkb/mdnb_manager_middle/getTwoLevelData', value).then(res => {
|
|
|
|
|
+ that.originalConfig6 = res.data
|
|
|
that.config6.data = []
|
|
that.config6.data = []
|
|
|
if (this.projectNum == 311) {
|
|
if (this.projectNum == 311) {
|
|
|
that.config6.header = ["所属集团", "项目名称", '实施主体', '投中项目阶段', '投资总额(万元)']
|
|
that.config6.header = ["所属集团", "项目名称", '实施主体', '投中项目阶段', '投资总额(万元)']
|
|
|
- } else if (this.projectNum == 2141) {
|
|
|
|
|
- that.config6.header = ["所属集团", "项目名称", '投资主体', '项目类型', '项目性质', '本年度计划投资额(万元)']
|
|
|
|
|
|
|
+ res.data.forEach((item, index) => {
|
|
|
|
|
+ that.config6.data[index] = []
|
|
|
|
|
+ that.config6.data[index][0] = item.mdnb_unitcompany
|
|
|
|
|
+ that.config6.data[index][1] = item.mdnb_project_name
|
|
|
|
|
+ that.config6.data[index][2] = item.mdnb_implement_org
|
|
|
|
|
+ that.config6.data[index][3] = item.mdnb_projectstep_mid
|
|
|
|
|
+ that.config6.data[index][4] = item.mdnb_investment_money / 10000
|
|
|
|
|
+ })
|
|
|
|
|
+ } else if (this.projectNum == 312 || this.projectNum == 313) {
|
|
|
|
|
+ that.config6.header = ["所属集团", "项目名称", '实施主体', '容差百分比', '投资总额(万元)']
|
|
|
|
|
+ res.data.forEach((item, index) => {
|
|
|
|
|
+ that.config6.data[index] = []
|
|
|
|
|
+ that.config6.data[index][0] = item.mdnb_unitcompany
|
|
|
|
|
+ that.config6.data[index][1] = item.mdnb_project_name
|
|
|
|
|
+ that.config6.data[index][2] = item.mdnb_implement_org
|
|
|
|
|
+ that.config6.data[index][3] = item.mdnb_percentagetolerance
|
|
|
|
|
+ that.config6.data[index][4] = item.mdnb_investment_money / 10000
|
|
|
|
|
+ })
|
|
|
|
|
+ } else if (this.projectNum == 314) {
|
|
|
|
|
+ that.config6.header = ["所属集团", "项目名称", '实施主体', '预算额(万元)', '已签订合同额(万元)', '产值认定额(万元)', '结算额(万元)', '付款申请额(万元)', '实际付款额(万元)']
|
|
|
|
|
+ res.data.forEach((item, index) => {
|
|
|
|
|
+ that.config6.data[index] = []
|
|
|
|
|
+ that.config6.data[index][0] = item.mdnb_unitcompany
|
|
|
|
|
+ that.config6.data[index][1] = item.mdnb_project_name
|
|
|
|
|
+ that.config6.data[index][2] = item.mdnb_implement_org
|
|
|
|
|
+ that.config6.data[index][3] = item.mdnb_budgetamount / 10000
|
|
|
|
|
+ that.config6.data[index][4] = item.mdnb_contractamount / 10000
|
|
|
|
|
+ that.config6.data[index][5] = item.mdnb_outputamount / 10000
|
|
|
|
|
+ that.config6.data[index][6] = item.mdnb_settlementamount / 10000
|
|
|
|
|
+ that.config6.data[index][6] = item.mdnb_paymentamount / 10000
|
|
|
|
|
+ that.config6.data[index][6] = item.mdnb_actualpayamount / 10000
|
|
|
|
|
+ })
|
|
|
|
|
+ } else if (this.projectNum == 315) {
|
|
|
|
|
+ that.config6.header = ["所属集团", "项目名称", '实施主体', '高风险项', '中风险项', '低风险项', '投资总额(万元)']
|
|
|
|
|
+ res.data.forEach((item, index) => {
|
|
|
|
|
+ that.config6.data[index] = []
|
|
|
|
|
+ that.config6.data[index][0] = item.mdnb_unitcompany
|
|
|
|
|
+ that.config6.data[index][1] = item.mdnb_project_name
|
|
|
|
|
+ that.config6.data[index][2] = item.mdnb_implement_org
|
|
|
|
|
+ that.config6.data[index][3] = item.mdnb_heigtdanger
|
|
|
|
|
+ that.config6.data[index][4] = item.mdnb_middledanger
|
|
|
|
|
+ that.config6.data[index][5] = item.mdnb_lowdanger
|
|
|
|
|
+ that.config6.data[index][6] = item.mdnb_investment_money / 10000
|
|
|
|
|
+ })
|
|
|
}
|
|
}
|
|
|
- that.originalConfig6 = res.data
|
|
|
|
|
- res.data.forEach((item, index) => {
|
|
|
|
|
- that.config6.data[index] = []
|
|
|
|
|
- that.config6.data[index][0] = item.mdnb_project_name
|
|
|
|
|
- that.config6.data[index][1] = item.mdnb_org
|
|
|
|
|
- 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.data[index][5] = item.mdnb_investment_money
|
|
|
|
|
- })
|
|
|
|
|
that.config6 = { ...that.config6 }
|
|
that.config6 = { ...that.config6 }
|
|
|
that.projectListTipShow = true
|
|
that.projectListTipShow = true
|
|
|
resolve(1);
|
|
resolve(1);
|
|
@@ -1265,7 +1300,9 @@ let app = new Vue({
|
|
|
return myArr
|
|
return myArr
|
|
|
},
|
|
},
|
|
|
// 两个柱状图的弹窗
|
|
// 两个柱状图的弹窗
|
|
|
- showChartLTipDouble (e, location, mdnb_textfield11, mdnb_textfield13, mdnb_textfield16, mdnb_textfield23, type, param, typeCTwo, paramCTwo, portType, num) {
|
|
|
|
|
|
|
+ showChartLTipDouble (e, location, mdnb_textfield11, mdnb_textfield13, mdnb_textfield16, mdnb_textfield23, type, param, typeCTwo, paramCTwo, portType, num, modelName, projectStepCode) {
|
|
|
|
|
+ modelName ? this.rightAdd.modelName = modelName : this.rightAdd.modelName = ''
|
|
|
|
|
+ projectStepCode ? this.rightAdd.projectStepCode = projectStepCode : this.rightAdd.projectStepCode = ''
|
|
|
num && (this.projectNum = num)
|
|
num && (this.projectNum = num)
|
|
|
this.titleName = e
|
|
this.titleName = e
|
|
|
this.closeTap()
|
|
this.closeTap()
|
|
@@ -1459,7 +1496,7 @@ let app = new Vue({
|
|
|
that.myChartTip1.on('click', function (param) {
|
|
that.myChartTip1.on('click', function (param) {
|
|
|
if (that.versions) {
|
|
if (that.versions) {
|
|
|
if (location == 'right') {
|
|
if (location == 'right') {
|
|
|
- that.rightPenetrateTwo('', '', that.findCode(param.name))
|
|
|
|
|
|
|
+ that.rightPenetrateTwo(that.rightPenetrateTwo.modelName, '', that.findCode(param.name))
|
|
|
} else if (location == 'left') {
|
|
} else if (location == 'left') {
|
|
|
that.leftPenetrateTwo(mdnb_textfield11, mdnb_textfield13, mdnb_textfield16, mdnb_textfield23, param.name, that.projectNum)
|
|
that.leftPenetrateTwo(mdnb_textfield11, mdnb_textfield13, mdnb_textfield16, mdnb_textfield23, param.name, that.projectNum)
|
|
|
} else if (location == 'center') {
|
|
} else if (location == 'center') {
|
|
@@ -1602,7 +1639,7 @@ let app = new Vue({
|
|
|
that.myChartTip2.on('click', function (param) {
|
|
that.myChartTip2.on('click', function (param) {
|
|
|
if (that.versions) {
|
|
if (that.versions) {
|
|
|
if (location == 'right') {
|
|
if (location == 'right') {
|
|
|
- that.rightPenetrateTwo('', '', that.findCode(param.name))
|
|
|
|
|
|
|
+ that.rightPenetrateTwo(that.rightPenetrateTwo.modelName, '', that.findCode(param.name))
|
|
|
} else if (location == 'left') {
|
|
} else if (location == 'left') {
|
|
|
that.leftPenetrateTwo(mdnb_textfield11, mdnb_textfield13, mdnb_textfield16, mdnb_textfield23, param.name, that.projectNum)
|
|
that.leftPenetrateTwo(mdnb_textfield11, mdnb_textfield13, mdnb_textfield16, mdnb_textfield23, param.name, that.projectNum)
|
|
|
} else if (location == 'center') {
|
|
} else if (location == 'center') {
|
|
@@ -1742,7 +1779,7 @@ let app = new Vue({
|
|
|
that.myChartTip3.on('click', function (param) {
|
|
that.myChartTip3.on('click', function (param) {
|
|
|
if (that.versions) {
|
|
if (that.versions) {
|
|
|
if (location == 'right') {
|
|
if (location == 'right') {
|
|
|
- that.rightPenetrateTwo('', '', that.findCode(param.name))
|
|
|
|
|
|
|
+ that.rightPenetrateTwo(that.rightPenetrateTwo.modelName, '', that.findCode(param.name))
|
|
|
} else if (location == 'left') {
|
|
} else if (location == 'left') {
|
|
|
that.leftPenetrateTwo(mdnb_textfield11, mdnb_textfield13, mdnb_textfield16, mdnb_textfield23, param.name, that.projectNum)
|
|
that.leftPenetrateTwo(mdnb_textfield11, mdnb_textfield13, mdnb_textfield16, mdnb_textfield23, param.name, that.projectNum)
|
|
|
} else if (location == 'center') {
|
|
} else if (location == 'center') {
|
|
@@ -4065,7 +4102,7 @@ let app = new Vue({
|
|
|
}
|
|
}
|
|
|
let that = this
|
|
let that = this
|
|
|
that.left8Chart.on('click', function (param) {
|
|
that.left8Chart.on('click', function (param) {
|
|
|
- that.showChartLTipDouble(param.name, 'left', '项目阶段分析', '股权类进度分布', param.name, param.seriesName,'', '', '', '', '', 216)
|
|
|
|
|
|
|
+ that.showChartLTipDouble(param.name, 'left', '项目阶段分析', '股权类进度分布', param.name, param.seriesName, '', '', '', '', '', 216)
|
|
|
})
|
|
})
|
|
|
that.left8Chart.setOption(option)
|
|
that.left8Chart.setOption(option)
|
|
|
tools.loopShowTooltip(that.left8Chart, option, {
|
|
tools.loopShowTooltip(that.left8Chart, option, {
|
|
@@ -6415,7 +6452,7 @@ let app = new Vue({
|
|
|
}
|
|
}
|
|
|
that.right3Chart.on('click', function (param) {
|
|
that.right3Chart.on('click', function (param) {
|
|
|
if (that.versions) {
|
|
if (that.versions) {
|
|
|
- that.rightPenetrateTwo('', '', that.findCode(param.name), 'right')
|
|
|
|
|
|
|
+ that.rightPenetrateTwo(that.rightPenetrateTwo.modelName, '', that.findCode(param.name), 'right')
|
|
|
} else {
|
|
} else {
|
|
|
that.projectListTipShow = true
|
|
that.projectListTipShow = true
|
|
|
}
|
|
}
|