|
@@ -13,7 +13,7 @@
|
|
|
<br>
|
|
|
{{ task_form.lateMsg }}
|
|
|
</span>
|
|
|
- <el-tooltip :disabled="task_form.name.length > 20 ? false : true" class="item" effect="dark" :content="task_form.name" placement="bottom">
|
|
|
+ <el-tooltip :disabled="task_form.name && task_form.name.length < 19 ? true : false" class="item" effect="dark" :content="task_form.name" placement="bottom">
|
|
|
<span style="font-size:20px;font-family:MicrosoftYaHei;color:rgba(51,51,51,1);">任务 : {{ task_form.name | ellipsis }}</span>
|
|
|
</el-tooltip>
|
|
|
<el-dropdown trigger="click" placement="bottom" @command="handleCommand">
|
|
@@ -623,39 +623,43 @@ export default {
|
|
|
this.bugStatus.unshift({ code: -1, msg: '全部' })
|
|
|
})
|
|
|
taskGet(this.taskId[1]).then(res => {
|
|
|
- if (res.data.bizId !== Number(localStorage.getItem('bizId'))) {
|
|
|
- Utils.$emit('demo', res.data.bizId)
|
|
|
- }
|
|
|
- this.pauseName = res.data.involveAppString === null ? '' : res.data.involveAppString
|
|
|
- this.task_form = res.data
|
|
|
- this.total = res.total
|
|
|
- this.tiem_date.startTime = res.data.scheduleListResponse.startTime // 开始时间
|
|
|
- this.tiem_date.endTime = res.data.scheduleListResponse.endTime // 结束时间
|
|
|
- this.arr_event = res.data.scheduleListResponse.schedulDetailResponseList
|
|
|
- this.table_loading = false
|
|
|
- this.bug_list(-1)
|
|
|
- this.task_form.bugBaseInfoDOList !== null ? (this.bugBaseInfoDOList = res.date.bugBaseInfoDOList) : (this.bugBaseInfoDOList = []) // bug
|
|
|
- const param = {
|
|
|
- appType: Number(res.data.involveApp),
|
|
|
- startTime: res.data.scheduleListResponse.startTime,
|
|
|
- endTime: res.data.scheduleListResponse.endTime
|
|
|
- }
|
|
|
- this.ganttData = this.tableDeal(
|
|
|
- res.data.scheduleListResponse.schedulDetailResponseList
|
|
|
- )
|
|
|
- releaseScheduleList(param).then(res => {
|
|
|
- if (res.code === 200) {
|
|
|
- this.appVersion = this.versionDeal(res.data)
|
|
|
+ if (res.code === 200) {
|
|
|
+ if (res.data.bizId !== Number(localStorage.getItem('bizId'))) {
|
|
|
+ Utils.$emit('demo', res.data.bizId)
|
|
|
}
|
|
|
- })
|
|
|
- if (this.task_form.stageString === '未知') {
|
|
|
- this.bgStyle = '#f4f4f5'
|
|
|
- this.colorStyle = '#909399'
|
|
|
- this.isHeadShow = true
|
|
|
+ this.pauseName = res.data.involveAppString === null ? '' : res.data.involveAppString
|
|
|
+ this.task_form = res.data
|
|
|
+ this.total = res.total
|
|
|
+ this.tiem_date.startTime = res.data.scheduleListResponse.startTime // 开始时间
|
|
|
+ this.tiem_date.endTime = res.data.scheduleListResponse.endTime // 结束时间
|
|
|
+ this.arr_event = res.data.scheduleListResponse.schedulDetailResponseList
|
|
|
+ this.table_loading = false
|
|
|
+ this.bug_list(-1)
|
|
|
+ this.task_form.bugBaseInfoDOList !== null ? (this.bugBaseInfoDOList = res.date.bugBaseInfoDOList) : (this.bugBaseInfoDOList = []) // bug
|
|
|
+ const param = {
|
|
|
+ appType: Number(res.data.involveApp),
|
|
|
+ startTime: res.data.scheduleListResponse.startTime,
|
|
|
+ endTime: res.data.scheduleListResponse.endTime
|
|
|
+ }
|
|
|
+ this.ganttData = this.tableDeal(
|
|
|
+ res.data.scheduleListResponse.schedulDetailResponseList
|
|
|
+ )
|
|
|
+ releaseScheduleList(param).then(res => {
|
|
|
+ if (res.code === 200) {
|
|
|
+ this.appVersion = this.versionDeal(res.data)
|
|
|
+ }
|
|
|
+ })
|
|
|
+ if (this.task_form.stageString === '未知') {
|
|
|
+ this.bgStyle = '#f4f4f5'
|
|
|
+ this.colorStyle = '#909399'
|
|
|
+ this.isHeadShow = true
|
|
|
+ }
|
|
|
+ this.task_form.stageString === '正常' ? this.bgStyle = '#69B3FF' : ''
|
|
|
+ this.task_form.stageString === '延期' ? this.bgStyle = '#FF8952' : ''
|
|
|
+ this.task_form.stageString === '已延期' ? this.bgStyle = '#F56C6C' : ''
|
|
|
+ } else {
|
|
|
+ this.$message({ message: res.msg, type: 'error', offset: 150 })
|
|
|
}
|
|
|
- this.task_form.stageString === '正常' ? this.bgStyle = '#69B3FF' : ''
|
|
|
- this.task_form.stageString === '延期' ? this.bgStyle = '#FF8952' : ''
|
|
|
- this.task_form.stageString === '已延期' ? this.bgStyle = '#F56C6C' : ''
|
|
|
})
|
|
|
commentList({ type: 3, joinId: this.taskId[1] }).then(res => {
|
|
|
this.commentTxt = res.data
|
|
@@ -1066,7 +1070,7 @@ export default {
|
|
|
switch (e) {
|
|
|
case 1: // 提测
|
|
|
if (this.task_form.statusString !== '开发中') {
|
|
|
- this.$message({ message: '存在状态不是【开发中】的任务,请将任务状态为【开发中】才可提测,请检查!', type: 'warning' })
|
|
|
+ this.$message({ message: '存在状态不是【开发中】的任务,请将任务状态为【开发中】才可测试,请检查!', type: 'warning' })
|
|
|
} else {
|
|
|
this.dialogVisible1 = true
|
|
|
this.$nextTick(() => { this.$refs.TestReport.init(1, ele) })
|