update code
parent
f606a9d864
commit
5a81054d06
|
@ -67,7 +67,7 @@
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<module-one-1-2 label="项目季度考核目标">
|
<module-one-1-2 label="项目季度考核目标">
|
||||||
<img src="images/icon2001.png" style="position: absolute;cursor: pointer;right: 12px;top: 12px;"
|
<img src="images/icon2001.png" v-if="projects.length>1" style="position: absolute;cursor: pointer;right: 12px;top: 12px;"
|
||||||
@click="doShowDlg1">
|
@click="doShowDlg1">
|
||||||
<div class="quality-table special-table scheduled-alerts-list">
|
<div class="quality-table special-table scheduled-alerts-list">
|
||||||
<el-table :data="getAssessData()" style="width: 100%;background: transparent;" height="265"
|
<el-table :data="getAssessData()" style="width: 100%;background: transparent;" height="265"
|
||||||
|
@ -100,7 +100,7 @@
|
||||||
<module-one-1-2 label="项目推进明细">
|
<module-one-1-2 label="项目推进明细">
|
||||||
<el-row style="padding: 20px;" :key="elKey">
|
<el-row style="padding: 20px;" :key="elKey">
|
||||||
<el-col :span="12" style="position: relative;">
|
<el-col :span="12" style="position: relative;">
|
||||||
<img src="images/icon2001.png"
|
<img src="images/icon2001.png" v-if="projects.length>1"
|
||||||
style="position: absolute;cursor: pointer;right: 24px;top: 12px;"
|
style="position: absolute;cursor: pointer;right: 24px;top: 12px;"
|
||||||
@click="showPrjSummary">
|
@click="showPrjSummary">
|
||||||
<div class="warning-info-title my-warning-info-title">
|
<div class="warning-info-title my-warning-info-title">
|
||||||
|
@ -131,7 +131,7 @@
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12" style="position: relative;">
|
<el-col :span="12" style="position: relative;">
|
||||||
<div class="glr-title" style="margin-top:10px;color:#4DDEDF">建设项目节点明细</div>
|
<div class="glr-title" style="margin-top:10px;color:#4DDEDF">建设项目节点明细</div>
|
||||||
<img src="images/icon2001.png"
|
<img src="images/icon2001.png" v-if="projects.length>1"
|
||||||
style="position: absolute;cursor: pointer;right: 12px;top: 12px;"
|
style="position: absolute;cursor: pointer;right: 12px;top: 12px;"
|
||||||
@click="showBuildNodeDlg">
|
@click="showBuildNodeDlg">
|
||||||
<div class="build-item">
|
<div class="build-item">
|
||||||
|
@ -185,7 +185,7 @@
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<module-one-1-2 label="项目形象进度" style="position: relative;">
|
<module-one-1-2 label="项目形象进度" style="position: relative;">
|
||||||
<img src="images/icon2001.png" style="position: absolute;cursor: pointer;right: 12px;top: 12px;"
|
<img src="images/icon2001.png" v-if="projects.length>1" style="position: absolute;cursor: pointer;right: 12px;top: 12px;"
|
||||||
@click="doShowDlg3">
|
@click="doShowDlg3">
|
||||||
<div class="hj-moment-choice" style="margin:20px;height: 30px;" v-if="1 == 2">
|
<div class="hj-moment-choice" style="margin:20px;height: 30px;" v-if="1 == 2">
|
||||||
<div class="hj-moment-select" style="width: 214px;">
|
<div class="hj-moment-select" style="width: 214px;">
|
||||||
|
@ -289,7 +289,7 @@
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<module-one-1-2 label="项目跟进计划">
|
<module-one-1-2 label="项目跟进计划">
|
||||||
<img src="images/icon2001.png" style="position: absolute;cursor: pointer;right: 12px;top: 12px;"
|
<img src="images/icon2001.png" style="position: absolute;cursor: pointer;right: 12px;top: 12px;"
|
||||||
@click="doShowDlg2">
|
@click="doShowDlg2">
|
||||||
<div class="prj-pan-nav" style="padding:20px;">
|
<div class="prj-pan-nav" style="padding:20px;">
|
||||||
<span class="prj-pan-nav-item" :class="panNav == 0 ? 'active' : ''"
|
<span class="prj-pan-nav-item" :class="panNav == 0 ? 'active' : ''"
|
||||||
|
@ -453,7 +453,6 @@ export default {
|
||||||
this.loadPlan();
|
this.loadPlan();
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
window.app = this;
|
|
||||||
this.$bus.$on("projectChange", debounce(res => {
|
this.$bus.$on("projectChange", debounce(res => {
|
||||||
this.prjInfo = res;
|
this.prjInfo = res;
|
||||||
this.loadProjectConstructionProgress();
|
this.loadProjectConstructionProgress();
|
||||||
|
@ -614,6 +613,12 @@ export default {
|
||||||
loadProjectConstructionProgress() {
|
loadProjectConstructionProgress() {
|
||||||
this.prjInfo = JSON.parse(localStorage.getItem("data2"));
|
this.prjInfo = JSON.parse(localStorage.getItem("data2"));
|
||||||
this.getProjectId(prjId => {
|
this.getProjectId(prjId => {
|
||||||
|
if(prjId==0){
|
||||||
|
this.buildNode.current=null;
|
||||||
|
this.buildNode.nodes=[];
|
||||||
|
this.buildNodeLoad=true;
|
||||||
|
return;
|
||||||
|
}
|
||||||
this.$api.schedule.projectConstructionProgress(prjId).then(d => {
|
this.$api.schedule.projectConstructionProgress(prjId).then(d => {
|
||||||
let obj = d?.data || {};
|
let obj = d?.data || {};
|
||||||
if (obj.image) {
|
if (obj.image) {
|
||||||
|
|
Loading…
Reference in New Issue