religiousConferenceInfo.vue 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. <template>
  2. <van-loading size="16px" v-if="isLoading">加载中...</van-loading>
  3. <div class="main" v-if="!isLoading">
  4. <div class="banner">
  5. <h2>扎实提升“三力”</h2>
  6. <h2>深入推进“三化”</h2>
  7. <h2>坚持“三个思维”</h2>
  8. </div>
  9. <div class="info">
  10. <p>会议地点:{{ info.placeSelectName }}</p>
  11. <p>详细地址:{{ info.venueDetailed }}</p>
  12. <p>会议时间:{{ info.meetingTime }}</p>
  13. <p>会议场所:{{ info.siteName.name }}</p>
  14. <p>参会人员:{{ info.participants.name }}</p>
  15. <p>附&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;件:<span style="color: #6892ff">活动申请书</span></p>
  16. <p>会议议题:{{ info.meetingTopics }}</p>
  17. </div>
  18. <van-button v-if="canAudit" type="primary" class="btn-sub">审核</van-button>
  19. </div>
  20. </template>
  21. <script>
  22. import { ref } from "vue";
  23. import religiousConferenceService from "@/api/religiousConference/religiousConferenceService";
  24. import UserManage from "@/api/user/UserManage";
  25. import { useRoute } from "vue-router";
  26. export default {
  27. setup() {
  28. window.xm.setNavigationBarTitle({ title: '负责人会议详情'})
  29. let isLoading = ref(true);
  30. let canAudit = ref(false);
  31. // 活动信息
  32. const info = ref({
  33. });
  34. let route = useRoute();
  35. new religiousConferenceService().queryById(route.query.id).then((data) => {
  36. info.value = data;
  37. if(data.assessment=="0"){
  38. canAudit.value = true;
  39. }else{
  40. canAudit.value = false;
  41. }
  42. isLoading.value = false;
  43. });
  44. return {
  45. info,
  46. isLoading,
  47. canAudit,
  48. };
  49. },
  50. };
  51. </script>
  52. <style lang="less">
  53. .main {
  54. background: #fff;
  55. position: relative;
  56. top: 40px;
  57. }
  58. .banner {
  59. background-color: #36a7f3;
  60. padding: 20px 50px 40px 50px;
  61. color: #fff;
  62. h2 {
  63. &:nth-child(1) {
  64. margin-top: 0px;
  65. text-align: left;
  66. }
  67. &:nth-child(2) {
  68. text-align: center;
  69. }
  70. &:nth-child(3) {
  71. text-align: right;
  72. }
  73. }
  74. }
  75. .info {
  76. position: relative;
  77. width: 86vw;
  78. margin: 10px auto;
  79. padding: 10px;
  80. background: #fff;
  81. border-radius: 20px;
  82. top: -50px;
  83. font-size: 14px;
  84. }
  85. .btn-sub {
  86. width: 90%;
  87. border-radius: 20px;
  88. margin-left: 5%;
  89. }
  90. .van-loading {
  91. text-align: center;
  92. margin-top: 80px;
  93. }
  94. </style>