update
This commit is contained in:
parent
7977a089d9
commit
35281a9629
|
@ -57,7 +57,8 @@ public class ApiConferenceController extends ApiBaseController {
|
|||
QueryWrapper<Conference> wrapper = getQueryWrapper(title);
|
||||
if (StringUtils.isBlank(type) || "all".equals(type)) {
|
||||
//全部的就是看全部的,不是看有我参加的
|
||||
// wrapper.inSql("id", "select conference_id from t_conference_user where user_id='" + getApiUserId() + "'");
|
||||
// wrapper.inSql("id", "select conference_id from t_conference_user where user_id='" + getApiUserId() +
|
||||
// "'");
|
||||
}
|
||||
if ("mine".equals(type)) wrapper.eq("created_id", getApiUserId());
|
||||
if ("end".equals(type)) wrapper.eq("end", Conference.END_TAG);
|
||||
|
@ -82,7 +83,8 @@ public class ApiConferenceController extends ApiBaseController {
|
|||
@ApiImplicitParam(name = "conference", value = "会议对象"),
|
||||
@ApiImplicitParam(name = "userIds", value = "选择的用户id,多个以英文逗号间隔 按顺序排")
|
||||
})
|
||||
public void conferenceSave(@Validated Conference conference, @RequestParam(name = "userIds", defaultValue = "") String userIds) {
|
||||
public void conferenceSave(@Validated Conference conference,
|
||||
@RequestParam(name = "userIds", defaultValue = "") String userIds) {
|
||||
//手机端不上传附件 null
|
||||
render(conferenceService.insertOrUpdate(conference, getApiUser(), userIds, null));
|
||||
}
|
||||
|
@ -102,7 +104,8 @@ public class ApiConferenceController extends ApiBaseController {
|
|||
public void conferenceAttachments(String conferenceTitle, String attachmentTitle) {
|
||||
if (StringUtils.isNotBlank(conferenceTitle)) conferenceTitle = "%" + conferenceTitle + "%";
|
||||
if (StringUtils.isNotBlank(attachmentTitle)) attachmentTitle = "%" + attachmentTitle + "%";
|
||||
Page page = conferenceAttachmentService.page(new Page(getPageNum(), getPageSize()), conferenceTitle, attachmentTitle);
|
||||
Page page = conferenceAttachmentService.page(new Page(getPageNum(), getPageSize()), conferenceTitle,
|
||||
attachmentTitle);
|
||||
page.getRecords().forEach(item -> {
|
||||
ConferenceAttachment conferenceAttachment = (ConferenceAttachment) item;
|
||||
conferenceAttachment.full();
|
||||
|
@ -163,13 +166,28 @@ public class ApiConferenceController extends ApiBaseController {
|
|||
Conference conference = conferenceService.getById(id);
|
||||
if (conference != null) {
|
||||
if (Conference.END_TAG == conference.getEnd()) render(Ret.fail("该会议已结束,不能签到"));
|
||||
ConferenceUser conferenceUser = conferenceUserService.getOne(new QueryWrapper<ConferenceUser>().eq("conference_id", id).eq("user_id", getApiUserId()).eq("status", ConferenceUser.STATUS_UN_SIGN));
|
||||
if (conferenceUser != null) {
|
||||
conferenceUser.setStatus(ConferenceUser.STATUS_SIGN);
|
||||
conferenceUserService.updateById(conferenceUser);
|
||||
render(Ret.ok());
|
||||
}
|
||||
render(Ret.fail("签到失败"));
|
||||
if(conferenceUserService.count(new QueryWrapper<ConferenceUser>()
|
||||
.eq("conference_id", id)
|
||||
.eq("user_id", getApiUserId()))>0) render(Ret.fail("已签到"));
|
||||
// ConferenceUser conferenceUser = conferenceUserService.getOne(new QueryWrapper<ConferenceUser>().eq
|
||||
// ("conference_id", id).eq("user_id", getApiUserId()).eq("status", ConferenceUser.STATUS_UN_SIGN));
|
||||
// if (conferenceUser != null) {
|
||||
// conferenceUser.setStatus(ConferenceUser.STATUS_SIGN);
|
||||
// conferenceUserService.updateById(conferenceUser);
|
||||
// render(Ret.ok());
|
||||
// }
|
||||
ConferenceUser conferenceUser = new ConferenceUser();
|
||||
conferenceUser.setStatus(ConferenceUser.STATUS_SIGN);
|
||||
conferenceUser.setUserId(getApiUserId());
|
||||
conferenceUser.setUserName(getApiUser().getUserName());
|
||||
conferenceUser.setConferenceId(id);
|
||||
conferenceUser.setCreatedId(getApiUserId());
|
||||
conferenceUser.setUpdatedId(getApiUserId());
|
||||
conferenceUser.setCreatedAt(LocalDateTime.now());
|
||||
conferenceUser.setUpdatedAt(LocalDateTime.now());
|
||||
// conferenceUserService.save(conferenceUser);
|
||||
|
||||
render(conferenceUserService.save(conferenceUser) ? Ret.ok() : Ret.fail("签到失败"));
|
||||
}
|
||||
render(Ret.fail("未找到该会议,无法签到"));
|
||||
}
|
||||
|
@ -181,7 +199,8 @@ public class ApiConferenceController extends ApiBaseController {
|
|||
public void conferenceFileDel(String id) {
|
||||
ConferenceAttachment conferenceAttachment = conferenceAttachmentService.getById(id);
|
||||
if (conferenceAttachment != null) {
|
||||
if (!conferenceAttachment.getCreatedId().equals(getApiUserId())) render(Ret.fail("您不能删除他人创建的会议的文件"));
|
||||
if (!conferenceAttachment.getCreatedId().equals(getApiUserId()))
|
||||
render(Ret.fail("您不能删除他人创建的会议的文件"));
|
||||
boolean flag = conferenceAttachmentService.removeById(id);
|
||||
render(flag ? Ret.ok() : Ret.fail("操作失败"));
|
||||
}
|
||||
|
|
|
@ -77,6 +77,12 @@ public class ConferenceAttachment extends TreeEntity {
|
|||
@ApiModelProperty(value = "打分状态 1开启 2结束")
|
||||
private Integer scoreState;
|
||||
|
||||
@ApiModelProperty(value = "是否允许打分")
|
||||
private Boolean df;
|
||||
|
||||
@ApiModelProperty(value = "是否允许投票")
|
||||
private Boolean tp;
|
||||
|
||||
//非实体字段
|
||||
@TableField(exist = false)
|
||||
@ApiModelProperty("非实体字段,返回所属会议的信息")
|
||||
|
|
|
@ -89,4 +89,13 @@ public class Notice implements Serializable {
|
|||
@NotBlank(message = "公告对象")
|
||||
@ApiModelProperty(value = "公告对象")
|
||||
private String obj;
|
||||
|
||||
@ApiModelProperty(value = "测评得分")
|
||||
private String score;
|
||||
|
||||
@ApiModelProperty(value = "流程")
|
||||
private String flow;
|
||||
|
||||
@ApiModelProperty(value = "工作评议部门")
|
||||
private String reviewWorkDept;
|
||||
}
|
|
@ -29,6 +29,7 @@ import org.springframework.stereotype.Service;
|
|||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
import java.time.format.DateTimeFormatter;
|
||||
import java.util.*;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
|
@ -67,6 +68,9 @@ public class ReviewWorkService extends BaseService<ReviewWorkMapper, ReviewWork>
|
|||
@Autowired
|
||||
UserService userService;
|
||||
|
||||
@Autowired
|
||||
NoticeService noticeService;
|
||||
|
||||
/*后台*/
|
||||
@Transactional
|
||||
public boolean del(String id) {
|
||||
|
@ -474,6 +478,7 @@ public class ReviewWorkService extends BaseService<ReviewWorkMapper, ReviewWork>
|
|||
return reviewWork;
|
||||
}
|
||||
|
||||
@Transactional
|
||||
public ReviewWork stateResultSave(ReviewWorkResultStateRequest reviewWorkResultStateRequest, User loginUser) {
|
||||
ReviewWork reviewWork = getById(reviewWorkResultStateRequest.getReviewId());
|
||||
Assert.notNull(reviewWork, "未找到该记录");
|
||||
|
@ -483,6 +488,23 @@ public class ReviewWorkService extends BaseService<ReviewWorkMapper, ReviewWork>
|
|||
reviewWork.setState(ReviewWork.STATE_PUBLIC);
|
||||
saveOrUpdate(reviewWork);
|
||||
|
||||
//发布公告
|
||||
Notice notice = new Notice();
|
||||
notice.setCreatedAt(LocalDateTime.now());
|
||||
notice.setUpdatedAt(LocalDateTime.now());
|
||||
notice.setCreatedId(loginUser.getId());
|
||||
notice.setUpdatedId(loginUser.getId());
|
||||
notice.setTitle(reviewWork.getReviewName());
|
||||
notice.setNoticeDate(LocalDateTime.now().toLocalDate().toString());
|
||||
notice.setUploadPersonnel(loginUser.getId());
|
||||
notice.setType("gg");
|
||||
notice.setObj(reviewWork.getObj());
|
||||
notice.setReviewWorkDept(reviewWork.getReviewWorkDept());
|
||||
notice.setScore(reviewWork.getWorkOpinionScore());
|
||||
notice.setFlow("工作评议");
|
||||
noticeService.save(notice);
|
||||
|
||||
|
||||
List<CheckAttachment> attachment1 = reviewWorkResultStateRequest.getAttachment1();
|
||||
List<CheckAttachment> attachment2 = reviewWorkResultStateRequest.getAttachment2();
|
||||
if (CollectionUtil.isNotEmpty(attachment1)) {
|
||||
|
|
|
@ -35,6 +35,7 @@ public class ConferenceAttachmentController extends BaseController {
|
|||
@ResponseBody
|
||||
public void list(ConferenceAttachment conferenceAttachment, @RequestParam(name = "n_level", defaultValue = "-1") Integer level) {
|
||||
QueryWrapper<ConferenceAttachment> wrapper = new QueryWrapper<>();
|
||||
if (StrUtil.isBlank(conferenceAttachment.getConferenceId())) renderJson(Ret.ok());
|
||||
wrapper.eq("conference_id", conferenceAttachment.getConferenceId());
|
||||
if (StrUtil.isBlank(conferenceAttachment.getPid()) && StrUtil.isBlank(conferenceAttachment.getTitle())) {
|
||||
wrapper.and(wr -> {
|
||||
|
|
|
@ -35,12 +35,16 @@ public class ConferenceWrapper extends BaseWrapper<Conference, ConferenceDto> {
|
|||
//会议议题列表
|
||||
List<ConferenceAttachment> conferenceIssueList = conferenceAttachmentService.list(new QueryWrapper<ConferenceAttachment>()
|
||||
.eq("pid", "")
|
||||
.eq("conference_id", (conference.getId())));
|
||||
.eq("conference_id", (conference.getId()))
|
||||
.orderByAsc("sort_no")
|
||||
);
|
||||
//议题列表里装会议附件列表
|
||||
conferenceIssueList.forEach(conferenceIssue -> {
|
||||
List<ConferenceAttachment> conferenceAttachmentList = conferenceAttachmentService.list(new QueryWrapper<ConferenceAttachment>()
|
||||
.eq("pid", conferenceIssue.getId())
|
||||
.eq("conference_id", (conference.getId())));
|
||||
.eq("conference_id", (conference.getId()))
|
||||
.orderByAsc("sort_no")
|
||||
);
|
||||
conferenceAttachmentList.forEach(ConferenceAttachment::full);
|
||||
conferenceIssue.setConferenceAttachmentList(ConferenceAttachmentWrapper.build().listVO(conferenceAttachmentList));
|
||||
});
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1 +0,0 @@
|
|||
.xhy-autograph-box .autograph-box[data-v-682ed133]{padding:.4rem;width:100%;height:auto;background-color:#fff}.xhy-autograph-box .autograph-box .inside[data-v-682ed133]{display:flex;position:relative;background-color:#f2f2f2}.xhy-autograph-box .autograph-box .inside .icon-full[data-v-682ed133]{position:absolute;right:0;top:0;padding:.16rem}.xhy-autograph-box .autograph-box .inside span[data-v-682ed133]{position:absolute;right:0;bottom:0;padding:.16rem}.xhy-autograph-box .popup-box[data-v-682ed133]{background-color:#f2f2f2}.xhy-autograph-box .popup-box .xhy-canvasFull[data-v-682ed133]{border-bottom:.02667rem solid #ccc}.xhy-autograph-box .popup-box .panel-full[data-v-682ed133]{position:relative}.xhy-autograph-box .popup-box .panel-full[data-v-682ed133] .van-button{position:absolute;transform:rotate(90deg)}.xhy-autograph-box .popup-box .panel-full .btn-again[data-v-682ed133]{bottom:1.06667rem;left:1.76rem}.xhy-autograph-box .popup-box .panel-full .btn-confirm[data-v-682ed133]{bottom:1.06667rem;left:0}.docDetail-box[data-v-61e4d6b8]{position:relative}.docDetail-box .top[data-v-61e4d6b8]{font-size:.42667rem;font-family:PingFang SC,PingFang SC-Heavy;font-weight:800;color:#333;line-height:.53333rem;padding:.53333rem .42667rem;background:#fff;display:flex;align-items:center;justify-content:space-between;margin-bottom:.32rem}.docDetail-box .top img[data-v-61e4d6b8]{width:1.06667rem;height:.96rem}.docDetail-box .pmore[data-v-61e4d6b8]{background:#fff;padding:.42667rem;margin-bottom:.32rem}.docDetail-box .pmore .divcontent[data-v-61e4d6b8]{text-align:left;font-size:.37333rem;font-family:PingFang SC,PingFang SC-Regular;font-weight:400;color:#999;line-height:.53333rem;overflow:hidden;word-break:break-all;margin-bottom:.26667rem;max-height:6.66667rem}.docDetail-box .pmore .pblock[data-v-61e4d6b8]{display:block;overflow:auto;max-height:none}.docDetail-box .pmore div[data-v-61e4d6b8]{text-align:right;font-size:.37333rem;font-family:PingFang SC,PingFang SC-Regular;font-weight:400;color:#d03a29;line-height:.42667rem}.docDetail-box .detailContent[data-v-61e4d6b8]{padding:.42667rem;margin-bottom:.05333rem;background:#fff}.docDetail-box .detailContent ul li[data-v-61e4d6b8]{height:.53333rem;display:flex;align-items:center;margin-bottom:.42667rem}.docDetail-box .detailContent ul li span[data-v-61e4d6b8]:first-of-type{font-size:.37333rem;font-family:PingFang SC,PingFang SC-Regular;font-weight:400;color:#999;margin-right:.21333rem}.docDetail-box .detailContent ul li span[data-v-61e4d6b8]:nth-of-type(2){font-size:.37333rem;font-family:PingFang SC,PingFang SC-Regular;font-weight:700;color:#333;margin-right:.21333rem}.docDetail-box .detailContent ul li[data-v-61e4d6b8]:last-child{margin-bottom:0}.docDetail-box .detailPeople[data-v-61e4d6b8]{padding:.42667rem;background:#fff;margin-bottom:1.86667rem}.docDetail-box .detailPeople .p1[data-v-61e4d6b8]{height:.53333rem;line-height:.53333rem;font-size:.37333rem;font-family:PingFang SC,PingFang SC-Regular;font-weight:400;color:#999}.docDetail-box .twoBtn[data-v-61e4d6b8]{position:fixed;bottom:0;display:flex;align-items:center;height:1.81333rem;padding:.32rem .42667rem;justify-content:space-between;width:100%;z-index:50;background-color:#fff}.docDetail-box .twoBtn span[data-v-61e4d6b8]{width:4.26667rem;height:1.06667rem;border-radius:.53333rem;line-height:1.06667rem;text-align:center;font-size:.37333rem;font-family:PingFang SC,PingFang SC-Bold;font-weight:700;letter-spacing:.02667rem}.docDetail-box .twoBtn span[data-v-61e4d6b8]:nth-of-type(2){background:#d03a29;color:#fff}.docDetail-box .twoBtn span[data-v-61e4d6b8]:first-of-type{border:.02667rem solid #d03a29;color:#d03a29}.files[data-v-61e4d6b8]{margin-top:.26667rem;background-color:#fff;padding:.42667rem}.files .title[data-v-61e4d6b8]{font-size:.32rem;color:#999;margin-bottom:.32rem}.files .title .van-icon[data-v-61e4d6b8]{vertical-align:middle;margin-right:.21333rem;color:#999}.files .van-collapse[data-v-61e4d6b8] .van-collapse-item__content{padding:0}.files[data-v-61e4d6b8] .van-uploader__wrapper--disabled{opacity:1}
|
|
@ -1 +0,0 @@
|
|||
.van-pagination[data-v-5251ecea]{position:fixed;bottom:0;width:100%;z-index:999;background:#fff}.van-tag[data-v-5251ecea]{margin-right:.42667rem}.box[data-v-5251ecea]{display:flex;flex-direction:column;height:100%;font-size:.42667rem}.box .imgaddBtn[data-v-5251ecea]{position:fixed;bottom:26%;right:0}.box .imgaddBtn .imgdiv[data-v-5251ecea]{height:2.4rem;margin-top:.26667rem;z-index:50;opacity:.9}.box .imgaddBtn .imgdiv .add[data-v-5251ecea]{width:2.72rem;z-index:999}.box .imgaddBtn .imgtext[data-v-5251ecea]{font-size:.42667rem;text-align:center}.box[data-v-5251ecea] .van-tab.van-tab--active{font-size:.42667rem;font-weight:800}.box .tab-contain[data-v-5251ecea]{padding:.32rem}.box .tab-contain .van-cell[data-v-5251ecea]{margin-bottom:.37333rem}.box .tab-contain .van-cell .custom-title[data-v-5251ecea]{font-size:.42667rem}.box .tab-contain .van-cell .van-icon[data-v-5251ecea]{color:#333}
|
|
@ -1 +0,0 @@
|
|||
.onlyImg[data-v-2f5e3c1a]{display:flex;justify-content:space-between}.onlyImg .img[data-v-2f5e3c1a]{margin-left:.32rem;width:2.13333rem;height:2.13333rem;-o-object-fit:cover;object-fit:cover}.pdf_con[data-v-2f5e3c1a]{font-size:.37333rem}.pdf_con img[data-v-2f5e3c1a]{width:1.12rem}.mulimg .imglist[data-v-2f5e3c1a]{margin-top:.16rem;display:flex;flex-wrap:wrap}.mulimg .imglist img[data-v-2f5e3c1a]{width:30%;margin-right:2%;height:auto}.page[data-v-2f5e3c1a]{min-height:100%;background-color:#fff}.notice[data-v-2f5e3c1a]{padding:.42667rem}.title[data-v-2f5e3c1a]{font-size:.4rem;color:#333;line-height:.53333rem;font-weight:700}.date[data-v-2f5e3c1a]{margin-top:.16rem;font-size:.32rem;color:#999;line-height:.45333rem}.content[data-v-2f5e3c1a]{width:100%;font-size:.37333rem;color:#333;line-height:.64rem;margin-top:.21333rem}.imagesd[data-v-2f5e3c1a]{margin-top:.21333rem;width:100%;display:flex;flex-wrap:wrap}.imagesd div[data-v-2f5e3c1a]{margin-right:.05333rem}
|
|
@ -1 +0,0 @@
|
|||
.page[data-v-9d83963c]{height:100%;display:flex;flex-direction:column}.navVar-box[data-v-9d83963c]{position:-webkit-sticky;position:sticky;top:0;z-index:100}.view .van-circle[data-v-9d83963c]{width:100%!important;align-self:center}.view .progress[data-v-9d83963c]{background-color:#07c160;color:#fff;text-align:center font-size .37333rem padding .13333rem 0}.view .pdf[data-v-9d83963c]{width:100%}.prev[data-v-9d83963c]{flex:1;text-align:center;padding:.26667rem;position:fixed;left:0;top:50%}.prev img[data-v-9d83963c]{width:.8rem;height:.8rem}.next[data-v-9d83963c]{flex:1;text-align:center;padding:.26667rem;position:fixed;right:0;top:50%}.next img[data-v-9d83963c]{width:.8rem;height:.8rem}.button_content[data-v-9d83963c]{position:absolute;right:.42667rem;bottom:1.6rem;z-index:9999}.button_content .box[data-v-9d83963c]{width:1.06667rem;height:1.06667rem;margin-bottom:.53333rem;background-color:#fff;border-radius:50%;box-shadow:0 0 .26667rem .05333rem #efefef;padding:.24rem;font-size:0}.view[data-v-9d83963c]{overflow:auto}
|
|
@ -1 +0,0 @@
|
|||
@-webkit-keyframes resizeSensorVisibility{0%{top:0}}@keyframes resizeSensorVisibility{0%{top:0}}.annotationLayer{left:0;top:0;right:0;bottom:0}.annotationLayer,.annotationLayer section{position:absolute}.annotationLayer .linkAnnotation>a{position:absolute;font-size:1em;top:0;left:0;width:100%;height:100%;background:url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7") 0 0 repeat}.annotationLayer .linkAnnotation>a:hover{opacity:.2;background:#ff0;box-shadow:0 .05333rem .26667rem #ff0}.annotationLayer .textAnnotation img{position:absolute;cursor:pointer}.annotationLayer .buttonWidgetAnnotation.checkBox input,.annotationLayer .buttonWidgetAnnotation.radioButton input,.annotationLayer .choiceWidgetAnnotation select,.annotationLayer .textWidgetAnnotation input,.annotationLayer .textWidgetAnnotation textarea{background-color:rgba(0,54,255,.13);border:.02667rem solid transparent;box-sizing:border-box;font-size:.24rem;height:100%;padding:0 .08rem;vertical-align:top;width:100%}.annotationLayer .textWidgetAnnotation textarea{font:message-box;font-size:.24rem;resize:none}.annotationLayer .buttonWidgetAnnotation.checkBox input[disabled],.annotationLayer .buttonWidgetAnnotation.radioButton input[disabled],.annotationLayer .choiceWidgetAnnotation select[disabled],.annotationLayer .textWidgetAnnotation input[disabled],.annotationLayer .textWidgetAnnotation textarea[disabled]{background:none;border:.02667rem solid transparent;cursor:not-allowed}.annotationLayer .buttonWidgetAnnotation.checkBox input:hover,.annotationLayer .buttonWidgetAnnotation.radioButton input:hover,.annotationLayer .choiceWidgetAnnotation select:hover,.annotationLayer .textWidgetAnnotation input:hover,.annotationLayer .textWidgetAnnotation textarea:hover{border:.02667rem solid #000}.annotationLayer .choiceWidgetAnnotation select:focus,.annotationLayer .textWidgetAnnotation input:focus,.annotationLayer .textWidgetAnnotation textarea:focus{background:none;border:.02667rem solid transparent}.annotationLayer .textWidgetAnnotation input.comb{font-family:monospace;padding-left:.05333rem;padding-right:0}.annotationLayer .textWidgetAnnotation input.comb:focus{width:115%}.annotationLayer .buttonWidgetAnnotation.checkBox input,.annotationLayer .buttonWidgetAnnotation.radioButton input{-webkit-appearance:none;-moz-appearance:none;appearance:none}.annotationLayer .popupWrapper{position:absolute;width:20em}.annotationLayer .popup{position:absolute;z-index:200;max-width:20em;background-color:#ff9;box-shadow:0 .05333rem .13333rem #333;border-radius:.05333rem;padding:.6em;margin-left:.13333rem;cursor:pointer;word-wrap:break-word}.annotationLayer .popup h1{font-size:1em;border-bottom:.02667rem solid #000;padding-bottom:.2em}.annotationLayer .popup p{padding-top:.2em}.annotationLayer .fileAttachmentAnnotation,.annotationLayer .highlightAnnotation,.annotationLayer .lineAnnotation svg line,.annotationLayer .squigglyAnnotation,.annotationLayer .strikeoutAnnotation,.annotationLayer .underlineAnnotation{cursor:pointer}
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1 +0,0 @@
|
|||
.fileOverViewBox[data-v-367ccdca]{background:#000;width:100%}.fileOverViewBox .fileOverViewContentBox[data-v-367ccdca]{width:100%;margin:0 auto;background:#fff}.fileOverViewBox .fileOverViewContentBox .pdf_lif[data-v-367ccdca]{position:fixed;z-index:10}.fileOverViewBox .fileOverViewContentBox .pdf_lif .prev[data-v-367ccdca]{flex:1;text-align:center;padding:.26667rem;position:fixed;left:0;top:50%}.fileOverViewBox .fileOverViewContentBox .pdf_lif .prev img[data-v-367ccdca]{width:.8rem;height:.8rem}.fileOverViewBox .fileOverViewContentBox .pdf_lif .next[data-v-367ccdca]{flex:1;text-align:center;padding:.26667rem;position:fixed;right:0;top:50%}.fileOverViewBox .fileOverViewContentBox .pdf_lif .next img[data-v-367ccdca]{width:.8rem;height:.8rem}.fileOverViewBox .fileOverViewContentBox .arrow[data-v-367ccdca]{position:fixed;width:100%;height:1.6rem;z-index:100;box-shadow:0 .05333rem .05333rem rgba(0,0,0,.5);background:hsla(0,0%,100%,.9)}.fileOverViewBox .fileOverViewContentBox .arrow .turn[data-v-367ccdca]{cursor:pointer}.fileOverViewBox .fileOverViewContentBox .arrow .turn[data-v-367ccdca]:hover{color:#58a5fe}.fileOverViewBox .fileOverViewContentBox .arrow .pageBox[data-v-367ccdca]{margin:0 .53333rem}.fileOverViewBox .fileOverViewContentBox[data-v-367ccdca] .docViewBox{padding:.53333rem}.fileOverViewBox .fileOverViewContentBox[data-v-367ccdca] .docViewBox p{margin:.21333rem 0;font-size:.42667rem!important}.fileOverViewBox .fileOverViewContentBox[data-v-367ccdca] .docViewBox img{margin:.37333rem 0;overflow:hidden}.fileOverViewBox .fileOverViewContentBox[data-v-367ccdca] .docViewBox li{margin:.21333rem 0;font-size:.42667rem!important}
|
|
@ -1 +0,0 @@
|
|||
.news[data-v-158711c3]{margin:0 .42667rem;border-bottom:.02667rem solid #f3f3f3}.news[data-v-158711c3]:last-of-type{border-bottom:none}.news .newList2[data-v-158711c3]{padding:.42667rem 0}.news .newList2 .top[data-v-158711c3]{font-size:.37333rem;color:#333;line-height:.58667rem;font-weight:700}.news .newList2 .imgarr[data-v-158711c3]{display:flex;margin-top:.21333rem}.news .newList2 .imgarr img[data-v-158711c3]{width:30%;margin-right:3%;height:auto;-o-object-fit:cover;object-fit:cover}.news .newList2 .newdate[data-v-158711c3]{font-size:.32rem;color:#999;line-height:.45333rem;margin-top:.21333rem}.news .newList[data-v-158711c3]{display:flex;justify-content:space-between;padding:.42667rem 0}.news .newList .newleft[data-v-158711c3]{display:flex;flex-direction:column;justify-content:space-between}.news .newList .newleft .newtitle[data-v-158711c3]{font-size:.37333rem;color:#333;line-height:.58667rem;font-weight:700}.news .newList .newleft .newdate[data-v-158711c3]{font-size:.32rem;color:#999;line-height:.45333rem;margin-top:.10667rem}.news .newList .newimg[data-v-158711c3]{margin-left:.26667rem;width:3.33333rem;height:2.24rem;-o-object-fit:cover;object-fit:cover}.muloverellipse[data-v-158711c3]{word-break:break-all;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.notice[data-v-158711c3]{min-height:100%;background-color:#fff;display:flex;flex-direction:column;overflow:auto}.list[data-v-158711c3]{flex:1}.list .item[data-v-158711c3]{position:relative;padding:.53333rem .42667rem;display:flex;align-items:center}.list .item[data-v-158711c3]:not(:last-child):after{content:"";position:absolute;bottom:0;left:.42667rem;right:.42667rem;height:.02667rem;background-color:#f3f3f3}.list .item .tag[data-v-158711c3]{margin-right:.10667rem;border-radius:.21333rem;font-size:.26667rem;vertical-align:middle}.list .item .title[data-v-158711c3]{flex:1;font-size:.37333rem;color:#333;line-height:.53333rem;font-weight:700}.list .item .icon[data-v-158711c3]{margin-left:.8rem;font-size:.32rem}.imgaddBtn[data-v-158711c3]{position:fixed;bottom:26%;right:0}.imgaddBtn .imgdiv[data-v-158711c3]{height:2.4rem;margin-top:.26667rem;z-index:50;opacity:.9}.imgaddBtn .imgdiv .add[data-v-158711c3]{width:2.72rem;z-index:999}.imgaddBtn .imgtext[data-v-158711c3]{font-size:.42667rem;text-align:center}
|
File diff suppressed because one or more lines are too long
|
@ -1 +0,0 @@
|
|||
.item[data-v-e14902a8]{box-sizing:border-box;padding:.42667rem .32rem;background:#fff;margin-bottom:.32rem}.uploadContent[data-v-e14902a8]{font-size:.37333rem;font-weight:700;margin-bottom:.32rem}.messageBox[data-v-e14902a8]{padding:0!important}[data-v-e14902a8] .messageBox .van-cell__value{background-color:#f8f8f8;padding:.32rem}.uplooadImg[data-v-e14902a8]{display:flex;align-items:center;justify-content:space-between;margin-bottom:.32rem;font-size:.37333rem;font-weight:700}.enclosureArr[data-v-e14902a8]{display:flex;flex-wrap:wrap}.enclosureArr .single[data-v-e14902a8]{position:relative;width:2.13333rem;height:2.13333rem;margin-right:.21333rem}.redDel[data-v-e14902a8]{position:absolute;top:0;right:0}.btn[data-v-e14902a8]{position:fixed;bottom:0;width:100%;margin-bottom:0!important}
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1 +0,0 @@
|
|||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-42a5b834"],{"08f8":function(t,a){t.exports="data:image/png;base64,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"},"1d8e":function(t,a,e){"use strict";var i=e("a94c"),n=e.n(i);n.a},"1da8":function(t,a,e){"use strict";var i=e("27f8"),n=e.n(i);n.a},"27f8":function(t,a,e){},"655d":function(t,a,e){t.exports=e.p+"img/word.49661a9f.webp"},a94c:function(t,a,e){},e373:function(t,a,e){"use strict";e.r(a);var i=function(){var t=this,a=t.$createElement,i=t._self._c||a;return i("div",{staticClass:"page"},[i("nav-bar",{attrs:{"left-arrow":"",title:t.navtitle}}),i("pdfVue"),i("div",{staticClass:"notice"},[i("div",{staticClass:"title",domProps:{innerHTML:t._s(t.detail.title)}}),i("div",{staticClass:"content ql-editor",domProps:{innerHTML:t._s(t.detail.content)}}),i("div",{staticClass:"date"},[t._v(t._s(t.detail.updatedAt))]),i("div",{staticClass:"imagesd"},t._l(t.detail.fileAttachmentList,(function(a,n){return i("div",{key:n},[-1==a.attachment.indexOf(".pdf")&&-1==a.attachment.indexOf(".docx")?i("div",[i("van-image",{attrs:{width:"160",height:"160",src:a.attachment},on:{click:function(e){return t.previewData(a,n)}}})],1):-1!=a.attachment.indexOf(".pdf")?i("div",[i("div",{staticClass:"pdf_con",on:{click:function(e){return t.ptfData(a,2)}}},[i("img",{attrs:{src:e("08f8")}}),t._v(" "+t._s(a.title)+" ")])]):-1!=a.attachment.indexOf(".docx")?i("div",[i("div",{staticClass:"pdf_con",on:{click:function(e){return t.ptfData(a,2)}}},[i("img",{attrs:{src:e("655d")}}),t._v(" "+t._s(a.title)+" ")])]):t._e()])})),0)])],1)},n=[],s=(e("a753"),e("8096"),e("14e1"),e("0c6d")),c=e("28a2"),A={components:{[c["a"].Component.name]:c["a"].Component},data(){return{detail:{},diff:this.$route.query.diff||"",navtitle:""}},created(){this.navtitle="通知公告",this.detail={},this.getData()},methods:{ptfData(t,a){1==a&&this.$router.push({path:"/pdf",query:{url:t.attachment}}),2==a&&this.$router.push({path:"/file-over-view",query:{url:t.attachment}})},previewData(t,a){let e=this.detail,i=[];if(e){let t=e.fileAttachmentList;0!=t.length&&(t.forEach(t=>{i.push(t.attachment)}),Object(c["a"])({images:i,startPosition:a}))}},getData(){this.$toast.loading({message:"正在加载...",duration:0,forbidClick:!0}),Object(s["W"])(this.$route.query.id).then(t=>{1==t.data.state?(this.$toast.clear(),this.detail=t.data.data):this.$toast.fail(t.data.msg)}).catch(()=>{this.$toast.fail("加载失败")})}}},o=A,d=(e("1d8e"),e("1da8"),e("2877")),r=Object(d["a"])(o,i,n,!1,null,"2f5e3c1a",null);a["default"]=r.exports}}]);
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue