chunk-19aacb31.94a8e01e.js 17 KB

12
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-19aacb31"],{"0353":function(e,t,n){"use strict";var r=n("6bf8"),a=RegExp.prototype.exec,i=String.prototype.replace,l=a,o="lastIndex",c=function(){var e=/a/,t=/b*/g;return a.call(e,"a"),a.call(t,"a"),0!==e[o]||0!==t[o]}(),s=void 0!==/()??/.exec("")[1],u=c||s;u&&(l=function(e){var t,n,l,u,p=this;return s&&(n=new RegExp("^"+p.source+"$(?!\\s)",r.call(p))),c&&(t=p[o]),l=a.call(p,e),c&&l&&(p[o]=p.global?l.index+l[0].length:t),s&&l&&l.length>1&&i.call(l[0],n,(function(){for(u=1;u<arguments.length-2;u++)void 0===arguments[u]&&(l[u]=void 0)})),l}),e.exports=l},"0c11":function(e,t,n){},"108d":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",{staticClass:"sf"},[n("el-breadcrumb",{attrs:{separator:"/"}},[n("el-breadcrumb-item",[e._v("审读管理")]),n("el-breadcrumb-item",[e._v("我的工作组")])],1),n("div",{staticClass:"content"},[n("div",{staticClass:"filter"},[n("el-form",{attrs:{size:"small","label-width":"70px",inline:!0,"label-position":"left"}},[n("el-form-item",{attrs:{label:""}},[n("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"}},[n("el-select",{staticStyle:{width:"90px"},attrs:{slot:"prepend",placeholder:"请选择"},slot:"prepend",model:{value:e.query.type,callback:function(t){e.$set(e.query,"type",t)},expression:"query.type"}},[n("el-option",{attrs:{label:"工作组名称",value:"name"}}),n("el-option",{attrs:{label:"组长",value:"leader_realname"}})],1),n("el-button",{attrs:{slot:"append",icon:"el-icon-search"},on:{click:e.getData},slot:"append"})],1)],1),n("el-form-item")],1)],1),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticStyle:{width:"100%"},attrs:{data:e.list,height:"59vh"}},[n("el-table-column",{attrs:{label:"工作组名称",width:"200",align:"center",prop:"name"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("el-link",{attrs:{type:"primary"},on:{click:function(t){return e.$router.push({path:"/group/member"})}}},[e._v("\n "+e._s(t.row.name)+"\n ")])]}}])}),n("el-table-column",{attrs:{label:"组内人数",align:"center",prop:"group_size"}}),n("el-table-column",{attrs:{label:"组长",align:"center",prop:"leader_realname"}}),n("el-table-column",{attrs:{label:"组长职称",align:"center",prop:"leader_title"}}),n("el-table-column",{attrs:{label:"组长电话",align:"center",prop:"leader_phone"}}),n("el-table-column",{attrs:{label:"组长邮箱",align:"center",prop:"leader_email"}}),n("el-table-column",{attrs:{align:"center",label:"创建时间",prop:"ctime"}}),n("el-table-column",{attrs:{label:"审读统计",width:"230",fixed:"right",align:"center",prop:"createAt"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("el-button",{attrs:{type:"success",size:"mini"},on:{click:function(n){return e.$router.push({path:"/group/member",query:{id:t.row.id,name:t.row.name}})}}},[e._v("查看详情")])]}}])})],1),n("Page",{ref:"pageButton",attrs:{current:e.query.page,page_size:e.query.page_size,total:e.total},on:{pageChange:e.gopage}})],1),n("el-dialog",{attrs:{"close-on-click-modal":!1,title:e.title,visible:e.open,width:"800px","append-to-body":""},on:{"update:visible":function(t){e.open=t}}},[n("el-form",{ref:"form",attrs:{model:e.form,rules:e.rules,"label-width":"120px"}},[n("el-form-item",{attrs:{label:"标题",prop:"name"}},[n("el-input",{attrs:{placeholder:"请输入标题"},model:{value:e.form.name,callback:function(t){e.$set(e.form,"name",t)},expression:"form.name"}})],1),n("el-form-item",{attrs:{label:"接收人",prop:"name"}},[n("div",{staticClass:"item-div",on:{click:function(t){e.open1=!0}}},[n("span",[e._v("请选择")])])]),n("el-form-item",{attrs:{label:"问卷模版",prop:"name"}},[n("el-select",{attrs:{placeholder:"请选择问卷模版"},model:{value:e.form.name,callback:function(t){e.$set(e.form,"name",t)},expression:"form.name"}},[n("el-option",{attrs:{value:"1"}})],1)],1),n("el-form-item",{attrs:{label:"审核人员",prop:"name"}},[n("div",{staticClass:"item-div",on:{click:function(t){e.open1=!0}}},[n("span",[e._v("请选择")])])]),n("el-form-item",{attrs:{label:"选择组长",prop:"name"}},[n("div",{staticClass:"item-div",on:{click:function(t){e.open1=!0}}},[n("span",[e._v("请选择")])]),n("p",[e._v("注:组长选定后,本次审读工作将不能中途变更组长")])])],1),n("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{attrs:{size:"small",type:"primary"},on:{click:e.submitForm}},[e._v("确 定")])],1)],1),n("el-dialog",{attrs:{title:e.title,"close-on-click-modal":!1,visible:e.open1,width:"800px"},on:{"update:visible":function(t){e.open1=t}}},[n("person"),n("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{attrs:{size:"small",type:"primary"},on:{click:function(t){e.open1=!1}}},[e._v("确 定")])],1)],1)],1)},a=[],i=(n("ac67"),n("1bc78"),n("32ea"),n("7dd6")),l=n("9973"),o=n("27cd");function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){Object(i["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u={components:{person:o["a"],Page:l["a"]},data:function(){return{loading:!1,total:0,query:{page:1,page_size:10,type:"name"},form:{},list:[{}],open:!1,open1:!1,title:"新建审读问卷",rules:{name:[{required:!0,message:"标题不能为空",trigger:"blur"}]}}},methods:{gopage:function(e){e&&(this.query.page_size=e),this.query.page=this.$refs.pageButton.page,this.getData()},getData:function(){var e=this,t=this.form;t=s({},this.query);this.loading=!0,this.$api.getGroupList(t).then((function(t){e.list=t.data.data.list,e.total=t.data.data.total,e.loading=!1}))},submitForm:function(){}},created:function(){this.getData()}},p=u,f=(n("bc9b"),n("5d22")),d=Object(f["a"])(p,r,a,!1,null,null,null);t["default"]=d.exports},"129d":function(e,t,n){"use strict";n("a210")},1374:function(e,t,n){"use strict";var r=n("bb8b"),a=n("5edc");e.exports=function(e,t,n){t in e?r.f(e,t,a(0,n)):e[t]=n}},1663:function(e,t,n){var r=n("212e"),a=n("3ab0");e.exports=function(e){return function(t,n){var i,l,o=String(a(t)),c=r(n),s=o.length;return c<0||c>=s?e?"":void 0:(i=o.charCodeAt(c),i<55296||i>56319||c+1===s||(l=o.charCodeAt(c+1))<56320||l>57343?e?o.charAt(c):i:e?o.slice(c,c+2):l-56320+(i-55296<<10)+65536)}}},"1bc78":function(e,t,n){for(var r=n("25ba"),a=n("93ca"),i=n("84e8"),l=n("0b34"),o=n("065d"),c=n("953d"),s=n("839a"),u=s("iterator"),p=s("toStringTag"),f=c.Array,d={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},h=a(d),g=0;g<h.length;g++){var m,v=h[g],b=d[v],y=l[v],_=y&&y.prototype;if(_&&(_[u]||o(_,u,f),_[p]||o(_,p,v),c[v]=f,b))for(m in r)_[m]||i(_,m,r[m],!0)}},"21d9":function(e,t,n){var r=n("3a4c"),a=n("065e").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,a)}},"27cd":function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",{staticClass:"person"},[n("el-row",{attrs:{gutter:20}},[n("el-col",{attrs:{span:12}},["examiner_leader"!=e.cur?n("el-button",{staticStyle:{float:"right","margin-top":"5px"},attrs:{size:"mini",type:"info"},on:{click:e.all}},[e._v("全选")]):e._e(),"examiner"==e.cur?n("p",{staticClass:"title"},[e._v("专家库")]):n("p",{staticClass:"title"},[e._v("接收者")]),n("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"}}),n("ul",{staticClass:"people"},e._l(e.list,(function(t,r){return n("li",{key:r,on:{click:function(n){t.checked=!t.checked,e.id=t.id,e.change()}}},[t.avatar?n("img",{attrs:{src:t.avatar,alt:""}}):e._e(),t.realname?n("font",[e._v(e._s(t.realname))]):n("font",[e._v(e._s(t.name))]),t.college?n("span",[e._v(e._s(t.college))]):e._e(),t.journal?n("span",[e._v(e._s(t.journal))]):e._e(),"examiner_leader"==e.cur?n("el-radio",{attrs:{label:t.id},model:{value:e.id,callback:function(t){e.id=t},expression:"id"}},[e._v(" ")]):n("el-checkbox",{model:{value:t.checked,callback:function(n){e.$set(t,"checked",n)},expression:"item.checked"}})],1)})),0)],1),"examiner_leader"!=e.cur?n("el-col",{attrs:{span:12}},[n("p",{staticClass:"title",staticStyle:{"margin-bottom":"50px"}},[e._v("已选 \n "),e.ids.length>0?n("span",[e._v("("+e._s(e.ids.length)+")")]):e._e(),n("el-button",{staticStyle:{float:"right","margin-top":"5px"},attrs:{size:"mini",type:"info"},on:{click:e.clear}},[e._v("清除")])],1),n("ul",{staticClass:"people"},[e._l(e.list,(function(t,r){return[t.checked?n("li",{key:r},[t.avatar?n("img",{attrs:{src:t.avatar,alt:""}}):e._e(),t.realname?n("font",[e._v(e._s(t.realname))]):n("font",[e._v(e._s(t.name))]),t.college?n("span",[e._v(e._s(t.college))]):e._e(),t.journal?n("span",[e._v(e._s(t.journal))]):e._e(),n("i",{staticClass:"el-icon-error",on:{click:function(e){t.checked=!1}}})],1):e._e()]}))],2)]):e._e()],1)],1)},a=[],i=(n("fc02"),{props:{type:"",cur:"",cur_data:""},data:function(){return{search:"",query:{realname:""},checked:"",list:[],id:4,ids:[]}},watch:{type:function(e){this.id="",this.ids=[],this.getData()},cur:function(e){this.id="",this.ids=[],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 n=t.data.data;n=n||[];for(var r=0;r<n.length;r++)e.ids&&e.ids.indexOf(String(n[r].id))>=0?n[r].checked=!0:n[r].checked=!1;e.list=n})):this.$api.receiverList(this.query).then((function(t){var n=t.data.data;n=n||[];for(var r=0;r<n.length;r++)e.ids&&e.ids.indexOf(String(n[r].id))>=0?n[r].checked=!0:n[r].checked=!1;e.list=n}))},change:function(){for(var e=[],t=this.list,n=0;n<t.length;n++)t[n].checked&&e.push(String(t[n].id));this.ids=e},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,n=[],r=[],a=0;a<t.length;a++)t[a].checked&&(n.push(t[a].id),r.push(t[a].realname)),t[a].id==this.id&&(e=t[a].realname);return"examiner_leader"==this.cur?{id:String(this.id),name:e}:{id:n.join(","),name:r.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()}}),l=i,o=(n("f5bc"),n("5d22")),c=Object(o["a"])(l,r,a,!1,null,null,null);t["a"]=c.exports},"285b":function(e,t,n){var r=n("35d4"),a=n("5edc"),i=n("3471"),l=n("5d10"),o=n("4fd4"),c=n("83d3"),s=Object.getOwnPropertyDescriptor;t.f=n("26df")?s:function(e,t){if(e=i(e),t=l(t,!0),c)try{return s(e,t)}catch(n){}if(o(e,t))return a(!r.f.call(e,t),e[t])}},"32ea":function(e,t,n){var r=n("8078"),a=n("93ca");n("b2be")("keys",(function(){return function(e){return a(r(e))}}))},"43ec":function(e,t,n){"use strict";var r=n("1663")(!0);e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},"6bf8":function(e,t,n){"use strict";var r=n("a86f");e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},"7dd6":function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return r}))},"804d":function(e,t,n){var r=n("9cff"),a=n("cea2"),i=n("839a")("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==a(e))}},9973:function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("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}})},a=[],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(){}},l=i,o=(n("129d"),n("5d22")),c=Object(o["a"])(l,r,a,!1,null,null,null);t["a"]=c.exports},a210:function(e,t,n){},ac67:function(e,t,n){var r=n("e99b"),a=n("e7c8"),i=n("3471"),l=n("285b"),o=n("1374");r(r.S,"Object",{getOwnPropertyDescriptors:function(e){var t,n,r=i(e),c=l.f,s=a(r),u={},p=0;while(s.length>p)n=c(r,t=s[p++]),void 0!==n&&o(u,t,n);return u}})},af18:function(e,t,n){},b2be:function(e,t,n){var r=n("e99b"),a=n("76e3"),i=n("0926");e.exports=function(e,t){var n=(a.Object||{})[e]||Object[e],l={};l[e]=t(n),r(r.S+r.F*i((function(){n(1)})),"Object",l)}},bc9b:function(e,t,n){"use strict";n("0c11")},bf73:function(e,t,n){"use strict";var r=n("0353");n("e99b")({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},c46f:function(e,t,n){"use strict";n("bf73");var r=n("84e8"),a=n("065d"),i=n("0926"),l=n("3ab0"),o=n("839a"),c=n("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 n="ab".split(e);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();e.exports=function(e,t,n){var f=o(e),d=!i((function(){var t={};return t[f]=function(){return 7},7!=""[e](t)})),h=d?!i((function(){var t=!1,n=/a/;return n.exec=function(){return t=!0,null},"split"===e&&(n.constructor={},n.constructor[s]=function(){return n}),n[f](""),!t})):void 0;if(!d||!h||"replace"===e&&!u||"split"===e&&!p){var g=/./[f],m=n(l,f,""[e],(function(e,t,n,r,a){return t.exec===c?d&&!a?{done:!0,value:g.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}})),v=m[0],b=m[1];r(String.prototype,e,v),a(RegExp.prototype,f,2==t?function(e,t){return b.call(e,this,t)}:function(e){return b.call(e,this)})}}},e7c8:function(e,t,n){var r=n("21d9"),a=n("0c29"),i=n("a86f"),l=n("0b34").Reflect;e.exports=l&&l.ownKeys||function(e){var t=r.f(i(e)),n=a.f;return n?t.concat(n(e)):t}},f417:function(e,t,n){"use strict";var r=n("d445"),a=RegExp.prototype.exec;e.exports=function(e,t){var n=e.exec;if("function"===typeof n){var i=n.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"!==r(e))throw new TypeError("RegExp#exec called on incompatible receiver");return a.call(e,t)}},f5bc:function(e,t,n){"use strict";n("af18")},fc02:function(e,t,n){"use strict";var r=n("804d"),a=n("a86f"),i=n("1b0b"),l=n("43ec"),o=n("201c"),c=n("f417"),s=n("0353"),u=n("0926"),p=Math.min,f=[].push,d="split",h="length",g="lastIndex",m=4294967295,v=!u((function(){RegExp(m,"y")}));n("c46f")("split",2,(function(e,t,n,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 a=String(this);if(void 0===e&&0===t)return[];if(!r(e))return n.call(a,e,t);var i,l,o,c=[],u=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),p=0,d=void 0===t?m:t>>>0,v=new RegExp(e.source,u+"g");while(i=s.call(v,a)){if(l=v[g],l>p&&(c.push(a.slice(p,i.index)),i[h]>1&&i.index<a[h]&&f.apply(c,i.slice(1)),o=i[0][h],p=l,c[h]>=d))break;v[g]===i.index&&v[g]++}return p===a[h]?!o&&v.test("")||c.push(""):c.push(a.slice(p)),c[h]>d?c.slice(0,d):c}:"0"[d](void 0,0)[h]?function(e,t){return void 0===e&&0===t?[]:n.call(this,e,t)}:n,[function(n,r){var a=e(this),i=void 0==n?void 0:n[t];return void 0!==i?i.call(n,a,r):b.call(String(a),n,r)},function(e,t){var r=u(b,e,this,t,b!==n);if(r.done)return r.value;var s=a(e),f=String(this),d=i(s,RegExp),h=s.unicode,g=(s.ignoreCase?"i":"")+(s.multiline?"m":"")+(s.unicode?"u":"")+(v?"y":"g"),y=new d(v?s:"^(?:"+s.source+")",g),_=void 0===t?m:t>>>0;if(0===_)return[];if(0===f.length)return null===c(y,f)?[f]:[];var x=0,k=0,S=[];while(k<f.length){y.lastIndex=v?k:0;var w,O=c(y,v?f:f.slice(k));if(null===O||(w=p(o(y.lastIndex+(v?0:k)),f.length))===x)k=l(f,k,h);else{if(S.push(f.slice(x,k)),S.length===_)return S;for(var C=1;C<=O.length-1;C++)if(S.push(O[C]),S.length===_)return S;k=x=w}}return S.push(f.slice(x)),S}]}))}}]);
  2. //# sourceMappingURL=chunk-19aacb31.94a8e01e.js.map