|
@@ -72,6 +72,7 @@
|
|
|
</template>
|
|
</template>
|
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
|
<span v-if="scope.row[item.day].comment" class="comment-badge"></span>
|
|
<span v-if="scope.row[item.day].comment" class="comment-badge"></span>
|
|
|
|
|
+ <span v-if="scope.row[item.day].audit" class="audit-badge"></span>
|
|
|
<el-popover
|
|
<el-popover
|
|
|
v-if="scope.row[item.day].value!=''"
|
|
v-if="scope.row[item.day].value!=''"
|
|
|
placement="top"
|
|
placement="top"
|
|
@@ -116,7 +117,7 @@
|
|
|
<el-button slot="reference" type="text">详情</el-button>
|
|
<el-button slot="reference" type="text">详情</el-button>
|
|
|
</el-popover>
|
|
</el-popover>
|
|
|
<span
|
|
<span
|
|
|
- v-if="item.row.feedbackType === '4'&& scope.row.executor===userId && item.row.commentConfirm!='1'"
|
|
|
|
|
|
|
+ v-if="(item.row.feedbackType === '4'||item.row.feedbackType === '5')&& scope.row.executor===userId && item.row.commentConfirm!='1'"
|
|
|
style="margin-left: 10px">
|
|
style="margin-left: 10px">
|
|
|
<el-button type="text" icon="el-icon-thumb" size="mini"
|
|
<el-button type="text" icon="el-icon-thumb" size="mini"
|
|
|
@click="confirmComment(item.row)">确认</el-button>
|
|
@click="confirmComment(item.row)">确认</el-button>
|
|
@@ -443,9 +444,9 @@ export default {
|
|
|
}
|
|
}
|
|
|
addTaskFeedback(this.form).then(res => {
|
|
addTaskFeedback(this.form).then(res => {
|
|
|
if (res.code === 'S.F-2001') {
|
|
if (res.code === 'S.F-2001') {
|
|
|
- let message=''
|
|
|
|
|
- res.data.forEach(item=>{
|
|
|
|
|
- message+=item.taskName+' '
|
|
|
|
|
|
|
+ let message = ''
|
|
|
|
|
+ res.data.forEach(item => {
|
|
|
|
|
+ message += item.taskName + ' '
|
|
|
})
|
|
})
|
|
|
this.$alert(message, res.message);
|
|
this.$alert(message, res.message);
|
|
|
} else {
|
|
} else {
|
|
@@ -511,6 +512,19 @@ export default {
|
|
|
vertical-align: text-top;
|
|
vertical-align: text-top;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+.audit-badge {
|
|
|
|
|
+ height: 10px;
|
|
|
|
|
+ width: 10px;
|
|
|
|
|
+ border-radius: 5px;
|
|
|
|
|
+ background-color: #ff4949;
|
|
|
|
|
+ position: absolute;
|
|
|
|
|
+ top: 1px;
|
|
|
|
|
+ right: 1px;
|
|
|
|
|
+ font-size: 8px;
|
|
|
|
|
+ color: white;
|
|
|
|
|
+ vertical-align: text-top;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
.feed-dialog ::v-deep .el-dialog__body {
|
|
.feed-dialog ::v-deep .el-dialog__body {
|
|
|
padding: 0 20px 10px 20px;
|
|
padding: 0 20px 10px 20px;
|
|
|
}
|
|
}
|