From 85f7bdb64b1f8b0fdaf58355a4f3fc389ec26ad0 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期二, 18 十一月 2025 16:00:00 +0800
Subject: [PATCH] feat: 新增审核撤回日志
---
src/views/MaterialReview/components/ParkBountyApplyRedoDialog.vue | 76 ++++++++++++++++++++++++++++++++++++++
1 files changed, 76 insertions(+), 0 deletions(-)
diff --git a/src/views/MaterialReview/components/ParkBountyApplyRedoDialog.vue b/src/views/MaterialReview/components/ParkBountyApplyRedoDialog.vue
new file mode 100644
index 0000000..bbb6715
--- /dev/null
+++ b/src/views/MaterialReview/components/ParkBountyApplyRedoDialog.vue
@@ -0,0 +1,76 @@
+<template>
+ <ProDialog title="鎾ゅ洖鐢虫姤" v-model="visible" @close="onDialogClose" destroy-on-close draggable>
+ <ProForm :model="form" ref="dialogForm" label-width="110px">
+ <ProFormItemV2
+ label="鎾ゅ洖鍘熷洜"
+ prop="reasonForWithdrawal"
+ :check-rules="[{ message: '璇疯緭鍏ユ挙鍥炲師鍥�' }]"
+ >
+ <ProFormTextArea
+ placeholder="璇疯緭鍏�"
+ v-model="form.reasonForWithdrawal"
+ :maxlength="150"
+ show-word-limit
+ ></ProFormTextArea>
+ </ProFormItemV2>
+ </ProForm>
+ <template #footer>
+ <span class="dialog-footer">
+ <el-button @click="emit('onCancel')">鍙� 娑�</el-button>
+ <el-button type="primary" @click="handleConfirm">纭� 瀹�</el-button>
+ </span>
+ </template>
+ </ProDialog>
+</template>
+
+<script setup lang="ts">
+import { FormInstance } from 'element-plus';
+import {
+ ProDialog,
+ ProForm,
+ ProFormItemV2,
+ ProFormTextArea,
+ UploadUserFile,
+} from '@bole-core/components';
+
+defineOptions({
+ name: 'ParkBountyApplyRedoDialog',
+});
+
+// type Props = {};
+
+// const props = withDefaults(defineProps<Props>(), {});
+
+const visible = defineModel({ type: Boolean });
+
+type Form = {
+ title?: string;
+ reasonForWithdrawal: string;
+ parkBountyApplyId: string;
+};
+
+const form = defineModel<Form>('form');
+
+const emit = defineEmits<{
+ (e: 'onConfirm'): void;
+ (e: 'onCancel'): void;
+}>();
+
+const dialogForm = ref<FormInstance>();
+
+function onDialogClose() {
+ if (!dialogForm.value) return;
+ dialogForm.value.resetFields();
+}
+
+function handleConfirm() {
+ if (!dialogForm.value) return;
+ dialogForm.value.validate((valid) => {
+ if (valid) {
+ emit('onConfirm');
+ } else {
+ return;
+ }
+ });
+}
+</script>
--
Gitblit v1.9.1