wenbobowen 4 gadi atpakaļ
vecāks
revīzija
2bed2c478c

+ 28 - 0
src/components/redTipTitle/index.vue

@@ -0,0 +1,28 @@
+<template>
+  <p class="redTipword">
+    <span class="title">{{ title }}</span>
+  </p>
+</template>
+<script>
+export default {
+  name: 'Tipword',
+  props: {
+    title: {
+      type: String,
+      required: true
+    }
+  }
+}
+</script>
+<style scoped lang="scss">
+.redTipword {
+  vertical-align: middle;
+  .title {
+    &::before{
+      content: '*';
+      color: #F56C6C;
+      margin-right: 4px;
+    }
+  }
+}
+</style>

+ 34 - 0
src/views/projectManage/publishTask/index.vue

@@ -0,0 +1,34 @@
+<template>
+  <div class="publishTask main-section">
+    <header>
+      <div class="el-main-title">
+        <div class="title-left-icon" />
+        <div class="title-left-name">checklist</div>
+      </div>
+    </header>
+    <div class="wrap">
+      <redTipword title="关联任务" />
+    </div>
+    <!-- <div>
+      <text-area :id="'pro-desc'" :value.sync="form_query.description" :empty-text="'点击'" :input-button="'添加描述'" @change="changeArea" />
+    </div> -->
+  </div>
+</template>
+<script>
+import redTipword from '@/components/redTipTitle'
+import '@/styles/PublicStyle/index.scss'
+export default {
+  components: {
+    redTipword
+  }
+}
+</script>
+<style scoped lang="scss">
+@import '@/styles/detail-pages.scss';
+.publishTask {
+  @include main-section;
+  .wrap{
+    padding: 0 40px;
+  }
+}
+</style>

+ 4 - 2
src/views/projectManage/taskList/taskViewDetail.vue

@@ -325,7 +325,7 @@
       <!-- 发布 -->
       <el-container v-if="activeName === '6'" class="is-vertical">
         <!-- <section class="main-section contain"> -->
-        <data-statistics ref="data-statistics" />
+        <publishTask />
         <!-- </section> -->
       </el-container>
       <!-- 发布 -->
@@ -427,6 +427,7 @@ import stage1 from '@/assets/detailPage/正常状态.png'
 import stage2 from '@/assets/detailPage/延期状态.png'
 import taskDialog from '@/views/projectManage/taskList/dialog/taskDialog' // 任务状态修改(已上线/已提测/已准出)
 import bugTableDialog from '@/views/projectManage/bugList/details/bugTableDialog' // 缺陷表格
+import publishTask from '@/views/projectManage/publishTask'
 import schedule from '@/views/projectManage/schedule' // 排期锁定弹窗
 import download from '@/views/projectManage/components/export.vue'
 import record from '@/views/projectManage/components/record.vue'
@@ -458,7 +459,8 @@ export default {
     record,
     timeLine,
     workflowAndStatus,
-    synchronizeDialog
+    synchronizeDialog,
+    publishTask
   },
   filters: {
     ellipsis(value, num) {