|
@@ -1,14 +1,9 @@
|
|
|
<template>
|
|
|
<div class="bg-project" @click="display = false">
|
|
|
<el-container>
|
|
|
- <el-header class="main-header">
|
|
|
+ <el-header class="main-header" :class="{'paddingLeft': form_query.type === 1}">
|
|
|
<div class="top-page-title">
|
|
|
- <div v-if="form_query.type === 1" class="triangleContainer">
|
|
|
- <div class="triangleContent">
|
|
|
- <div class="triangle" />
|
|
|
- <div class="title">紧 急</div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
+ <img v-if="form_query.type === 1" :src="urgent" style="padding: 0 10px;">
|
|
|
<div class="header-title">
|
|
|
<span class="title-id">REQUIREMENT-{{ form_query.id }}</span>
|
|
|
<el-tooltip class="item" effect="dark" :content="form_query.name" placement="bottom">
|
|
@@ -285,6 +280,7 @@ import dataStatistics from './components/dataStatistics'
|
|
|
import scheduleList from './components/scheduleList'
|
|
|
import bugTableDialog from '@/views/projectManage/bugList/details/bugTableDialog' // 缺陷表格
|
|
|
import schedule from '@/views/projectManage/schedule' // 排期锁定弹窗
|
|
|
+import urgent from '@/assets/urgent.png'
|
|
|
export default {
|
|
|
components: {
|
|
|
searchPeople,
|
|
@@ -310,6 +306,7 @@ export default {
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
+ urgent: urgent,
|
|
|
showunlock: true,
|
|
|
ScheduId: '', // 排期ID
|
|
|
BackToTheLatest: false, // 回到最新
|
|
@@ -374,6 +371,7 @@ export default {
|
|
|
this.BackToTheLatest = false // 回到最新
|
|
|
this.lockHide = false // 隐藏排期变更记录
|
|
|
this.showunlock = true
|
|
|
+ this.ScheduId = 0
|
|
|
this.taskScheduleList = res1.data.schedulDetailResponses
|
|
|
this.isScheduleLocked = res1.data.isScheduleLocked // 锁定状态1锁定0未锁定
|
|
|
this.$refs.ScheduleEvent.listByTask(this.requirementId)
|
|
@@ -634,31 +632,7 @@ export default {
|
|
|
color: #409EFF !important;
|
|
|
border:1px solid #409EFF !important;
|
|
|
}
|
|
|
-// 左上角紧急样式
|
|
|
-.triangleContainer {
|
|
|
- height: 60px;
|
|
|
- background: #fff;
|
|
|
- }
|
|
|
- .triangleContent {
|
|
|
- position: relative;
|
|
|
- }
|
|
|
- .triangle {
|
|
|
- position: absolute;
|
|
|
- top: -30px;
|
|
|
- left: -60px;
|
|
|
- transform: rotate(315deg);
|
|
|
- border: 30px solid transparent;
|
|
|
- border-bottom-color: red;
|
|
|
- font-weight: 600;
|
|
|
- }
|
|
|
- .title {
|
|
|
- position: inherit;
|
|
|
- right: 28px;
|
|
|
- top: 4px;
|
|
|
- transform: rotate(-43deg);
|
|
|
- font-size: 12px;
|
|
|
- color: #fff;
|
|
|
- white-space: nowrap;
|
|
|
- }
|
|
|
- // 左上角紧急样式
|
|
|
+.paddingLeft {
|
|
|
+ padding-left: 0px;
|
|
|
+}
|
|
|
</style>
|