优化
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>
|
#</span></div>
|
||||||
<div v-if="!isJilu" style="font-size:12px;">{{i.gmtCreate}}</div>
|
<div v-if="!isJilu" style="font-size:12px;">{{i.gmtCreate}}</div>
|
||||||
</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">
|
<div v-if="i.useType !== 0 && i.taskName" class="content-top">
|
||||||
评论 「{{i.taskName}}」
|
评论 「{{i.taskName}}」
|
||||||
</div>
|
</div>
|
||||||
@ -32,6 +32,9 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div v-if="pinglunList.length === 0" class="zanwurenwu">
|
||||||
|
<img src="./imgs/pinglun.png" alt="">
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@ -75,6 +78,15 @@ export default {
|
|||||||
|
|
||||||
<style lang='less' scoped>
|
<style lang='less' scoped>
|
||||||
.pinglunTem {
|
.pinglunTem {
|
||||||
|
.zanwurenwu{
|
||||||
|
width: 100%;
|
||||||
|
height: 400px;
|
||||||
|
.center();
|
||||||
|
img{
|
||||||
|
width: 200px;
|
||||||
|
height: 200px;
|
||||||
|
}
|
||||||
|
}
|
||||||
// max-height: 300px;
|
// max-height: 300px;
|
||||||
// overflow: auto;
|
// overflow: auto;
|
||||||
.pingcontent:first-child{
|
.pingcontent:first-child{
|
||||||
|
|||||||
@ -9,6 +9,7 @@
|
|||||||
<div class="drawer-content-left">
|
<div class="drawer-content-left">
|
||||||
<div class="drawer-content-left-jiaoyi">
|
<div class="drawer-content-left-jiaoyi">
|
||||||
<div class="title">
|
<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>
|
<span>名称: {{(taskInfo.target && taskInfo.target.length>10)?(taskInfo.target.substring(0,8)+'...'):taskInfo.target}}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="process">
|
<div class="process">
|
||||||
@ -19,7 +20,8 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="drawer-content-left-title">
|
<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>
|
<div>
|
||||||
<el-button icon="el-icon-plus"
|
<el-button icon="el-icon-plus"
|
||||||
@click="handleAddTask"
|
@click="handleAddTask"
|
||||||
@ -159,7 +161,6 @@
|
|||||||
</div>
|
</div>
|
||||||
<div style="overflow:auto;max-height:300px;padding:0 20px;">
|
<div style="overflow:auto;max-height:300px;padding:0 20px;">
|
||||||
<pinglun v-if="i.showTask"
|
<pinglun v-if="i.showTask"
|
||||||
background='#fff'
|
|
||||||
:pinglunList='i.taskList' />
|
:pinglunList='i.taskList' />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -202,6 +203,9 @@
|
|||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div v-if="handleFilter(taskInfo.resultTasks).length===0" class="zanwurenwu">
|
||||||
|
<img src="./imgs/zanwukr.png" alt="">
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="drawer-content-right">
|
<div class="drawer-content-right">
|
||||||
<div style="padding: 0 20px;">
|
<div style="padding: 0 20px;">
|
||||||
@ -596,6 +600,24 @@ export default {
|
|||||||
</style>
|
</style>
|
||||||
<style lang='less'>
|
<style lang='less'>
|
||||||
.drawer {
|
.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 {
|
&-content {
|
||||||
display: flex;
|
display: flex;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
@ -616,7 +638,12 @@ export default {
|
|||||||
&-jiaoyi {
|
&-jiaoyi {
|
||||||
.title {
|
.title {
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
|
display: flex;
|
||||||
|
align-items:center;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
|
img{
|
||||||
|
margin-right: 6px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.process {
|
.process {
|
||||||
padding: 0 0 0 20px;
|
padding: 0 0 0 20px;
|
||||||
|
|||||||
@ -75,6 +75,13 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
|
listinfo: {
|
||||||
|
deep: true,
|
||||||
|
handler (n, o) {
|
||||||
|
this.handleIsEmit(JSON.parse(JSON.stringify(this.form)))
|
||||||
|
this.$forceUpdate()
|
||||||
|
}
|
||||||
|
},
|
||||||
form: {
|
form: {
|
||||||
deep: true,
|
deep: true,
|
||||||
handler (n, o) {
|
handler (n, o) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user