chunk-2fbc2093.86f2bb63.js 14 KB

12
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2fbc2093"],{"0353":function(e,t,a){"use strict";var n=a("6bf8"),i=RegExp.prototype.exec,r=String.prototype.replace,l=i,o="lastIndex",s=function(){var e=/a/,t=/b*/g;return i.call(e,"a"),i.call(t,"a"),0!==e[o]||0!==t[o]}(),c=void 0!==/()??/.exec("")[1],u=s||c;u&&(l=function(e){var t,a,l,u,p=this;return c&&(a=new RegExp("^"+p.source+"$(?!\\s)",n.call(p))),s&&(t=p[o]),l=i.call(p,e),s&&l&&(p[o]=p.global?l.index+l[0].length:t),c&&l&&l.length>1&&r.call(l[0],a,(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,a){},"108d":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",{attrs:{to:{path:"/group"}}},[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.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-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"}},[a("el-table-column",{attrs:{label:"工作组名称",width:"200",align:"center",prop:"name"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("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 ")])]}}])}),a("el-table-column",{attrs:{label:"组内人数",align:"center",prop:"group_size"}}),a("el-table-column",{attrs:{label:"组长",align:"center",prop:"leader_realname"}}),a("el-table-column",{attrs:{label:"组长职称",align:"center",prop:"leader_title"}}),a("el-table-column",{attrs:{label:"组长电话",align:"center",prop:"leader_phone"}}),a("el-table-column",{attrs:{label:"组长邮箱",align:"center",prop:"leader_email"}}),a("el-table-column",{attrs:{align:"center",label:"创建时间",prop:"ctime"}}),a("el-table-column",{attrs:{label:"审读统计",width:"230",fixed:"right",align:"center",prop:"createAt"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"success",size:"mini"},on:{click:function(a){return e.$router.push({path:"/group/member",query:{id:t.row.id,name:t.row.name}})}}},[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:{"close-on-click-modal":!1,title:e.title,visible:e.open,width:"800px","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:"标题",prop:"name"}},[a("el-input",{attrs:{placeholder:"请输入标题"},model:{value:e.form.name,callback:function(t){e.$set(e.form,"name",t)},expression:"form.name"}})],1),a("el-form-item",{attrs:{label:"接收人",prop:"name"}},[a("div",{staticClass:"item-div",on:{click:function(t){e.open1=!0}}},[a("span",[e._v("请选择")])])]),a("el-form-item",{attrs:{label:"问卷模版",prop:"name"}},[a("el-select",{attrs:{placeholder:"请选择问卷模版"},model:{value:e.form.name,callback:function(t){e.$set(e.form,"name",t)},expression:"form.name"}},[a("el-option",{attrs:{value:"1"}})],1)],1),a("el-form-item",{attrs:{label:"审核人员",prop:"name"}},[a("div",{staticClass:"item-div",on:{click:function(t){e.open1=!0}}},[a("span",[e._v("请选择")])])]),a("el-form-item",{attrs:{label:"选择组长",prop:"name"}},[a("div",{staticClass:"item-div",on:{click:function(t){e.open1=!0}}},[a("span",[e._v("请选择")])]),a("p",[e._v("注:组长选定后,本次审读工作将不能中途变更组长")])])],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"),l=a("27cd"),o={components:{person:l["a"],Page:r["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.query.page_size=e),this.query.page=this.$refs.pageButton.page,this.getData()},getData:function(){var e=this,t=this.form;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()}},s=o,c=(a("bc9b"),a("5d22")),u=Object(c["a"])(s,n,i,!1,null,null,null);t["default"]=u.exports},"129d":function(e,t,a){"use strict";a("a210")},1663:function(e,t,a){var n=a("212e"),i=a("3ab0");e.exports=function(e){return function(t,a){var r,l,o=String(i(t)),s=n(a),c=o.length;return s<0||s>=c?e?"":void 0:(r=o.charCodeAt(s),r<55296||r>56319||s+1===c||(l=o.charCodeAt(s+1))<56320||l>57343?e?o.charAt(s):r:e?o.slice(s,s+2):l-56320+(r-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:20}},["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))]),"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"==e.cur?a("el-col",{attrs:{span:4}},[a("p",{staticClass:"title",staticStyle:{"margin-bottom":"50px"}},[e._v("已选")]),a("div",{staticClass:"people"},e._l(e.list,(function(t,n){return a("div",{key:n},[t.checked?a("img",{attrs:{width:"40",height:"40",src:t.avatar,alt:""}}):e._e()])})),0)]):e._e()],1)],1)},i=[],r=(a("a450"),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}))},submitForm:function(){for(var e,t=this.list,a=[],n=[],i=0;i<t.length;i++)t[i].checked&&(a.push(t[i].id),"examiner"==this.cur?n.push(t[i].realname):n.push(t[i].name)),t[i].id==this.id&&(e=t[i].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()}}),l=r,o=(a("f5bc"),a("5d22")),s=Object(o["a"])(l,n,i,!1,null,null,null);t["a"]=s.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}},"804d":function(e,t,a){var n=a("9cff"),i=a("cea2"),r=a("839a")("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[r])?!!t:"RegExp"==i(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}})},i=[],r={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=r,o=(a("129d"),a("5d22")),s=Object(o["a"])(l,n,i,!1,null,null,null);t["a"]=s.exports},a210:function(e,t,a){},a450:function(e,t,a){var n=a("bb8b").f,i=Function.prototype,r=/^\s*function ([^ (]*)/,l="name";l in i||a("26df")&&n(i,l,{configurable:!0,get:function(){try{return(""+this).match(r)[1]}catch(e){return""}}})},af18:function(e,t,a){},bc9b:function(e,t,a){"use strict";a("0c11")},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"),i=a("065d"),r=a("0926"),l=a("3ab0"),o=a("839a"),s=a("0353"),c=o("species"),u=!r((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=!r((function(){var t={};return t[d]=function(){return 7},7!=""[e](t)})),h=f?!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(!f||!h||"replace"===e&&!u||"split"===e&&!p){var m=/./[d],g=a(l,d,""[e],(function(e,t,a,n,i){return t.exec===s?f&&!i?{done:!0,value:m.call(t,a,n)}:{done:!0,value:e.call(a,t,n)}:{done:!1}})),v=g[0],b=g[1];n(String.prototype,e,v),i(RegExp.prototype,d,2==t?function(e,t){return b.call(e,this,t)}:function(e){return b.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"),l=a("43ec"),o=a("201c"),s=a("f417"),c=a("0353"),u=a("0926"),p=Math.min,d=[].push,f="split",h="length",m="lastIndex",g=4294967295,v=!u((function(){RegExp(g,"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 i=String(this);if(void 0===e&&0===t)return[];if(!n(e))return a.call(i,e,t);var r,l,o,s=[],u=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),p=0,f=void 0===t?g:t>>>0,v=new RegExp(e.source,u+"g");while(r=c.call(v,i)){if(l=v[m],l>p&&(s.push(i.slice(p,r.index)),r[h]>1&&r.index<i[h]&&d.apply(s,r.slice(1)),o=r[0][h],p=l,s[h]>=f))break;v[m]===r.index&&v[m]++}return p===i[h]?!o&&v.test("")||s.push(""):s.push(i.slice(p)),s[h]>f?s.slice(0,f):s}:"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 i=e(this),r=void 0==a?void 0:a[t];return void 0!==r?r.call(a,i,n):b.call(String(i),a,n)},function(e,t){var n=u(b,e,this,t,b!==a);if(n.done)return n.value;var c=i(e),d=String(this),f=r(c,RegExp),h=c.unicode,m=(c.ignoreCase?"i":"")+(c.multiline?"m":"")+(c.unicode?"u":"")+(v?"y":"g"),x=new f(v?c:"^(?:"+c.source+")",m),y=void 0===t?g:t>>>0;if(0===y)return[];if(0===d.length)return null===s(x,d)?[d]:[];var _=0,k=0,w=[];while(k<d.length){x.lastIndex=v?k:0;var C,q=s(x,v?d:d.slice(k));if(null===q||(C=p(o(x.lastIndex+(v?0:k)),d.length))===_)k=l(d,k,h);else{if(w.push(d.slice(_,k)),w.length===y)return w;for(var $=1;$<=q.length-1;$++)if(w.push(q[$]),w.length===y)return w;k=_=C}}return w.push(d.slice(_)),w}]}))}}]);
  2. //# sourceMappingURL=chunk-2fbc2093.86f2bb63.js.map