audit-feedback-form.vue 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. <template>
  2. <div :class="$style.feedbackForm">
  3. <audit-form-top-banner>
  4. <div :class="$style.titleHide">
  5. <sd-detail-form
  6. ref="docform"
  7. form-id="iamWorkRectCarryOutHistory"
  8. page-id="audit/rectFeedback/iamWorkRectCarryOutHistory"
  9. :record-id="this.$route.query.record ? parseInt(this.$route.query.record) : null"
  10. :class="$style.form"
  11. :read-only="true"
  12. @close="close(true)"
  13. ><template v-slot="{ model, fields }">
  14. <table>
  15. <colgroup>
  16. <col style="width: 200px;" />
  17. <col />
  18. <col style="width: 200px;" />
  19. <col />
  20. </colgroup>
  21. <tr>
  22. <!-- 整改状态 -->
  23. <sd-form-item-td name="rectStatus" :colspan="model.rectStatus === '03' ? 1 : 3" />
  24. <!-- 整改完成日期 -->
  25. <sd-form-item-td v-if="model.rectStatus === '03'" name="rectFinishDate" />
  26. </tr>
  27. <tr v-show="model.rectStatus === '01'">
  28. <!-- 是否超期未整改 -->
  29. <sd-form-item-td
  30. name="isTrue"
  31. :colspan="model.isTrue === '1' || model.isTrue === 1 ? 1 : 3"
  32. >
  33. <span>{{ model.isTrue === 1 ? '是' : '否' }}</span>
  34. </sd-form-item-td>
  35. <!-- 超期原因 -->
  36. <sd-form-item-td
  37. v-if="model.isTrue === '1' || model.isTrue === 1"
  38. name="overdueReason"
  39. />
  40. </tr>
  41. <tr v-show="model.rectStatus !== '04' && model.rectStatus !== '03'">
  42. <!-- 预计整改完成日期 -->
  43. <sd-form-item-td name="expectedCompleteDate" :colspan="3" />
  44. </tr>
  45. <tr>
  46. <!-- 整改情况说明 -->
  47. <sd-form-item-td name="description" :colspan="3" />
  48. </tr>
  49. <tr>
  50. <!-- 完成日期 -->
  51. <sd-form-item-td name="rectMoneyType" />
  52. <sd-form-item-td name="rectMoneySum" />
  53. </tr>
  54. <tr>
  55. <!-- 成果利用 -->
  56. <sd-form-item-td name="resultUse" />
  57. <!-- 成果利用数量 -->
  58. <sd-form-item-td name="resultUseSum" />
  59. </tr>
  60. <tr>
  61. <!-- 处分信息 -->
  62. <sd-form-item-td name="punishInfo" />
  63. <!-- 处分人数 -->
  64. <sd-form-item-td name="punishSum" />
  65. </tr>
  66. <tr>
  67. <!-- 向司法机关移送或报案线索 -->
  68. <sd-form-item-td name="transferToJustice" />
  69. <!-- 涉案人员 -->
  70. <sd-form-item-td name="personInvolved" />
  71. </tr>
  72. <tr>
  73. <sd-form-item-td name="attachment" :colspan="3">
  74. <template v-slot:read-and-edit>
  75. <sd-attachment
  76. v-model="model.attachment"
  77. :group-id="JSON.parse(fields.attachment.value).value"
  78. :read-only="true"
  79. />
  80. </template>
  81. </sd-form-item-td>
  82. </tr>
  83. </table>
  84. </template>
  85. </sd-detail-form>
  86. </div>
  87. </audit-form-top-banner>
  88. </div>
  89. </template>
  90. <script>
  91. import crossWindowWatcher from '@/common/services/cross-window-watcher'
  92. import auditFormTopBanner from '../../components/audit-form-top-banner'
  93. import components from './_import-components/audit-feedback-form-import'
  94. export default {
  95. name: 'AuditFeedbackForm',
  96. metaInfo: {
  97. title: '整改问题清单',
  98. },
  99. components: {
  100. ...components,
  101. auditFormTopBanner,
  102. },
  103. mixins: [],
  104. data() {
  105. return {
  106. rectplanExpand: true,
  107. findExpand: true,
  108. trackExpand: true,
  109. delayExpand: true,
  110. zgqrExpand: true,
  111. lsxxExpand: true,
  112. bgExpand: true,
  113. }
  114. },
  115. methods: {
  116. close(flag) {
  117. crossWindowWatcher.notifyChange(this.$route.fullPath, flag)
  118. window.close()
  119. },
  120. saved() {
  121. return false
  122. },
  123. },
  124. }
  125. </script>
  126. <style module lang="scss">
  127. @import '@/webflow/sd-flow-form.scss';
  128. .titleHide {
  129. :global(.title_sd-detail-form_common) {
  130. display: none;
  131. }
  132. }
  133. .feedbackForm {
  134. width: 100%;
  135. height: 100%;
  136. :global(span.toptitle.toptitle_audit-form-top-banner_product::after) {
  137. content: '反馈单';
  138. }
  139. :global(span.toptitle.toptitle_audit-form-top-banner_product span) {
  140. display: none;
  141. }
  142. }
  143. .tablexm tr td {
  144. border: none !important;
  145. }
  146. </style>