|
@@ -138,12 +138,12 @@
|
|
</el-table-column>
|
|
</el-table-column>
|
|
</el-table>
|
|
</el-table>
|
|
<div class="dateSet">排期汇总:{{ tiem_date.startTime | naspOut }} ~ {{ tiem_date.endTime | naspOut }}</div>
|
|
<div class="dateSet">排期汇总:{{ tiem_date.startTime | naspOut }} ~ {{ tiem_date.endTime | naspOut }}</div>
|
|
|
|
+ <div class="dateSet" style="border-bottom:1px solid #E9E9E9;">预计上线版本:{{ task_form.preOnlineVersion }}</div>
|
|
<div class="dateSet" style=" display: flex; justify-content: start; align-items: center;">
|
|
<div class="dateSet" style=" display: flex; justify-content: start; align-items: center;">
|
|
<div style="flex:1">实际提测时间:{{ task_form.launchTestRealTime | naspOut }}</div>
|
|
<div style="flex:1">实际提测时间:{{ task_form.launchTestRealTime | naspOut }}</div>
|
|
<div style="flex:1">实际准出时间:{{ task_form.testFinishRealTime | naspOut }}</div>
|
|
<div style="flex:1">实际准出时间:{{ task_form.testFinishRealTime | naspOut }}</div>
|
|
<div style="flex:1">实际上线完成时间:{{ task_form.onlineRealTime | naspOut }}</div>
|
|
<div style="flex:1">实际上线完成时间:{{ task_form.onlineRealTime | naspOut }}</div>
|
|
</div>
|
|
</div>
|
|
- <div class="dateSet">预计上线版本:{{ task_form.preOnlineVersion }}</div>
|
|
|
|
</div>
|
|
</div>
|
|
</el-header>
|
|
</el-header>
|
|
<el-footer class="footer" style=" height: auto;">
|
|
<el-footer class="footer" style=" height: auto;">
|
|
@@ -365,7 +365,7 @@
|
|
<el-button type="primary" @click="even === '新建事件'? event_created(form):event_update(form)">确 定</el-button>
|
|
<el-button type="primary" @click="even === '新建事件'? event_created(form):event_update(form)">确 定</el-button>
|
|
</div>
|
|
</div>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
- <el-dialog :visible.sync="centerDialogVisible_status" width="30%" center :close-on-click-modal="false">
|
|
|
|
|
|
+ <!-- <el-dialog :visible.sync="centerDialogVisible_status" width="30%" center :close-on-click-modal="false">
|
|
<div align="center" style="margin-bottom: 8%; font-weight: 600;">状态变更:已上线</div>
|
|
<div align="center" style="margin-bottom: 8%; font-weight: 600;">状态变更:已上线</div>
|
|
<div style=" margin: 2% 3%; display: flex; justify-content: space-between; align-items: center; white-space:nowrap;">
|
|
<div style=" margin: 2% 3%; display: flex; justify-content: space-between; align-items: center; white-space:nowrap;">
|
|
<span>实际上线时间:</span>
|
|
<span>实际上线时间:</span>
|
|
@@ -375,7 +375,7 @@
|
|
<el-button size="mini" @click="centerDialogVisible_status = false">关 闭</el-button>
|
|
<el-button size="mini" @click="centerDialogVisible_status = false">关 闭</el-button>
|
|
<el-button size="mini" type="primary" @click="task_status_uptate(NewDate)">确 定</el-button>
|
|
<el-button size="mini" type="primary" @click="task_status_uptate(NewDate)">确 定</el-button>
|
|
</span>
|
|
</span>
|
|
- </el-dialog>
|
|
|
|
|
|
+ </el-dialog> -->
|
|
<!-- 删除 -->
|
|
<!-- 删除 -->
|
|
<el-dialog
|
|
<el-dialog
|
|
:visible.sync="centerDialogVisible_task"
|
|
:visible.sync="centerDialogVisible_task"
|
|
@@ -456,7 +456,7 @@
|
|
@childValInput="childVal"
|
|
@childValInput="childVal"
|
|
@click.stop
|
|
@click.stop
|
|
/>
|
|
/>
|
|
- <task-dialog :show.sync="showTaskDialog" :status-name="statusName" />
|
|
|
|
|
|
+ <task-dialog :show.sync="showTaskDialog" :task-id="taskId" :status-name="statusName" @getList="get_list" />
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
@@ -568,7 +568,6 @@ export default {
|
|
commentTxt: [],
|
|
commentTxt: [],
|
|
commentShow: true, // 评论为空默认显示
|
|
commentShow: true, // 评论为空默认显示
|
|
dialog_launchTestInfoDOS: false, // 打回弹窗
|
|
dialog_launchTestInfoDOS: false, // 打回弹窗
|
|
- centerDialogVisible_status: false, // status
|
|
|
|
currentPage: 0,
|
|
currentPage: 0,
|
|
tiem_date: { // 排期汇总
|
|
tiem_date: { // 排期汇总
|
|
startTime: '',
|
|
startTime: '',
|
|
@@ -952,14 +951,10 @@ export default {
|
|
})
|
|
})
|
|
},
|
|
},
|
|
async handleCommand(command) {
|
|
async handleCommand(command) {
|
|
- if (command.label === '已提测' || command.label === '已准出') {
|
|
|
|
|
|
+ if (command.label === '已提测' || command.label === '已准出' || command.label === '已上线') {
|
|
this.statusName = command.label
|
|
this.statusName = command.label
|
|
this.showTaskDialog = true
|
|
this.showTaskDialog = true
|
|
return
|
|
return
|
|
- }
|
|
|
|
- if (command.label === '已上线') {
|
|
|
|
- this.centerDialogVisible_status = true
|
|
|
|
- return
|
|
|
|
} else {
|
|
} else {
|
|
this.task_form.statusString = command.label
|
|
this.task_form.statusString = command.label
|
|
const taskInfoDO = this.task_form
|
|
const taskInfoDO = this.task_form
|
|
@@ -971,21 +966,6 @@ export default {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- task_status_uptate(e) {
|
|
|
|
- this.task_form.statusString = '已上线'
|
|
|
|
- const resDate = e.getFullYear() + '-' + (e.getMonth() + 1) + '-' + e.getDate() + ' ' + e.getHours() + ':' + e.getMinutes() + ':' + e.getSeconds()
|
|
|
|
- const taskInfoDO = this.task_form
|
|
|
|
- taskInfoDO.status = 5
|
|
|
|
- taskInfoDO.onlineRealTime = resDate
|
|
|
|
- const user = { name: this.userNames, ename: this.userInformation, id: '' }
|
|
|
|
- taskUpdate({ taskInfoDO, user }).then(res => {
|
|
|
|
- this.centerDialogVisible_status = false
|
|
|
|
- if (res.code === 200) {
|
|
|
|
- this.centerDialogVisible_status = false
|
|
|
|
- }
|
|
|
|
- this.$message({ message: res.msg, type: 'success', offset: 150 })
|
|
|
|
- })
|
|
|
|
- },
|
|
|
|
// 事件删除
|
|
// 事件删除
|
|
event_delete(id) {
|
|
event_delete(id) {
|
|
const user = { name: this.userNames, ename: this.userInformation, id: '' }
|
|
const user = { name: this.userNames, ename: this.userInformation, id: '' }
|
|
@@ -1288,28 +1268,16 @@ export default {
|
|
createReport(e, ele) {
|
|
createReport(e, ele) {
|
|
switch (e) {
|
|
switch (e) {
|
|
case 1: // 提测
|
|
case 1: // 提测
|
|
- if (this.task_form.statusString !== '开发中') {
|
|
|
|
- this.$message({ message: '存在状态不是【开发中】的任务,请将任务状态为【开发中】才可提测,请检查!', type: 'warning' })
|
|
|
|
- } else {
|
|
|
|
- this.dialogVisible1 = true
|
|
|
|
- this.$nextTick(() => { this.$refs.TestReport.init(1, ele) })
|
|
|
|
- }
|
|
|
|
|
|
+ this.dialogVisible1 = true
|
|
|
|
+ this.$nextTick(() => { this.$refs.TestReport.init(1, ele) })
|
|
break
|
|
break
|
|
case 2: // 日报
|
|
case 2: // 日报
|
|
- if (this.task_form.statusString !== '测试中') {
|
|
|
|
- this.$message({ message: '存在状态不是【测试中】的任务,请将任务状态为【测试中】才可测试,请检查!', type: 'warning' })
|
|
|
|
- } else {
|
|
|
|
- this.dialogDaily = true
|
|
|
|
- this.$nextTick(() => { this.$refs.DailyReport.init(1) })
|
|
|
|
- }
|
|
|
|
|
|
+ this.dialogDaily = true
|
|
|
|
+ this.$nextTick(() => { this.$refs.DailyReport.init(1) })
|
|
break
|
|
break
|
|
case 3:
|
|
case 3:
|
|
- if (this.task_form.statusString !== '测试中') {
|
|
|
|
- this.$message({ message: '存在状态不是【测试中】的任务,请将任务状态为【测试中】才可准出,请检查!', type: 'warning' })
|
|
|
|
- } else {
|
|
|
|
- this.dialogClient = true
|
|
|
|
- this.$nextTick(() => { this.$refs.ClientReport.init(1, ele) })
|
|
|
|
- }
|
|
|
|
|
|
+ this.dialogClient = true
|
|
|
|
+ this.$nextTick(() => { this.$refs.ClientReport.init(1, ele) })
|
|
break
|
|
break
|
|
case 4:
|
|
case 4:
|
|
this.modalShow = true
|
|
this.modalShow = true
|
|
@@ -1445,7 +1413,6 @@ export default {
|
|
color: #333B4A;
|
|
color: #333B4A;
|
|
margin: 1.5% 0;
|
|
margin: 1.5% 0;
|
|
padding-bottom:1.5%;
|
|
padding-bottom:1.5%;
|
|
- border-bottom:1px solid #E9E9E9;
|
|
|
|
}
|
|
}
|
|
.div_priority {
|
|
.div_priority {
|
|
color: #ffffff;
|
|
color: #ffffff;
|