(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-65de3519"],{4136:function(e,t,a){},"78c3":function(e,t,a){"use strict";var l=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{staticClass:"model"},[e.show_head?e._e():a("h1",[e._v(e._s(e.name))]),a("p",{staticClass:"desc"},[e._v(e._s(e.desc))]),e.list.length>0?a("el-form",{ref:"form",attrs:{model:e.form,rules:e.rules,"label-position":"top"}},[e._l(e.list,(function(t,l){return["group"!=t.type?a("el-form-item",{key:l,attrs:{prop:t.label}},[a("label",{staticClass:"el-form-item__label"},[a("span",{staticClass:"x"},[e._v("*")]),e._v(" "+e._s(l+1)+"、"+e._s(t.label)+" "+e._s(t.cntype)+"\n "),t.noteImgs?a("el-popover",{attrs:{placement:"bottom",width:"400",trigger:"hover"}},[e._v("\n "+e._s(t.noteDesc)+"\n "),t.result?a("ul",e._l(t.noteImgs,(function(e,t){return a("li",{key:t,staticStyle:{display:"inline-block",width:"100px"}},[a("img",{attrs:{width:"100%",src:e,alt:""}})])})),0):e._e(),a("i",{staticClass:"el-icon-question",attrs:{slot:"reference"},slot:"reference"})]):e._e()],1),a("br"),"input"==t.type?[a("el-input",{attrs:{disabled:e.info.post_status>0,placeholder:t.placeholder},model:{value:e.form[t.label],callback:function(a){e.$set(e.form,t.label,a)},expression:"form[item.label]"}})]:e._e(),"textarea"==t.type?[a("el-input",{attrs:{disabled:e.info.post_status>0,type:"textarea",placeholder:t.placeholder},model:{value:e.form[t.label],callback:function(a){e.$set(e.form,t.label,a)},expression:"form[item.label]"}})]:e._e(),"radio"==t.type?[a("el-radio-group",{attrs:{disabled:e.info.post_status>0},model:{value:e.form[t.label],callback:function(a){e.$set(e.form,t.label,a)},expression:"form[item.label]"}},e._l(t.items,(function(e,t){return a("el-radio",{key:l+""+t,attrs:{label:e.label}})})),1)]:e._e(),"checkbox"==t.type?[a("el-checkbox-group",{attrs:{disabled:e.info.post_status>0},model:{value:e.form[t.label],callback:function(a){e.$set(e.form,t.label,a)},expression:"form[item.label]"}},e._l(t.items,(function(e,t){return a("el-checkbox",{key:l+""+t,attrs:{label:e.label}})})),1)]:e._e(),"image"==t.type||"file"==t.type?[t.result?a("ul",{staticClass:"list_img"},e._l(t.result,(function(e,t){return a("li",{key:t},[a("img",{attrs:{width:"100%",src:e,alt:""}})])})),0):e._e(),1==e.role&&0==e.info.post_status?a("el-upload",{attrs:{action:"/api/admin/uploadfile","list-type":"picture-card","on-success":function(a){return e.imageChange(t.label,a)},"on-remove":function(a,l){return e.handleRemove(t.label,a,l)}}},[a("i",{staticClass:"el-icon-plus"})]):e._e()]:e._e(),2!=e.role&&3!=e.role||1!=e.info.post_status?e._e():a("div",{staticClass:"result"},[e._v("\n 审读结果判定:\n "),a("el-radio-group",{model:{value:e.examine_result[t.label],callback:function(a){e.$set(e.examine_result,t.label,a)},expression:"examine_result[item.label]"}},[a("el-radio",{attrs:{label:1}},[e._v("正确")]),a("el-radio",{attrs:{label:0}},[e._v("错误")])],1)],1),1!=e.role&&null!=t.examine_result?a("div",{staticClass:"result",staticStyle:{color:"#666","border-style":"dashed"}},[e._v("\n 专家审读结果判定:\n "),1==t.examine_result?a("el-button",{attrs:{type:"text"}},[e._v("正确")]):e._e(),0==t.examine_result?a("el-button",{attrs:{type:"text"}},[e._v("错误")]):e._e()],1):e._e(),3==e.role&&3==e.info.post_status&&e.uid==e.info.review_user_id?a("div",{staticClass:"result"},[e._v("\n 审读结果判定:\n "),a("el-radio-group",{model:{value:e.review_result[t.label],callback:function(a){e.$set(e.review_result,t.label,a)},expression:"review_result[item.label]"}},[a("el-radio",{attrs:{label:1}},[e._v("正确")]),a("el-radio",{attrs:{label:0}},[e._v("错误")])],1)],1):e._e(),1!=e.role&&null!=t.review_result?a("div",{staticClass:"result",staticStyle:{color:"#666","border-style":"dashed"}},[e._v("\n 专家组长审读结果判定:\n "),1==t.review_result?a("el-button",{attrs:{type:"text"}},[e._v("正确")]):e._e(),0==t.review_result?a("el-button",{attrs:{type:"text"}},[e._v("错误")]):e._e()],1):e._e()],2):["group"==t.type?a("div",{key:l,staticStyle:{border:"1px solid #d9d9d9",padding:"20px"}},[a("label",{staticStyle:{"font-size":"16px"}},[e._v(e._s(t.label))]),e._l(t.children,(function(l,r){return a("el-form-item",{key:r,attrs:{prop:l.label+"("+t.label+")"}},[a("label",{staticClass:"el-form-item__label"},[a("span",{staticClass:"x"},[e._v("*")]),e._v(" "+e._s(r+1)+"、"+e._s(l.label)+" "+e._s(l.cntype)+"\n "),l.noteImgs?a("el-popover",{attrs:{placement:"bottom",width:"400",trigger:"hover"}},[e._v("\n "+e._s(l.noteDesc)+"\n "),l.result?a("ul",e._l(l.noteImgs,(function(e,t){return a("li",{key:t,staticStyle:{display:"inline-block",width:"100px"}},[a("img",{attrs:{width:"100%",src:e,alt:""}})])})),0):e._e(),a("i",{staticClass:"el-icon-question",attrs:{slot:"reference"},slot:"reference"})]):e._e()],1),a("br"),"input"==l.type?[a("el-input",{attrs:{disabled:e.info.post_status>0,placeholder:l.placeholder},model:{value:e.form[l.label+"("+t.label+")"],callback:function(a){e.$set(e.form,l.label+"("+t.label+")",a)},expression:"form[i.label+'('+item.label+')']"}})]:e._e(),"textarea"==l.type?[a("el-input",{attrs:{disabled:e.info.post_status>0,type:"textarea",placeholder:l.placeholder},model:{value:e.form[l.label+"("+t.label+")"],callback:function(a){e.$set(e.form,l.label+"("+t.label+")",a)},expression:"form[i.label+'('+item.label+')']"}})]:e._e(),"radio"==l.type?[a("el-radio-group",{attrs:{disabled:e.info.post_status>0},model:{value:e.form[l.label+"("+t.label+")"],callback:function(a){e.$set(e.form,l.label+"("+t.label+")",a)},expression:"form[i.label+'('+item.label+')']"}},e._l(l.items,(function(e,t){return a("el-radio",{key:r+""+t,attrs:{label:e.label}})})),1)]:e._e(),"checkbox"==l.type?[a("el-checkbox-group",{attrs:{disabled:e.info.post_status>0},model:{value:e.form[l.label+"("+t.label+")"],callback:function(a){e.$set(e.form,l.label+"("+t.label+")",a)},expression:"form[i.label+'('+item.label+')']"}},e._l(l.items,(function(e,t){return a("el-checkbox",{key:r+""+t,attrs:{label:e.label}})})),1)]:e._e(),"image"==l.type||"file"==l.type?[l.result?a("ul",{staticClass:"list_img"},e._l(l.result,(function(e,t){return a("li",{key:t},[a("img",{attrs:{width:"100%",src:e,alt:""}})])})),0):e._e(),1==e.role&&0==e.info.post_status?a("el-upload",{attrs:{action:"/api/admin/uploadfile","list-type":"picture-card","on-success":function(a){return e.imageChange(l.label+"("+t.label+")",a)},"on-remove":function(a,r){return e.handleRemove(l.label+"("+t.label+")",a,r)}}},[a("i",{staticClass:"el-icon-plus"})]):e._e()]:e._e(),2!=e.role&&3!=e.role||1!=e.info.post_status?e._e():a("div",{staticClass:"result"},[e._v("\n 审读结果判定:\n "),a("el-radio-group",{model:{value:e.examine_result[l.label+"("+t.label+")"],callback:function(a){e.$set(e.examine_result,l.label+"("+t.label+")",a)},expression:"examine_result[i.label+'('+item.label+')']"}},[a("el-radio",{attrs:{label:1}},[e._v("正确")]),a("el-radio",{attrs:{label:0}},[e._v("错误")])],1)],1),1!=e.role&&e.info.post_status>1&&e.info.post_status<5&&null!=l.examine_result?a("div",{staticClass:"result",staticStyle:{color:"#666","border-style":"dashed"}},[e._v("\n 专家审读结果判定:\n "),1==l.examine_result?a("el-button",{attrs:{type:"text"}},[e._v("正确")]):e._e(),0==l.examine_result?a("el-button",{attrs:{type:"text"}},[e._v("错误")]):e._e()],1):e._e(),3==e.role&&3==e.info.post_status&&e.uid==e.info.review_user_id?a("div",{staticClass:"result"},[e._v("\n 审读结果判定:\n "),a("el-radio-group",{model:{value:e.review_result[l.label+"("+t.label+")"],callback:function(a){e.$set(e.review_result,l.label+"("+t.label+")",a)},expression:"review_result[i.label+'('+item.label+')']"}},[a("el-radio",{attrs:{label:1}},[e._v("正确")]),a("el-radio",{attrs:{label:0}},[e._v("错误")])],1)],1):e._e(),1!=e.role&&null!=l.review_result?a("div",{staticClass:"result",staticStyle:{color:"#666","border-style":"dashed"}},[e._v("\n 专家组长审读结果判定:\n "),1==l.review_result?a("el-button",{attrs:{type:"text"}},[e._v("正确")]):e._e(),0==l.review_result?a("el-button",{attrs:{type:"text"}},[e._v("错误")]):e._e()],1):e._e()],2)}))],2):e._e()]]})),a("el-form-item",{staticStyle:{"text-align":"center"}},[1!=e.role&&(e.info.review_remark||e.info.review_attach)?a("div",{staticClass:"reresult",staticStyle:{"text-align":"left","margin-bottom":"10px"}},[e._v("\n 申请复检原因:\n "),a("p",[e._v(e._s(e.info.review_remark))]),e.info.review_attach&&e.info.review_attach.length>0?a("p",[a("i",{staticClass:"el-icon-link"}),e._v(" 附件:\n "),e._l(e.info.review_attach,(function(t,l){return a("a",{key:l,staticStyle:{margin:"0 10px"},attrs:{target:"_blank",href:t}},[e._v(e._s(t.split("/")[6]))])}))],2):e._e()]):e._e(),1!=e.role&&(e.info.reback_remark||e.info.reback_attach&&e.info.reback_attach.length>0)?a("div",{staticClass:"reresult",staticStyle:{"text-align":"left","margin-bottom":"10px"}},[e._v("\n 退回原因:\n "),a("p",[e._v(e._s(e.info.reback_remark))]),e.info.reback_attach&&e.info.reback_attach.length>0?a("p",[a("i",{staticClass:"el-icon-link"}),e._v(" 附件:\n "),e._l(e.info.reback_attach,(function(t,l){return a("a",{key:l,staticStyle:{margin:"0 10px"},attrs:{target:"_blank",href:t}},[e._v(e._s(t.split("/")[6]))])}))],2):e._e()]):e._e(),a("div",{directives:[{name:"show",rawName:"v-show",value:!e.show_record,expression:"!show_record"}],staticStyle:{"margin-top":"10px"}},[1==e.role?[0==e.info.post_status?a("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.submitForm(1)}}},[e._v("提交")]):e._e()]:e._e(),2==e.role?[1==e.info.post_status?a("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.submitForm(2)}}},[e._v("审核完成")]):e._e(),1==e.info.post_status?a("el-button",{attrs:{type:"primary"},on:{click:e.review}},[e._v("申请复检")]):e._e(),3==e.info.post_status?a("el-button",{attrs:{type:"primary",plain:""},on:{click:function(t){return e.submitForm(6)}}},[e._v("撤销申请")]):e._e()]:e._e(),3==e.role?[1==e.info.post_status?a("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.submitForm(2)}}},[e._v("审核完成")]):e._e(),1==e.info.post_status?a("el-button",{attrs:{type:"primary"},on:{click:e.review}},[e._v("申请复检")]):e._e(),3==e.info.post_status&&"mypost"==e.from?a("el-button",{attrs:{type:"primary",plain:""},on:{click:function(t){return e.submitForm(2)}}},[e._v("撤销申请")]):e._e(),3==e.info.post_status&&"mypost"!=e.from?a("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.submitForm(4)}}},[e._v("复检完成")]):e._e(),3==e.info.post_status&&"mypost"!=e.from?a("el-button",{attrs:{plain:"",type:"primary"},on:{click:function(t){e.title="退回原因",e.open1=!0}}},[e._v("退回")]):e._e()]:e._e()],2)])],2):e._e(),a("el-dialog",{attrs:{title:e.title,"close-on-click-modal":!1,visible:e.open,width:"600"},on:{"update:visible":function(t){e.open=t}}},[a("el-input",{attrs:{type:"textarea",rows:5,placeholder:"请输入内容"},model:{value:e.review_remark,callback:function(t){e.review_remark=t},expression:"review_remark"}}),a("br"),a("br"),a("el-upload",{attrs:{action:"/api/admin/uploadfile","list-type":"text","on-progress":e.handleStart,"on-error":e.handleEnd,"on-remove":e.handleRemove1,"on-success":e.imageChange1}},[a("i",{staticClass:"el-icon-link"}),e._v(" 附件:\n "),a("el-button",{attrs:{size:"small",plain:"",type:"primary"}},[e._v("点击上传")])],1),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{attrs:{size:"small",type:"info"},on:{click:function(t){e.open=!1}}},[e._v("取 消")]),a("el-button",{attrs:{size:"small",type:"primary"},on:{click:function(t){e.open=!1,e.submitForm(3)}}},[e._v("确 定")])],1)],1),a("el-dialog",{attrs:{title:e.title,"close-on-click-modal":!1,visible:e.open1,width:"600"},on:{"update:visible":function(t){e.open1=t}}},[a("el-input",{attrs:{type:"textarea",rows:5,placeholder:"请输入内容"},model:{value:e.reback_remark,callback:function(t){e.reback_remark=t},expression:"reback_remark"}}),a("br"),a("br"),a("el-upload",{attrs:{action:"/api/admin/uploadfile","list-type":"text","on-progress":e.handleStart,"on-error":e.handleEnd,"on-remove":e.handleRemove2,"on-success":e.imageChange2}},[a("i",{staticClass:"el-icon-link"}),e._v(" 附件:\n "),a("el-button",{attrs:{size:"small",plain:"",type:"primary"}},[e._v("点击上传")])],1),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{attrs:{size:"small",type:"info"},on:{click:function(t){e.open1=!1}}},[e._v("取 消")]),a("el-button",{attrs:{size:"small",type:"primary"},on:{click:function(t){e.open1=!1,e.submitForm(5)}}},[e._v("确 定")])],1)],1)],1)},r=[];function s(e){return s="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}a("a450");var o={props:{info:{},show_head:!1,show_record:!1},data:function(){return{from:"",name:"",desc:"",list:[],form:{},examine_result:{},review_result:{},rules:{},role:"",uid:"",review_remark:"",review_attach:[],reback_remark:"",reback_attach:[],title:"申请复检原因",open:!1,open1:!1,loading:!0}},watch:{info:{handler:function(e){console.log(2333),this.form={},this.role=localStorage.getItem("role"),this.show_head?this.setData(e.widget):(this.name=e.name,this.desc=e.desc,this.setData(JSON.parse(e.widget)))},deep:!0}},methods:{setData:function(e){for(var t={},a=this.form,l=this.examine_result,r={},o=0;o1?this.$set(l,e[o].label,e[o].examine_result):this.$set(l,e[o].label,""),3==this.info.post_status&&this.$set(r,e[o].label,""),"checkbox"!=e[o].type&&"image"!=e[o].type&&"file"!=e[o].type||this.$set(a,e[o].label,[]),t[e[o].label]=[{required:!0,message:e[o].placeholder,trigger:"blur"}],e[o].result&&(this.$set(a,e[o].label,e[o].result),"radio"==e[o].type&&"object"==s(e[o].result)&&this.$set(a,e[o].label,e[o].result[0])),"group"==e[o].type)for(var i=e[o].children,n=0;n1?this.$set(l,i[n].label+"("+e[o].label+")",i[n].examine_result):this.$set(l,i[n].label+"("+e[o].label+")",""),3==this.info.post_status&&this.$set(r,i[n].label+"("+e[o].label+")","");this.form=a,this.examine_result=l,this.review_result=r,this.rules=t,this.list=e,console.log(a)},handleEnd:function(){this.loading.close()},handleStart:function(){this.loading=this.$loading({lock:!0,text:"正在上传",spinner:"el-icon-loading",background:"rgba(0, 0, 0, 0)"})},handleRemove:function(e,t,a){for(var l=[],r=0;r=2&&(l.examine_result=t.examine_result),e>=4&&(l.review_result=t.review_result,l.review_remark=t.info.review_remark,l.review_attach=t.info.review_attach,l.reback_remark=t.reback_remark,l.reback_attach=t.reback_attach),3==e&&(l.review_remark=t.review_remark,l.review_attach=t.review_attach),console.log(l),setTimeout((function(){t.$emit("post",l)}),100)}}))}},mounted:function(){this.from=this.$route.query.from,this.role=localStorage.getItem("role"),this.show_head?this.setData(this.info.widget):(this.name=this.info.name,this.desc=this.info.desc,this.setData(JSON.parse(this.info.widget))),this.uid=localStorage.getItem("uid")}},i=o,n=(a("dfe0"),a("5d22")),c=Object(n["a"])(i,l,r,!1,null,null,null);t["a"]=c.exports},a313:function(e,t,a){"use strict";a.r(t);var l=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{staticClass:"tjfx"},[a("el-breadcrumb",{attrs:{separator:"/"}},[a("el-breadcrumb-item",[e._v("审读管理")]),a("el-breadcrumb-item",[e._v("四封审读")]),a("el-breadcrumb-item",[e._v(e._s(e.data.name))])],1),a("div",{staticClass:"content"},[a("el-button",{attrs:{type:"text"},on:{click:function(t){return e.$router.go(-1)}}},[e._v("返回")]),e.text?a("h1",{staticClass:"sh_title",staticStyle:{margin:"10vh 0"}},[e._v(e._s(e.text))]):e._e(),e.data.id?a("h1",{staticClass:"sh_title"},[e._v(e._s(e.data.name))]):e._e(),e.data.id?a("el-row",{staticStyle:{padding:"10px"}},[a("el-col",{staticStyle:{background:"#f5f5f5",padding:"10px"},attrs:{span:6}},[e._v("\r\n 期刊名称: "+e._s(e.data.journal)),a("br"),a("br"),e._v("\r\n 期刊负责人: "+e._s(e.data.journaluser_realname)),a("br"),a("br"),e._v("\r\n 负责人电话:"+e._s(e.data.journaluser_phone)),a("br"),a("br"),a("b",[e._v("审读工作流程:")]),a("br"),a("br"),e.data.workflow_records?a("div",{style:"height:"+100*e.data.workflow_records.length+"px"},[a("el-timeline",e._l(e.data.workflow_records,(function(t,l){return a("el-timeline-item",{key:l,class:e.flow_index==l?"active":"",staticStyle:{cursor:"pointer"},attrs:{color:t.color,timestamp:t.ctime},nativeOn:{click:function(a){return e.step(t.record_id,l)}}},[e._v("\r\n "+e._s(t.desc)+"\r\n ")])})),1)],1):e._e()]),a("el-col",{staticClass:"wj",attrs:{span:18}},[e.data.journal_fourface?a("div",[a("p",[e._v(e._s(e.data.journal)+"四封图片:")]),a("br"),e.data.journal_fourface?a("ul",e._l(e.data.journal_fourface,(function(t,l){return a("li",{key:l},[a("el-image",{staticStyle:{width:"100px"},attrs:{src:t,"preview-src-list":e.data.journal_fourface}}),a("br"),e._v("\r\n "+e._s(e.word[l])+"\r\n ")],1)})),0):e._e()]):e._e(),1==e.role&&0==e.data.post_status?a("div",[a("p",[e._v("上传期刊四封图片:")]),a("br"),a("el-upload",{attrs:{action:"/api/admin/uploadfile","list-type":"picture-card","on-success":e.imageChange,"on-remove":function(t,a){return e.handleRemove(t,a)}}},[a("i",{staticClass:"el-icon-plus"})])],1):e._e(),a("temp",{ref:"temp",attrs:{show_record:e.show_record,show_head:!0,info:e.data},on:{post:e.post}})],1)],1):e._e()],1)],1)},r=[],s=a("78c3"),o={components:{temp:s["a"]},data:function(){return{text:"",active:0,title:"申请复检原因",word:["一","二","三","四"],open:!1,query:{record_id:-1},list:[],form:{name:""},progress:1,data:{},journal_fourface:[],role:"",review_remark:"",review_attach:"",show_record:!1,flow_index:999,url:"https://tederen.oss-cn-shanghai.aliyuncs.com/Axure/zhongkeyuan/03_2021/sifengshendu_04_jb/images/%E9%A2%84%E8%A7%88%E5%B0%81%E5%9B%9B1/u2979.jpg",img_list:["https://tederen.oss-cn-shanghai.aliyuncs.com/Axure/zhongkeyuan/03_2021/sifengshendu_04_jb/images/%E9%A2%84%E8%A7%88%E5%B0%81%E5%9B%9B1/u2979.jpg"]}},methods:{step:function(e,t){this.flow_index=t,this.query.record_id=e,this.getData(1);var a=this.data.workflow_records.length-1;this.data.workflow_records[a].record_id==e?this.show_record=!1:this.show_record=!0},handleRemove:function(e,t){for(var a=[],l=0;l0?e.journal_fourface=this.data.journal_fourface:e.journal_fourface=this.journal_fourface,this.$api.addWorkflow(e).then((function(e){0==e.data.code?(t.$message({message:"操作成功!",type:"success"}),t.$router.go(-1)):t.$message.error(e.data.message)}))}},mounted:function(){this.$route.query.id&&(this.query.id=this.$route.query.id,this.getData())},created:function(){this.role=localStorage.getItem("role")}},i=o,n=(a("a9ab"),a("5d22")),c=Object(n["a"])(i,l,r,!1,null,null,null);t["default"]=c.exports},a450:function(e,t,a){var l=a("bb8b").f,r=Function.prototype,s=/^\s*function ([^ (]*)/,o="name";o in r||a("26df")&&l(r,o,{configurable:!0,get:function(){try{return(""+this).match(s)[1]}catch(e){return""}}})},a9ab:function(e,t,a){"use strict";a("c8a8")},c8a8:function(e,t,a){},dfe0:function(e,t,a){"use strict";a("4136")}}]); //# sourceMappingURL=chunk-65de3519.1beb5e37.js.map