webpackJsonp([4],{287:function(t,n,e){"use strict";function a(t){e(318)}Object.defineProperty(n,"__esModule",{value:!0});var o=e(321),i=e.n(o),s=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"container trial-list"},[-1!==t.note_task_type.indexOf(t.task.task_type)?e("div",{staticClass:"note",attrs:{id:"note"}},[t.task?e("div",{attrs:{id:"article"}},[e("h1",{staticClass:"title"},[e("a",{attrs:{href:t.$alias.note(t.task.note.slug),target:"_blank"},domProps:{textContent:t._s(t.task.note.title)}})]),e("div",{staticClass:"article-info"},[e("a",{staticClass:"avatar",attrs:{target:"_blank",href:t.$alias.user(t.task.note.user.slug)}},[e("img",{attrs:{src:t.$resizeImage(t.task.note.user.avatar,{width:180,height:180}),alt:"180"}}),e("div",{staticClass:"name",domProps:{textContent:t._s(t.task.note.user.nickname)}})]),e("div",{staticClass:"meta"},[e("span",[t._v(t._s(t._f("moment")(t.task.note.shared_at,"YYYY.MM.DD HH:mm")))])])]),e("div",{staticClass:"content",attrs:{"data-note-content":""},domProps:{innerHTML:t._s(t.task.note.content)}})]):t._e(),"audit_note"===t.task.task_type?[e("div",{staticClass:"note-review"},["open"!==t.task.state&&"discarded"!==t.task.state?e("div",{staticClass:"content"},[e("div",{staticClass:"status"},[t._v(t._s(t.stateText(t.task.state)))]),e("div",[t._v("审核人："+t._s(t.task.audit_trial_user.name||"该审核员已被删除"))]),e("div",[t._v("操作时间："+t._s(t._f("moment")(t.task.respond_at,"YYYY.MM.DD HH:mm")))]),e("div",[t._v("创建时间："+t._s(t._f("moment")(t.task.created_at,"YYYY.MM.DD HH:mm")))]),e("div",[t._v("备注："+t._s(t.task.content||"无"))])]):t._e(),"open"===t.task.state&&t.task.trial_user_id===t.$store.state.user.id||t.isSupervisor?e("div",{staticClass:"content"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.content,expression:"content"}],staticClass:"js-review-content",attrs:{placeholder:"备注（选填）",autocomplete:"off"},domProps:{value:t.content},on:{input:function(n){n.target.composing||(t.content=n.target.value)}}}),e("div",{staticClass:"btn-group js-review-buttons"},[e("a",{staticClass:"btn red",on:{click:t.handleDecline}},[t._v("不通过")]),e("a",{staticClass:"btn green",on:{click:t.handleApprove}},[t._v("通过")])])]):t._e()])]:t._e(),"inspect_task"===t.task.task_type?[e("div",{staticClass:"note-review"},["open"!==t.task.audit_task.state&&"discarded"!==t.task.audit_task.state?e("div",{staticClass:"content"},[e("div",[t._v("初审结果")]),e("div",{staticClass:"status"},[t._v(t._s(t.stateText(t.task.audit_task.state)))]),e("div",[t._v("审核人："+t._s(t.task.audit_trial_user.name||"该审核员已被删除"))]),e("div",[t._v("操作时间："+t._s(t._f("moment")(t.task.audit_task.respond_at,"YYYY.MM.DD HH:mm")))]),e("div",[t._v("创建时间："+t._s(t._f("moment")(t.task.audit_task.created_at,"YYYY.MM.DD HH:mm")))]),e("div",[t._v("备注："+t._s(t.task.audit_trial_user.content||"无"))])]):t._e(),"open"!==t.task.state&&"discarded"!==t.task.state?e("div",{staticClass:"content"},[e("div",[t._v("复审结果")]),e("div",{staticClass:"status"},[t._v(t._s(t.stateText(t.task.state)))]),e("div",[t._v("审核人："+t._s(t.task.inspect_trial_user.name||"该审核员已被删除"))]),e("div",[t._v("操作时间："+t._s(t._f("moment")(t.task.respond_at,"YYYY.MM.DD HH:mm")))]),e("div",[t._v("创建时间："+t._s(t._f("moment")(t.task.created_at,"YYYY.MM.DD HH:mm")))]),e("div",[t._v("备注："+t._s(t.task.content||"无"))])]):t._e(),"open"===t.task.state&&t.task.trial_user_id===t.$store.state.user.id||t.isSupervisor?e("div",{staticClass:"content"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.content,expression:"content"}],staticClass:"js-review-content",attrs:{placeholder:"备注（选填）",autocomplete:"off"},domProps:{value:t.content},on:{input:function(n){n.target.composing||(t.content=n.target.value)}}}),e("div",{staticClass:"btn-group js-review-buttons"},[e("a",{staticClass:"btn red",on:{click:t.handleDecline}},[t._v("不通过")]),e("a",{staticClass:"btn green",on:{click:t.handleApprove}},[t._v("通过")])])]):t._e()])]:t._e()],2):t._e(),-1!==t.image_task_type.indexOf(t.task.task_type)?[e("div",{staticClass:"preview-area"},[t.imageUrl?e("a",{attrs:{target:"_blank",href:t.imageUrl}},[e("img",{attrs:{src:t.$resizeImage(t.imageUrl,{width:480,height:320,mode:2})}})]):e("p",[t._v("\n        图片已被删除\n      ")])]),e("div",{staticClass:"note-review"},[t.isInspectImageTask?e("div",{staticClass:"content"},[e("div",{staticClass:"status"},[t._v("初审")]),e("div",{staticClass:"status"},[t._v(t._s(t.stateText(t.auditTask.state)))]),e("div",[t._v("审核人："+t._s(t.auditTrialUser.name))]),e("div",[t._v("操作时间："+t._s(t._f("moment")(t.auditTask.respond_at,"YYYY.MM.DD HH:mm")))]),e("div",[t._v("创建时间："+t._s(t._f("moment")(t.auditTask.created_at,"YYYY.MM.DD HH:mm")))]),e("div",{staticClass:"status"},[t._v("复审")]),e("div",{staticClass:"status"},[t._v(t._s(t.stateText(t.task.state)))]),e("div",[t._v("审核人："+t._s(t.inspectTrialUser.name))]),e("div",[t._v("操作时间："+t._s(t._f("moment")(t.task.respond_at,"YYYY.MM.DD HH:mm")))]),e("div",[t._v("创建时间："+t._s(t._f("moment")(t.task.created_at,"YYYY.MM.DD HH:mm")))])]):t._e(),t.isAuditImageTask?e("div",{staticClass:"content"},[e("div",{staticClass:"status"},[t._v(t._s(t.stateText(t.task.state)))]),e("div",[t._v("审核人："+t._s(t.auditTrialUser.name))]),e("div",[t._v("操作时间："+t._s(t._f("moment")(t.task.respond_at,"YYYY.MM.DD HH:mm")))]),e("div",[t._v("创建时间："+t._s(t._f("moment")(t.task.created_at,"YYYY.MM.DD HH:mm")))])]):t._e(),t.isOpen&&t.isOwner||t.isSupervisor?e("div",{staticClass:"content"},[e("div",{staticClass:"btn-group js-review-buttons"},[t.isAuditImageTask?e("a",{staticClass:"btn gray",on:{click:t.handleDoubt}},[t._v("有疑问")]):t._e(),e("a",{staticClass:"btn red",on:{click:t.handleDecline}},[t._v("不通过")]),e("a",{staticClass:"btn green",on:{click:t.handleApprove}},[t._v("通过")])])]):t._e()])]:t._e(),-1!==t.comment_task_type.indexOf(t.task.task_type)?[e("div",{staticClass:"preview-area"},[t.commentContent?e("p",[t._v("\n        "+t._s(t.commentContent)+"\n      ")]):e("p",[t._v("\n        评论已被删除,无法查看\n      ")])]),e("div",{staticClass:"note-review"},[t.isInspectCommentTask?e("div",{staticClass:"content"},[e("div",{staticClass:"status"},[t._v("初审")]),e("div",{staticClass:"status"},[t._v(t._s(t.stateText(t.auditTask.state)))]),e("div",[t._v("审核人："+t._s(t.auditTrialUser.name))]),e("div",[t._v("操作时间："+t._s(t._f("moment")(t.auditTask.respond_at,"YYYY.MM.DD HH:mm")))]),e("div",[t._v("创建时间："+t._s(t._f("moment")(t.auditTask.created_at,"YYYY.MM.DD HH:mm")))]),e("div",{staticClass:"status"},[t._v("复审")]),e("div",{staticClass:"status"},[t._v(t._s(t.stateText(t.task.state)))]),e("div",[t._v("审核人："+t._s(t.inspectTrialUser.name))]),e("div",[t._v("操作时间："+t._s(t._f("moment")(t.task.respond_at,"YYYY.MM.DD HH:mm")))]),e("div",[t._v("创建时间："+t._s(t._f("moment")(t.task.created_at,"YYYY.MM.DD HH:mm")))])]):t._e(),t.isAuditCommentTask?e("div",{staticClass:"content"},[e("div",{staticClass:"status"},[t._v(t._s(t.stateText(t.task.state)))]),e("div",[t._v("审核人："+t._s(t.auditTrialUser.name))]),e("div",[t._v("操作时间："+t._s(t._f("moment")(t.task.respond_at,"YYYY.MM.DD HH:mm")))]),e("div",[t._v("创建时间："+t._s(t._f("moment")(t.task.created_at,"YYYY.MM.DD HH:mm")))])]):t._e(),t.isOpen&&t.isOwner||t.isSupervisor?e("div",{staticClass:"content"},[e("div",{staticClass:"btn-group js-review-buttons"},[t.isAuditCommentTask?e("a",{staticClass:"btn gray",on:{click:t.handleDoubt}},[t._v("有疑问")]):t._e(),e("a",{staticClass:"btn red",on:{click:t.handleDecline}},[t._v("不通过")]),e("a",{staticClass:"btn green",on:{click:t.handleApprove}},[t._v("通过")])])]):t._e()])]:t._e()],2)},r=[],l={render:s,staticRenderFns:r},c=l,d=e(39),p=a,u=d(i.a,c,!1,p,null,null);n.default=u.exports},310:function(t,n,e){t.exports={default:e(322),__esModule:!0}},318:function(t,n,e){var a=e(319);"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);e(67)("732079fb",a,!0)},319:function(t,n,e){n=t.exports=e(40)(void 0),n.push([t.i,'\n@charset "UTF-8";\n/*\n * 变量\n*/\n.note {\n  padding: 52px 18px 0;\n  /***** top *****/\n  /***** 文章标题 ******/\n  /***** 文章信息 ******/\n  /***** 文章样式 ******/\n}\n.note a {\n    color: #3194D0;\n    text-decoration: none;\n}\n.note .top {\n    position: fixed;\n    top: 0;\n    left: 0;\n    right: 0;\n    z-index: 10;\n    padding: 3px 18px;\n    font-size: 0;\n    background-color: white;\n    -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);\n            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);\n}\n.note .top .logo {\n      height: 42px;\n      vertical-align: middle;\n      display: inline-block;\n}\n.note .top .logo img {\n        height: 100%;\n        margin-left: -4px;\n}\n.note .top .slogan {\n      margin: 0 0 0 6px;\n      font-size: 12px;\n      color: #333333;\n      vertical-align: middle;\n      display: inline-block;\n}\n.note .top .slogan .slogan-title {\n        font-size: 15px;\n        color: #333333;\n        line-height: 20px;\n}\n.note .top .app-download {\n      position: absolute;\n      top: 9px;\n      right: 15px;\n      padding: 4px 11px;\n      font-size: 14px;\n      font-weight: bold;\n      color: white;\n      background-color: #EA6F5A;\n      border-radius: 4px;\n}\n@media (max-width: 330px) {\n.note .top .slogan .slogan-title {\n        font-size: 15px;\n}\n.note .top .app-download {\n        padding: 5px 8px !important;\n}\n}\n.note .title {\n    margin: 15px 0;\n    font-size: 30px;\n    font-weight: bold;\n    font-family: -apple-system, "SF UI Display", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;\n    color: #2F2F2F;\n    word-break: break-word !important;\n    word-break: break-all;\n    line-height: 1.4;\n}\n.note .article-info {\n    margin-bottom: 20px;\n    font-size: 13px;\n    color: #B1B1B1;\n}\n.note .article-info .avatar {\n      vertical-align: middle;\n      display: inline-block;\n      line-height: 1;\n}\n.note .article-info .avatar img {\n        vertical-align: middle;\n        width: 34px;\n        height: 34px;\n        border-radius: 17px;\n}\n.note .article-info .name {\n      margin: 0 5px;\n      font-size: 16px;\n      font-weight: bold;\n      color: #848484;\n      display: inline-block;\n      vertical-align: middle;\n}\n.note .article-info .label {\n      padding: 1px 2px;\n      font-size: 12px;\n      color: #e78170;\n      border: 1px solid #e78170;\n      border-radius: 3px;\n      vertical-align: middle;\n}\n.note .article-info .meta {\n      display: inline-block;\n      margin-left: 10px;\n      margin-top: 10px;\n}\n.note .article-info .app-open {\n      margin: 0;\n      color: #B1B1B1 !important;\n}\n.note .article-info .app-open i {\n        font-size: 14px;\n}\n.note .article-info p {\n      word-break: break-word !important;\n      word-break: break-all;\n}\n.note .content {\n    color: #2F2F2F;\n    font-size: 16px;\n    font-weight: normal;\n    line-height: 1.7;\n    word-break: break-word !important;\n    word-break: break-all;\n}\n.note .content p {\n      margin: 0 0 25px 0;\n}\n.note .content blockquote h1:last-child,\n    .note .content blockquote h2:last-child,\n    .note .content blockquote h3:last-child,\n    .note .content blockquote h4:last-child,\n    .note .content blockquote h5:last-child,\n    .note .content blockquote h6:last-child,\n    .note .content blockquote ul:last-child,\n    .note .content blockquote ol:last-child,\n    .note .content blockquote li:last-child,\n    .note .content blockquote p:last-child {\n      margin-bottom: 0;\n}\n.note .content .video-package .video-description p {\n      margin: 0;\n}\n.note .content li p {\n      overflow: visible;\n}\n.note .content a {\n      color: #3194D0;\n}\n.note .content a:hover {\n        color: #3194D0;\n        text-decoration: underline;\n}\n.note .content a.active, .note .content a:active, .note .content a:focus {\n        color: #3194D0;\n}\n.note .content a.disabled, .note .content a.disabled:hover, .note .content a.disabled:focus, .note .content a.disabled:active, .note .content a.disabled.active, .note .content a[disabled], .note .content a[disabled]:hover, .note .content a[disabled]:focus, .note .content a[disabled]:active, .note .content a[disabled].active {\n        cursor: not-allowed;\n        color: #f5f5f5;\n}\n.note .content p, .note .content ul, .note .content ol {\n      word-break: break-word !important;\n      word-break: break-all;\n}\n.note .content hr {\n      margin: 0 0 20px;\n      border-top: 1px solid #DDDDDD;\n}\n.note .content h1, .note .content h2, .note .content h3, .note .content h4, .note .content h5, .note .content h6 {\n      margin: 0 0 15px 0;\n      font-weight: bold;\n      color: #2F2F2F;\n      line-height: 1.7;\n      text-rendering: optimizelegibility;\n}\n.note .content h1 {\n      font-size: 26px;\n}\n.note .content h2 {\n      font-size: 24px;\n}\n.note .content h3 {\n      font-size: 22px;\n}\n.note .content h4 {\n      font-size: 20px;\n}\n.note .content h5 {\n      font-size: 18px;\n}\n.note .content h6 {\n      font-size: 16px;\n}\n.note .content img {\n      max-width: 100%;\n}\n.note .content blockquote {\n      padding: 20px;\n      margin-bottom: 25px;\n      background-color: #F7F7F7;\n      border-left: 6px solid #B4B4B4;\n      word-break: break-word !important;\n      word-break: break-all;\n      font-size: 16px;\n      line-height: 30px;\n}\n.note .content blockquote p {\n        font-size: 16px;\n        font-weight: normal;\n        line-height: 1.7;\n}\n.note .content blockquote .image-package {\n        margin-left: 0;\n        margin-right: 0;\n}\n.note .content ol, .note .content ul {\n      padding: 0;\n      margin-left: 22px;\n      margin-bottom: 20px;\n}\n.note .content ol li, .note .content ul li {\n        line-height: 30px;\n}\n.note .content ol li ol, .note .content ol li ul, .note .content ul li ol, .note .content ul li ul {\n          margin-top: 15px;\n}\n.note .content ol .image-package, .note .content ul .image-package {\n        margin: 10px 0 25px 0 !important;\n}\n.note .content pre {\n      padding: 15px;\n      margin-bottom: 20px;\n      word-wrap: normal;\n      word-break: break-word !important;\n      word-break: break-all;\n      white-space: pre;\n      overflow: auto;\n      border: 1px solid #ccc;\n}\n.note .content pre code {\n      padding: 0;\n      background-color: transparent;\n      white-space: pre;\n}\n.note .content code {\n      padding: 2px 4px;\n      margin: 2px;\n      background-color: #F6F6F6;\n      color: #657b83;\n      font-size: 12px;\n      white-space: pre-wrap;\n}\n.note .content table {\n      width: 100%;\n      margin-bottom: 20px;\n      border: 1px solid #DDDDDD;\n      border-collapse: collapse;\n      border-left: none;\n}\n.note .content table tr:nth-of-type(even) {\n        background-color: rgba(180, 180, 180, 0.1);\n}\n.note .content table thead th {\n        vertical-align: middle;\n        text-align: inherit;\n}\n.note .content table th, .note .content table td {\n        padding: 8px;\n        border: 1px solid #DDDDDD;\n        line-height: 20px;\n        vertical-align: middle;\n}\n.note .content table th {\n        font-weight: bold;\n}\n.note .content table .image-package {\n        margin-left: 0;\n        margin-right: 0;\n}\n.note .content .image-package .image-container {\n      z-index: 100;\n      position: relative;\n      background-color: #eee;\n      -webkit-transition: background-color 0.1s linear;\n      -o-transition: background-color 0.1s linear;\n      transition: background-color 0.1s linear;\n      margin: 0 auto;\n}\n.note .content .image-package .image-container .image-container-fill {\n        z-index: 50;\n}\n.note .content .image-package .image-container .image-view {\n        position: absolute;\n        top: 0;\n        left: 0;\n        width: 100%;\n        height: 100%;\n        overflow: hidden;\n}\n.note .content .image-package .image-container .image-view img.image-loading {\n          will-change: filter, opacity;\n          -webkit-filter: blur(4px);\n                  filter: blur(4px);\n          opacity: 0.3;\n}\n.note .content .image-package .image-container .image-view img {\n          -webkit-transition: all .15s linear;\n          -o-transition: all .15s linear;\n          transition: all .15s linear;\n          z-index: 100;\n          will-change: filter, opacity;\n          -webkit-filter: blur(0);\n                  filter: blur(0);\n          opacity: 1;\n}\n.note .content .image-package {\n      margin: 0 -18px 25px -18px;\n      text-align: center;\n}\n.note .content .image-package img {\n        max-width: 100%;\n        height: auto;\n        vertical-align: middle;\n        border: 0;\n        cursor: -webkit-zoom-in;\n        -webkit-transition: all .25s ease-in-out;\n        -o-transition: all .25s ease-in-out;\n        transition: all .25s ease-in-out;\n}\n.note .content .image-package .image-caption {\n        min-width: 20%;\n        max-width: 80%;\n        min-height: 22px;\n        display: inline-block;\n        padding: 10px 10px 6px 10px;\n        margin: 0 auto;\n        border-bottom: 1px solid #d9d9d9;\n        font-size: 14px;\n        color: #969696;\n        line-height: 1.7;\n}\n.note .content .image-package .image-caption:empty {\n          display: none;\n}\n.note .content .video-package {\n      position: relative;\n      margin: -20px auto 20px;\n      text-align: center;\n}\n.note .content .video-package .video-placeholder-area {\n        position: relative;\n        width: 100%;\n        display: inline-block;\n        height: 110px;\n        padding: 10px;\n        padding-left: 120px;\n        -webkit-box-sizing: border-box;\n                box-sizing: border-box;\n        border: 1px solid #d9d9d9;\n        background-color: rgba(180, 180, 180, 0.1);\n        text-align: left;\n        cursor: pointer;\n}\n.note .content .video-package .video-placeholder-area:after {\n          content: \' \';\n          position: absolute;\n          top: -1px;\n          left: -1px;\n          display: block;\n          width: 110px;\n          height: 110px;\n          color: #333333;\n          background-color: rgba(0, 0, 0, 0.3);\n          background-image: url('+e(320)+");\n          background-position: 30px;\n          background-size: 50px;\n          background-repeat: no-repeat;\n          -webkit-transition: all linear 100ms;\n          -o-transition: all linear 100ms;\n          transition: all linear 100ms;\n}\n.note .content .video-package .video-placeholder-area:hover:after {\n          background-color: transparent;\n}\n.note .content .video-package .video-placeholder-area .video-cover {\n          position: absolute;\n          top: -1px;\n          left: -1px;\n          display: block;\n          width: 110px;\n          height: 110px;\n          opacity: 0.8;\n          -webkit-transition: opacity linear 100ms;\n          -o-transition: opacity linear 100ms;\n          transition: opacity linear 100ms;\n}\n.note .content .video-package .video-description {\n        min-width: 20%;\n        min-height: 22px;\n        display: none;\n        padding: 10px;\n        margin: 0 auto;\n        border-bottom: 1px solid #d9d9d9;\n        font-size: 13px;\n        color: #999999;\n        font-style: italic;\n        line-height: 1.7;\n}\n.note .content .video-package .video-description:empty {\n          display: none;\n}\n.note .content .video-package .video-close-button, .note .content .video-package .video-provider-button {\n        text-align: left;\n        font-size: 14px;\n        padding: 0px;\n        line-height: 14px;\n        cursor: pointer;\n        -webkit-transition: opacity linear 100ms;\n        -o-transition: opacity linear 100ms;\n        transition: opacity linear 100ms;\n}\n.note .content .video-package .video-close-button i, .note .content .video-package .video-provider-button i {\n          position: relative;\n          top: 1px;\n}\n.note .content .video-package .video-provider-button {\n        float: right;\n}\n.note .ios-style pre {\n    word-break: break-all;\n}\n.note-review {\n  margin-top: 40px;\n  background-color: #f5f5f5;\n}\n.note-review .fixed-status {\n    position: fixed;\n    z-index: 3;\n    top: 0;\n    padding: 4px 0;\n    width: 100%;\n    font-size: 14px;\n    text-align: center;\n}\n.note-review .fixed-status.to-be-review {\n    background-color: #f5f5f5;\n}\n.note-review .fixed-status.have-question {\n    background-color: #F5A623;\n    color: white;\n}\n.note-review .fixed-status.fail {\n    background-color: #EA6F5A;\n    color: white;\n}\n.note-review .fixed-status.pass {\n    background-color: #42C02E;\n    color: white;\n}\n.note-review .fixed-status.expired, .note-review .fixed-status.no-need-review {\n    background-color: #333333;\n    color: white;\n}\n.note-review .content {\n    margin: 0 auto;\n    padding: 40px 0;\n    max-width: 620px;\n    text-align: center;\n}\n.note-review .content .status {\n      padding-bottom: 8px;\n      font-size: 20px;\n      font-weight: bold;\n}\n.note-review input {\n    margin: 0 18px 18px 18px;\n    padding: 10px;\n    width: calc(100% - 58px);\n    background-color: transparent;\n    border: 1px solid #DDDDDD;\n    border-radius: 4px;\n    font-size: 14px;\n}\n.note-review input::-webkit-input-placeholder {\n      color: #999999;\n}\n.note-review input::-moz-placeholder {\n      color: #999999;\n}\n.note-review input:-ms-input-placeholder {\n      color: #999999;\n}\n.note-review input:-moz-placeholder {\n      color: #999999;\n}\n.note-review .btn-group {\n    padding: 0 18px;\n}\n.note-review .btn-group .btn {\n      display: inline-block;\n      padding: 5px 0;\n      width: 30%;\n      border-radius: 4px;\n      text-align: center;\n      cursor: pointer;\n}\n.note-review .btn-group .btn:hover {\n        text-decoration: none;\n}\n.note-review .btn-group .gray {\n      float: left;\n      border: 1px solid #DDDDDD;\n      color: #999999;\n      background-color: white;\n}\n.note-review .btn-group .gray:hover {\n        color: #787878;\n        border-color: #d5d5d5;\n}\n.note-review .btn-group .red {\n      border: 1px solid transparent;\n      color: white;\n      background-color: #EA6F5A;\n}\n.note-review .btn-group .red:hover {\n        background-color: #EC6149;\n}\n.note-review .btn-group .green {\n      float: right;\n      border: 1px solid transparent;\n      color: white;\n      background-color: #42C02E;\n}\n.note-review .btn-group .green:hover {\n        background-color: #3db922;\n}\n@media (min-width: 620px) {\n.note-review input {\n    margin: 0 0 18px 0;\n    width: calc(100% - 22px);\n}\n.note-review .btn-group {\n    display: -webkit-box;\n    display: -ms-flexbox;\n    display: flex;\n    -ms-flex-pack: distribute;\n        justify-content: space-around;\n    padding: 0;\n}\n}\n#article {\n  margin: 0 auto;\n  max-width: 620px;\n}\n",""])},320:function(t,n){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFgAAABYCAYAAABxlTA0AAANJUlEQVR4Ae2dCVCU5xnHYUEEb8QTtYqjqEGJOtY7mpkotRKtZByJR62tJDFV422mdmpba00VdJogE5PYycSoDY4H1QHjwTROvGujolCDjrfgfYVLQez/v/HZeRf4ll3Yb/fbZXcGnve73vd9fvt+7/m8z/r7GeTz/Plz0/Hjx/vWr18/OiQk5CX8RTZo0KBTvXr1GgUGBjZ48RfC7JaVlRXjr4h/paWlBUVFRZeLi4tz8Zfz5MmTrP79+3/n7+9fbgTV/N2ZiSNHjgxo2rRpbLNmzV5t0aJFH8J0Rn4I/e7duycfPnz4zaNHj9IHDRp0zBnxekQchw8f7nX+/PmUgoKCfJRal3yYFtNk2q6G5JISDIoBWVlZs9u3b5/QvHnzKC0l8ao/uHPnztXbt2/nXblyJT87O5vyBxwX37hxowThYj7bsWPHkHbt2gW3atUqBOHGUVFR4ZBtcRzesmXLn6BqCdVK4/79+9nXr19fHx0dnYxq5JnWfc46rytglJr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myl9m8FVGpXDsH+o+WZwRkdHmbDZNdcn3FVOp22Vk6mbZ8hCdtqTEVlpkahURciNHD6j0t4gx/SIB4ONCDmuq5IMyEL0JyMtXxG8R7OK4EV8O/VgNX4GExlmp590p9KvX7/f1VWvJzSHPXHixAeNGjVqRT5g8z3Y9ELPQdNTq2YJZgR8EL4b38DkcSGPGTE94tFpG4/r0oc6U3eBSyYoaHG24JKPTcC8AcU/h15IGeaH7gaxr2OGEbdS/ZhD5/+nrtSZukvsZGKP+9tqATNC+gejF1KJnP7DMD/7Szn2dkldVZ9pZGGPzzRysVkHVwSHCj0Vs1zmSQ1ew7e6G6ZIXuv9jyWXcGEt/3Nhgfnp1IiIiDfluDrpEGA0ej7noHo6B0WFXo4521h6IZVvjq8OVncXuWPDieTB2ZK6UCe1WqDO1J0MHEnPrjpYjZDDQXSyY/iqyHlW/uy+eEM/mTpQF7VBo67UuaqhsDDQkg5VERUjQTelkovxnTt3bvJUB3Z0OAcbi8ludzEuoPEqvYcN0G9JP5kZo0c8jtM9aYKIeWWemXeBS52oG3UUfWsia1WCJUFs+vO6n3ngAItjANGxptIpgJk4Hdrh2/8YXRjfD5Uo34bTAEucKM2+n9oRGJBOByxx05ej78eidARM0L6fO9MZsJRmjADr7A/2CQOXSd9PTroMtZ8fG0R6Z9LzR1NpOWprxUFvdXVr5BzNOCeSvPFnf/8PDtJFz61AWfoAAAAASUVORK5CYII="},321:function(t,n,e){"use strict";function a(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(n,"__esModule",{value:!0});var o=e(310),i=a(o),s=e(7),r=a(s),l=e(8),c=a(l),d=e(324),p=a(d),u=e(115),m=a(u);n.default={name:"TaskDetail",title:function(){return this.task.note?this.task.note.title:"审核详情页"},asyncData:function(){function t(t){return n.apply(this,arguments)}var n=(0,c.default)(r.default.mark(function t(n){var e=n.store,a=n.route,o=n.ctx;return r.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.dispatch("note/fetch",{ctx:o,id:a.params.id});case 2:case"end":return t.stop()}},t,this)}));return t}(),computed:{task:function(){return this.$store.state.note.data},commentContent:function(){if(this.task.comment)return this.task.comment.content},imageUrl:function(){if(this.task.image)return this.task.image.url},isAuditImageTask:function(){if(this.task.image)return this.task.task_type.match(/audit/)},isInspectImageTask:function(){if(this.task.image)return this.task.task_type.match(/inspect/)},isAuditCommentTask:function(){if(this.task.comment)return this.task.task_type.match(/audit/)},isInspectCommentTask:function(){if(this.task.comment)return this.task.task_type.match(/inspect/)},isOpen:function(){return"open"===this.task.state},auditTrialUser:function(){return this.task.audit_trial_user},inspectTrialUser:function(){return this.task.inspect_trial_user},isOwner:function(){return this.$store.state.user.id===this.task.trial_user_id},auditTask:function(){return this.isInspectCommentTask?this.task.audit_task:null},isSupervisor:function(){return this.$store.state.user&&"supervisor"===this.$store.state.user.role},isSuperAdmin:function(){return this.$store.state.user&&this.$store.state.user.is_superadmin}},data:function(){return{content:"",note_task_type:["audit_note","inspect_task"],image_task_type:["audit_user_avatar","audit_collection_avatar","audit_note_image","inspect_user_avatar","inspect_collection_avatar","inspect_note_image"],comment_task_type:["audit_comment","inspect_comment"]}},methods:{handleDoubt:function(){var t=this;(new m.default).doubt({task_id:this.task.id,review_content:this.content}).then(function(){t.$message.success("审批完成"),window.location.reload()}).catch(function(n){t.$message.error(n.data.error)})},handleApprove:function(){var t=this;(new m.default).approve({task_id:this.task.id,review_content:this.content}).then(function(){t.$message.success("审批完成"),window.location.reload()}).catch(function(n){t.$message.error(n.data.error)})},handleDecline:function(){var t=this;(new m.default).decline({task_id:this.task.id,review_content:this.content}).then(function(){t.$message.success("审批完成"),window.location.reload()}).catch(function(n){t.$message.error(n.data.error)})},stateText:function(t){switch(t){case"yes":return"已通过";case"no":return"已拒绝";case"doubtful":return"有疑问";case"discarded":return"已丢弃";default:return"未审核"}},lazyLoadImage:function(){var t=document.querySelectorAll(".image-package");t.length&&[].forEach.call(t,function(t){if(t.querySelectorAll(".image-container-fill").length>0){var n=t.getElementsByTagName("img")[0];n.src=n.getAttribute("data-original-src"),n.classList.remove("image-loading")}})}},mounted:function(){this.lazyLoadImage(),new Date(this.task.deadline).getTime()<=(new Date).getTime()&&this.$alert("审核任务已过期","提示",{confirmButtonText:"确定"}),this.task.note_is_deleted&&this.$alert("文章已被删除，无需审核","提示",{confirmButtonText:"确定"}),"yes"===this.task.state&&this.$alert("审核通过，无需审核","提示",{confirmButtonText:"确定"}),"no"===this.task.state&&this.$alert("审核不通过，无需审核","提示",{confirmButtonText:"确定"}),"discarded"===this.task.state&&this.$alert("任务已丢弃，无需审核","提示",{confirmButtonText:"确定"}),"doubtful"===this.task.state&&this.$alert("审核任务有疑问","提示",{confirmButtonText:"确定"});var t=!0,n=!1,e=void 0;try{for(var a,o=(0,i.default)(document.querySelectorAll(".video-package"));!(t=(a=o.next()).done);t=!0){var s=a.value;new p.default(s)}}catch(t){n=!0,e=t}finally{try{!t&&o.return&&o.return()}finally{if(n)throw e}}}}},322:function(t,n,e){e(70),e(68),t.exports=e(323)},323:function(t,n,e){var a=e(11),o=e(109);t.exports=e(2).getIterator=function(t){var n=o(t);if("function"!=typeof n)throw TypeError(t+" is not iterable!");return a(n.call(t))}},324:function(t,n,e){"use strict";function a(t){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(this.url=t.getAttribute("data-video-url"),void 0!==this.url&&this.url.match(/^https?:\/\/(?:[\w\.]*?\.(?:youku|tudou|qq|bilibili)\.com|[\w\.\-]*?\.acgvideo\.com)\//i)){n&&(this.url=this.url.replace(/http:|https:/,"")),this.el=t;var e=window.getComputedStyle(this.el.parentElement,null).width.split("px")[0];this.playerDisplaying=!1,this.width=Math.round(e),this.height=Math.round(e/6*5),this.provider=this.el.getAttribute("data-provider"),this.flash=this.el.getAttribute("data-flash-url");var a="",o=!0,s=!1,r=void 0;try{for(var l,c=(0,i.default)(this.el.children);!(o=(l=c.next()).done);o=!0){var d=l.value;if("video-description"===d.className){a=d.textContent,this.el.removeChild(d);break}}}catch(t){s=!0,r=t}finally{try{!o&&c.return&&c.return()}finally{if(s)throw r}}var p=this.el.getAttribute("data-cover-uuid"),u="//upload.jianshu.io/videos/cover_imgs/"+p+"?imageView2/1/w/90/h/90";n||(u="http:"+u);var m=document.createElement("img");m.className+="video-cover",m.setAttribute("src",u),this.placeholder=document.createElement("div"),this.placeholder.className+="video-placeholder-area",this.placeholder.textContent=a,this.placeholder.style.width="100%",this.placeholder.appendChild(m),this.el.appendChild(this.placeholder),this.placeholder.outerHTML='<a href="'+this.url+'" target="_blank">'+this.placeholder.outerHTML+"</a>"}}Object.defineProperty(n,"__esModule",{value:!0});var o=e(310),i=function(t){return t&&t.__esModule?t:{default:t}}(o);n.default=a}});
//# sourceMappingURL=4.2c7d2a33ba8662ee4993.js.map