Commit 5473329b authored by 小费同学阿's avatar 小费同学阿 💬

月度计划,计划完成情况模块修改去掉删除按钮

parent 2a81f057
......@@ -7,7 +7,7 @@
headerSticky
>
<template #extra>
<a-button type="primary" danger> 删除 </a-button>
<!-- <a-button type="primary" danger> 删除 </a-button>-->
<a-button type="primary" v-if="!disabled" @click="handleSubmit"> 提交 </a-button>
<a-button type="default" @click="router.back()"> 返回 </a-button>
</template>
......@@ -20,10 +20,9 @@
preIcon="ant-design:delete-outlined"
danger
@click="deleteItem(index)"
>
</a-button>
/>
</template>
<BasicForm :loading="loading" @register="item.Form[0]"> </BasicForm>
<BasicForm :loading="loading" @register="item.Form[0]" />
<PageCard
v-for="(content, key) in item.list"
:key="key"
......@@ -61,6 +60,7 @@
import { useModal } from '@/components/Modal';
import { router } from '@/router';
import { useRoute } from 'vue-router';
const [registerDrawer, { openDrawer }] = useDrawer();
const loadingRef = ref(false);
const [register, { openModal: openModal }] = useModal();
......
......@@ -7,7 +7,7 @@
headerSticky
>
<template #extra>
<a-button type="primary" danger> 删除 </a-button>
<!-- <a-button type="primary" danger> 删除 </a-button>-->
<a-button type="primary" v-if="!disabled" @click="handleSubmit"> 提交 </a-button>
<a-button type="default" @click="router.back()"> 返回 </a-button>
</template>
......@@ -20,8 +20,7 @@
preIcon="ant-design:delete-outlined"
danger
@click="deleteItem(index)"
>
</a-button>
/>
</template>
<BasicForm :loading="loading" @register="item.Form[0]" />
</PageCard>
......@@ -39,7 +38,6 @@
<script lang="ts" setup>
import addPlanModel from './addPlanModel.vue';
import { useModal } from '@/components/Modal';
const [register, { openModal: openModal }] = useModal();
import { unref, computed, onMounted, ref, reactive, nextTick, provide } from 'vue';
import { PageWrapper } from '@/components/Page';
import PageCard from '@/components/Page/src/PageCard.vue';
......@@ -57,6 +55,9 @@
GetEngineProjectList,
Itemdelete,
} from '@/api/project/performance';
const [register, { openModal: openModal }] = useModal();
const loadingRef = ref(false);
const { createMessage } = useMessage();
const isUpdate = ref(false);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment