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