chunk-50c89cfa.30c5c33f.js 11 KB

12
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-50c89cfa"],{"129d":function(e,t,a){"use strict";a("a210")},"21d9":function(e,t,a){var r=a("3a4c"),n=a("065e").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,n)}},"27cd":function(e,t,a){"use strict";var r=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:21}},[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,r){return a("li",{key:r,on:{click:function(a){t.checked=!t.checked,e.id=t.id}}},[e._v("\n "+e._s(t.realname)+" "),a("span"),"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),a("el-col",{attrs:{span:3}})],1)],1)},n=[],l={props:{type:"",cur:""},data:function(){return{search:"",query:{realname:""},checked:"",list:[],id:""}},watch:{type:function(e){this.id="",this.getData()},cur:function(e){this.id="",this.getData()}},methods:{getData:function(){var e=this;1==this.type?this.$api.searchExamineList(this.query).then((function(t){for(var a=t.data.data,r=0;r<a.length;r++)a[r].checked=!1;e.list=a})):this.$api.receiverList(this.query).then((function(t){for(var a=t.data.data,r=0;r<a.length;r++)a[r].checked=!1;e.list=a}))},submitForm:function(){for(var e,t=this.list,a=[],r=[],n=0;n<t.length;n++)t[n].checked&&(a.push(t[n].id),r.push(t[n].realname)),t[n].id==this.id&&(e=t[n].realname);return"examiner_leader"==this.cur?{id:String(this.id),name:e}:{id:a.join(","),name:r.join(",")}}},created:function(){this.getData()}},i=l,o=(a("f5bc"),a("5d22")),s=Object(o["a"])(i,r,n,!1,null,null,null);t["a"]=s.exports},"285b":function(e,t,a){var r=a("35d4"),n=a("5edc"),l=a("3471"),i=a("5d10"),o=a("4fd4"),s=a("83d3"),c=Object.getOwnPropertyDescriptor;t.f=a("26df")?c:function(e,t){if(e=l(e),t=i(t,!0),s)try{return c(e,t)}catch(a){}if(o(e,t))return n(!r.f.call(e,t),e[t])}},"5dc3":function(e,t){e.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},6948:function(e,t,a){},"6eba":function(e,t,a){"use strict";a("6948")},9973:function(e,t,a){"use strict";var r=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}})},n=[],l={data:function(){return{page:1}},props:{total:"",page_size:"",current:""},methods:{getData:function(e){this.page=e,this.$emit("pageChange")},handleSizeChange:function(e){this.$emit("pageChange",e)}},created:function(){}},i=l,o=(a("129d"),a("5d22")),s=Object(o["a"])(i,r,n,!1,null,null,null);t["a"]=s.exports},a210:function(e,t,a){},a83a:function(e,t,a){var r=a("9cff"),n=a("e0ff").set;e.exports=function(e,t,a){var l,i=t.constructor;return i!==a&&"function"==typeof i&&(l=i.prototype)!==a.prototype&&r(l)&&n&&n(e,l),e}},af18:function(e,t,a){},b722f:function(e,t,a){"use strict";a.r(t);var r=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",{attrs:{to:{path:"/index"}}},[e._v("四封审读")]),a("el-breadcrumb-item",[e._v("审核组成员")])],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:""}}),a("el-option",{attrs:{label:"姓名",value:"name"}}),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:"职称"},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:"所属单位"},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:"150px"},attrs:{clearable:"",placeholder:"所属期刊"},model:{value:e.query.journal,callback:function(t){e.$set(e.query,"journal",t)},expression:"query.journal"}},[a("el-option",{attrs:{label:"男",value:"男"}}),a("el-option",{attrs:{label:"女",value:"女"}})],1)],1),a("el-form-item",[a("el-button",{attrs:{type:"primary"},on:{click:e.getData}},[e._v("搜索")])],1),a("el-form-item",{staticStyle:{float:"right"}},[a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.open=!0,e.title="添加人员"}}},[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"}},[a("el-table-column",{attrs:{align:"center",label:"序号",prop:"id"}}),a("el-table-column",{attrs:{align:"center",label:"帐号",width:"120",prop:"name"}}),a("el-table-column",{attrs:{align:"center",label:"姓名",width:"120",prop:"realname"}}),a("el-table-column",{attrs:{align:"center",label:"性别",prop:"sex"}}),a("el-table-column",{attrs:{align:"center",label:"职称",prop:""}}),a("el-table-column",{attrs:{align:"center",label:"电话",prop:"phone"}}),a("el-table-column",{attrs:{align:"center",label:"邮箱",prop:"email"}}),a("el-table-column",{attrs:{align:"center",label:"权限",prop:"role"}}),a("el-table-column",{attrs:{align:"center",label:"所属期刊",prop:"journal"}}),a("el-table-column",{attrs:{align:"center",label:"劳务标准",prop:"wages"}}),a("el-table-column",{attrs:{width:"150",label:"审读工作统计",align:"center",prop:"createAt"}},[[a("el-button",{attrs:{size:"mini",type:"text",icon:"el-icon-view"},on:{click:function(t){return e.$router.push({path:"/index/member/statistics"})}}},[e._v("\n 查看详情\n ")])]],2),a("el-table-column",{attrs:{align:"center",label:"添加时间",prop:""}}),a("el-table-column",{attrs:{label:"操作",width:"100",fixed:"right",align:"center",prop:"createAt"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"danger",size:"mini"},on:{click:function(a){return e.handleDelete(t.row)}}},[e._v("删除")])]}}])})],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:{title:e.title,visible:e.open,width:"800px"},on:{"update:visible":function(t){e.open=t}}},[a("person",{ref:"per",attrs:{type:1}}),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.sure()}}},[e._v("确 定")])],1)],1)],1)},n=[],l=(a("e680"),a("9973")),i=a("27cd"),o={components:{person:i["a"],Page:l["a"]},data:function(){return{loading:!1,total:0,query:{page:1,page_size:10},form:{},list:[{}],open:!1,open1:!1,title:"",rules:{name:[{required:!0,message:"标题不能为空",trigger:"blur"}]}}},methods:{gopage:function(e){e&&(this.form.page_size=e),this.form.page=this.$refs.pageButton.page,this.getData()},sure:function(){var e=this,t={};t.worksheet_id=Number(this.query.id),t.examiner_id=this.$refs.per.submitForm().id,this.$api.addWorksheetexpert(t).then((function(t){0==t.data.code?(e.$message({message:"添加成功!",type:"success"}),e.getData()):e.$message.error(t.data.message)}))},getData:function(){var e=this;this.loading=!0,this.$api.getWorkexpertList(this.query).then((function(t){e.list=t.data.data.list,e.total=t.data.data.total,e.loading=!1}))},handleDelete:function(e){var t=this;this.$confirm("确定删除吗?","提示",{type:"warning"}).then((function(){t.$api.delWorksheetexpert({worksheet_id:t.query.id,examiner_id:e.id}).then((function(e){t.getData(),t.$message({message:"删除成功!",type:"success"})}))}))}},created:function(){var e=this.$route.query.id;this.$route.query.id&&(this.query.id=e,this.getData())}},s=o,c=(a("6eba"),a("5d22")),u=Object(c["a"])(s,r,n,!1,null,null,null);t["default"]=u.exports},e0ff:function(e,t,a){var r=a("9cff"),n=a("a86f"),l=function(e,t){if(n(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{r=a("1e4d")(Function.call,a("285b").f(Object.prototype,"__proto__").set,2),r(e,[]),t=!(e instanceof Array)}catch(n){t=!0}return function(e,a){return l(e,a),t?e.__proto__=a:r(e,a),e}}({},!1):void 0),check:l}},e680:function(e,t,a){"use strict";var r=a("0b34"),n=a("4fd4"),l=a("cea2"),i=a("a83a"),o=a("5d10"),s=a("0926"),c=a("21d9").f,u=a("285b").f,p=a("bb8b").f,d=a("eb34").trim,f="Number",h=r[f],g=h,m=h.prototype,b=l(a("7ee3")(m))==f,y="trim"in String.prototype,v=function(e){var t=o(e,!1);if("string"==typeof t&&t.length>2){t=y?t.trim():d(t,3);var a,r,n,l=t.charCodeAt(0);if(43===l||45===l){if(a=t.charCodeAt(2),88===a||120===a)return NaN}else if(48===l){switch(t.charCodeAt(1)){case 66:case 98:r=2,n=49;break;case 79:case 111:r=8,n=55;break;default:return+t}for(var i,s=t.slice(2),c=0,u=s.length;c<u;c++)if(i=s.charCodeAt(c),i<48||i>n)return NaN;return parseInt(s,r)}}return+t};if(!h(" 0o1")||!h("0b1")||h("+0x1")){h=function(e){var t=arguments.length<1?0:e,a=this;return a instanceof h&&(b?s((function(){m.valueOf.call(a)})):l(a)!=f)?i(new g(v(t)),a,h):v(t)};for(var _,x=a("26df")?c(g):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),k=0;x.length>k;k++)n(g,_=x[k])&&!n(h,_)&&p(h,_,u(g,_));h.prototype=m,m.constructor=h,a("84e8")(r,f,h)}},eb34:function(e,t,a){var r=a("e99b"),n=a("3ab0"),l=a("0926"),i=a("5dc3"),o="["+i+"]",s="​…",c=RegExp("^"+o+o+"*"),u=RegExp(o+o+"*$"),p=function(e,t,a){var n={},o=l((function(){return!!i[e]()||s[e]()!=s})),c=n[e]=o?t(d):i[e];a&&(n[a]=c),r(r.P+r.F*o,"String",n)},d=p.trim=function(e,t){return e=String(n(e)),1&t&&(e=e.replace(c,"")),2&t&&(e=e.replace(u,"")),e};e.exports=p},f5bc:function(e,t,a){"use strict";a("af18")}}]);
  2. //# sourceMappingURL=chunk-50c89cfa.30c5c33f.js.map