|
@@ -59,10 +59,14 @@
|
|
>
|
|
>
|
|
</template>
|
|
</template>
|
|
</a-table>
|
|
</a-table>
|
|
|
|
+ <a-modal v-model:visible="showSummary">
|
|
|
|
+ <template #title> 系统提示 </template>
|
|
|
|
+ <div v-html="summary"></div>
|
|
|
|
+ </a-modal>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
-<script setup lang="ts">
|
|
|
|
|
|
+<script setup lang="tsx">
|
|
import { reactive, ref, computed, onMounted, watch } from 'vue';
|
|
import { reactive, ref, computed, onMounted, watch } from 'vue';
|
|
import { Message, TableColumnData, Modal } from '@arco-design/web-vue';
|
|
import { Message, TableColumnData, Modal } from '@arco-design/web-vue';
|
|
import { getMyTasks, getTaskTypes } from '@/api/order';
|
|
import { getMyTasks, getTaskTypes } from '@/api/order';
|
|
@@ -154,10 +158,14 @@
|
|
downloadByCrossUrl(record.exportFilePath, `${Date.now()}`);
|
|
downloadByCrossUrl(record.exportFilePath, `${Date.now()}`);
|
|
};
|
|
};
|
|
|
|
|
|
- const view = (summary: string) => {
|
|
|
|
- Modal.info({
|
|
|
|
- title: '系统提示',
|
|
|
|
- content: summary,
|
|
|
|
- });
|
|
|
|
|
|
+ const summary = ref('');
|
|
|
|
+ const showSummary = ref(false);
|
|
|
|
+ const view = (s: string) => {
|
|
|
|
+ // Modal.info({
|
|
|
|
+ // title: '系统提示',
|
|
|
|
+ // content: summary,
|
|
|
|
+ // });
|
|
|
|
+ summary.value = s.replaceAll('\n', '<br />');
|
|
|
|
+ showSummary.value = true;
|
|
};
|
|
};
|
|
</script>
|
|
</script>
|