basicMessage.vue 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. <template>
  2. <!-- 基本信息及流程 -->
  3. <div class="basicMessage">
  4. <div style="margin-bottom: 40px;">
  5. <span>项目基本信息</span>
  6. <el-divider></el-divider>
  7. <el-descriptions class="margin-top" title="" :column="column" size="" border>
  8. <el-descriptions-item>
  9. <template slot="label">
  10. <i class="el-icon-user"></i> 项目名称
  11. </template>
  12. {{ row.name }}
  13. </el-descriptions-item>
  14. <el-descriptions-item>
  15. <template slot="label">
  16. <i class="el-icon-mobile-phone"></i> 项目产出
  17. </template>
  18. {{ row.type }}
  19. </el-descriptions-item>
  20. <el-descriptions-item>
  21. <template slot="label">
  22. <i class="el-icon-location-outline"></i> 技术方向
  23. </template>
  24. {{ row.type }}
  25. </el-descriptions-item>
  26. <el-descriptions-item>
  27. <template slot="label">
  28. <i class="el-icon-tickets"></i> 产品阶段
  29. </template>
  30. {{ row.type }}
  31. </el-descriptions-item>
  32. <el-descriptions-item>
  33. <template slot="label">
  34. <i class="el-icon-office-building"></i> 是否检索
  35. </template>
  36. {{ row.type }}
  37. </el-descriptions-item>
  38. <el-descriptions-item>
  39. <template slot="label">
  40. <i class="el-icon-office-building"></i> 负责人
  41. </template>
  42. {{ row.type }}
  43. </el-descriptions-item>
  44. <el-descriptions-item>
  45. <template slot="label">
  46. <i class="el-icon-office-building"></i> 相关竞争对手
  47. </template>
  48. {{ row.type }}
  49. </el-descriptions-item>
  50. <el-descriptions-item>
  51. <template slot="label">
  52. <i class="el-icon-office-building"></i> 技术关键词
  53. </template>
  54. {{ row.type }}
  55. </el-descriptions-item>
  56. <el-descriptions-item>
  57. <template slot="label">
  58. <i class="el-icon-office-building"></i> 审核状态
  59. </template>
  60. <el-tag size="small">{{ row.status }}</el-tag>
  61. </el-descriptions-item>
  62. <el-descriptions-item>
  63. <template slot="label">
  64. <i class="el-icon-office-building"></i> 审核进度
  65. </template>
  66. <el-tag size="small">{{ row.status }}</el-tag>
  67. </el-descriptions-item>
  68. <el-descriptions-item>
  69. <template slot="label">
  70. <i class="el-icon-office-building"></i> 创建人
  71. </template>
  72. {{ row.createPerson }}
  73. </el-descriptions-item>
  74. <el-descriptions-item>
  75. <template slot="label">
  76. <i class="el-icon-office-building"></i> 参与人
  77. </template>
  78. {{ row.createPerson }}
  79. </el-descriptions-item>
  80. <el-descriptions-item>
  81. <template slot="label">
  82. <i class="el-icon-office-building"></i> 附件
  83. </template>
  84. {{ row.type }}
  85. </el-descriptions-item>
  86. </el-descriptions>
  87. </div>
  88. <div style="width: 100%;">
  89. <!-- 项目流程 -->
  90. <projectPath></projectPath>
  91. </div>
  92. </div>
  93. </template>
  94. <script>
  95. import projectPath from './projectPath.vue'
  96. export default {
  97. components: {
  98. projectPath,
  99. },
  100. props:['row'],
  101. data() {
  102. return {
  103. column:4,
  104. queryParams:{}
  105. }
  106. },
  107. mounted() {
  108. window.addEventListener('resize', (e) => {
  109. let width = window.innerWidth
  110. if (width > 2200) {
  111. this.column = 6;
  112. } else if (width < 1000) {
  113. this.column = 3;
  114. } else if (width < 1400) {
  115. this.column = 4;
  116. } else if (width < 1800) {
  117. this.column = 5;
  118. }
  119. })
  120. },
  121. methods: {
  122. },
  123. }
  124. </script>
  125. <style lang="scss">
  126. .basicMessage {
  127. .el-divider--horizontal {
  128. margin: 10px 0;
  129. }
  130. }
  131. </style>
  132. <style lang="scss" scoped>
  133. .basicMessage{
  134. width: 100%;
  135. height: 100%;
  136. }
  137. </style>