更新
This commit is contained in:
1 parent
5718a00e31
commit
1850ac640e
226 files changed
+37772
-12071
No files matched your search
@@ -51,7 +51,7 @@
|
||||
<script setup>
|
||||
import { computed, ref, watch } from "vue";
|
||||
import { ElMessage } from "element-plus";
|
||||
import { getCenterInstanceDetail } from "@/api/approval";
|
||||
import { getApprovalInstanceDetail } from "@/api/approval";
|
||||
|
||||
const props = defineProps({
|
||||
modelValue: { type: Boolean, default: false },
|
||||
@@ -91,7 +91,7 @@ const loadDetail = async (id) => {
|
||||
loading.value = true;
|
||||
detail.value = null;
|
||||
try {
|
||||
const res = await getCenterInstanceDetail(id);
|
||||
const res = await getApprovalInstanceDetail(id);
|
||||
detail.value = res?.data?.data ?? res?.data ?? null;
|
||||
} catch (error) {
|
||||
ElMessage.error(error?.message || "加载审批进度失败");
|
||||
|
||||
Reference in new issue
Block a user