index.vue 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  1. <!--合规性分析-->
  2. <template>
  3. <div class="ghzc complianceAnalysis">
  4. <div class="innerContainer leftPane">
  5. <h2 class="vl-notice-title">
  6. <span class="lv-title">合规性分析</span>
  7. <span class="lv-icon-maxmini"> </span>
  8. <i class="icon-remove"></i>
  9. </h2>
  10. <el-tabs type="border-card" class="xz_box" v-model="activeTabs" stretch>
  11. <el-tab-pane label="合规性分析" name="hgxsc">
  12. <Hgxsc @updateParent="changeData" ref="hgxfx"></Hgxsc>
  13. </el-tab-pane>
  14. <el-tab-pane label="历史记录" name="lsju">
  15. <Lsjl
  16. type="hgxfx"
  17. :rzBsm="rzBsm"
  18. @updateParent="changeData"
  19. ref="lsju"
  20. ></Lsjl>
  21. </el-tab-pane>
  22. <el-tab-pane
  23. label="检查结果"
  24. name="scjg"
  25. :disabled="activeTabs != 'scjg'"
  26. >
  27. <Scjg :scjgObj="scjgObj" :jgTable="jgTable" ref="scjg"></Scjg
  28. ></el-tab-pane>
  29. </el-tabs>
  30. </div>
  31. <RzDtails :rzBsm="rzBsm" :rzMc="rzMc"></RzDtails>
  32. </div>
  33. </template>
  34. <script>
  35. import Hgxsc from "./components/hgxsc.vue";
  36. import Lsjl from "./components/lsjl.vue";
  37. import Scjg from "./components/scjg.vue";
  38. import RzDtails from "./components/rzDtails.vue";
  39. // import TabelView from "./components/tabelView.vue";
  40. export default {
  41. name: "complianceAnalysis",
  42. components: {
  43. Hgxsc,
  44. Lsjl,
  45. Scjg,
  46. RzDtails,
  47. // TabelView,
  48. },
  49. data() {
  50. return {
  51. dialogVisible: false,
  52. selectVisible: false,
  53. mbVisible: false,
  54. projectVisible: false,
  55. activeNames: [],
  56. loading: false,
  57. activeTabs: "hgxsc",
  58. rzBsm: "",
  59. rwBsm: "",
  60. rzMc: "",
  61. form: {
  62. ydxz_bsm: "",
  63. ydmjbegin: "",
  64. ydmjend: "",
  65. kddk: "",
  66. zdpd: "",
  67. yxyz: "",
  68. xzmj: 0,
  69. sjy: "",
  70. xzfw: "",
  71. xmmc: "",
  72. jsdw: "",
  73. yjydlx: "",
  74. fwlx: 0,
  75. },
  76. scjgObj: {
  77. task: { fxbg: "@/../static/data/ghss/合规性分析报告.docx" },
  78. },
  79. rwObj: {},
  80. tableData: [],
  81. jgTable: false,
  82. };
  83. },
  84. created() {},
  85. mounted() {},
  86. methods: {
  87. changeData(name, updata) {
  88. this[name] = updata;
  89. },
  90. },
  91. watch: {
  92. activeTabs(newValue) {
  93. if (newValue != "hgxfx") this.$refs.scjg.reset();
  94. else if (newValue != "lsju") this.$refs.scjg.reset();
  95. else if (newValue != "scjg") this.$refs.scjg.reset();
  96. },
  97. },
  98. };
  99. </script>
  100. <style lang="scss" scoped>
  101. .complianceAnalysis {
  102. .xz_box {
  103. .title {
  104. padding: 8px;
  105. margin-bottom: 10px;
  106. span {
  107. color: #605e5e;
  108. padding-left: 8px;
  109. border-left: 3px solid #3a8ee6;
  110. }
  111. button {
  112. padding: 0;
  113. float: right;
  114. margin-right: 5px;
  115. min-height: unset;
  116. }
  117. }
  118. .xz_table {
  119. height: 180px;
  120. /deep/.el-table__header-wrapper {
  121. height: 40px;
  122. }
  123. /deep/.el-table__body-wrapper {
  124. height: calc(100% - 40px);
  125. overflow-y: auto;
  126. }
  127. }
  128. .xz-btn {
  129. width: 100%;
  130. // background: #efefef;
  131. position: absolute;
  132. height: 55px;
  133. z-index: 999;
  134. bottom: 0;
  135. right: 0;
  136. display: flex;
  137. align-items: center;
  138. }
  139. .jg-box {
  140. td {
  141. padding-left: 15px;
  142. }
  143. .el-collapse-item__header {
  144. span {
  145. position: absolute;
  146. right: 40px;
  147. }
  148. }
  149. .el-collapse-item__content {
  150. padding-bottom: 0;
  151. }
  152. }
  153. }
  154. .tckz {
  155. position: absolute;
  156. left: auto;
  157. right: 10px;
  158. bottom: 100px;
  159. text-align: center;
  160. // background-color: rgba(255, 255, 255, 0.85);
  161. padding-top: 5px;
  162. padding-bottom: 5px;
  163. padding-right: 5px;
  164. padding-left: 5px;
  165. border-radius: 5px;
  166. > div {
  167. padding: 5px;
  168. text-align: left;
  169. }
  170. }
  171. }
  172. </style>
  173. <style lang="scss">
  174. @import "ghzc";
  175. </style>