ReligiousPeopleReportInfo.vue 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. <template>
  2. <van-nav-bar
  3. fixed
  4. title="私设聚会点"
  5. left-text=""
  6. left-arrow
  7. @click-left="onClickLeft"
  8. />
  9. <van-loading size="16px" v-if="isLoading">加载中...</van-loading>
  10. <div class="main" v-if="!isLoading">
  11. <div class="banner">
  12. <h2>扎实提升“三力”</h2>
  13. <h2>深入推进“三化”</h2>
  14. <h2>坚持“三个思维”</h2>
  15. </div>
  16. <div class="info">
  17. <p>异常人员姓名:{{ inputForm.abnormalName }}</p>
  18. <p>人员身份证号:{{ inputForm.abnormalIdcar }}</p>
  19. <p>性别:{{ inputForm.sex }}</p>
  20. <p>手机号:{{ inputForm.abnormalPhone }}</p>
  21. <p>籍贯:{{ inputForm.nativePlace }}</p>
  22. <p>现居地:{{ inputForm.currentResidence }}</p>
  23. <p>现居地详情:{{ inputForm.currentResidenceDetail }}</p>
  24. <p>异常行为:{{ inputForm.abnormalBehavior }}</p>
  25. </div>
  26. <van-button type="primary" class="btn-sub">审核</van-button>
  27. </div>
  28. </template>
  29. <script>
  30. import { ref } from "vue";
  31. import { useRoute } from "vue-router";
  32. import ReligiousPeopleReportService from "@/api/differentbelievers/ReligiousPeopleReportService";
  33. export default {
  34. setup() {
  35. const onClickLeft = () => {
  36. history.back();
  37. };
  38. // 加载
  39. let isLoading = ref(true);
  40. // 异常人员信息
  41. let inputForm = ref({
  42. id: "",
  43. abnormalName: "",
  44. abnormalIdcar: "",
  45. sex: "",
  46. abnormalPhone: "",
  47. nativePlace: "",
  48. currentResidence: "",
  49. currentResidenceDetail: "",
  50. abnormalBehavior: "",
  51. state: "0",
  52. assessment: "0",
  53. currentResidenceId: "",
  54. currentResidenceLevel1: "",
  55. currentResidenceLevel2: "",
  56. currentResidenceLevel3: "",
  57. currentResidenceLevel4: "",
  58. currentResidenceLevel5: "",
  59. currentResidenceLevel6: "",
  60. });
  61. // 获取信息
  62. let route = useRoute();
  63. new ReligiousPeopleReportService()
  64. .queryById(route.query.id)
  65. .then((data) => {
  66. inputForm.value = data;
  67. isLoading.value = false;
  68. });
  69. return {
  70. onClickLeft,
  71. inputForm,
  72. isLoading,
  73. };
  74. },
  75. };
  76. </script>
  77. <style lang="less">
  78. .main {
  79. background: #fff;
  80. position: relative;
  81. top: 40px;
  82. }
  83. .banner {
  84. background-color: #36a7f3;
  85. padding: 20px 50px 40px 50px;
  86. color: #fff;
  87. h2 {
  88. &:nth-child(1) {
  89. margin-top: 0px;
  90. text-align: left;
  91. }
  92. &:nth-child(2) {
  93. text-align: center;
  94. }
  95. &:nth-child(3) {
  96. text-align: right;
  97. }
  98. }
  99. }
  100. .info {
  101. position: relative;
  102. width: 86vw;
  103. // height: 120px;
  104. margin: 10px auto;
  105. padding: 10px;
  106. background: #fff;
  107. border-radius: 20px;
  108. top: -50px;
  109. font-size: 14px;
  110. }
  111. .btn-sub {
  112. width: 90%;
  113. border-radius: 20px;
  114. margin-left: 5%;
  115. }
  116. .van-loading {
  117. text-align: center;
  118. margin-top: 80px;
  119. }
  120. </style>