|
|
@@ -1,13 +1,7 @@
|
|
|
<template>
|
|
|
<!-- 交收-->
|
|
|
- <Drawer :title="'交收'"
|
|
|
- :placement="'bottom'"
|
|
|
- :visible="visible"
|
|
|
- @cancel="cancel">
|
|
|
- <div class="listed">
|
|
|
-
|
|
|
- </div>
|
|
|
- </Drawer>
|
|
|
+ <div>
|
|
|
+ </div>
|
|
|
</template>
|
|
|
|
|
|
<script lang="ts">
|
|
|
@@ -22,6 +16,7 @@ import { requestResultLoadingAndInfo } from '@/common/methods/request/resultInfo
|
|
|
import { performanceActivate, performanceContractedApply } from '@/services/proto/performance';
|
|
|
import { BuyOrSell } from '@/common/constants/enumCommon';
|
|
|
import { handlePerformancePlanStep } from '../setup';
|
|
|
+import { Modal } from 'ant-design-vue';
|
|
|
|
|
|
export default defineComponent({
|
|
|
name: ModalEnum.performance_information_buy_performance_settlement,
|
|
|
@@ -41,10 +36,16 @@ export default defineComponent({
|
|
|
const { visible, cancel } = _closeModal(context);
|
|
|
const loading = ref<boolean>(false);
|
|
|
const { performancePlanStep } = handlePerformancePlanStep(props.selectedRow);
|
|
|
+ Modal.confirm({
|
|
|
+ title: '交收',
|
|
|
+ content: '是否确认交收!',
|
|
|
+ onOk: submit,
|
|
|
+ onCancel: cancel,
|
|
|
+ });
|
|
|
function submit() {
|
|
|
// 激活接口 (就是交收)
|
|
|
const paramReq: PerformanceActivateReq = {
|
|
|
- PerformancePlanID: Number(props.selectedRow.performanceplanid), // uint64 履约计划ID
|
|
|
+ PerformancePlanID: Number(props.selectedRow.performanceplanid), // uint64 履约计划ID
|
|
|
ApplyAccountID: getSelectedAccountId(), // uint64 发起方账号ID
|
|
|
};
|
|
|
requestResultLoadingAndInfo(performanceActivate, paramReq, loading, ['交收成功', '交收失败:']).then(() => {
|