|
@@ -131,12 +131,17 @@
|
|
|
>
|
|
|
<el-table-column prop="name" label="学校名称" min-width="30">
|
|
|
<template slot-scope="scope">
|
|
|
- <div :class="scope.row.oid ? 'isLj' : ''">
|
|
|
- {{
|
|
|
- scope.row.oid
|
|
|
- ? scope.row.name + "(已联结)"
|
|
|
- : scope.row.name
|
|
|
- }}
|
|
|
+ <div class="ljBox">
|
|
|
+ <div :class="scope.row.oid ? 'isLj' : ''">
|
|
|
+ {{
|
|
|
+ scope.row.oid
|
|
|
+ ? scope.row.name + "(已联结)"
|
|
|
+ : scope.row.name
|
|
|
+ }}
|
|
|
+ </div>
|
|
|
+ <div class="isLjImg" v-if="scope.row.oid">
|
|
|
+ <img src="../../../assets/icon/isLj.png" alt="" />
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
@@ -758,9 +763,25 @@ export default {
|
|
|
/* width: 50%; */
|
|
|
margin-top: 10px;
|
|
|
}
|
|
|
+.ljBox {
|
|
|
+ display: flex;
|
|
|
+ flex-direction: row;
|
|
|
+ flex-wrap: nowrap;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+}
|
|
|
.isLj {
|
|
|
color: #4679ab;
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
+.isLjImg {
|
|
|
+ width: 20px;
|
|
|
+ height: 20px;
|
|
|
+ margin-left: 5px;
|
|
|
+}
|
|
|
+.isLjImg > img {
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+}
|
|
|
</style>
|
|
|
|