index.vue 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. <template>
  2. <LeftPano>
  3. <div class="info" v-if="caseProject?.tmProject">
  4. <h2>案件信息</h2>
  5. <p>
  6. <span>项目编号:</span>
  7. {{ caseProject.tmProject.projectSn }}
  8. </p>
  9. <p>
  10. <span>事件分类:</span>
  11. {{ caseProject.tmProject.field5 }}
  12. </p>
  13. <p>
  14. <span>详细地址:</span>
  15. {{ caseProject.tmProject.projectAddress }}
  16. </p>
  17. <p>
  18. <span>起火场所</span>
  19. {{ caseProject.tmProject.projectSite }}
  20. </p>
  21. <p>
  22. <span>勘验信息:</span>
  23. {{ caseProject.tmProject.field7 }}
  24. </p>
  25. <p>
  26. <span>火灾原因:</span>
  27. {{ caseProject.tmProject.fireReason }}
  28. </p>
  29. <p>
  30. <span>勘验地址:</span>
  31. {{ caseProject.tmProject.field1 }}
  32. </p>
  33. <p>
  34. <span>全宗名称:</span>
  35. {{ caseProject.tmProject.field2 }}
  36. </p>
  37. <p>
  38. <span>勘验人姓名:</span>
  39. {{ caseProject.tmProject.field3 }}
  40. </p>
  41. <p>
  42. <span>勘验人单位、职务:</span>
  43. {{ caseProject.tmProject.field4 }}
  44. </p>
  45. <p>
  46. <span>承办单位:</span>
  47. {{ caseProject.tmProject.organizerDeptName }}
  48. </p>
  49. <p>
  50. <span>起火对象:</span>
  51. {{ caseProject.tmProject.projectName }}
  52. </p>
  53. <p>
  54. <span>分类登记:</span>
  55. {{ caseProject.tmProject.field6 }}
  56. </p>
  57. <p>
  58. <span>勘验人员:</span>
  59. {{ caseProject.tmProject.organizerUsers }}
  60. </p>
  61. <p>
  62. <span>事故日期:</span>
  63. {{ caseProject.tmProject.accidentDate }}
  64. </p>
  65. <p>
  66. <span>勘验日期:</span>
  67. {{ caseProject.tmProject.field8 }}
  68. </p>
  69. <p>
  70. <span>项目状态:</span>
  71. {{ caseProject.tmProject.statusDesc }}
  72. </p>
  73. <p>
  74. <span>教学项目:</span>
  75. {{ caseProject.tmProject.isTeached ? "是" : "否" }}
  76. </p>
  77. <p>
  78. <span>创建人:</span>
  79. {{ caseProject.tmProject.creatorName }}
  80. </p>
  81. <p>
  82. <span>编辑人:</span>
  83. {{ caseProject.tmProject.editorName }}
  84. </p>
  85. <p>
  86. <span>创建时间:</span>
  87. {{ caseProject.tmProject.createTime }}
  88. </p>
  89. <p>
  90. <span>最新编辑:</span>
  91. {{ caseProject.tmProject.editTime }}
  92. </p>
  93. </div>
  94. </LeftPano>
  95. </template>
  96. <script setup lang="ts">
  97. import { showRightPanoStack } from "@/env";
  98. import { useViewStack } from "@/hook";
  99. import { LeftPano } from "@/layout";
  100. import { caseProject } from "@/store/case";
  101. import { ref } from "vue";
  102. useViewStack(() => showRightPanoStack.push(ref(false)));
  103. </script>
  104. <style lang="scss" scoped>
  105. .info {
  106. h2 {
  107. padding: 20px;
  108. font-weight: bold;
  109. display: flex;
  110. justify-content: space-between;
  111. border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  112. align-items: center;
  113. margin-bottom: 0;
  114. }
  115. p {
  116. padding: 0 30px;
  117. margin: 20px 0;
  118. color: rgba(255, 255, 255, 1);
  119. font-size: 14px;
  120. display: flex;
  121. word-break: break-all;
  122. span {
  123. flex: none;
  124. display: inline-block;
  125. width: 70px;
  126. height: 100%;
  127. margin-right: 20px;
  128. color: rgba(255, 255, 255, 0.7);
  129. }
  130. }
  131. }
  132. </style>