update code
parent
89f2e8bd4e
commit
bfa69a7a72
|
@ -67,9 +67,9 @@
|
||||||
p-id="4998"></path>
|
p-id="4998"></path>
|
||||||
</svg>
|
</svg>
|
||||||
</div>
|
</div>
|
||||||
<div style="display: flex;align-items: center;height: 782px;">
|
<div style="display: block;height: 782px;">
|
||||||
<div class="prj-info-list" v-if="scheduleInfo && JSON.stringify(scheduleInfo) != '{}'">
|
<div class="prj-info-list" v-if="scheduleInfo && JSON.stringify(scheduleInfo) != '{}'">
|
||||||
<div class="col-1" style="width:500px;padding-top:12px;">
|
<div class="col-1" style="width:500px;padding-top:12px;display: inline-block;margin-top: 120px;">
|
||||||
<el-carousel height="500px" v-if="scheduleInfo && scheduleInfo.images && scheduleInfo.images.length > 0">
|
<el-carousel height="500px" v-if="scheduleInfo && scheduleInfo.images && scheduleInfo.images.length > 0">
|
||||||
<el-carousel-item v-for="item in scheduleInfo.images" :key="item">
|
<el-carousel-item v-for="item in scheduleInfo.images" :key="item">
|
||||||
<div style="width: 100%;display: flex;align-items: center;justify-content: center;height: 500px;">
|
<div style="width: 100%;display: flex;align-items: center;justify-content: center;height: 500px;">
|
||||||
|
@ -83,7 +83,8 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-2 scroll"
|
<div class="col-2 scroll"
|
||||||
style="flex-grow: 1;max-height: 750px;min-height:400px;overflow: auto;width: calc(100% - 504px);margin-top:8px;">
|
style="flex-grow: 1;max-height: 750px;min-height:750px;overflow: auto;width: calc(100% - 504px);margin-top:8px;display: inline-flex;align-items: center;">
|
||||||
|
<div>
|
||||||
<template v-if="scheduleInfo.plannedNode">
|
<template v-if="scheduleInfo.plannedNode">
|
||||||
<div><img src="images/title_icon.png"><span class="sp-lbl">计划节点</span></div>
|
<div><img src="images/title_icon.png"><span class="sp-lbl">计划节点</span></div>
|
||||||
<div class="div-text ">
|
<div class="div-text ">
|
||||||
|
@ -126,6 +127,7 @@
|
||||||
<div>{{ scheduleInfo.planForNextWeek }}</div>
|
<div>{{ scheduleInfo.planForNextWeek }}</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div v-else style="text-align: center;padding-top: 150px;min-height: 500px;">
|
<div v-else style="text-align: center;padding-top: 150px;min-height: 500px;">
|
||||||
|
@ -159,15 +161,15 @@ export default {
|
||||||
},
|
},
|
||||||
|
|
||||||
mounted() {
|
mounted() {
|
||||||
let objs = window.jhcaches?.progressProjects
|
// let objs = window.jhcaches?.progressProjects
|
||||||
if (objs && objs.length > 0) {
|
// if (objs && objs.length > 0) {
|
||||||
this.prjs = objs;
|
// this.prjs = objs;
|
||||||
return;
|
// return;
|
||||||
}
|
// }
|
||||||
this.$api.project.getProgressProjects().then(d => {
|
// this.$api.project.getProgressProjects().then(d => {
|
||||||
this.prjs = d.data || [];
|
// this.prjs = d.data || [];
|
||||||
window.jhcaches.progressProjects = this.prjs;
|
// window.jhcaches.progressProjects = this.prjs;
|
||||||
});
|
// });
|
||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
|
@ -217,11 +219,15 @@ export default {
|
||||||
hideScreenUlSel2() {
|
hideScreenUlSel2() {
|
||||||
this.showSel2 = false
|
this.showSel2 = false
|
||||||
},
|
},
|
||||||
showDialog(scheduleInfo, prjs) {
|
showDialog(scheduleInfo, prjs,dept) {
|
||||||
this.scheduleInfo = scheduleInfo;
|
//this.$api.project.getProgressProjects(dept.id).then(d => {
|
||||||
this.localStorage2 = JSON.parse(localStorage.getItem("data2"))
|
//this.prjs = d.data || [];
|
||||||
this.dept2 = this.localStorage2.text;
|
this.prjs=(prjs||[]).filter(d=>+d.progressVisible==0);
|
||||||
this.show = true
|
this.scheduleInfo = scheduleInfo;
|
||||||
|
this.localStorage2 = JSON.parse(localStorage.getItem("data2"))
|
||||||
|
this.dept2 = this.localStorage2.text;
|
||||||
|
this.show = true
|
||||||
|
//});
|
||||||
},
|
},
|
||||||
setScreenLiSel2(item) {
|
setScreenLiSel2(item) {
|
||||||
this.dept2 = item.projectName
|
this.dept2 = item.projectName
|
||||||
|
|
Loading…
Reference in New Issue