|
@@ -183,29 +183,37 @@
|
|
|
<section class="main-section">
|
|
|
<div class="el-main-title">
|
|
|
<div class="title-left-icon" />
|
|
|
- <div class="title-left-name">评论</div>
|
|
|
- </div>
|
|
|
- <div class="detail-info">
|
|
|
- <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><br>
|
|
|
- <span class="comment-content">{{ item.commentInfo.content }}</span>
|
|
|
- </li>
|
|
|
- </ul>
|
|
|
- <el-input
|
|
|
- v-model="commentContent"
|
|
|
- type="textarea"
|
|
|
- placeholder="请输入评论内容"
|
|
|
- maxlength="300"
|
|
|
- show-word-limit
|
|
|
- :autosize="{ minRows: 3, maxRows: 5}"
|
|
|
- style="margin-bottom: 20px"
|
|
|
- />
|
|
|
- <el-row>
|
|
|
- <el-col :span="2" :offset="22"><el-button type="primary" size="small" @click="addComment">发表评论</el-button></el-col>
|
|
|
- </el-row>
|
|
|
+ <div class="title-left-name">动态</div>
|
|
|
</div>
|
|
|
+ <el-tabs v-model="tabPosition" class="sign-tabs" @tab-click="handleClick">
|
|
|
+ <el-tab-pane label="评论" name="first">
|
|
|
+ <div class="detail-info">
|
|
|
+ <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><br>
|
|
|
+ <span class="comment-content">{{ item.commentInfo.content }}</span>
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+ <el-input
|
|
|
+ v-model="commentContent"
|
|
|
+ type="textarea"
|
|
|
+ placeholder="请输入评论内容"
|
|
|
+ maxlength="300"
|
|
|
+ show-word-limit
|
|
|
+ :autosize="{ minRows: 3, maxRows: 5}"
|
|
|
+ style="margin-bottom: 20px"
|
|
|
+ />
|
|
|
+ <el-row>
|
|
|
+ <el-col :span="2" :offset="22"><el-button type="primary" size="small" @click="addComment">发表评论</el-button></el-col>
|
|
|
+ </el-row>
|
|
|
+ </div>
|
|
|
+ </el-tab-pane>
|
|
|
+ <el-tab-pane label="变更记录" name="second">
|
|
|
+ <record />
|
|
|
+ </el-tab-pane>
|
|
|
+ </el-tabs>
|
|
|
+
|
|
|
</section>
|
|
|
</el-container>
|
|
|
<!-- 概览 -->
|
|
@@ -316,6 +324,7 @@ import bugTableDialog from '@/views/projectManage/bugList/details/bugTableDialog
|
|
|
import '@/styles/PublicStyle/index.scss'
|
|
|
import schedule from '@/views/projectManage/schedule' // 排期锁定弹窗
|
|
|
import download from '@/views/projectManage/components/export.vue'
|
|
|
+import record from '@/views/projectManage/components/record.vue'
|
|
|
export default {
|
|
|
components: {
|
|
|
searchPeople,
|
|
@@ -335,7 +344,8 @@ export default {
|
|
|
taskDialog,
|
|
|
bugTableDialog,
|
|
|
schedule,
|
|
|
- download
|
|
|
+ download,
|
|
|
+ record
|
|
|
},
|
|
|
filters: {
|
|
|
ellipsis(value, num) {
|
|
@@ -348,6 +358,7 @@ export default {
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
+ tabPosition: 'first',
|
|
|
showunlock: true,
|
|
|
ScheduId: '', // 排期ID
|
|
|
LockState: {}, // 锁定状态
|
|
@@ -410,6 +421,9 @@ export default {
|
|
|
this.$store.state.data.bizId = false
|
|
|
},
|
|
|
methods: {
|
|
|
+ handleClick(tab, event) {
|
|
|
+ console.log(tab, event)
|
|
|
+ },
|
|
|
async getScheduleGetTaskScheduleHistory() {
|
|
|
this.scheduleVisble = false
|
|
|
const res = await scheduleGetTaskScheduleHistory(this.taskId)
|
|
@@ -773,4 +787,7 @@ export default {
|
|
|
border:1px solid #409EFF !important;
|
|
|
color:#409EFF !important;
|
|
|
}
|
|
|
+.sign-tabs {
|
|
|
+ padding: 0 30px;
|
|
|
+}
|
|
|
</style>
|