列表文字修改

This commit is contained in:
hekaiyu 2025-06-04 23:16:26 +08:00
parent d0a2e3d94b
commit 9449f139c0
2 changed files with 6 additions and 6 deletions

View File

@ -28,9 +28,9 @@
<!-- 字符串超长截取省略号显示--> <!-- 字符串超长截取省略号显示-->
<template slot="sourceType" slot-scope="text"> <template slot="sourceType" slot-scope="text">
<span style="color:black;" v-if="text === 1">原始</span> <span style="color:black;" v-if="text === 1">贴源</span>
<span style="color:darkorange;" v-if="text === 2">标准</span> <span style="color:darkorange;" v-if="text === 2">集成</span>
<span style="color:#87d068;" v-if="text === 3">专题</span> <span style="color:#87d068;" v-if="text === 3">应用</span>
<span style="color:wheat;" v-if="text === 4">系统库</span> <span style="color:wheat;" v-if="text === 4">系统库</span>
</template> </template>
<template slot="backupStatus" slot-scope="text"> <template slot="backupStatus" slot-scope="text">

View File

@ -11,9 +11,9 @@
<!-- 字符串超长截取省略号显示--> <!-- 字符串超长截取省略号显示-->
<template slot="sourceType" slot-scope="text"> <template slot="sourceType" slot-scope="text">
<span style="color:black;" v-if="text === 1">原始</span> <span style="color:black;" v-if="text === 1">贴源</span>
<span style="color:darkorange;" v-if="text === 2">标准</span> <span style="color:darkorange;" v-if="text === 2">集成</span>
<span style="color:#87d068;" v-if="text === 3">专题</span> <span style="color:#87d068;" v-if="text === 3">应用</span>
</template> </template>
<span slot="action" slot-scope="text, record"> <span slot="action" slot-scope="text, record">
<a @click="handleRun(record.sourceType)">一键恢复</a> <a @click="handleRun(record.sourceType)">一键恢复</a>