update code
parent
88193c6f0d
commit
8ca27435f2
|
@ -11,6 +11,8 @@
|
||||||
</div>
|
</div>
|
||||||
</module-one-1-1>
|
</module-one-1-1>
|
||||||
<module-one-2-1 :label="label2" style="position: relative;" class="flow-list">
|
<module-one-2-1 :label="label2" style="position: relative;" class="flow-list">
|
||||||
|
|
||||||
|
|
||||||
<div class="scroll" style="margin-top: 0px;max-height: calc(100% - 30px);overflow-y: auto;">
|
<div class="scroll" style="margin-top: 0px;max-height: calc(100% - 30px);overflow-y: auto;">
|
||||||
<table class="tb-list1">
|
<table class="tb-list1">
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -31,6 +33,12 @@
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<module-one-3-1 label="付款金额" style="position: relative;" class="cost-sum">
|
<module-one-3-1 label="付款金额" style="position: relative;" class="cost-sum">
|
||||||
|
<div style="position: absolute;right:0px;top:4px;" v-if="1==2">
|
||||||
|
<el-date-picker class="bg-date-picker" v-model="selDate" type="daterange"
|
||||||
|
popper-class="bg-date-picker-pop" :editable="false" @change="dtChange"
|
||||||
|
:picker-options="pickerOptions" range-separator="至" start-placeholder="开始日期"
|
||||||
|
end-placeholder="结束日期"></el-date-picker>
|
||||||
|
</div>
|
||||||
<el-row style="padding:0px 10px;">
|
<el-row style="padding:0px 10px;">
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<div class="warning-info-title">
|
<div class="warning-info-title">
|
||||||
|
@ -174,7 +182,7 @@
|
||||||
</module-one-3-1>
|
</module-one-3-1>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="6">
|
<el-col :span="6">
|
||||||
<module-one-1-1 label="分包单位资质审批" style="position: relative;">
|
<module-one-1-1 :label="label4" style="position: relative;">
|
||||||
<enginChart :class="'show-chart'" ref="chart2" :height="300">
|
<enginChart :class="'show-chart'" ref="chart2" :height="300">
|
||||||
</enginChart>
|
</enginChart>
|
||||||
</module-one-1-1>
|
</module-one-1-1>
|
||||||
|
@ -237,6 +245,7 @@ export default {
|
||||||
return {
|
return {
|
||||||
label1: "工程审批进度",
|
label1: "工程审批进度",
|
||||||
label2: "工程审批排名",
|
label2: "工程审批排名",
|
||||||
|
label4:"分包单位资质审批",
|
||||||
prjs: [],
|
prjs: [],
|
||||||
project: {},
|
project: {},
|
||||||
dept: {},
|
dept: {},
|
||||||
|
@ -250,7 +259,35 @@ export default {
|
||||||
total: 0,
|
total: 0,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
pageIndex: 1
|
pageIndex: 1
|
||||||
|
},
|
||||||
|
selDate: [],
|
||||||
|
pickerOptions: {
|
||||||
|
shortcuts: [{
|
||||||
|
text: '最近一周',
|
||||||
|
onClick(picker) {
|
||||||
|
const end = new Date();
|
||||||
|
const start = new Date();
|
||||||
|
start.setTime(start.getTime() - 3600 * 1000 * 24 * 7);
|
||||||
|
picker.$emit('pick', [start, end]);
|
||||||
}
|
}
|
||||||
|
}, {
|
||||||
|
text: '最近一个月',
|
||||||
|
onClick(picker) {
|
||||||
|
const end = new Date();
|
||||||
|
const start = new Date();
|
||||||
|
start.setTime(start.getTime() - 3600 * 1000 * 24 * 30);
|
||||||
|
picker.$emit('pick', [start, end]);
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
text: '最近三个月',
|
||||||
|
onClick(picker) {
|
||||||
|
const end = new Date();
|
||||||
|
const start = new Date();
|
||||||
|
start.setTime(start.getTime() - 3600 * 1000 * 24 * 90);
|
||||||
|
picker.$emit('pick', [start, end]);
|
||||||
|
}
|
||||||
|
}]
|
||||||
|
},
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -267,6 +304,10 @@ export default {
|
||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
|
dtChange(init) {
|
||||||
|
this.loadSumCost();
|
||||||
|
this.loadCostList();
|
||||||
|
},
|
||||||
doStateDlg(it) {
|
doStateDlg(it) {
|
||||||
let obj = {
|
let obj = {
|
||||||
deptId: this.dept?.id || 0,
|
deptId: this.dept?.id || 0,
|
||||||
|
@ -339,6 +380,11 @@ export default {
|
||||||
value: it.taskId || 0
|
value: it.taskId || 0
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
let sum=0;
|
||||||
|
data.forEach(it=>{
|
||||||
|
sum+=it.value*1;
|
||||||
|
});
|
||||||
|
this.label4=`分包单位资质审批(${sum})`
|
||||||
let opt = {
|
let opt = {
|
||||||
"tooltip": { "trigger": "item" }, "series": [{
|
"tooltip": { "trigger": "item" }, "series": [{
|
||||||
"top": 10, "type": "pie", "radius": "60%",
|
"top": 10, "type": "pie", "radius": "60%",
|
||||||
|
@ -439,6 +485,13 @@ export default {
|
||||||
} else {
|
} else {
|
||||||
postData.id = this.dept.id;
|
postData.id = this.dept.id;
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
|
if (this.selDate.length > 0) {
|
||||||
|
postData.createTime = +this.$dt(this.selDate[0]).$d;
|
||||||
|
}
|
||||||
|
if (this.selDate.length > 1) {
|
||||||
|
postData.updateTime = +this.$dt(this.selDate[1]).$d;
|
||||||
|
}*/
|
||||||
this.$api.costOut.selectForBigEnginList(postData).then(d => {
|
this.$api.costOut.selectForBigEnginList(postData).then(d => {
|
||||||
this.sumList = d;
|
this.sumList = d;
|
||||||
});
|
});
|
||||||
|
|
|
@ -177,7 +177,7 @@
|
||||||
</module-one-1-2>
|
</module-one-1-2>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<module-one-1-2 label="项目问题推进情况">
|
<module-one-1-2 label="项目推进会纪要">
|
||||||
<problemProgress :scheduleInfo="scheduleInfo" :prjInfo="prjInfo"></problemProgress>
|
<problemProgress :scheduleInfo="scheduleInfo" :prjInfo="prjInfo"></problemProgress>
|
||||||
</module-one-1-2>
|
</module-one-1-2>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
|
Loading…
Reference in New Issue