chunk-d89d4dce.70375de3.js 9.6 KB

12
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-d89d4dce"],{"129d":function(e,t,a){"use strict";a("a210")},"27cd":function(e,t,a){"use strict";var l=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,l){return a("li",{key:l,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=[],i={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,l=0;l<a.length;l++)a[l].checked=!1;e.list=a})):this.$api.receiverList(this.query).then((function(t){for(var a=t.data.data,l=0;l<a.length;l++)a[l].checked=!1;e.list=a}))},submitForm:function(){for(var e,t=this.list,a=[],l=[],n=0;n<t.length;n++)t[n].checked&&(a.push(t[n].id),l.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:l.join(",")}}},created:function(){this.getData()}},r=i,o=(a("f5bc"),a("5d22")),s=Object(o["a"])(r,l,n,!1,null,null,null);t["a"]=s.exports},"6fbc":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:"sf"},[a("el-breadcrumb",{attrs:{separator:"/"}},[a("el-breadcrumb-item",[e._v("审读管理")]),a("el-breadcrumb-item",{attrs:{to:{path:"/group"}}},[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.title,callback:function(t){e.$set(e.query,"title",t)},expression:"query.title"}},[a("el-select",{staticStyle:{width:"90px"},attrs:{slot:"prepend",placeholder:"请选择"},slot:"prepend",model:{value:e.query.select,callback:function(t){e.$set(e.query,"select",t)},expression:"query.select"}},[a("el-option",{attrs:{label:"餐厅名",value:"1"}}),a("el-option",{attrs:{label:"订单号",value:"2"}}),a("el-option",{attrs:{label:"用户电话",value:"3"}})],1),a("el-button",{attrs:{slot:"append",icon:"el-icon-search"},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:"100px"},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:"100px"},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:"100px"},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:"100px"},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-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}})}}},[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)},n=[],i=(a("a450"),a("9973")),r=a("27cd"),o={components:{person:r["a"],Page:i["a"]},data:function(){return{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"}]},ids:[]}},methods:{gopage:function(e){e&&(this.form.page_size=e),this.form.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.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(){this.getData()}},s=o,c=(a("de82"),a("5d22")),u=Object(c["a"])(s,l,n,!1,null,null,null);t["default"]=u.exports},9973:function(e,t,a){"use strict";var l=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=[],i={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(){}},r=i,o=(a("129d"),a("5d22")),s=Object(o["a"])(r,l,n,!1,null,null,null);t["a"]=s.exports},a210:function(e,t,a){},a450:function(e,t,a){var l=a("bb8b").f,n=Function.prototype,i=/^\s*function ([^ (]*)/,r="name";r in n||a("26df")&&l(n,r,{configurable:!0,get:function(){try{return(""+this).match(i)[1]}catch(e){return""}}})},af18:function(e,t,a){},de82:function(e,t,a){"use strict";a("e5e4")},e5e4:function(e,t,a){},f5bc:function(e,t,a){"use strict";a("af18")}}]);
  2. //# sourceMappingURL=chunk-d89d4dce.70375de3.js.map