|
@@ -37,15 +37,16 @@
|
|
|
<template #bodyCell="{ column, record }">
|
|
|
<template v-if="column.dataIndex === 'clzt'">
|
|
|
<span style="cursor: pointer">
|
|
|
- <a-tag
|
|
|
- :color="record.clzt == '1' ? '#cd201f' : record.clzt == '2' ? '#2db7f5' : '#87d068'"
|
|
|
- @click="formRef.onOpen(record)"
|
|
|
- >
|
|
|
+ <a-tag color="#cd201f" v-if="record.clzt == '1'" @click="formRef.onOpen(record)">
|
|
|
<template #icon>
|
|
|
- <form-outlined v-if="record.clzt == '1'" />
|
|
|
+ <form-outlined />
|
|
|
</template>
|
|
|
{{ record.clztValue }}
|
|
|
</a-tag>
|
|
|
+
|
|
|
+ <a-tag v-else-if="record.clzt == '2'" color="#2db7f5">
|
|
|
+ {{ record.clztValue }}
|
|
|
+ </a-tag>
|
|
|
</span>
|
|
|
</template>
|
|
|
</template>
|