列表文字修改
This commit is contained in:
parent
d0a2e3d94b
commit
9449f139c0
|
@ -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">
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user