This commit is contained in:
zhaofang
2022-06-10 13:04:43 +08:00
parent e879777230
commit 7104fca1dc
3 changed files with 9 additions and 9 deletions

View File

@@ -52,9 +52,9 @@
<div class="postfixt-bot-box" id="pdfTopBox">
<div style="display: flex;justify-content: space-between;">
<div style="margin-left:20px">
<div>
<i style="font-size:20px" v-show="zoomShow" @click="zoomBox()" class="el-icon-zoom-in"></i>
<i style="font-size:20px" v-show="!zoomShow" @click="zoomBox()" class="el-icon-zoom-out"></i>
<div style="margin-top:3px">
<i style="font-size:22px;color:#a3b1cc" v-show="zoomShow" @click="zoomBox()" class="el-icon-zoom-in"></i>
<i style="font-size:22px;color:#a3b1cc" v-show="!zoomShow" @click="zoomBox()" class="el-icon-zoom-out"></i>
</div>
</div>
<div>
@@ -253,7 +253,7 @@ export default {
}
}
if(pdfPreview.getBoundingClientRect().top < 0) {
document.querySelector('#pdfTopBox').style.cssText = `position: fixed;bottom:0;box-shadow: -3px 3px 10px 10px rgba(90, 119, 186, .2);width:${contentDiv-9}px;`;
document.querySelector('#pdfTopBox').style.cssText = `position: fixed;bottom:0;box-shadow: -3px 3px 10px 10px rgba(90, 119, 186, .1);width:${contentDiv-9}px;`;
} else {
document.querySelector('#pdfTopBox').style.cssText = "position:static";
}
@@ -359,6 +359,7 @@ export default {
// border: 1px solid #eee;
// z-index: 999;
.postfixt-bot-box{
// text-align: right;
background-color: #fff;
// border: 1px solid #eee;

View File

@@ -587,14 +587,14 @@ export default {
let ids;
ids = list.map((item, index) => {
// item.authorInfo = { aid: '', name: '', orgInfo: '', avater: '' };
return item.cases.sysCreateAid;
return item.cases.authorId;
});
let noRepeatIds = [...new Set(ids)];
apiUser.getByIds(noRepeatIds).then(res => {
if (res.status == 200) {
this.caseList.list = list.map(item => {
let obj = res.result.find(author => {
return author.aid == item.cases.sysCreateAid;
return author.aid == item.cases.authorId;
});
item = Object.assign(item, obj);
return item;
@@ -674,7 +674,6 @@ export default {
} else {
id = item.id;
}
apiFavorite.del(id).then(res => {
if (res.status == 200) {
this.$message.success('取消收藏成功');