人工交互页面ARR、RRR、以及两个 log弹窗字体样式改为fangsong

处理log日志模块弹窗中显示的格式与文件不一致的问题
This commit is contained in:
任珮宇 2024-02-29 16:58:10 +08:00
parent 5177f85677
commit 8f0a095715
7 changed files with 14 additions and 12 deletions

View File

@ -57,9 +57,10 @@
<!-- 日志列表结束 -->
<custom-modal title="Log" :width="950" v-model="visible" :footer="null">
<a-spin class="log-detail" :spinning="isGettingDetail">
<div style="font-family: 宋体" v-for="(logItem, index) in logInfo" :key="index">
<pre style="font-family: 仿宋">{{ logInfo }}</pre>
<!-- <div style="font-family: 宋体" v-for="(logItem, index) in logInfo" :key="index">
{{ logItem }}
</div>
</div> -->
</a-spin>
</custom-modal>
</div>
@ -200,7 +201,8 @@ export default {
try {
this.isGettingDetail = true
const res = await postAction('/logManage/downloadFile', formData)
this.logInfo = res.split('\r\n')
// this.logInfo = res.split('\r\n')
this.logInfo = res
} catch (error) {
console.error(error)
} finally {

View File

@ -1,7 +1,7 @@
<template>
<custom-modal v-model="visible" :width="1200" :title="type == 1 || type == 3 ? 'ARR' : 'RRR'">
<a-spin :spinning="isLoading">
<a-textarea style="font-family: " v-model="content" :readonly="type == 1 || type == 2"></a-textarea>
<a-textarea style="font-family: 仿宋" v-model="content" :readonly="type == 1 || type == 2"></a-textarea>
</a-spin>
<div slot="custom-footer" style="text-align: center">
<a-space :size="20">

View File

@ -1,7 +1,7 @@
<template>
<custom-modal v-model="visible" :width="1000" title="Auto Process Log Viewer">
<a-spin :spinning="isLoading">
<pre style="font-family: ">
<pre style="font-family: 仿宋">
{{ content }}
</pre>
</a-spin>

View File

@ -1,7 +1,7 @@
<template>
<custom-modal v-model="visible" title="BetaGamma Analyser Log" :width="1200">
<a-spin :spinning="isLoading">
<a-textarea v-model="content" style="font-family: "></a-textarea>
<a-textarea v-model="content" style="font-family: 仿宋"></a-textarea>
</a-spin>
<div slot="custom-footer">
<a-button type="primary" @click="handleClick">Save As</a-button>

View File

@ -1,7 +1,7 @@
<template>
<custom-modal v-model="visible" :width="1000" title="View Sample Infomation">
<a-spin :spinning="isLoading">
<a-textarea v-model="content" style="font-family: "></a-textarea>
<a-textarea v-model="content" style="font-family: 仿宋"></a-textarea>
</a-spin>
<div slot="custom-footer">

View File

@ -3,16 +3,16 @@
<a-spin :spinning="isLoading">
<a-tabs :animated="false" @change="handleTabChange">
<a-tab-pane tab="Sample Spectrum" :key="1">
<a-textarea v-model="content.sample" style="font-family: "></a-textarea>
<a-textarea v-model="content.sample" style="font-family: 仿宋"></a-textarea>
</a-tab-pane>
<a-tab-pane tab="GasBg Spectrum" :key="2">
<a-textarea v-model="content.gasBg" style="font-family: "></a-textarea>
<a-textarea v-model="content.gasBg" style="font-family: 仿宋"></a-textarea>
</a-tab-pane>
<a-tab-pane tab="DetBg Spectrum" :key="3">
<a-textarea v-model="content.detBg" style="font-family: "></a-textarea>
<a-textarea v-model="content.detBg" style="font-family: 仿宋"></a-textarea>
</a-tab-pane>
<a-tab-pane tab="QC Spectrum" :key="4">
<a-textarea v-model="content.qc" style="font-family: "></a-textarea>
<a-textarea v-model="content.qc" style="font-family: 仿宋"></a-textarea>
</a-tab-pane>
</a-tabs>
</a-spin>

View File

@ -1,7 +1,7 @@
<template>
<custom-modal v-model="visible" :width="1000" title="Data Processing Log">
<a-spin :spinning="isLoading">
<pre class="data-processing-log" style="font-family: ">{{ text }}</pre>
<pre class="data-processing-log" style="font-family: 仿宋">{{ text }}</pre>
</a-spin>
<div slot="custom-footer" style="text-align: center">
<a-space :size="20">