index.vue 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  1. <script setup>
  2. import { ref, reactive, defineProps,defineEmits ,toRef } from "vue";
  3. import { Plus, Calendar, Search } from "@element-plus/icons-vue";
  4. import { ElMessage, ElMessageBox } from "element-plus";
  5. const optionRadio = ref(props.docInfo.dxxd_wxdj);
  6. const props = defineProps(['docInfo', 'd'])
  7. const emit = defineEmits(['func']);
  8. const checkedIn = ref(false);
  9. const chekboxShow = (val) => {
  10. let objA = {
  11. mark: val,
  12. params:props.docInfo.dxxd_id,
  13. }
  14. emit('editChooseArr', objA)
  15. }
  16. </script>
  17. <template>
  18. <div class="singleAll">
  19. <div class="withAllShow">
  20. <div class="withAllShow_left">
  21. <el-checkbox v-model="checkedIn" @change="chekboxShow"></el-checkbox>
  22. </div>
  23. <div class="singleItem">
  24. <div class="everyRow flexEveryRow">
  25. <div class="mainT">咨询记录</div>
  26. <div class="dataShow">日期:{{ props.docInfo.dxxd_date }}</div>
  27. </div>
  28. <div class="everyRow moreDetail">
  29. <div class="vistorFirstShow">来访者姓名</div>
  30. <div class="vistorSecondFill">{{ props.docInfo.dxxd_lfzxm }}</div>
  31. <div class="vistorFirstShow">学校</div>
  32. <div class="vistorSecondFill" style="width: 25%">{{ props.docInfo.dxxd_school_name }}</div>
  33. <div class="vistorFirstShow">班级</div>
  34. <div class="vistorSecondFill" style="width: 15%; border-right: 0">{{ props.docInfo.dxxd_class_name }}</div>
  35. </div>
  36. <div class="everyRow moreDetail">
  37. <div class="vistorFirstShow">接访老师</div>
  38. <div class="vistorSecondFill">{{ props.docInfo.dxxd_jfls }}</div>
  39. <div class="vistorFirstShow">住址(选填)</div>
  40. <div class="vistorSecondFill" style="width: 25%"> {{ props.docInfo.dxxd_address }} </div>
  41. <div class="vistorFirstShow">电话(选填)</div>
  42. <div class="vistorSecondFill" style="width: 15%; border-right: 0">{{ props.docInfo.dxxd_phone }}</div>
  43. </div>
  44. <div class="everyRow textAreaCont">
  45. <P class="MainP">咨询缘由:</P>
  46. <div class="detailShow">{{ props.docInfo.dxxd_zxyy }}</div>
  47. </div>
  48. <div class="everyRow textAreaCont">
  49. <P class="MainP">来访者自述:</P>
  50. <div class="detailShow">{{ props.docInfo.dxxd_lfzzs }}</div>
  51. </div>
  52. <div class="everyRow textAreaCont">
  53. <P class="MainP">初步分析:</P>
  54. <div class="detailShow">{{ props.docInfo.dxxd_cbfx }}</div>
  55. </div>
  56. <div class="everyRow textAreaCont">
  57. <P class="MainP">危险等级(单选):</P>
  58. <div class="detailShow">
  59. <el-radio-group v-model="optionRadio" class="ml-4" :disabled="d">
  60. <el-radio label="1" size="small">一般</el-radio>
  61. <el-radio label="2" size="small">严重</el-radio>
  62. <el-radio label="3" size="small">重大</el-radio>
  63. </el-radio-group>
  64. </div>
  65. </div>
  66. <div class="everyRow textAreaCont">
  67. <P class="MainP">处理方式:</P>
  68. <div class="detailShow">{{ props.docInfo.dxxd_clfs }}</div>
  69. </div>
  70. </div>
  71. </div>
  72. <div class="ZXTime">咨询时长:{{ props.docInfo.xxd_zxsc }}</div>
  73. </div>
  74. </template>
  75. <style scoped>
  76. .withAllShow{
  77. display: flex;
  78. }
  79. .withAllShow_left {
  80. width: 2%;
  81. margin-right: 1%;
  82. }
  83. .singleItem {
  84. width: 97%;
  85. border: 1px solid #969696;
  86. }
  87. .everyRow {
  88. border: 1px solid #dbdbdb;
  89. }
  90. .flexEveryRow {
  91. display: flex;
  92. flex-direction: row;
  93. }
  94. .mainT {
  95. width: 65%;
  96. height: 36px;
  97. line-height: 36px;
  98. font-size: 16px;
  99. font-family: PingFangSC-Regular;
  100. text-align: left;
  101. color: #000000;
  102. box-sizing: border-box;
  103. padding: 0 0 0 10%;
  104. background: url("../assets/images/cardIcon.png") no-repeat 10% center;
  105. background-size: 19px 18px;
  106. }
  107. .dataShow {
  108. width: 35%;
  109. height: 36px;
  110. line-height: 36px;
  111. font-size: 12px;
  112. font-family: PingFangSC-Regular;
  113. text-align: left;
  114. color: #898989;
  115. }
  116. .moreDetail {
  117. display: flex;
  118. flex-direction: row;
  119. height: 32px;
  120. line-height: 32px;
  121. }
  122. .vistorFirstShow {
  123. width: 15%;
  124. font-size: 10px;
  125. font-family: PingFangSC-Regular;
  126. text-align: left;
  127. color: #000000;
  128. border-right: 1px solid #dbdbdb;
  129. box-sizing: border-box;
  130. padding: 0 0 0 5px;
  131. }
  132. .vistorSecondFill {
  133. font-size:10px;
  134. width: 15%;
  135. border-right: 1px solid #dbdbdb;
  136. box-sizing: border-box;
  137. padding: 0 0 0 2px;
  138. }
  139. .textAreaCont {
  140. height: 69px;
  141. box-sizing: border-box;
  142. padding-left: 3px;
  143. display: flex;
  144. flex-direction: column;
  145. }
  146. .MainP {
  147. height: 15px;
  148. font-size: 10px;
  149. font-family: PingFangSC-Regular;
  150. text-align: left;
  151. color: #000000;
  152. }
  153. .detailShow {
  154. font-size: 14px;
  155. color: #969696;
  156. }
  157. .ZXTime {
  158. height: 40px;
  159. line-height: 40px;
  160. font-size: 16px;
  161. font-family: PingFangSC-Regular;
  162. text-align: left;
  163. color: #007dff;
  164. margin-left:3%;
  165. }
  166. </style>