This commit is contained in:
xiongchengqiang 2020-12-15 18:01:31 +08:00
parent 47bfdd9264
commit b944d7d404
7 changed files with 49 additions and 3 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 939 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

View File

@ -22,7 +22,7 @@
#</span></div>
<div v-if="!isJilu" style="font-size:12px;">{{i.gmtCreate}}</div>
</div>
<div class="pinglunTem-right-content pre" :style="{background:(background&&(i.useType !== 0 && i.taskName))?background:'#cfe5fc'}">
<div class="pinglunTem-right-content pre" :style="{background:(i.isSelf===1)?'#cfe5fc':'#fff'}">
<div v-if="i.useType !== 0 && i.taskName" class="content-top">
评论 {{i.taskName}}
</div>
@ -32,6 +32,9 @@
</div>
</div>
</div>
<div v-if="pinglunList.length === 0" class="zanwurenwu">
<img src="./imgs/pinglun.png" alt="">
</div>
</div>
</template>
@ -75,6 +78,15 @@ export default {
<style lang='less' scoped>
.pinglunTem {
.zanwurenwu{
width: 100%;
height: 400px;
.center();
img{
width: 200px;
height: 200px;
}
}
// max-height: 300px;
// overflow: auto;
.pingcontent:first-child{

View File

@ -9,6 +9,7 @@
<div class="drawer-content-left">
<div class="drawer-content-left-jiaoyi">
<div class="title">
<img style="width:30px;height:30px;" src="./imgs/mubiao.png" alt="">
<span>名称: {{(taskInfo.target && taskInfo.target.length>10)?(taskInfo.target.substring(0,8)+'...'):taskInfo.target}}</span>
</div>
<div class="process">
@ -19,7 +20,8 @@
</div>
</div>
<div class="drawer-content-left-title">
<div> 关键结果{{handleFilter(taskInfo.resultTasks).length}}</div>
<div style="margin-top:10px;" class="title"> <img style="width:30px;height:30px;" src="./imgs/kr.png" alt="">
<span>关键结果{{handleFilter(taskInfo.resultTasks).length}}</span></div>
<div>
<el-button icon="el-icon-plus"
@click="handleAddTask"
@ -159,7 +161,6 @@
</div>
<div style="overflow:auto;max-height:300px;padding:0 20px;">
<pinglun v-if="i.showTask"
background='#fff'
:pinglunList='i.taskList' />
</div>
</div>
@ -202,6 +203,9 @@
</el-form>
</div>
</div>
<div v-if="handleFilter(taskInfo.resultTasks).length===0" class="zanwurenwu">
<img src="./imgs/zanwukr.png" alt="">
</div>
</div>
<div class="drawer-content-right">
<div style="padding: 0 20px;">
@ -596,6 +600,24 @@ export default {
</style>
<style lang='less'>
.drawer {
.zanwurenwu{
width: 100%;
height: 400px;
.center();
img{
width: 200px;
height: 200px;
}
}
.title {
font-size: 16px;
display: flex;
align-items:center;
margin-bottom: 10px;
img{
margin-right: 6px;
}
}
&-content {
display: flex;
height: 100%;
@ -616,7 +638,12 @@ export default {
&-jiaoyi {
.title {
font-size: 16px;
display: flex;
align-items:center;
margin-bottom: 10px;
img{
margin-right: 6px;
}
}
.process {
padding: 0 0 0 20px;

View File

@ -75,6 +75,13 @@ export default {
}
},
watch: {
listinfo: {
deep: true,
handler (n, o) {
this.handleIsEmit(JSON.parse(JSON.stringify(this.form)))
this.$forceUpdate()
}
},
form: {
deep: true,
handler (n, o) {