From c13de4bee39be8187cda7569249aa3139aafc31c Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期二, 18 三月 2025 09:12:47 +0800
Subject: [PATCH] 修改线索清单中的样式
---
src/views/overlay-clue/report/components/ClueReportConclusion.vue | 41 ++++++++++++-----------------------------
1 files changed, 12 insertions(+), 29 deletions(-)
diff --git a/src/views/overlay-clue/report/components/ClueReportConclusion.vue b/src/views/overlay-clue/report/components/ClueReportConclusion.vue
index 31634b2..f62719f 100644
--- a/src/views/overlay-clue/report/components/ClueReportConclusion.vue
+++ b/src/views/overlay-clue/report/components/ClueReportConclusion.vue
@@ -1,18 +1,15 @@
<template>
- <div class="fy-h2">绾跨储缁撹</div>
- <DescriptionsList v-if="conclusion">
- <!-- <template #extra>
+ <!-- <div class="fy-h2">绾跨储缁撹</div> -->
+ <DescriptionsList v-if="conclusion" title="绾跨储缁撹">
+ <template #extra>
<el-button
- v-if="conclusion"
- type="warning"
+ type="primary"
size="small"
- plain
- icon="Upload"
- @click="pushConclusion"
- :disabled="pushing ? true : conclusion.ccUploaded"
- >{{ pushing ? '鎺ㄩ�佷腑' : pushText }}</el-button
+ :disabled="conclusion.ccUploaded"
+ @click="openDialog"
+ >淇敼缁撹</el-button
>
- </template> -->
+ </template>
<DescriptionsListItem
label="闂绫诲瀷"
:content="conclusion.ccQuestionType"
@@ -78,6 +75,7 @@
<script setup>
import { reactive, ref, watch, computed } from 'vue';
+import { useCloned } from '@vueuse/core';
import { useFormConfirm } from '@/composables/formConfirm';
import clueConclusionApi from '@/api/clue/clueConclusionApi';
@@ -91,9 +89,6 @@
getConclusion();
}
);
-
-// 鎺ㄩ�佺姸鎬�
-const pushing = ref(false);
// 绾跨储缁撹
const conclusion = ref({});
@@ -171,21 +166,9 @@
function getConclusion() {
clueConclusionApi.getConclusion(props.clueId).then((res) => {
conclusion.value = res;
+ formObj.value = res == null ? {} : res;
+ // formObj.value = useCloned(res, { manual: true });
});
}
-
-function pushConclusion() {
- clueConclusionApi
- .pushConclusion([conclusion.value.ccId])
- .then(() => {
- pushing.value = true;
- });
-}
-
-const pushText = computed(() => {
- return conclusion.value.ccUploaded ? '宸叉帹閫�' : '鎺ㄩ�侀棶棰�';
-});
</script>
-<style scoped>
-
-</style>
+<style scoped></style>
--
Gitblit v1.9.3