|
@@ -127,7 +127,7 @@
|
|
|
<ul class="comment-main">
|
|
|
<li v-for="(item,index) in comments" :key="'comment'+index">
|
|
|
<span class="comment-name">{{ item.commentInfo.name }}</span>
|
|
|
- <span class="comment-gmtCreater">{{ item.commentInfo.gmtCreater }}</span>
|
|
|
+ <span class="comment-gmtCreater">{{ item.commentInfo.gmtCreater }}</span><br>
|
|
|
<span class="comment-content">{{ item.commentInfo.content }}</span>
|
|
|
</li>
|
|
|
</ul>
|
|
@@ -149,21 +149,21 @@
|
|
|
<!-- 概览 -->
|
|
|
<!-- 任务 -->
|
|
|
<el-container v-if="activeName === '2'" class="is-vertical">
|
|
|
- <section class="main-section">
|
|
|
+ <section class="main-section contain">
|
|
|
<tasks-list />
|
|
|
</section>
|
|
|
</el-container>
|
|
|
<!-- 任务 -->
|
|
|
<!-- 缺陷 -->
|
|
|
<el-container v-if="activeName === '3'" class="is-vertical">
|
|
|
- <section class="main-section">
|
|
|
+ <section class="main-section contain">
|
|
|
<bugTableDialog ref="bugTableDialog" :obj-id="{ requireId: Number(this.$route.query.id) }" />
|
|
|
</section>
|
|
|
</el-container>
|
|
|
<!-- 缺陷 -->
|
|
|
<!-- 统计 -->
|
|
|
<el-container v-if="activeName === '4'" class="is-vertical">
|
|
|
- <section class="main-section">
|
|
|
+ <section class="main-section contain">
|
|
|
<data-statistics @change="getRequirementById" />
|
|
|
</section>
|
|
|
</el-container>
|
|
@@ -380,7 +380,7 @@ export default {
|
|
|
async updateStatus(status) { // 修改状态
|
|
|
const res = await updateRequirementStatus({
|
|
|
id: this.$route.query.id,
|
|
|
- status: status.code,
|
|
|
+ status: status.value,
|
|
|
modifier: localStorage.getItem('username')
|
|
|
})
|
|
|
if (res.code === 200) {
|
|
@@ -433,6 +433,10 @@ export default {
|
|
|
.main-header::after {
|
|
|
@include main-header-after;
|
|
|
}
|
|
|
+.contain {
|
|
|
+ height: calc(100vh - 140px);
|
|
|
+ overflow: scroll;
|
|
|
+}
|
|
|
.main-section {
|
|
|
@include main-section;
|
|
|
.detail-info {
|
|
@@ -481,7 +485,6 @@ export default {
|
|
|
font-size:12px
|
|
|
}
|
|
|
.comment-content {
|
|
|
- margin-left:20px;
|
|
|
font-size:14px;
|
|
|
color:#333B4A;
|
|
|
margin-top: 10px;
|