(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-65e3cb02"],{"0353":function(e,t,a){"use strict";var n=a("6bf8"),i=RegExp.prototype.exec,r=String.prototype.replace,s=i,l="lastIndex",o=function(){var e=/a/,t=/b*/g;return i.call(e,"a"),i.call(t,"a"),0!==e[l]||0!==t[l]}(),c=void 0!==/()??/.exec("")[1],u=o||c;u&&(s=function(e){var t,a,s,u,p=this;return c&&(a=new RegExp("^"+p.source+"$(?!\\s)",n.call(p))),o&&(t=p[l]),s=i.call(p,e),o&&s&&(p[l]=p.global?s.index+s[0].length:t),c&&s&&s.length>1&&r.call(s[0],a,(function(){for(u=1;u=c?e?"":void 0:(r=l.charCodeAt(o),r<55296||r>56319||o+1===c||(s=l.charCodeAt(o+1))<56320||s>57343?e?l.charAt(o):r:e?l.slice(o,o+2):s-56320+(r-55296<<10)+65536)}}},2391:function(e,t,a){"use strict";a("3f93")},"27cd":function(e,t,a){"use strict";var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{staticClass:"person"},[a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:12}},["examiner_leader"!=e.cur?a("el-button",{staticStyle:{float:"right","margin-top":"5px"},attrs:{size:"mini",type:"info"},on:{click:e.all}},[e._v("全选")]):e._e(),"examiner"==e.cur?a("p",{staticClass:"title"},[e._v("专家库")]):a("p",{staticClass:"title"},[e._v("接收者")]),a("el-input",{attrs:{placeholder:"搜索","suffix-icon":"el-icon-search"},on:{input:e.getData},model:{value:e.query.realname,callback:function(t){e.$set(e.query,"realname",t)},expression:"query.realname"}}),a("ul",{staticClass:"people"},e._l(e.list,(function(t,n){return a("li",{key:n,on:{click:function(a){t.checked=!t.checked,e.id=t.id}}},[t.avatar?a("img",{attrs:{src:t.avatar,alt:""}}):e._e(),t.realname?a("font",[e._v(e._s(t.realname))]):a("font",[e._v(e._s(t.name))]),t.college?a("span",[e._v(e._s(t.college))]):e._e(),t.journal?a("span",[e._v(e._s(t.journal))]):e._e(),"examiner_leader"==e.cur?a("el-radio",{attrs:{label:t.id},model:{value:e.id,callback:function(t){e.id=t},expression:"id"}},[e._v(" ")]):a("el-checkbox",{model:{value:t.checked,callback:function(a){e.$set(t,"checked",a)},expression:"item.checked"}})],1)})),0)],1),"examiner_leader"!=e.cur?a("el-col",{attrs:{span:12}},[a("p",{staticClass:"title",staticStyle:{"margin-bottom":"50px"}},[e._v("已选 "),a("el-button",{staticStyle:{float:"right","margin-top":"5px"},attrs:{size:"mini",type:"info"},on:{click:e.clear}},[e._v("清除")])],1),a("ul",{staticClass:"people"},[e._l(e.list,(function(t,n){return[t.checked?a("li",{key:n},[t.avatar?a("img",{attrs:{src:t.avatar,alt:""}}):e._e(),t.realname?a("font",[e._v(e._s(t.realname))]):a("font",[e._v(e._s(t.name))]),t.college?a("span",[e._v(e._s(t.college))]):e._e(),t.journal?a("span",[e._v(e._s(t.journal))]):e._e(),a("i",{staticClass:"el-icon-error",on:{click:function(e){t.checked=!1}}})],1):e._e()]}))],2)]):e._e()],1)],1)},i=[],r=(a("fc02"),{props:{type:"",cur:"",cur_data:""},data:function(){return{search:"",query:{realname:""},checked:"",list:[],id:4,ids:[]}},watch:{type:function(e){this.id="",this.getData()},cur:function(e){this.id="",this.getData()},cur_data:function(e){e&&(console.log(e),"examiner_leader"==this.cur?this.id=parseInt(e):this.ids=e.split(","),this.getData())}},methods:{getData:function(){var e=this;1==this.type?this.$api.searchExamineList(this.query).then((function(t){var a=t.data.data;a=a||[];for(var n=0;n=0?a[n].checked=!0:a[n].checked=!1;e.list=a})):this.$api.receiverList(this.query).then((function(t){var a=t.data.data;a=a||[],console.log(a);for(var n=0;n=0?a[n].checked=!0:a[n].checked=!1;e.list=a}))},all:function(){for(var e=this.list,t=0;t0&&("examiner_leader"==this.cur?this.id=parseInt(this.cur_data):this.ids=this.cur_data.split(",")),this.getData()}}),s=r,l=(a("f5bc"),a("5d22")),o=Object(l["a"])(s,n,i,!1,null,null,null);t["a"]=o.exports},"2f9b":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{staticClass:"sf"},[a("el-breadcrumb",{attrs:{separator:"/"}},[a("el-breadcrumb-item",[e._v("审读管理")]),a("el-breadcrumb-item",{nativeOn:{click:function(t){return e.$router.go(-1)}}},[e._v("四封审读分配")]),a("el-breadcrumb-item",[e._v("分配列表")])],1),a("div",{staticClass:"content"},[a("el-tabs",{on:{"tab-click":e.getData},model:{value:e.query.assign_status,callback:function(t){e.$set(e.query,"assign_status",t)},expression:"query.assign_status"}},[a("el-tab-pane",{attrs:{label:"全部",name:"0"}}),a("el-tab-pane",{attrs:{label:"未分配",name:"1"}}),a("el-tab-pane",{attrs:{label:"已分配",name:"2"}})],1),a("div",{staticClass:"filter"},[a("el-form",{attrs:{size:"small","label-width":"70px",inline:!0,"label-position":"left"}},[a("el-form-item",{attrs:{label:""}},[a("el-input",{staticClass:"input-with-select",attrs:{placeholder:"请输入"},model:{value:e.query.name,callback:function(t){e.$set(e.query,"name",t)},expression:"query.name"}},[a("el-select",{staticStyle:{width:"90px"},attrs:{slot:"prepend",placeholder:"请选择",clearable:""},slot:"prepend",model:{value:e.query.type,callback:function(t){e.$set(e.query,"type",t)},expression:"query.type"}},[a("el-option",{attrs:{label:"标题",value:"name"}}),a("el-option",{attrs:{label:"期刊名称",value:"journal"}}),a("el-option",{attrs:{label:"所属机构",value:"journal_organizer"}})],1),a("el-button",{attrs:{slot:"append",icon:"el-icon-search"},on:{click:e.getData},slot:"append"})],1)],1),a("el-form-item",[a("el-select",{staticStyle:{width:"100px"},attrs:{clearable:"",placeholder:"填报状态"},on:{change:e.getData},model:{value:e.query.post_status,callback:function(t){e.$set(e.query,"post_status",t)},expression:"query.post_status"}},[a("el-option",{attrs:{label:"未填报",value:"0"}}),a("el-option",{attrs:{label:"已填报",value:"1"}}),a("el-option",{attrs:{label:"已完成",value:"2,4"}}),a("el-option",{attrs:{label:"已退回",value:5}})],1)],1),a("el-form-item",[a("el-select",{staticStyle:{width:"100px"},attrs:{clearable:"",placeholder:"任务分配"},on:{change:e.getData},model:{value:e.query.assign_user_id,callback:function(t){e.$set(e.query,"assign_user_id",t)},expression:"query.assign_user_id"}},e._l(e.expert_list,(function(e,t){return a("el-option",{key:t,attrs:{label:e.realname,value:e.id}})})),1)],1),e.ids.length>0?a("el-form-item",{staticStyle:{float:"right"}},[a("el-button",{attrs:{type:"info"},on:{click:function(t){e.ids=[]}}},[e._v("取消")]),a("el-button",{attrs:{type:"success"},on:{click:function(t){e.open=!0,e.title="批量分配"}}},[e._v("批量分配")])],1):e._e()],1)],1),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticStyle:{width:"100%"},attrs:{data:e.list,height:"59vh"},on:{"selection-change":e.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",label:"全选",width:"55"}}),a("el-table-column",{attrs:{align:"center",width:"200",label:"期刊名称",prop:"journal"}}),a("el-table-column",{attrs:{align:"center",label:"主办单位",prop:"journal_organizer"}}),a("el-table-column",{attrs:{align:"center",label:"编辑部负责人",width:"150",prop:"journaluser_realname"}}),a("el-table-column",{attrs:{align:"center",label:"状态",prop:""},scopedSlots:e._u([{key:"default",fn:function(t){return[0==t.row.post_status?a("el-tag",{attrs:{type:"info"}},[e._v("未填报")]):e._e(),1==t.row.post_status?a("el-tag",[e._v("已填报")]):e._e(),2==t.row.post_status||4==t.row.post_status?a("el-tag",{attrs:{type:"success"}},[e._v("已完成")]):e._e(),5==t.row.post_status?a("el-tag",{attrs:{type:"danger"}},[e._v("退回重填")]):e._e(),3==t.row.post_status&&2==e.role?a("el-tag",{attrs:{type:"warning"}},[e._v("申请复检")]):e._e(),3==t.row.post_status&&3==e.role?a("el-tag",{attrs:{type:"warning"}},[e._v("待复检")]):e._e(),3==t.row.post_status&&0==e.role?a("el-tag",{attrs:{type:"warning"}},[e._v("待复检")]):e._e()]}}])}),a("el-table-column",{attrs:{align:"center",width:"200",label:"填报时间",prop:"ctime"}}),a("el-table-column",{attrs:{label:"任务分配",width:"230",fixed:"right",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[0==t.row.post_status||!t.row.assign_user_id&&1==t.row.post_status?a("el-select",{staticStyle:{width:"150px"},attrs:{placeholder:"请选择"},on:{change:function(a){return e.assign(t.row)}},model:{value:t.row.assign_user_id,callback:function(a){e.$set(t.row,"assign_user_id",a)},expression:"scope.row.assign_user_id"}},e._l(e.expert_list,(function(e,t){return a("el-option",{key:t,attrs:{label:e.realname,value:e.id}})})),1):a("el-select",{staticStyle:{width:"150px"},attrs:{disabled:"",placeholder:"请选择"},on:{change:function(a){return e.assign(t.row)}},model:{value:t.row.assign_user_id,callback:function(a){e.$set(t.row,"assign_user_id",a)},expression:"scope.row.assign_user_id"}},e._l(e.expert_list,(function(e,t){return a("el-option",{key:t,attrs:{label:e.realname,value:e.id}})})),1)]}}])}),a("el-table-column",{attrs:{label:"操作",width:"150",fixed:"right",align:"center",prop:"createAt"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(a){return e.$router.push({path:"/leader/detail",query:{id:t.row.id}})}}},[e._v("查看")]),0==t.row.post_status?a("el-button",{attrs:{type:"danger",size:"mini"},on:{click:e.urg}},[e._v("催办")]):e._e()]}}])})],1),a("Page",{ref:"pageButton",attrs:{current:e.query.page,page_size:e.query.page_size,total:e.total},on:{pageChange:e.gopage}})],1),a("el-dialog",{attrs:{"close-on-click-modal":!1,title:e.title,visible:e.open,width:"500px","append-to-body":""},on:{"update:visible":function(t){e.open=t}}},[a("el-form",{ref:"form",attrs:{model:e.form,rules:e.rules,"label-width":"120px"}},[a("el-form-item",{attrs:{label:"选择专家"}},[a("el-select",{attrs:{clearable:"",placeholder:"请选择"},model:{value:e.assign_user_id,callback:function(t){e.assign_user_id=t},expression:"assign_user_id"}},e._l(e.expert_list,(function(e,t){return a("el-option",{key:t,attrs:{label:e.realname,value:e.id}})})),1)],1)],1),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{attrs:{size:"small",type:"primary"},on:{click:e.submitForm}},[e._v("确 定")])],1)],1),a("el-dialog",{attrs:{title:e.title,"close-on-click-modal":!1,visible:e.open1,width:"800px"},on:{"update:visible":function(t){e.open1=t}}},[a("person"),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{attrs:{size:"small",type:"primary"},on:{click:function(t){e.open1=!1}}},[e._v("确 定")])],1)],1)],1)},i=[],r=a("9973"),s=a("27cd"),l={components:{person:s["a"],Page:r["a"]},data:function(){return{assign_user_id:"",loading:!1,activeName:0,total:0,query:{page:1,page_size:10,type:"name"},form:{},list:[{}],open:!1,open1:!1,title:"批量分配",rules:{name:[{required:!0,message:"标题不能为空",trigger:"blur"}]},role:"",expert_list:[],isall:0,ids:[]}},methods:{gopage:function(e){e&&(this.query.page_size=e),this.query.page=this.$refs.pageButton.page,this.getData()},handleSelectionChange:function(e){this.ids=e,console.log(e)},urg:function(){this.$confirm("催办后将向用户绑定的手机号发送一条短信提醒,确认催办?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){}))},submitForm:function(){if(this.assign_user_id){for(var e=[],t=0;t")})),p=function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var a="ab".split(e);return 2===a.length&&"a"===a[0]&&"b"===a[1]}();e.exports=function(e,t,a){var d=l(e),g=!r((function(){var t={};return t[d]=function(){return 7},7!=""[e](t)})),h=g?!r((function(){var t=!1,a=/a/;return a.exec=function(){return t=!0,null},"split"===e&&(a.constructor={},a.constructor[c]=function(){return a}),a[d](""),!t})):void 0;if(!g||!h||"replace"===e&&!u||"split"===e&&!p){var f=/./[d],_=a(s,d,""[e],(function(e,t,a,n,i){return t.exec===o?g&&!i?{done:!0,value:f.call(t,a,n)}:{done:!0,value:e.call(a,t,n)}:{done:!1}})),v=_[0],m=_[1];n(String.prototype,e,v),i(RegExp.prototype,d,2==t?function(e,t){return m.call(e,this,t)}:function(e){return m.call(e,this)})}}},f417:function(e,t,a){"use strict";var n=a("d445"),i=RegExp.prototype.exec;e.exports=function(e,t){var a=e.exec;if("function"===typeof a){var r=a.call(e,t);if("object"!==typeof r)throw new TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==n(e))throw new TypeError("RegExp#exec called on incompatible receiver");return i.call(e,t)}},f5bc:function(e,t,a){"use strict";a("af18")},fc02:function(e,t,a){"use strict";var n=a("804d"),i=a("a86f"),r=a("1b0b"),s=a("43ec"),l=a("201c"),o=a("f417"),c=a("0353"),u=a("0926"),p=Math.min,d=[].push,g="split",h="length",f="lastIndex",_=4294967295,v=!u((function(){RegExp(_,"y")}));a("c46f")("split",2,(function(e,t,a,u){var m;return m="c"=="abbc"[g](/(b)*/)[1]||4!="test"[g](/(?:)/,-1)[h]||2!="ab"[g](/(?:ab)*/)[h]||4!="."[g](/(.?)(.?)/)[h]||"."[g](/()()/)[h]>1||""[g](/.?/)[h]?function(e,t){var i=String(this);if(void 0===e&&0===t)return[];if(!n(e))return a.call(i,e,t);var r,s,l,o=[],u=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),p=0,g=void 0===t?_:t>>>0,v=new RegExp(e.source,u+"g");while(r=c.call(v,i)){if(s=v[f],s>p&&(o.push(i.slice(p,r.index)),r[h]>1&&r.index=g))break;v[f]===r.index&&v[f]++}return p===i[h]?!l&&v.test("")||o.push(""):o.push(i.slice(p)),o[h]>g?o.slice(0,g):o}:"0"[g](void 0,0)[h]?function(e,t){return void 0===e&&0===t?[]:a.call(this,e,t)}:a,[function(a,n){var i=e(this),r=void 0==a?void 0:a[t];return void 0!==r?r.call(a,i,n):m.call(String(i),a,n)},function(e,t){var n=u(m,e,this,t,m!==a);if(n.done)return n.value;var c=i(e),d=String(this),g=r(c,RegExp),h=c.unicode,f=(c.ignoreCase?"i":"")+(c.multiline?"m":"")+(c.unicode?"u":"")+(v?"y":"g"),b=new g(v?c:"^(?:"+c.source+")",f),y=void 0===t?_:t>>>0;if(0===y)return[];if(0===d.length)return null===o(b,d)?[d]:[];var x=0,w=0,k=[];while(w