footer.vue 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. <template>
  2. <!-- 基本信息 -->
  3. <div class="baseinfo-container" style="padding: 0">
  4. <div class="basic-details-title border-none">
  5. <span class="border-span">其他信息</span>
  6. </div>
  7. <el-descriptions
  8. :label-style="labelStyle"
  9. :contentStyle="contentStyle"
  10. title=""
  11. :column="2"
  12. size="medium"
  13. border
  14. >
  15. <el-descriptions-item>
  16. <template slot="label">附件信息</template>
  17. {{ idata.fileName }}
  18. </el-descriptions-item>
  19. <el-descriptions-item>
  20. <template slot="label">备注</template>
  21. {{ idata.remark }}
  22. </el-descriptions-item>
  23. </el-descriptions>
  24. <div class="basic-details-title border-none">
  25. <span class="border-span">关联信息</span>
  26. </div>
  27. <linkMsg
  28. ref="linkMsgRef"
  29. :id="idata.id"
  30. :categoryLevelId="idata.categoryLevelId"
  31. :categoryLevelGroupId="idata.categoryLevelGroupId"
  32. />
  33. </div>
  34. </template>
  35. <script>
  36. import linkMsg from './link-msg.vue';
  37. export default {
  38. components: { linkMsg },
  39. data() {
  40. return {
  41. labelStyle: {
  42. width: '200px'
  43. },
  44. contentStyle: {
  45. width: '400px'
  46. },
  47. depInfo: {},
  48. idata: {}
  49. };
  50. },
  51. methods: {
  52. async getDetailInfoAugr(data) {
  53. this.idata = {
  54. ...data,
  55. fileName: data.remarkAttach
  56. ? data.remarkAttach.map((item) => item.name).join(', ')
  57. : null
  58. };
  59. }
  60. }
  61. };
  62. </script>
  63. <style lang="scss" scoped>
  64. .baseinfo-container {
  65. background-color: #fff;
  66. padding: 0px 20px 20px;
  67. .content {
  68. padding: 0 20px;
  69. }
  70. .basic-details-title {
  71. font-size: 16px;
  72. margin: 15px 0;
  73. }
  74. .upload-container {
  75. display: flex;
  76. .img-box {
  77. width: 280px;
  78. height: 342px;
  79. border: 1px solid rgba(215, 215, 215, 1);
  80. display: flex;
  81. justify-content: center;
  82. align-items: center;
  83. img {
  84. max-width: 100%;
  85. }
  86. }
  87. .file-list {
  88. margin-left: 50px;
  89. flex: 1;
  90. display: flex;
  91. justify-content: space-between;
  92. flex-wrap: wrap;
  93. justify-items: baseline;
  94. align-content: flex-start;
  95. .file-box {
  96. width: 30%;
  97. margin-bottom: 20px;
  98. height: 57px;
  99. text-align: center;
  100. line-height: 55px;
  101. border: 1px solid #1890ff;
  102. color: #1890ff;
  103. cursor: pointer;
  104. &.disabled {
  105. cursor: not-allowed;
  106. border-color: rgba(215, 215, 215, 1);
  107. color: rgba(215, 215, 215, 1);
  108. }
  109. }
  110. }
  111. }
  112. }
  113. </style>