<template>
  <!-- 计划 重新提交-->
  <a-modal class="commonModal plan-recommit"
           title="重新提交"
           v-model:visible="visible"
           centered
           @cancel="cancel"
           width="890px">
    <template #footer>
      <a-button key="submit"
                type="primary"
                :loading="loading"
                @click="submit">完成</a-button>
    </template>
  </a-modal>
</template>

<script lang="ts">
import { defineComponent, ref } from 'vue';
import { closeModal } from '@/common/setup/modal/index';

export default defineComponent({
    name: 'plan-recommit',
    components: {},
    setup() {
        const { visible, cancel } = closeModal('plan_uncommitted_recommit');
        const loading = ref<boolean>(false);
        function submit() {
            cancel();
        }
        return {
            visible,
            cancel,
            submit,
            loading,
        };
    },
});
</script>

<style lang="less">
.plan-recommit {
}
</style
>;
