chunk-54b05b2e.b5f0c6e4.js 16 KB

12
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-54b05b2e"],{"0353":function(e,t,a){"use strict";var n=a("6bf8"),l=RegExp.prototype.exec,i=String.prototype.replace,r=l,o="lastIndex",c=function(){var e=/a/,t=/b*/g;return l.call(e,"a"),l.call(t,"a"),0!==e[o]||0!==t[o]}(),s=void 0!==/()??/.exec("")[1],u=c||s;u&&(r=function(e){var t,a,r,u,p=this;return s&&(a=new RegExp("^"+p.source+"$(?!\\s)",n.call(p))),c&&(t=p[o]),r=l.call(p,e),c&&r&&(p[o]=p.global?r.index+r[0].length:t),s&&r&&r.length>1&&i.call(r[0],a,(function(){for(u=1;u<arguments.length-2;u++)void 0===arguments[u]&&(r[u]=void 0)})),r}),e.exports=r},"129d":function(e,t,a){"use strict";a("a210")},1663:function(e,t,a){var n=a("212e"),l=a("3ab0");e.exports=function(e){return function(t,a){var i,r,o=String(l(t)),c=n(a),s=o.length;return c<0||c>=s?e?"":void 0:(i=o.charCodeAt(c),i<55296||i>56319||c+1===s||(r=o.charCodeAt(c+1))<56320||r>57343?e?o.charAt(c):i:e?o.slice(c,c+2):r-56320+(i-55296<<10)+65536)}}},"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)},l=[],i=(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<a.length;n++)e.ids&&e.ids.indexOf(String(a[n].id))>=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<a.length;n++)e.ids&&e.ids.indexOf(String(a[n].id))>=0?a[n].checked=!0:a[n].checked=!1;e.list=a}))},all:function(){for(var e=this.list,t=0;t<e.length;t++)this.$set(e[t],"checked",!0);this.list=e},clear:function(){for(var e=this.list,t=0;t<e.length;t++)this.$set(e[t],"checked",!1);this.list=e},submitForm:function(){for(var e,t=this.list,a=[],n=[],l=0;l<t.length;l++)t[l].checked&&(a.push(t[l].id),n.push(t[l].realname)),t[l].id==this.id&&(e=t[l].realname);return"examiner_leader"==this.cur?{id:String(this.id),name:e}:{id:a.join(","),name:n.join(",")}}},created:function(){this.cur_data&&this.cur_data.length>0&&("examiner_leader"==this.cur?this.id=parseInt(this.cur_data):this.ids=this.cur_data.split(",")),this.getData()}}),r=i,o=(a("f5bc"),a("5d22")),c=Object(o["a"])(r,n,l,!1,null,null,null);t["a"]=c.exports},"43ec":function(e,t,a){"use strict";var n=a("1663")(!0);e.exports=function(e,t,a){return t+(a?n(e,t).length:1)}},"6bf8":function(e,t,a){"use strict";var n=a("a86f");e.exports=function(){var e=n(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},"6fbc":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(e._s(e.groupName))])],1),a("div",{staticClass:"content"},[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:"80px"},attrs:{slot:"prepend",placeholder:"帐号"},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:""}}),a("el-option",{attrs:{label:"帐号",value:"name"}}),a("el-option",{attrs:{label:"姓名",value:"realname"}}),a("el-option",{attrs:{label:"电话",value:"phone"}})],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:"80px"},attrs:{clearable:"",placeholder:"性别"},model:{value:e.query.sex,callback:function(t){e.$set(e.query,"sex",t)},expression:"query.sex"}},[a("el-option",{attrs:{label:"男",value:"男"}}),a("el-option",{attrs:{label:"女",value:"女"}})],1)],1),a("el-form-item",[a("el-select",{staticStyle:{width:"130px"},attrs:{clearable:"",placeholder:"职称"},on:{change:e.getData},model:{value:e.query.title,callback:function(t){e.$set(e.query,"title",t)},expression:"query.title"}},[a("el-option",{attrs:{label:"编审",value:"编审"}}),a("el-option",{attrs:{label:"副编审",value:"副编审"}})],1)],1),a("el-form-item",[a("el-select",{staticStyle:{width:"130px"},attrs:{clearable:"",placeholder:"所属院所",filterable:""},on:{change:e.getData},model:{value:e.query.college,callback:function(t){e.$set(e.query,"college",t)},expression:"query.college"}},e._l(e.collegeList,(function(e,t){return a("el-option",{key:t,attrs:{label:e.name,value:e.name}})})),1)],1),a("el-form-item",[a("el-select",{staticStyle:{width:"150px"},attrs:{clearable:"",placeholder:"所属期刊",filterable:""},on:{change:e.getData},model:{value:e.query.journal,callback:function(t){e.$set(e.query,"journal",t)},expression:"query.journal"}},e._l(e.journalList,(function(e,t){return a("el-option",{key:t,attrs:{label:e.name,value:e.name}})})),1)],1),a("el-form-item",[a("el-button",{attrs:{type:"primary"},on:{click:e.getData}},[e._v("搜索")])],1)],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:{align:"center",label:"序号",prop:"",type:"index"}}),a("el-table-column",{attrs:{align:"center",label:"帐号",prop:"name"}}),a("el-table-column",{attrs:{align:"center",label:"姓名",prop:"realname"}}),a("el-table-column",{attrs:{align:"center",label:"性别",prop:"sex"}}),a("el-table-column",{attrs:{align:"center",label:"职称",prop:"title"}}),a("el-table-column",{attrs:{align:"center",label:"电话",prop:"phone"}}),a("el-table-column",{attrs:{align:"center",label:"邮箱",prop:"email",width:"180px"}}),a("el-table-column",{attrs:{align:"center",label:"角色",prop:"role"}}),a("el-table-column",{attrs:{align:"center",label:"所属单位",prop:"unit"}}),a("el-table-column",{attrs:{align:"center",label:"所属院所",prop:"college"}}),a("el-table-column",{attrs:{align:"center",label:"所属期刊",prop:"journal"}}),a("el-table-column",{attrs:{align:"center",label:"添加时间",prop:"ctime"}}),a("el-table-column",{attrs:{label:"审读工作统计",width:"120",align:"center",prop:"createAt"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{size:"mini",type:"text"},on:{click:function(a){return e.$router.push({path:"/group/analysis",query:{id:t.row.id,wsid:e.wsid}})}}},[e._v("\n 查看详情\n ")])]}}])})],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.form.sex,callback:function(t){e.$set(e.form,"sex",t)},expression:"form.sex"}},[a("el-option",{attrs:{label:"男",value:"男"}}),a("el-option",{attrs:{label:"女",value:"女"}})],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)},l=[],i=(a("a450"),a("9973")),r=a("27cd"),o={components:{person:r["a"],Page:i["a"]},data:function(){return{wsid:0,groupName:"",loading:!1,activeName:0,total:0,query:{page:1,page_size:10},form:{},list:[{}],open:!1,open1:!1,title:"批量分配",rules:{name:[{required:!0,message:"标题不能为空",trigger:"blur"}]},collegeList:[],journalList:[],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},urg:function(){this.$confirm("催办后将向用户绑定的手机号发送一条短信提醒,确认催办?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){}))},getData:function(){var e=this;this.groupName=this.$route.query.name;var t=this.form;t.id=this.$route.query.id,this.wsid=this.$route.query.id,this.loading=!0,this.$api.getGroupMember(t).then((function(t){e.list=t.data.data.list,e.total=t.data.data.total,e.loading=!1}))},handleClick:function(){},submitForm:function(){}},created:function(){var e=this;this.getData(),this.$api.getCollegeList({}).then((function(t){e.collegeList=t.data.data})),this.$api.getJournalList({}).then((function(t){e.journalList=t.data.data}))}},c=o,s=(a("de82"),a("5d22")),u=Object(s["a"])(c,n,l,!1,null,null,null);t["default"]=u.exports},"804d":function(e,t,a){var n=a("9cff"),l=a("cea2"),i=a("839a")("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==l(e))}},9973:function(e,t,a){"use strict";var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-pagination",{attrs:{background:"","page-size":e.page_size?e.page_size:20,"current-page":e.current,"page-sizes":[10,20,30,40,50,60,70,80,90,100],layout:"total,sizes,prev, pager, next",total:e.total},on:{"current-change":e.getData,"size-change":e.handleSizeChange}})},l=[],i={data:function(){return{page:1}},props:{total:"",page_size:"",current:""},methods:{getData:function(e){console.log(e),this.page=e,this.$emit("pageChange")},handleSizeChange:function(e){this.$emit("pageChange",e)}},created:function(){}},r=i,o=(a("129d"),a("5d22")),c=Object(o["a"])(r,n,l,!1,null,null,null);t["a"]=c.exports},a210:function(e,t,a){},a450:function(e,t,a){var n=a("bb8b").f,l=Function.prototype,i=/^\s*function ([^ (]*)/,r="name";r in l||a("26df")&&n(l,r,{configurable:!0,get:function(){try{return(""+this).match(i)[1]}catch(e){return""}}})},af18:function(e,t,a){},bf73:function(e,t,a){"use strict";var n=a("0353");a("e99b")({target:"RegExp",proto:!0,forced:n!==/./.exec},{exec:n})},c46f:function(e,t,a){"use strict";a("bf73");var n=a("84e8"),l=a("065d"),i=a("0926"),r=a("3ab0"),o=a("839a"),c=a("0353"),s=o("species"),u=!i((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),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=o(e),f=!i((function(){var t={};return t[d]=function(){return 7},7!=""[e](t)})),h=f?!i((function(){var t=!1,a=/a/;return a.exec=function(){return t=!0,null},"split"===e&&(a.constructor={},a.constructor[s]=function(){return a}),a[d](""),!t})):void 0;if(!f||!h||"replace"===e&&!u||"split"===e&&!p){var g=/./[d],m=a(r,d,""[e],(function(e,t,a,n,l){return t.exec===c?f&&!l?{done:!0,value:g.call(t,a,n)}:{done:!0,value:e.call(a,t,n)}:{done:!1}})),v=m[0],b=m[1];n(String.prototype,e,v),l(RegExp.prototype,d,2==t?function(e,t){return b.call(e,this,t)}:function(e){return b.call(e,this)})}}},de82:function(e,t,a){"use strict";a("e5e4")},e5e4:function(e,t,a){},f417:function(e,t,a){"use strict";var n=a("d445"),l=RegExp.prototype.exec;e.exports=function(e,t){var a=e.exec;if("function"===typeof a){var i=a.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"!==n(e))throw new TypeError("RegExp#exec called on incompatible receiver");return l.call(e,t)}},f5bc:function(e,t,a){"use strict";a("af18")},fc02:function(e,t,a){"use strict";var n=a("804d"),l=a("a86f"),i=a("1b0b"),r=a("43ec"),o=a("201c"),c=a("f417"),s=a("0353"),u=a("0926"),p=Math.min,d=[].push,f="split",h="length",g="lastIndex",m=4294967295,v=!u((function(){RegExp(m,"y")}));a("c46f")("split",2,(function(e,t,a,u){var b;return b="c"=="abbc"[f](/(b)*/)[1]||4!="test"[f](/(?:)/,-1)[h]||2!="ab"[f](/(?:ab)*/)[h]||4!="."[f](/(.?)(.?)/)[h]||"."[f](/()()/)[h]>1||""[f](/.?/)[h]?function(e,t){var l=String(this);if(void 0===e&&0===t)return[];if(!n(e))return a.call(l,e,t);var i,r,o,c=[],u=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),p=0,f=void 0===t?m:t>>>0,v=new RegExp(e.source,u+"g");while(i=s.call(v,l)){if(r=v[g],r>p&&(c.push(l.slice(p,i.index)),i[h]>1&&i.index<l[h]&&d.apply(c,i.slice(1)),o=i[0][h],p=r,c[h]>=f))break;v[g]===i.index&&v[g]++}return p===l[h]?!o&&v.test("")||c.push(""):c.push(l.slice(p)),c[h]>f?c.slice(0,f):c}:"0"[f](void 0,0)[h]?function(e,t){return void 0===e&&0===t?[]:a.call(this,e,t)}:a,[function(a,n){var l=e(this),i=void 0==a?void 0:a[t];return void 0!==i?i.call(a,l,n):b.call(String(l),a,n)},function(e,t){var n=u(b,e,this,t,b!==a);if(n.done)return n.value;var s=l(e),d=String(this),f=i(s,RegExp),h=s.unicode,g=(s.ignoreCase?"i":"")+(s.multiline?"m":"")+(s.unicode?"u":"")+(v?"y":"g"),x=new f(v?s:"^(?:"+s.source+")",g),y=void 0===t?m:t>>>0;if(0===y)return[];if(0===d.length)return null===c(x,d)?[d]:[];var _=0,k=0,w=[];while(k<d.length){x.lastIndex=v?k:0;var q,$=c(x,v?d:d.slice(k));if(null===$||(q=p(o(x.lastIndex+(v?0:k)),d.length))===_)k=r(d,k,h);else{if(w.push(d.slice(_,k)),w.length===y)return w;for(var C=1;C<=$.length-1;C++)if(w.push($[C]),w.length===y)return w;k=_=q}}return w.push(d.slice(_)),w}]}))}}]);
  2. //# sourceMappingURL=chunk-54b05b2e.b5f0c6e4.js.map