<template>
  <sd-webflow ref="flow" @actionBtnClick="handleBtnClick">
    <template v-slot:form="{ model }">
      <table>
        <tr>
          <!-- 资料名称 -->
          <sd-form-item-td name="meansTitle" :colspan="3" @keyup="setTitle" />
        </tr>
        <tr>
          <!-- 标题 -->
          <sd-form-item-td name="title" hidden="true" :colspan="3" />
        </tr>
        <tr>
          <!-- 资料编号 -->
          <sd-form-item-td name="meansNum" :colspan="3" />
        </tr>
        <tr>
          <!-- 编制人员 -->
          <sd-form-item-td name="editUser" :colspan="3" />
        </tr>
        <tr>
          <!-- 编制日期 -->
          <sd-form-item-td name="editDate" :colspan="3" />
        </tr>
        <tr>
          <!-- 附件 -->
          <sd-form-item-td name="attachmentTitle" :colspan="3" />
        </tr>
        <tr>
          <!-- 文档状态 -->
          <sd-form-item-td name="meansStatus" :colspan="3" />
        </tr>
        <tr>
          <!-- 附件 -->
          <sd-form-item-td name="attachment" :colspan="3" />
        </tr>
      </table>
    </template>
  </sd-webflow>
</template>

<script>
import moment from 'moment'
import storeMixin from '@/common/store-mixin'
import { Modal } from 'ant-design-vue'
import components from './_import-components/iam-audit-work-apply-import'

export default {
  name: 'IamAuditWorkApply',
  metaInfo: {
    title: '审计作业审计资料',
  },
  components,
  data() {
    return {}
  },
  created() {},
  methods: {
    handleBtnClick(btn, item) {},
    setTitle(evt) {
      this.$refs.flow.setFieldValue('title', this.$refs.flow.getFieldValue('meansTitle'))
    },
  },
}
</script>

<style module lang="scss">
@use '@/common/design' as *;
</style>
