人工交互页面ARR、RRR、以及两个 log弹窗字体样式改为fangsong
处理log日志模块弹窗中显示的格式与文件不一致的问题
This commit is contained in:
parent
5177f85677
commit
8f0a095715
|
@ -57,9 +57,10 @@
|
||||||
<!-- 日志列表结束 -->
|
<!-- 日志列表结束 -->
|
||||||
<custom-modal title="Log" :width="950" v-model="visible" :footer="null">
|
<custom-modal title="Log" :width="950" v-model="visible" :footer="null">
|
||||||
<a-spin class="log-detail" :spinning="isGettingDetail">
|
<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 }}
|
{{ logItem }}
|
||||||
</div>
|
</div> -->
|
||||||
</a-spin>
|
</a-spin>
|
||||||
</custom-modal>
|
</custom-modal>
|
||||||
</div>
|
</div>
|
||||||
|
@ -200,7 +201,8 @@ export default {
|
||||||
try {
|
try {
|
||||||
this.isGettingDetail = true
|
this.isGettingDetail = true
|
||||||
const res = await postAction('/logManage/downloadFile', formData)
|
const res = await postAction('/logManage/downloadFile', formData)
|
||||||
this.logInfo = res.split('\r\n')
|
// this.logInfo = res.split('\r\n')
|
||||||
|
this.logInfo = res
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error(error)
|
console.error(error)
|
||||||
} finally {
|
} finally {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<custom-modal v-model="visible" :width="1200" :title="type == 1 || type == 3 ? 'ARR' : 'RRR'">
|
<custom-modal v-model="visible" :width="1200" :title="type == 1 || type == 3 ? 'ARR' : 'RRR'">
|
||||||
<a-spin :spinning="isLoading">
|
<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>
|
</a-spin>
|
||||||
<div slot="custom-footer" style="text-align: center">
|
<div slot="custom-footer" style="text-align: center">
|
||||||
<a-space :size="20">
|
<a-space :size="20">
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<custom-modal v-model="visible" :width="1000" title="Auto Process Log Viewer">
|
<custom-modal v-model="visible" :width="1000" title="Auto Process Log Viewer">
|
||||||
<a-spin :spinning="isLoading">
|
<a-spin :spinning="isLoading">
|
||||||
<pre style="font-family: 宋体">
|
<pre style="font-family: 仿宋">
|
||||||
{{ content }}
|
{{ content }}
|
||||||
</pre>
|
</pre>
|
||||||
</a-spin>
|
</a-spin>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<custom-modal v-model="visible" title="BetaGamma Analyser Log" :width="1200">
|
<custom-modal v-model="visible" title="BetaGamma Analyser Log" :width="1200">
|
||||||
<a-spin :spinning="isLoading">
|
<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>
|
</a-spin>
|
||||||
<div slot="custom-footer">
|
<div slot="custom-footer">
|
||||||
<a-button type="primary" @click="handleClick">Save As</a-button>
|
<a-button type="primary" @click="handleClick">Save As</a-button>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<custom-modal v-model="visible" :width="1000" title="View Sample Infomation">
|
<custom-modal v-model="visible" :width="1000" title="View Sample Infomation">
|
||||||
<a-spin :spinning="isLoading">
|
<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>
|
</a-spin>
|
||||||
|
|
||||||
<div slot="custom-footer">
|
<div slot="custom-footer">
|
||||||
|
|
|
@ -3,16 +3,16 @@
|
||||||
<a-spin :spinning="isLoading">
|
<a-spin :spinning="isLoading">
|
||||||
<a-tabs :animated="false" @change="handleTabChange">
|
<a-tabs :animated="false" @change="handleTabChange">
|
||||||
<a-tab-pane tab="Sample Spectrum" :key="1">
|
<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>
|
||||||
<a-tab-pane tab="GasBg Spectrum" :key="2">
|
<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>
|
||||||
<a-tab-pane tab="DetBg Spectrum" :key="3">
|
<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>
|
||||||
<a-tab-pane tab="QC Spectrum" :key="4">
|
<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-tab-pane>
|
||||||
</a-tabs>
|
</a-tabs>
|
||||||
</a-spin>
|
</a-spin>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<custom-modal v-model="visible" :width="1000" title="Data Processing Log">
|
<custom-modal v-model="visible" :width="1000" title="Data Processing Log">
|
||||||
<a-spin :spinning="isLoading">
|
<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>
|
</a-spin>
|
||||||
<div slot="custom-footer" style="text-align: center">
|
<div slot="custom-footer" style="text-align: center">
|
||||||
<a-space :size="20">
|
<a-space :size="20">
|
||||||
|
|
Loading…
Reference in New Issue
Block a user