12 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7daff361"],{"0353":function(t,e,n){"use strict";var a=n("6bf8"),r=RegExp.prototype.exec,i=String.prototype.replace,o=r,s="lastIndex",l=function(){var t=/a/,e=/b*/g;return r.call(t,"a"),r.call(e,"a"),0!==t[s]||0!==e[s]}(),c=void 0!==/()??/.exec("")[1],u=l||c;u&&(o=function(t){var e,n,o,u,p=this;return c&&(n=new RegExp("^"+p.source+"$(?!\\s)",a.call(p))),l&&(e=p[s]),o=r.call(p,t),l&&o&&(p[s]=p.global?o.index+o[0].length:e),c&&o&&o.length>1&&i.call(o[0],n,(function(){for(u=1;u<arguments.length-2;u++)void 0===arguments[u]&&(o[u]=void 0)})),o}),t.exports=o},"129d":function(t,e,n){"use strict";n("a210")},1374:function(t,e,n){"use strict";var a=n("bb8b"),r=n("5edc");t.exports=function(t,e,n){e in t?a.f(t,e,r(0,n)):t[e]=n}},1663:function(t,e,n){var a=n("212e"),r=n("3ab0");t.exports=function(t){return function(e,n){var i,o,s=String(r(e)),l=a(n),c=s.length;return l<0||l>=c?t?"":void 0:(i=s.charCodeAt(l),i<55296||i>56319||l+1===c||(o=s.charCodeAt(l+1))<56320||o>57343?t?s.charAt(l):i:t?s.slice(l,l+2):o-56320+(i-55296<<10)+65536)}}},"1b2a":function(t,e,n){"use strict";n("66d0b")},"1bc78":function(t,e,n){for(var a=n("25ba"),r=n("93ca"),i=n("84e8"),o=n("0b34"),s=n("065d"),l=n("953d"),c=n("839a"),u=c("iterator"),p=c("toStringTag"),f=l.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=r(d),g=0;g<h.length;g++){var m,v=h[g],b=d[v],y=o[v],_=y&&y.prototype;if(_&&(_[u]||s(_,u,f),_[p]||s(_,p,v),l[v]=f,b))for(m in a)_[m]||i(_,m,a[m],!0)}},"21d9":function(t,e,n){var a=n("3a4c"),r=n("065e").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return a(t,r)}},"27cd":function(t,e,n){"use strict";var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",{staticClass:"person"},[n("el-row",{attrs:{gutter:20}},[n("el-col",{attrs:{span:12}},["examiner_leader"!=t.cur?n("el-button",{staticStyle:{float:"right","margin-top":"5px"},attrs:{size:"mini",type:"info"},on:{click:t.all}},[t._v("全选")]):t._e(),"examiner"==t.cur?n("p",{staticClass:"title"},[t._v("专家库")]):n("p",{staticClass:"title"},[t._v("接收者")]),n("el-input",{attrs:{placeholder:"搜索","suffix-icon":"el-icon-search"},on:{input:t.getData},model:{value:t.query.realname,callback:function(e){t.$set(t.query,"realname",e)},expression:"query.realname"}}),n("ul",{staticClass:"people"},t._l(t.list,(function(e,a){return n("li",{key:a,on:{click:function(n){e.checked=!e.checked,t.id=e.id}}},[e.avatar?n("img",{attrs:{src:e.avatar,alt:""}}):t._e(),e.realname?n("font",[t._v(t._s(e.realname))]):n("font",[t._v(t._s(e.name))]),e.college?n("span",[t._v(t._s(e.college))]):t._e(),e.journal?n("span",[t._v(t._s(e.journal))]):t._e(),"examiner_leader"==t.cur?n("el-radio",{attrs:{label:e.id},model:{value:t.id,callback:function(e){t.id=e},expression:"id"}},[t._v(" ")]):n("el-checkbox",{model:{value:e.checked,callback:function(n){t.$set(e,"checked",n)},expression:"item.checked"}})],1)})),0)],1),"examiner_leader"!=t.cur?n("el-col",{attrs:{span:12}},[n("p",{staticClass:"title",staticStyle:{"margin-bottom":"50px"}},[t._v("已选 "),n("el-button",{staticStyle:{float:"right","margin-top":"5px"},attrs:{size:"mini",type:"info"},on:{click:t.clear}},[t._v("清除")])],1),n("ul",{staticClass:"people"},[t._l(t.list,(function(e,a){return[e.checked?n("li",{key:a},[e.avatar?n("img",{attrs:{src:e.avatar,alt:""}}):t._e(),e.realname?n("font",[t._v(t._s(e.realname))]):n("font",[t._v(t._s(e.name))]),e.college?n("span",[t._v(t._s(e.college))]):t._e(),e.journal?n("span",[t._v(t._s(e.journal))]):t._e(),n("i",{staticClass:"el-icon-error",on:{click:function(t){e.checked=!1}}})],1):t._e()]}))],2)]):t._e()],1)],1)},r=[],i=(n("fc02"),{props:{type:"",cur:"",cur_data:""},data:function(){return{search:"",query:{realname:""},checked:"",list:[],id:4,ids:[]}},watch:{type:function(t){this.id="",this.getData()},cur:function(t){this.id="",this.getData()},cur_data:function(t){t&&(console.log(t),"examiner_leader"==this.cur?this.id=parseInt(t):this.ids=t.split(","),this.getData())}},methods:{getData:function(){var t=this;1==this.type?this.$api.searchExamineList(this.query).then((function(e){var n=e.data.data;n=n||[];for(var a=0;a<n.length;a++)t.ids&&t.ids.indexOf(String(n[a].id))>=0?n[a].checked=!0:n[a].checked=!1;t.list=n})):this.$api.receiverList(this.query).then((function(e){var n=e.data.data;n=n||[],console.log(n);for(var a=0;a<n.length;a++)t.ids&&t.ids.indexOf(String(n[a].id))>=0?n[a].checked=!0:n[a].checked=!1;t.list=n}))},all:function(){for(var t=this.list,e=0;e<t.length;e++)this.$set(t[e],"checked",!0);this.list=t},clear:function(){for(var t=this.list,e=0;e<t.length;e++)this.$set(t[e],"checked",!1);this.list=t},submitForm:function(){for(var t,e=this.list,n=[],a=[],r=0;r<e.length;r++)e[r].checked&&(n.push(e[r].id),a.push(e[r].realname)),e[r].id==this.id&&(t=e[r].realname);return"examiner_leader"==this.cur?{id:String(this.id),name:t}:{id:n.join(","),name:a.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()}}),o=i,s=(n("f5bc"),n("5d22")),l=Object(s["a"])(o,a,r,!1,null,null,null);e["a"]=l.exports},"285b":function(t,e,n){var a=n("35d4"),r=n("5edc"),i=n("3471"),o=n("5d10"),s=n("4fd4"),l=n("83d3"),c=Object.getOwnPropertyDescriptor;e.f=n("26df")?c:function(t,e){if(t=i(t),e=o(e,!0),l)try{return c(t,e)}catch(n){}if(s(t,e))return r(!a.f.call(t,e),t[e])}},"32ea":function(t,e,n){var a=n("8078"),r=n("93ca");n("b2be")("keys",(function(){return function(t){return r(a(t))}}))},"3daf":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",{staticClass:"sf"},[n("el-breadcrumb",{attrs:{separator:"/"}},[n("el-breadcrumb-item",[t._v("审读管理")]),n("el-breadcrumb-item",{attrs:{to:{path:"/list"}}},[t._v("四封审读")])],1),n("div",{staticClass:"content"},[n("el-tabs",{on:{"tab-click":t.getData},model:{value:t.query.post_status,callback:function(e){t.$set(t.query,"post_status",e)},expression:"query.post_status"}},[n("el-tab-pane",{attrs:{label:"全部",name:"-1"}}),n("el-tab-pane",{attrs:{label:"未填报",name:"0"}}),n("el-tab-pane",{attrs:{label:"已填报",name:"1"}}),n("el-tab-pane",{attrs:{label:"退回重填",name:"5"}})],1),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",{attrs:{clearable:"",placeholder:"请输入标题"},on:{clear:t.getData},model:{value:t.query.name,callback:function(e){t.$set(t.query,"name",e)},expression:"query.name"}})],1),n("el-form-item",[n("el-button",{attrs:{type:"primary"},on:{click:t.getData}},[t._v("搜索")])],1)],1)],1),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticStyle:{width:"100%"},attrs:{data:t.list,height:"59vh"}},[n("el-table-column",{attrs:{align:"center",label:"标题",prop:"name"}}),n("el-table-column",{attrs:{align:"center",label:"发布帐号",prop:"journaluser_realname"}}),n("el-table-column",{attrs:{align:"center",label:"发布时间",prop:"ctime"}}),n("el-table-column",{attrs:{align:"center",label:"填报状态",prop:""},scopedSlots:t._u([{key:"default",fn:function(e){return[5==e.row.post_status?n("el-tag",{attrs:{type:"danger"}},[t._v("退回重填")]):t._e(),0==e.row.post_status?n("el-tag",{attrs:{type:"info"}},[t._v("未填报")]):t._e(),0!=e.row.post_status&&5!=e.row.post_status?n("el-tag",[t._v("已填报")]):t._e()]}}])}),n("el-table-column",{attrs:{label:"操作",width:"230",fixed:"right",align:"center",prop:"createAt"},scopedSlots:t._u([{key:"default",fn:function(e){return[0==e.row.post_status?n("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(n){return t.$router.push({path:"/list/detail",query:{id:e.row.id}})}}},[t._v("开始填报")]):n("el-button",{staticStyle:{width:"80px"},attrs:{type:"success",size:"mini"},on:{click:function(n){return t.$router.push({path:"/list/detail",query:{id:e.row.id}})}}},[t._v("查看")])]}}])})],1),n("Page",{ref:"pageButton",attrs:{current:t.query.page,page_size:t.query.page_size,total:t.total},on:{pageChange:t.gopage}})],1),n("el-dialog",{attrs:{"close-on-click-modal":!1,title:t.title,visible:t.open,width:"800px","append-to-body":""},on:{"update:visible":function(e){t.open=e}}},[n("el-form",{ref:"form",attrs:{model:t.form,rules:t.rules,"label-width":"120px"}},[n("el-form-item",{attrs:{label:"标题",prop:"name"}},[n("el-input",{attrs:{placeholder:"请输入标题"},model:{value:t.form.name,callback:function(e){t.$set(t.form,"name",e)},expression:"form.name"}})],1),n("el-form-item",{attrs:{label:"接收人",prop:"name"}},[n("div",{staticClass:"item-div",on:{click:function(e){t.open1=!0}}},[n("span",[t._v("请选择")])])]),n("el-form-item",{attrs:{label:"问卷模版",prop:"name"}},[n("el-select",{attrs:{placeholder:"请选择问卷模版"},model:{value:t.form.name,callback:function(e){t.$set(t.form,"name",e)},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(e){t.open1=!0}}},[n("span",[t._v("请选择")])])]),n("el-form-item",{attrs:{label:"选择组长",prop:"name"}},[n("div",{staticClass:"item-div",on:{click:function(e){t.open1=!0}}},[n("span",[t._v("请选择")])]),n("p",[t._v("注:组长选定后,本次审读工作将不能中途变更组长")])])],1),n("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{attrs:{size:"small",type:"primary"},on:{click:t.submitForm}},[t._v("确 定")])],1)],1),n("el-dialog",{attrs:{title:t.title,"close-on-click-modal":!1,visible:t.open1,width:"800px"},on:{"update:visible":function(e){t.open1=e}}},[n("person"),n("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{attrs:{size:"small",type:"primary"},on:{click:function(e){t.open1=!1}}},[t._v("确 定")])],1)],1)],1)},r=[],i=(n("ac67"),n("1bc78"),n("32ea"),n("7dd6")),o=n("9973"),s=n("27cd");function l(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,a)}return n}function c(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?l(Object(n),!0).forEach((function(e){Object(i["a"])(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var u={components:{person:s["a"],Page:o["a"]},data:function(){return{loading:!1,activeName:0,total:0,query:{page:1,page_size:10,post_status:"-1"},form:{},list:[{}],open:!1,open1:!1,title:"新建审读问卷",rules:{name:[{required:!0,message:"标题不能为空",trigger:"blur"}]}}},methods:{gopage:function(t){t&&(this.query.page_size=t),this.query.page=this.$refs.pageButton.page,this.getData()},urg:function(){this.$confirm("催办后将向用户绑定的手机号发送一条短信提醒,确认催办?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){}))},getData:function(){var t=this;this.loading=!0;var e=c({},this.query);"-1"==e.post_status&&(e.post_status=""),this.$api.getWorkflowList(e).then((function(e){t.list=e.data.data.list,t.total=e.data.data.total,t.loading=!1}))},handleClick:function(){},submitForm:function(){}},created:function(){var t=this.$route.query.id;this.$route.query.status&&(this.query.post_status=this.$route.query.status),this.$route.query.id&&(this.query.worksheet_id=t),this.getData()}},p=u,f=(n("1b2a"),n("5d22")),d=Object(f["a"])(p,a,r,!1,null,null,null);e["default"]=d.exports},"43ec":function(t,e,n){"use strict";var a=n("1663")(!0);t.exports=function(t,e,n){return e+(n?a(t,e).length:1)}},"66d0b":function(t,e,n){},"6bf8":function(t,e,n){"use strict";var a=n("a86f");t.exports=function(){var t=a(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},"7dd6":function(t,e,n){"use strict";function a(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,"a",(function(){return a}))},"804d":function(t,e,n){var a=n("9cff"),r=n("cea2"),i=n("839a")("match");t.exports=function(t){var e;return a(t)&&(void 0!==(e=t[i])?!!e:"RegExp"==r(t))}},9973:function(t,e,n){"use strict";var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("el-pagination",{attrs:{background:"","page-size":t.page_size?t.page_size:20,"current-page":t.current,"page-sizes":[10,20,30,40,50,60,70,80,90,100],layout:"total,sizes,prev, pager, next",total:t.total},on:{"current-change":t.getData,"size-change":t.handleSizeChange}})},r=[],i={data:function(){return{page:1}},props:{total:"",page_size:"",current:""},methods:{getData:function(t){console.log(t),this.page=t,this.$emit("pageChange")},handleSizeChange:function(t){this.$emit("pageChange",t)}},created:function(){}},o=i,s=(n("129d"),n("5d22")),l=Object(s["a"])(o,a,r,!1,null,null,null);e["a"]=l.exports},a210:function(t,e,n){},ac67:function(t,e,n){var a=n("e99b"),r=n("e7c8"),i=n("3471"),o=n("285b"),s=n("1374");a(a.S,"Object",{getOwnPropertyDescriptors:function(t){var e,n,a=i(t),l=o.f,c=r(a),u={},p=0;while(c.length>p)n=l(a,e=c[p++]),void 0!==n&&s(u,e,n);return u}})},af18:function(t,e,n){},b2be:function(t,e,n){var a=n("e99b"),r=n("76e3"),i=n("0926");t.exports=function(t,e){var n=(r.Object||{})[t]||Object[t],o={};o[t]=e(n),a(a.S+a.F*i((function(){n(1)})),"Object",o)}},bf73:function(t,e,n){"use strict";var a=n("0353");n("e99b")({target:"RegExp",proto:!0,forced:a!==/./.exec},{exec:a})},c46f:function(t,e,n){"use strict";n("bf73");var a=n("84e8"),r=n("065d"),i=n("0926"),o=n("3ab0"),s=n("839a"),l=n("0353"),c=s("species"),u=!i((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),p=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();t.exports=function(t,e,n){var f=s(t),d=!i((function(){var e={};return e[f]=function(){return 7},7!=""[t](e)})),h=d?!i((function(){var e=!1,n=/a/;return n.exec=function(){return e=!0,null},"split"===t&&(n.constructor={},n.constructor[c]=function(){return n}),n[f](""),!e})):void 0;if(!d||!h||"replace"===t&&!u||"split"===t&&!p){var g=/./[f],m=n(o,f,""[t],(function(t,e,n,a,r){return e.exec===l?d&&!r?{done:!0,value:g.call(e,n,a)}:{done:!0,value:t.call(n,e,a)}:{done:!1}})),v=m[0],b=m[1];a(String.prototype,t,v),r(RegExp.prototype,f,2==e?function(t,e){return b.call(t,this,e)}:function(t){return b.call(t,this)})}}},e7c8:function(t,e,n){var a=n("21d9"),r=n("0c29"),i=n("a86f"),o=n("0b34").Reflect;t.exports=o&&o.ownKeys||function(t){var e=a.f(i(t)),n=r.f;return n?e.concat(n(t)):e}},f417:function(t,e,n){"use strict";var a=n("d445"),r=RegExp.prototype.exec;t.exports=function(t,e){var n=t.exec;if("function"===typeof n){var i=n.call(t,e);if("object"!==typeof i)throw new TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==a(t))throw new TypeError("RegExp#exec called on incompatible receiver");return r.call(t,e)}},f5bc:function(t,e,n){"use strict";n("af18")},fc02:function(t,e,n){"use strict";var a=n("804d"),r=n("a86f"),i=n("1b0b"),o=n("43ec"),s=n("201c"),l=n("f417"),c=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(t,e,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(t,e){var r=String(this);if(void 0===t&&0===e)return[];if(!a(t))return n.call(r,t,e);var i,o,s,l=[],u=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),p=0,d=void 0===e?m:e>>>0,v=new RegExp(t.source,u+"g");while(i=c.call(v,r)){if(o=v[g],o>p&&(l.push(r.slice(p,i.index)),i[h]>1&&i.index<r[h]&&f.apply(l,i.slice(1)),s=i[0][h],p=o,l[h]>=d))break;v[g]===i.index&&v[g]++}return p===r[h]?!s&&v.test("")||l.push(""):l.push(r.slice(p)),l[h]>d?l.slice(0,d):l}:"0"[d](void 0,0)[h]?function(t,e){return void 0===t&&0===e?[]:n.call(this,t,e)}:n,[function(n,a){var r=t(this),i=void 0==n?void 0:n[e];return void 0!==i?i.call(n,r,a):b.call(String(r),n,a)},function(t,e){var a=u(b,t,this,e,b!==n);if(a.done)return a.value;var c=r(t),f=String(this),d=i(c,RegExp),h=c.unicode,g=(c.ignoreCase?"i":"")+(c.multiline?"m":"")+(c.unicode?"u":"")+(v?"y":"g"),y=new d(v?c:"^(?:"+c.source+")",g),_=void 0===e?m:e>>>0;if(0===_)return[];if(0===f.length)return null===l(y,f)?[f]:[];var x=0,k=0,w=[];while(k<f.length){y.lastIndex=v?k:0;var S,O=l(y,v?f:f.slice(k));if(null===O||(S=p(s(y.lastIndex+(v?0:k)),f.length))===x)k=o(f,k,h);else{if(w.push(f.slice(x,k)),w.length===_)return w;for(var C=1;C<=O.length-1;C++)if(w.push(O[C]),w.length===_)return w;k=x=S}}return w.push(f.slice(x)),w}]}))}}]);
- //# sourceMappingURL=chunk-7daff361.c18c6397.js.map
|