(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-c03312d2"],{"09ed":function(e,t,r){},"129d":function(e,t,r){"use strict";r("a210")},1374:function(e,t,r){"use strict";var i=r("bb8b"),a=r("5edc");e.exports=function(e,t,r){t in e?i.f(e,t,a(0,r)):e[t]=r}},"1bc78":function(e,t,r){for(var i=r("25ba"),a=r("93ca"),n=r("84e8"),s=r("0b34"),o=r("065d"),l=r("953d"),c=r("839a"),u=c("iterator"),d=c("toStringTag"),p=l.Array,f={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},m=a(f),h=0;h=0?r[i].checked=!0:r[i].checked=!1;e.list=r})):this.$api.receiverList(this.query).then((function(t){var r=t.data.data;r=r||[],console.log(r);for(var i=0;i=0?r[i].checked=!0:r[i].checked=!1;e.list=r}))},all:function(){for(var e=this.list,t=0;t0&&("examiner_leader"==this.cur?this.id=parseInt(this.cur_data):this.ids=this.cur_data.split(",")),this.getData()}}),s=n,o=(r("f5bc"),r("5d22")),l=Object(o["a"])(s,i,a,!1,null,null,null);t["a"]=l.exports},"285b":function(e,t,r){var i=r("35d4"),a=r("5edc"),n=r("3471"),s=r("5d10"),o=r("4fd4"),l=r("83d3"),c=Object.getOwnPropertyDescriptor;t.f=r("26df")?c:function(e,t){if(e=n(e),t=s(t,!0),l)try{return c(e,t)}catch(r){}if(o(e,t))return a(!i.f.call(e,t),e[t])}},"32ea":function(e,t,r){var i=r("8078"),a=r("93ca");r("b2be")("keys",(function(){return function(e){return a(i(e))}}))},"68bb":function(e,t,r){"use strict";r("09ed")},"7dd6":function(e,t,r){"use strict";function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.d(t,"a",(function(){return i}))},9973:function(e,t,r){"use strict";var i=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("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=[],n={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(){}},s=n,o=(r("129d"),r("5d22")),l=Object(o["a"])(s,i,a,!1,null,null,null);t["a"]=l.exports},a210:function(e,t,r){},ac67:function(e,t,r){var i=r("e99b"),a=r("e7c8"),n=r("3471"),s=r("285b"),o=r("1374");i(i.S,"Object",{getOwnPropertyDescriptors:function(e){var t,r,i=n(e),l=s.f,c=a(i),u={},d=0;while(c.length>d)r=l(i,t=c[d++]),void 0!==r&&o(u,t,r);return u}})},af18:function(e,t,r){},b2be:function(e,t,r){var i=r("e99b"),a=r("76e3"),n=r("0926");e.exports=function(e,t){var r=(a.Object||{})[e]||Object[e],s={};s[e]=t(r),i(i.S+i.F*n((function(){r(1)})),"Object",s)}},e7c8:function(e,t,r){var i=r("21d9"),a=r("0c29"),n=r("a86f"),s=r("0b34").Reflect;e.exports=s&&s.ownKeys||function(e){var t=i.f(n(e)),r=a.f;return r?t.concat(r(e)):t}},f29f:function(e,t,r){"use strict";r.r(t);var i=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("section",{staticClass:"sf"},[r("el-breadcrumb",{attrs:{separator:"/"}},[r("el-breadcrumb-item",[e._v("审读管理")]),r("el-breadcrumb-item",[e._v("四封审读")])],1),r("div",{staticClass:"content"},[r("div",{staticClass:"filter"},[r("el-form",{attrs:{size:"small","label-width":"70px",inline:!0,"label-position":"left"}},[r("el-form-item",{attrs:{label:""}},[r("el-input",{attrs:{clearable:"",placeholder:"请输入标题"},on:{clear:e.getData},model:{value:e.query.name,callback:function(t){e.$set(e.query,"name",t)},expression:"query.name"}})],1),r("el-form-item",[r("el-button",{attrs:{type:"primary"},on:{click:e.getData}},[e._v("搜索")])],1),0==e.role?r("el-form-item",{staticStyle:{float:"right"}},[r("el-button",{attrs:{type:"primary"},on:{click:function(t){e.open=!0,e.title="新建审读问卷"}}},[e._v("新建审读问卷")])],1):e._e()],1)],1),r("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticStyle:{width:"100%"},attrs:{data:e.list,height:"59vh"}},[r("el-table-column",{attrs:{label:"标题",width:"200",align:"center",prop:"createAt"},scopedSlots:e._u([{key:"default",fn:function(t){return[0==e.role?r("el-link",{attrs:{type:"primary"},on:{click:function(r){return e.$router.push({path:"/index/list",query:{id:t.row.id}})}}},[e._v("\n "+e._s(t.row.name)+"\n ")]):e._e(),2==e.role?r("el-link",{attrs:{type:"primary"},on:{click:function(r){return e.$router.push({path:"/expert/list",query:{id:t.row.id}})}}},[e._v("\n "+e._s(t.row.name)+"\n ")]):e._e(),3==e.role?r("el-link",{attrs:{type:"primary"},on:{click:function(r){return e.$router.push({path:"/leader/list",query:{id:t.row.id}})}}},[e._v("\n "+e._s(t.row.name)+"\n ")]):e._e()]}}])}),r("el-table-column",{attrs:{label:"问卷预览",align:"center",prop:"createAt"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("el-button",{attrs:{type:"text"},on:{click:function(r){return e.viewSurvey(t.row)}}},[e._v("\n 查看问卷\n ")])]}}])}),r("el-table-column",{directives:[{name:"show",rawName:"v-show",value:0==e.role||3==e.role,expression:"role==0||role==3"}],attrs:{label:"填报统计",align:"center",width:"200",prop:"createAt"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n 共统计"),r("el-link",{attrs:{type:"primary"},on:{click:function(r){return e.$router.push({path:"/index/list",query:{id:t.row.id,status:t.row.post_status}})}}},[e._v("\n   "+e._s(t.row.total_count)+"  \n ")]),e._v("份"),r("br"),e._v("\n 已完成"),r("el-link",{attrs:{type:"primary"},on:{click:function(r){return e.$router.push({path:"/index/list",query:{id:t.row.id,status:1}})}}},[e._v("\n   "+e._s(t.row.finish_count)+"  \n ")]),e._v("份"),r("br"),e._v("\n 未填报"),r("el-link",{attrs:{type:"primary"},on:{click:function(r){return e.$router.push({path:"/index/list",query:{id:t.row.id,status:0}})}}},[e._v("\n   "+e._s(t.row.unfinish_count)+"  \n ")]),e._v("份\n ")]}}])}),r("el-table-column",{directives:[{name:"show",rawName:"v-show",value:0==e.role||3==e.role,expression:"role==0 || role==3"}],attrs:{label:"审核组成员",width:"150",align:"center",prop:"createAt"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("el-button",{attrs:{type:"text"},on:{click:function(r){return e.$router.push({path:"/index/member",query:{id:t.row.id}})}}},[e._v("\n 查看详情\n ")])]}}])}),r("el-table-column",{directives:[{name:"show",rawName:"v-show",value:0==e.role||3==e.role,expression:"role==0 || role==3"}],attrs:{label:"问卷统计",align:"center",prop:"createAt"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("el-button",{attrs:{type:"text"},on:{click:function(r){return e.$router.push({path:"/index/analysis",query:{id:t.row.id}})}}},[e._v("\n 查看\n ")])]}}])}),r("el-table-column",{attrs:{align:"center",label:"发送者",prop:"cname"}}),r("el-table-column",{attrs:{width:"200",align:"center",label:"发布时间",prop:"ctime"}}),r("el-table-column",{attrs:{label:"操作",width:"230",fixed:"right",align:"center",prop:"createAt"},scopedSlots:e._u([{key:"default",fn:function(t){return[0==e.role?r("div",[t.row.is_active?r("el-button",{attrs:{type:"danger",size:"mini"},on:{click:function(r){return e.active(t.row.id,"禁用")}}},[e._v("禁用")]):r("el-button",{attrs:{type:"danger",size:"mini"},on:{click:function(r){return e.active(t.row.id,"启用")}}},[e._v("启用")]),r("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(r){e.open=!0,e.title="编辑审读问卷",e.edit(t.row)}}},[e._v("编辑")]),r("el-button",{attrs:{type:"success",size:"mini"},on:{click:function(r){return e.$router.push({path:"/index/list",query:{id:t.row.id}})}}},[e._v("查看")])],1):e._e(),2==e.role?r("div",[r("el-button",{attrs:{type:"success",size:"mini"},on:{click:function(r){return e.$router.push({path:"/expert/list",query:{id:t.row.id}})}}},[e._v("查看")])],1):e._e(),3==e.role?r("div",[e.assignment?r("el-button",{attrs:{type:"success",size:"mini"},on:{click:function(r){return e.$router.push({path:"/assignment/task",query:{id:t.row.id}})}}},[e._v("查看")]):r("el-button",{attrs:{type:"success",size:"mini"},on:{click:function(r){return e.$router.push({path:"/leader/list",query:{id:t.row.id}})}}},[e._v("查看")])],1):e._e()]}}])})],1),r("Page",{ref:"pageButton",attrs:{current:e.query.page,page_size:e.query.page_size,total:e.total},on:{pageChange:e.gopage}})],1),r("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}}},[r("el-form",{ref:"form",attrs:{model:e.form,rules:e.rules,"label-width":"120px"}},[r("el-form-item",{attrs:{label:"标题",prop:"name"}},[r("el-input",{attrs:{placeholder:"请输入标题"},model:{value:e.form.name,callback:function(t){e.$set(e.form,"name",t)},expression:"form.name"}})],1),r("el-form-item",{attrs:{label:"接收人",prop:""}},[r("el-select",{attrs:{multiple:"",clearable:"",placeholder:"请选择"},model:{value:e.form.receiver_id,callback:function(t){e.$set(e.form,"receiver_id",t)},expression:"form.receiver_id"}},e._l(e.relist,(function(e,t){return r("el-option",{key:t,attrs:{label:e.name,value:e.id}})})),1)],1),r("el-form-item",{attrs:{label:"问卷模版",prop:"template_id"}},[r("el-select",{attrs:{placeholder:"请选择问卷模版"},model:{value:e.form.template_id,callback:function(t){e.$set(e.form,"template_id",t)},expression:"form.template_id"}},e._l(e.templateList,(function(e,t){return r("el-option",{key:t,attrs:{label:e.name,value:e.id}})})),1)],1),r("el-form-item",{attrs:{label:"审核人员",prop:"examiner_id"}},[r("el-select",{attrs:{multiple:"",clearable:"",placeholder:"请选择"},model:{value:e.form.examiner_id,callback:function(t){e.$set(e.form,"examiner_id",t)},expression:"form.examiner_id"}},e._l(e.exlist,(function(e,t){return r("el-option",{key:t,attrs:{label:e.realname,value:e.id}})})),1)],1),r("el-form-item",{attrs:{label:"选择组长",prop:"examiner_leader_id"}},[r("el-select",{attrs:{clearable:"",placeholder:"请选择"},model:{value:e.form.examiner_leader_id,callback:function(t){e.$set(e.form,"examiner_leader_id",t)},expression:"form.examiner_leader_id"}},e._l(e.exlist,(function(e,t){return r("el-option",{key:t,attrs:{label:e.realname,value:e.id}})})),1),r("p",[e._v("注:组长选定后,本次审读工作将不能中途变更组长")])],1)],1),r("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[r("el-button",{attrs:{size:"small",type:"primary"},on:{click:e.submitForm}},[e._v("确 定")])],1)],1),r("el-dialog",{attrs:{title:e.title,"close-on-click-modal":!1,visible:e.open1,width:"800px"},on:{"update:visible":function(t){e.open1=t}}},[r("person",{ref:"per",attrs:{cur:e.cur,show_head:!1,type:e.type}}),r("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[r("el-button",{attrs:{size:"small",type:"primary"},on:{click:function(t){e.open1=!1,e.sure()}}},[e._v("确 定")])],1)],1),r("el-dialog",{staticClass:"temp",attrs:{title:e.title,visible:e.open2,width:"600px"},on:{"update:visible":function(t){e.open2=t}}},[r("temp",{ref:"temp",attrs:{info:e.temp}})],1)],1)},a=[],n=(r("ac67"),r("1bc78"),r("32ea"),r("fc02"),r("7dd6")),s=(r("a450"),r("9973")),o=r("27cd"),l=r("78c3");function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,i)}return r}function u(e){for(var t=1;t=0&&(this.assignment=1),this.$api.getAccountInfo().then((function(t){t.code||(e.role=t.data.data.role)})),this.$api.searchExamineList(this.query).then((function(t){for(var r=t.data.data,i=0;i