Browse Source

图书管理

master
xuhuajiao 6 months ago
parent
commit
3b58ef237d
  1. 6
      src/views/visualCheck/bookstore/book/index.vue
  2. 47
      src/views/visualCheck/checkManage/bookshelfSearch/index.vue

6
src/views/visualCheck/bookstore/book/index.vue

@ -81,7 +81,7 @@
<el-table
ref="table"
v-loading="crud.loading"
height="645"
height="600"
:data="crud.data"
@selection-change="crud.selectionChangeHandler"
@row-click="clickRowHandler"
@ -90,8 +90,8 @@
<el-table-column prop="icon" label="封面" align="center">
<template slot-scope="scope">
<!-- <svg-icon :icon-class="scope.row.icon ? scope.row.icon : ''" /> -->
<img v-if="!scope.row.bookCover" src="~@/assets/images/cover-bg.png" alt="" style="height: 100px;">
<img v-else :src="baseApi + '/api/fileRelevant/getImg?imgId=' + scope.row.bookCover" alt="" style="height: 100px;">
<img v-if="!scope.row.bookCover" src="~@/assets/images/cover-bg.png" alt="" style="height: 60px;">
<img v-else :src="baseApi + '/api/fileRelevant/getImg?imgId=' + scope.row.bookCover" alt="" style="height: 60px;">
</template>
</el-table-column>
<el-table-column label="题名" prop="title" width="300px" :show-overflow-tooltip="true" />

47
src/views/visualCheck/checkManage/bookshelfSearch/index.vue

@ -55,7 +55,7 @@
</template>
</el-table-column>
<el-table-column prop="booksheflCount" label="索书号范围" />
<el-table-column prop="deptsStatus" label="盘点概况" min-width="340">
<el-table-column prop="deptsStatus" label="盘点概况" min-width="160">
<!-- slot-scope="scope" -->
<template>
<div class="tag-info">
@ -201,48 +201,9 @@ export default {
</script>
<style lang="scss" scoped>
.tag-list{
display: flex;
justify-content: flex-start;
li{
display: flex;
justify-content: flex-start;
align-items: center;
margin-right: 10px;
p{
font-weight: bold;
}
span{
display: flex;
justify-content: flex-start;
align-items: center;
font-size: 18px;
}
i{
font-size: 22px;
}
em{
display: inline-block;
font-style: normal;
font-weight: bold;
margin-right: 4px
}
}
.blue-tag{
i,em{
color: #0348F3;
}
}
.yellow-tag{
i,em{
color: #FF8329;
}
}
.green-tag{
i,em{
color: #2ECAAC;
}
.tag-info{
p{
margin-right: 20px;
}
}
</style>
Loading…
Cancel
Save