12 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-34d98260"],{"129d":function(t,e,a){"use strict";a("a210")},1374:function(t,e,a){"use strict";var n=a("bb8b"),r=a("5edc");t.exports=function(t,e,a){e in t?n.f(t,e,r(0,a)):t[e]=a}},"1b2a":function(t,e,a){"use strict";a("66d0b")},"1bc78":function(t,e,a){for(var n=a("25ba"),r=a("93ca"),i=a("84e8"),o=a("0b34"),s=a("065d"),l=a("953d"),c=a("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},m=r(d),b=0;b<m.length;b++){var g,h=m[b],v=d[h],y=o[h],_=y&&y.prototype;if(_&&(_[u]||s(_,u,f),_[p]||s(_,p,h),l[h]=f,v))for(g in n)_[g]||i(_,g,n[g],!0)}},"21d9":function(t,e,a){var n=a("3a4c"),r=a("065e").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,r)}},"27cd":function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"person"},[a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:21}},[a("p",{staticClass:"title"},[t._v("专家库")]),a("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"}}),a("ul",{staticClass:"people"},t._l(t.list,(function(e,n){return a("li",{key:n,on:{click:function(a){e.checked=!e.checked,t.id=e.id}}},[t._v("\n "+t._s(e.realname)+" "),a("span"),"examiner_leader"==t.cur?a("el-radio",{attrs:{label:e.id},model:{value:t.id,callback:function(e){t.id=e},expression:"id"}},[t._v(" ")]):a("el-checkbox",{model:{value:e.checked,callback:function(a){t.$set(e,"checked",a)},expression:"item.checked"}})],1)})),0)],1),a("el-col",{attrs:{span:3}})],1)],1)},r=[],i={props:{type:"",cur:""},data:function(){return{search:"",query:{realname:""},checked:"",list:[],id:""}},watch:{type:function(t){this.id="",this.getData()},cur:function(t){this.id="",this.getData()}},methods:{getData:function(){var t=this;1==this.type?this.$api.searchExamineList(this.query).then((function(e){for(var a=e.data.data,n=0;n<a.length;n++)a[n].checked=!1;t.list=a})):this.$api.receiverList(this.query).then((function(e){for(var a=e.data.data,n=0;n<a.length;n++)a[n].checked=!1;t.list=a}))},submitForm:function(){for(var t,e=this.list,a=[],n=[],r=0;r<e.length;r++)e[r].checked&&(a.push(e[r].id),n.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:a.join(","),name:n.join(",")}}},created:function(){this.getData()}},o=i,s=(a("f5bc"),a("5d22")),l=Object(s["a"])(o,n,r,!1,null,null,null);e["a"]=l.exports},"285b":function(t,e,a){var n=a("35d4"),r=a("5edc"),i=a("3471"),o=a("5d10"),s=a("4fd4"),l=a("83d3"),c=Object.getOwnPropertyDescriptor;e.f=a("26df")?c:function(t,e){if(t=i(t),e=o(e,!0),l)try{return c(t,e)}catch(a){}if(s(t,e))return r(!n.f.call(t,e),t[e])}},"32ea":function(t,e,a){var n=a("8078"),r=a("93ca");a("b2be")("keys",(function(){return function(t){return r(n(t))}}))},"3daf":function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"sf"},[a("el-breadcrumb",{attrs:{separator:"/"}},[a("el-breadcrumb-item",[t._v("审读管理")]),a("el-breadcrumb-item",{attrs:{to:{path:"/list"}}},[t._v("四封审读")])],1),a("div",{staticClass:"content"},[a("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"}},[a("el-tab-pane",{attrs:{label:"全部",name:"-1"}}),a("el-tab-pane",{attrs:{label:"未填报",name:"0"}}),a("el-tab-pane",{attrs:{label:"已填报",name:"1"}}),a("el-tab-pane",{attrs:{label:"退回重填",name:"5"}})],1),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",{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),a("el-form-item",[a("el-button",{attrs:{type:"primary"},on:{click:t.getData}},[t._v("搜索")])],1)],1)],1),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticStyle:{width:"100%"},attrs:{data:t.list,height:"59vh"}},[a("el-table-column",{attrs:{align:"center",label:"标题",prop:"name"}}),a("el-table-column",{attrs:{align:"center",label:"发布帐号",prop:"journaluser_realname"}}),a("el-table-column",{attrs:{align:"center",label:"发布时间",prop:"ctime"}}),a("el-table-column",{attrs:{align:"center",label:"填报状态",prop:""},scopedSlots:t._u([{key:"default",fn:function(e){return[0==e.row.post_status?a("el-tag",{attrs:{type:"info"}},[t._v("未填报")]):t._e(),1==e.row.post_status?a("el-tag",[t._v("已填报")]):t._e(),3==e.row.post_status?a("el-tag",[t._v("待复检")]):t._e(),2==e.row.post_status||4==e.row.post_status?a("el-tag",{attrs:{type:"success"}},[t._v("已完成")]):t._e(),5==e.row.post_status?a("el-tag",{attrs:{type:"warning"}},[t._v("退回重填")]):t._e()]}}])}),a("el-table-column",{attrs:{align:"center",width:"150",label:"审读专家",prop:"assign_user_realname"}}),a("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?a("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(a){return t.$router.push({path:"/list/detail",query:{id:e.row.id}})}}},[t._v("开始填报")]):a("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(a){return t.$router.push({path:"/list/detail",query:{id:e.row.id}})}}},[t._v("查看")])]}}])})],1),a("Page",{ref:"pageButton",attrs:{current:t.query.page,page_size:t.query.page_size,total:t.total},on:{pageChange:t.gopage}})],1),a("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}}},[a("el-form",{ref:"form",attrs:{model:t.form,rules:t.rules,"label-width":"120px"}},[a("el-form-item",{attrs:{label:"标题",prop:"name"}},[a("el-input",{attrs:{placeholder:"请输入标题"},model:{value:t.form.name,callback:function(e){t.$set(t.form,"name",e)},expression:"form.name"}})],1),a("el-form-item",{attrs:{label:"接收人",prop:"name"}},[a("div",{staticClass:"item-div",on:{click:function(e){t.open1=!0}}},[a("span",[t._v("请选择")])])]),a("el-form-item",{attrs:{label:"问卷模版",prop:"name"}},[a("el-select",{attrs:{placeholder:"请选择问卷模版"},model:{value:t.form.name,callback:function(e){t.$set(t.form,"name",e)},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(e){t.open1=!0}}},[a("span",[t._v("请选择")])])]),a("el-form-item",{attrs:{label:"选择组长",prop:"name"}},[a("div",{staticClass:"item-div",on:{click:function(e){t.open1=!0}}},[a("span",[t._v("请选择")])]),a("p",[t._v("注:组长选定后,本次审读工作将不能中途变更组长")])])],1),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{attrs:{size:"small",type:"primary"},on:{click:t.submitForm}},[t._v("确 定")])],1)],1),a("el-dialog",{attrs:{title:t.title,"close-on-click-modal":!1,visible:t.open1,width:"800px"},on:{"update:visible":function(e){t.open1=e}}},[a("person"),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{attrs:{size:"small",type:"primary"},on:{click:function(e){t.open1=!1}}},[t._v("确 定")])],1)],1)],1)},r=[],i=(a("ac67"),a("1bc78"),a("32ea"),a("7dd6")),o=a("9973"),s=a("27cd");function l(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function c(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?l(Object(a),!0).forEach((function(e){Object(i["a"])(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):l(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,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.form.page_size=t),this.form.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=(a("1b2a"),a("5d22")),d=Object(f["a"])(p,n,r,!1,null,null,null);e["default"]=d.exports},"66d0b":function(t,e,a){},"7dd6":function(t,e,a){"use strict";function n(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}a.d(e,"a",(function(){return n}))},9973:function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("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){this.page=t,this.$emit("pageChange")},handleSizeChange:function(t){this.$emit("pageChange",t)}},created:function(){}},o=i,s=(a("129d"),a("5d22")),l=Object(s["a"])(o,n,r,!1,null,null,null);e["a"]=l.exports},a210:function(t,e,a){},ac67:function(t,e,a){var n=a("e99b"),r=a("e7c8"),i=a("3471"),o=a("285b"),s=a("1374");n(n.S,"Object",{getOwnPropertyDescriptors:function(t){var e,a,n=i(t),l=o.f,c=r(n),u={},p=0;while(c.length>p)a=l(n,e=c[p++]),void 0!==a&&s(u,e,a);return u}})},af18:function(t,e,a){},b2be:function(t,e,a){var n=a("e99b"),r=a("76e3"),i=a("0926");t.exports=function(t,e){var a=(r.Object||{})[t]||Object[t],o={};o[t]=e(a),n(n.S+n.F*i((function(){a(1)})),"Object",o)}},e7c8:function(t,e,a){var n=a("21d9"),r=a("0c29"),i=a("a86f"),o=a("0b34").Reflect;t.exports=o&&o.ownKeys||function(t){var e=n.f(i(t)),a=r.f;return a?e.concat(a(t)):e}},f5bc:function(t,e,a){"use strict";a("af18")}}]);
- //# sourceMappingURL=chunk-34d98260.488bb63b.js.map
|