(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-cd265f34"],{"0353":function(e,t,r){"use strict";var a=r("6bf8"),o=RegExp.prototype.exec,i=String.prototype.replace,n=o,s="lastIndex",l=function(){var e=/a/,t=/b*/g;return o.call(e,"a"),o.call(t,"a"),0!==e[s]||0!==t[s]}(),c=void 0!==/()??/.exec("")[1],u=l||c;u&&(n=function(e){var t,r,n,u,f=this;return c&&(r=new RegExp("^"+f.source+"$(?!\\s)",a.call(f))),l&&(t=f[s]),n=o.call(f,e),l&&n&&(f[s]=f.global?n.index+n[0].length:t),c&&n&&n.length>1&&i.call(n[0],r,(function(){for(u=1;u=c?e?"":void 0:(i=s.charCodeAt(l),i<55296||i>56319||l+1===c||(n=s.charCodeAt(l+1))<56320||n>57343?e?s.charAt(l):i:e?s.slice(l,l+2):n-56320+(i-55296<<10)+65536)}}},4136:function(e,t,r){},"43ec":function(e,t,r){"use strict";var a=r("1663")(!0);e.exports=function(e,t,r){return t+(r?a(e,t).length:1)}},"6bf8":function(e,t,r){"use strict";var a=r("a86f");e.exports=function(){var e=a(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},"78c3":function(e,t,r){"use strict";var a=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{staticClass:"model"},[e.show_head?e._e():a("img",{staticClass:"survey_logo",attrs:{height:"50",src:r("8278"),alt:""}}),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,r){return a("el-form-item",{key:r,attrs:{prop:t.label}},[a("label",{staticClass:"el-form-item__label"},[a("span",{staticClass:"x"},[e._v("*")]),e._v(" "+e._s(r+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(r){e.$set(e.form,t.label,r)},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(r){e.$set(e.form,t.label,r)},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(r){e.$set(e.form,t.label,r)},expression:"form[item.label]"}},e._l(t.items,(function(e,t){return a("el-radio",{key:r+""+t,attrs:{label:e.label}})})),1)]:e._e(),"checkbox"==t.type?[a("el-checkbox-group",{attrs:{disabled:e.info.post_status>1},model:{value:e.form[t.label],callback:function(r){e.$set(e.form,t.label,r)},expression:"form[item.label]"}},e._l(t.items,(function(e,t){return a("el-checkbox",{key:r+""+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(r){return e.imageChange(t.label,r)},"on-remove":function(r,a){return e.handleRemove(t.label,r,a)}}},[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(r){e.$set(e.examine_result,t.label,r)},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&&e.info.post_status>1&&e.info.post_status<5&&null!=t.examine_result?a("div",{staticClass:"result"},[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()],2)})),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.length>0?a("p",[a("i",{staticClass:"el-icon-link"}),e._v(" 附件:\n "),e._l(e.review_attach,(function(t,r){return a("a",{key:r,attrs:{href:t}},[e._v(e._s(t))])}))],2):e._e()]):e._e(),a("div",{directives:[{name:"show",rawName:"v-show",value:!e.show_record,expression:"!show_record"}]},[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?a("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.submitForm(4)}}},[e._v("复检完成")]):e._e(),3==e.info.post_status?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-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-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.open=!1}}},[e._v("取 消")]),a("el-button",{attrs:{size:"small",type:"primary"},on:{click:function(t){e.open=!1,e.submitForm(5)}}},[e._v("确 定")])],1)],1)],1)},o=[];function i(e){return i="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},i(e)}r("fc02"),r("a450");var n={props:{info:{},show_head:!1,show_record:!1},data:function(){return{name:"",desc:"",list:[],form:{},examine_result:{},rules:{},role:"",review_remark:"",review_attach:[],reback_remark:"",reback_attach:[],title:"申请复检原因",open:!1,open1:!1}},watch:{info:function(e){this.role=localStorage.getItem("role"),this.show_head?this.setData(e.widget):(this.name=e.name,this.desc=e.desc,this.setData(this.JSON.parse(e.widget)))}},methods:{setData:function(e){var t={},r=this.form,a=this.examine_result;e.review_attach&&(this.review_attach=e.review_attach.split(","));for(var o=0;o1?this.$set(a,e[o].label,e[o].examine_result):this.$set(a,e[o].label,""),"checkbox"!=e[o].type&&"image"!=e[o].type&&"file"!=e[o].type||this.$set(r,e[o].label,[]),t[e[o].label]=[{required:!0,message:e[o].placeholder,trigger:"blur"}],e[o].result&&(this.$set(r,e[o].label,e[o].result),"radio"==e[o].type&&"object"==i(e[o].result)&&this.$set(r,e[o].label,e[o].result[0]));this.form=r,console.log(r),this.examine_result=a,this.rules=t,this.list=e},handleRemove:function(e,t,r){for(var a=[],o=0;o=2&&(a.examine_result=t.examine_result),3==e&&(a.review_remark=t.review_remark,a.review_attach=t.review_attach.join(",")),t.$emit("post",a)}}))}},mounted:function(){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)))}},s=n,l=(r("dfe0"),r("5d22")),c=Object(l["a"])(s,a,o,!1,null,null,null);t["a"]=c.exports},"7df1":function(e,t,r){"use strict";r("9291")},"804d":function(e,t,r){var a=r("9cff"),o=r("cea2"),i=r("839a")("match");e.exports=function(e){var t;return a(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==o(e))}},8278:function(e,t,r){e.exports=r.p+"img/survey_logo.35b6a4b4.png"},9291:function(e,t,r){},a450:function(e,t,r){var a=r("bb8b").f,o=Function.prototype,i=/^\s*function ([^ (]*)/,n="name";n in o||r("26df")&&a(o,n,{configurable:!0,get:function(){try{return(""+this).match(i)[1]}catch(e){return""}}})},bf73:function(e,t,r){"use strict";var a=r("0353");r("e99b")({target:"RegExp",proto:!0,forced:a!==/./.exec},{exec:a})},c46f:function(e,t,r){"use strict";r("bf73");var a=r("84e8"),o=r("065d"),i=r("0926"),n=r("3ab0"),s=r("839a"),l=r("0353"),c=s("species"),u=!i((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$")})),f=function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var r="ab".split(e);return 2===r.length&&"a"===r[0]&&"b"===r[1]}();e.exports=function(e,t,r){var p=s(e),d=!i((function(){var t={};return t[p]=function(){return 7},7!=""[e](t)})),h=d?!i((function(){var t=!1,r=/a/;return r.exec=function(){return t=!0,null},"split"===e&&(r.constructor={},r.constructor[c]=function(){return r}),r[p](""),!t})):void 0;if(!d||!h||"replace"===e&&!u||"split"===e&&!f){var _=/./[p],m=r(n,p,""[e],(function(e,t,r,a,o){return t.exec===l?d&&!o?{done:!0,value:_.call(t,r,a)}:{done:!0,value:e.call(r,t,a)}:{done:!1}})),v=m[0],b=m[1];a(String.prototype,e,v),o(RegExp.prototype,p,2==t?function(e,t){return b.call(e,this,t)}:function(e){return b.call(e,this)})}}},c542:function(e,t,r){"use strict";r.r(t);var a=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("section",{staticClass:"tjfx"},[r("el-breadcrumb",{attrs:{separator:"/"}},[r("el-breadcrumb-item",[e._v("审读管理")]),r("el-breadcrumb-item",[e._v("四封审读")]),r("el-breadcrumb-item",[e._v(e._s(e.data.name))])],1),e.data.id?r("div",{staticClass:"content"},[r("el-button",{attrs:{type:"text"},on:{click:function(t){return e.$router.go(-1)}}},[e._v("返回")]),r("h1",{staticClass:"sh_title"},[e._v(e._s(e.data.name))]),r("el-row",{staticStyle:{padding:"10px"}},[r("el-col",{staticStyle:{background:"#f5f5f5",padding:"10px"},attrs:{span:6}},[e._v("\n 期刊名称: "+e._s(e.data.journal)),r("br"),r("br"),e._v("\n 期刊负责人: "+e._s(e.data.journaluser_realname)),r("br"),r("br"),e._v("\n 负责人电话:"+e._s(e.data.journaluser_phone)),r("br"),r("br"),r("b",[e._v("审读工作流程:")]),r("br"),r("br"),e.data.workflow_records?r("div",{style:"height:"+100*e.data.workflow_records.length+"px"},[r("el-timeline",e._l(e.data.workflow_records,(function(t,a){return r("el-timeline-item",{key:a,staticStyle:{cursor:"pointer"},attrs:{color:t.color,timestamp:t.ctime},nativeOn:{click:function(r){return e.step(t.record_id,a)}}},[e._v("\n "+e._s(t.desc)+"\n ")])})),1)],1):e._e()]),r("el-col",{staticClass:"wj",attrs:{span:18}},[e.data.journal_fourface?r("div",[r("p",[e._v(e._s(e.data.journal)+"四封图片:")]),r("br"),e.data.journal_fourface?r("ul",e._l(e.data.journal_fourface,(function(t,a){return r("li",{key:a},[r("el-image",{staticStyle:{width:"100px"},attrs:{src:t,"preview-src-list":e.data.journal_fourface}}),r("br"),e._v("\n 封 "+e._s(e.word[a])+"\n ")],1)})),0):e._e()]):e._e(),1==e.role&&0==e.data.post_status?r("div",[r("p",[e._v("上传期刊四封图片:")]),r("br"),r("el-upload",{attrs:{action:"/api/admin/uploadfile","list-type":"picture-card","on-success":e.imageChange,"on-remove":function(t,r){return e.handleRemove(t,r)}}},[r("i",{staticClass:"el-icon-plus"})])],1):e._e(),r("temp",{ref:"temp",attrs:{show_record:e.show_record,show_head:!0,info:e.data},on:{post:e.post}})],1)],1)],1):e._e()],1)},o=[],i=r("78c3"),n={components:{temp:i["a"]},data:function(){return{active:0,title:"申请复检原因",word:["一","二","三","四"],open:!1,query:{record_id:""},list:[],form:{name:""},progress:1,data:{},journal_fourface:[],role:"",review_remark:"",review_attach:"",show_record:!1,flow_index:0,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(),this.data.workflow_records[0].record_id==e?this.show_record=!1:this.show_record=!0},handleRemove:function(e,t){for(var r=[],a=0;a0?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")}},s=n,l=(r("7df1"),r("5d22")),c=Object(l["a"])(s,a,o,!1,null,null,null);t["default"]=c.exports},dfe0:function(e,t,r){"use strict";r("4136")},f417:function(e,t,r){"use strict";var a=r("d445"),o=RegExp.prototype.exec;e.exports=function(e,t){var r=e.exec;if("function"===typeof r){var i=r.call(e,t);if("object"!==typeof i)throw new TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==a(e))throw new TypeError("RegExp#exec called on incompatible receiver");return o.call(e,t)}},fc02:function(e,t,r){"use strict";var a=r("804d"),o=r("a86f"),i=r("1b0b"),n=r("43ec"),s=r("201c"),l=r("f417"),c=r("0353"),u=r("0926"),f=Math.min,p=[].push,d="split",h="length",_="lastIndex",m=4294967295,v=!u((function(){RegExp(m,"y")}));r("c46f")("split",2,(function(e,t,r,u){var b;return b="c"=="abbc"[d](/(b)*/)[1]||4!="test"[d](/(?:)/,-1)[h]||2!="ab"[d](/(?:ab)*/)[h]||4!="."[d](/(.?)(.?)/)[h]||"."[d](/()()/)[h]>1||""[d](/.?/)[h]?function(e,t){var o=String(this);if(void 0===e&&0===t)return[];if(!a(e))return r.call(o,e,t);var i,n,s,l=[],u=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),f=0,d=void 0===t?m:t>>>0,v=new RegExp(e.source,u+"g");while(i=c.call(v,o)){if(n=v[_],n>f&&(l.push(o.slice(f,i.index)),i[h]>1&&i.index=d))break;v[_]===i.index&&v[_]++}return f===o[h]?!s&&v.test("")||l.push(""):l.push(o.slice(f)),l[h]>d?l.slice(0,d):l}:"0"[d](void 0,0)[h]?function(e,t){return void 0===e&&0===t?[]:r.call(this,e,t)}:r,[function(r,a){var o=e(this),i=void 0==r?void 0:r[t];return void 0!==i?i.call(r,o,a):b.call(String(o),r,a)},function(e,t){var a=u(b,e,this,t,b!==r);if(a.done)return a.value;var c=o(e),p=String(this),d=i(c,RegExp),h=c.unicode,_=(c.ignoreCase?"i":"")+(c.multiline?"m":"")+(c.unicode?"u":"")+(v?"y":"g"),g=new d(v?c:"^(?:"+c.source+")",_),y=void 0===t?m:t>>>0;if(0===y)return[];if(0===p.length)return null===l(g,p)?[p]:[];var w=0,x=0,k=[];while(x