|
@@ -27,24 +27,24 @@
|
|
|
class="improvementItems-wrapper"
|
|
|
>
|
|
|
<!--改进项: 描述-->
|
|
|
- <div>{{ subIndex + 1 }}、{{ subItem.description }}</div>
|
|
|
+ <div>{{ subIndex + 1 }}、{{ subItem.description }}{{ subItem.detail && ':' }}{{ subItem.detail }}</div>
|
|
|
<!--改进项: 其他-->
|
|
|
<div class="description-wrapper">
|
|
|
<!--改进项: 责任人-->
|
|
|
- <span style="min-width: 50px;display: inline-block;">责任人:
|
|
|
- <span v-if="!subItem.personInCharge">暂无负责人</span>
|
|
|
+ <span style="min-width: 50px;display: inline-block;"><span class="new-title">责任人:</span><span v-if="!subItem.personInCharge || !subItem.personInCharge.length">暂无负责人</span>
|
|
|
<MultiplePeopleInfo
|
|
|
v-else
|
|
|
style="display:inline-block "
|
|
|
:team-data="subItem.personInCharge"
|
|
|
- /></span>
|
|
|
+ />
|
|
|
+ </span>
|
|
|
<!--改进项: 计划完成时间-->
|
|
|
- <span style="min-width: 200px;display: inline-block;margin-right: 40px;margin-left: 30px;">计划完成时间:{{ rTime(subItem.deadline) }}</span>
|
|
|
+ <span style="min-width: 120px;max-width: 200px;display: inline-block;margin-right: 40px;margin-left: 30px;">计划完成时间:{{ rTime(subItem.deadline) }}</span>
|
|
|
<!--改进项: 进度-->
|
|
|
<span
|
|
|
class="progress-wrapper"
|
|
|
:style="{ width: !subItem.isProgressEdit ? '300px' : '380px' }"
|
|
|
- >进度:<span v-if="!subItem.isProgressEdit">{{
|
|
|
+ ><span class="new-title">进度:</span><span v-if="!subItem.isProgressEdit">{{
|
|
|
subItem.progress || '0'
|
|
|
}}</span
|
|
|
><span v-else>
|
|
@@ -59,8 +59,9 @@
|
|
|
v-if="subItem.isProgressEdit"
|
|
|
type="text"
|
|
|
@click.stop="progressEdit(subItem)"
|
|
|
- >保存</el-button
|
|
|
>
|
|
|
+ 保存
|
|
|
+ </el-button>
|
|
|
<el-tooltip
|
|
|
v-if="subItem.isHold"
|
|
|
class="item"
|
|
@@ -99,7 +100,7 @@
|
|
|
</div>
|
|
|
<Hold ref="Hold" @upData="upHold" />
|
|
|
</div>
|
|
|
- <div v-else style="padding-bottom: 10px;padding-left: 0px;font-size: 14px">暂无分析反馈数据!</div>
|
|
|
+ <div v-else style="padding-bottom: 10px;padding-left: 0;font-size: 14px">暂无分析反馈数据!</div>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -151,7 +152,7 @@ export default {
|
|
|
rTime(date) {
|
|
|
if (!date) return ''
|
|
|
var json_date = new Date(date).toJSON()
|
|
|
- return new Date(new Date(json_date) + 8 * 3600 * 1000).toISOString().replace(/T/g, ' ').replace(/\.[\d]{3}Z/, '')
|
|
|
+ return new Date(new Date(json_date) + 8 * 3600 * 1000).toISOString().replace(/T/g, ' ').replace(/\.[\d]{3}Z/, '').replace(/00:00:00/, '')
|
|
|
},
|
|
|
progressEdit(item) {
|
|
|
if (!_.isBoolean(item.isProgressEdit)) {
|
|
@@ -270,7 +271,7 @@ export default {
|
|
|
color: #1890ff;
|
|
|
display: inline-block;
|
|
|
// width: 50px;
|
|
|
- margin: 0 50px;
|
|
|
+ margin: 0 20px 0 50px;
|
|
|
// margin-right: 10px;
|
|
|
cursor: pointer;
|
|
|
}
|
|
@@ -280,14 +281,21 @@ export default {
|
|
|
display: inline-block;
|
|
|
cursor: pointer;
|
|
|
}
|
|
|
-
|
|
|
+.new-title{
|
|
|
+ color: #666666;
|
|
|
+}
|
|
|
// .description-wrapper {
|
|
|
// }
|
|
|
// .item-problem {
|
|
|
// }
|
|
|
// .item-reason {
|
|
|
// }
|
|
|
- // .improvementItems-wrapper {
|
|
|
- // }
|
|
|
+ .improvementItems-wrapper {
|
|
|
+ margin-bottom: 20px;
|
|
|
+ padding-left: 28px;
|
|
|
+ &:last-child{
|
|
|
+ margin-bottom: 0;
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
</style>
|