update code
parent
f606a9d864
commit
5a81054d06
|
@ -67,7 +67,7 @@
|
|||
</el-col>
|
||||
<el-col :span="12">
|
||||
<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">
|
||||
<div class="quality-table special-table scheduled-alerts-list">
|
||||
<el-table :data="getAssessData()" style="width: 100%;background: transparent;" height="265"
|
||||
|
@ -100,7 +100,7 @@
|
|||
<module-one-1-2 label="项目推进明细">
|
||||
<el-row style="padding: 20px;" :key="elKey">
|
||||
<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;"
|
||||
@click="showPrjSummary">
|
||||
<div class="warning-info-title my-warning-info-title">
|
||||
|
@ -131,7 +131,7 @@
|
|||
</el-col>
|
||||
<el-col :span="12" style="position: relative;">
|
||||
<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;"
|
||||
@click="showBuildNodeDlg">
|
||||
<div class="build-item">
|
||||
|
@ -185,7 +185,7 @@
|
|||
<el-row>
|
||||
<el-col :span="12">
|
||||
<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">
|
||||
<div class="hj-moment-choice" style="margin:20px;height: 30px;" v-if="1 == 2">
|
||||
<div class="hj-moment-select" style="width: 214px;">
|
||||
|
@ -289,7 +289,7 @@
|
|||
</el-col>
|
||||
<el-col :span="12">
|
||||
<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">
|
||||
<div class="prj-pan-nav" style="padding:20px;">
|
||||
<span class="prj-pan-nav-item" :class="panNav == 0 ? 'active' : ''"
|
||||
|
@ -453,7 +453,6 @@ export default {
|
|||
this.loadPlan();
|
||||
},
|
||||
mounted() {
|
||||
window.app = this;
|
||||
this.$bus.$on("projectChange", debounce(res => {
|
||||
this.prjInfo = res;
|
||||
this.loadProjectConstructionProgress();
|
||||
|
@ -614,6 +613,12 @@ export default {
|
|||
loadProjectConstructionProgress() {
|
||||
this.prjInfo = JSON.parse(localStorage.getItem("data2"));
|
||||
this.getProjectId(prjId => {
|
||||
if(prjId==0){
|
||||
this.buildNode.current=null;
|
||||
this.buildNode.nodes=[];
|
||||
this.buildNodeLoad=true;
|
||||
return;
|
||||
}
|
||||
this.$api.schedule.projectConstructionProgress(prjId).then(d => {
|
||||
let obj = d?.data || {};
|
||||
if (obj.image) {
|
||||
|
|
Loading…
Reference in New Issue