优化
This commit is contained in:
parent
47bfdd9264
commit
b944d7d404
BIN
src/views/kpi/assessment/performance/components/imgs/kr.png
Normal file
BIN
src/views/kpi/assessment/performance/components/imgs/kr.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 939 B |
BIN
src/views/kpi/assessment/performance/components/imgs/mubiao.png
Normal file
BIN
src/views/kpi/assessment/performance/components/imgs/mubiao.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.1 KiB |
BIN
src/views/kpi/assessment/performance/components/imgs/pinglun.png
Normal file
BIN
src/views/kpi/assessment/performance/components/imgs/pinglun.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 49 KiB |
BIN
src/views/kpi/assessment/performance/components/imgs/zanwukr.png
Normal file
BIN
src/views/kpi/assessment/performance/components/imgs/zanwukr.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 48 KiB |
@ -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{
|
||||
|
||||
@ -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;
|
||||
|
||||
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user