chunk-26f62d79.c9863d2e.js 8.0 KB

12
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-26f62d79"],{"0c11":function(e,t,a){},"108d":function(e,t,a){"use strict";a.r(t);var l=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)},n=[],i=a("9973"),r=a("27cd"),o={components:{person:r["a"],Page:i["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.form.page_size=e),this.form.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,l,n,!1,null,null,null);t["default"]=u.exports},"129d":function(e,t,a){"use strict";a("a210")},"27cd":function(e,t,a){"use strict";var l=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:21}},[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,l){return a("li",{key:l,on:{click:function(a){t.checked=!t.checked,e.id=t.id}}},[e._v("\n "+e._s(t.realname)+" "),a("span"),"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),a("el-col",{attrs:{span:3}})],1)],1)},n=[],i={props:{type:"",cur:""},data:function(){return{search:"",query:{realname:""},checked:"",list:[],id:""}},watch:{type:function(e){this.id="",this.getData()},cur:function(e){this.id="",this.getData()}},methods:{getData:function(){var e=this;1==this.type?this.$api.searchExamineList(this.query).then((function(t){for(var a=t.data.data,l=0;l<a.length;l++)a[l].checked=!1;e.list=a})):this.$api.receiverList(this.query).then((function(t){for(var a=t.data.data,l=0;l<a.length;l++)a[l].checked=!1;e.list=a}))},submitForm:function(){for(var e,t=this.list,a=[],l=[],n=0;n<t.length;n++)t[n].checked&&(a.push(t[n].id),l.push(t[n].realname)),t[n].id==this.id&&(e=t[n].realname);return"examiner_leader"==this.cur?{id:String(this.id),name:e}:{id:a.join(","),name:l.join(",")}}},created:function(){this.getData()}},r=i,o=(a("f5bc"),a("5d22")),s=Object(o["a"])(r,l,n,!1,null,null,null);t["a"]=s.exports},9973:function(e,t,a){"use strict";var l=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}})},n=[],i={data:function(){return{page:1}},props:{total:"",page_size:"",current:""},methods:{getData:function(e){this.page=e,this.$emit("pageChange")},handleSizeChange:function(e){this.$emit("pageChange",e)}},created:function(){}},r=i,o=(a("129d"),a("5d22")),s=Object(o["a"])(r,l,n,!1,null,null,null);t["a"]=s.exports},a210:function(e,t,a){},af18:function(e,t,a){},bc9b:function(e,t,a){"use strict";a("0c11")},f5bc:function(e,t,a){"use strict";a("af18")}}]);
  2. //# sourceMappingURL=chunk-26f62d79.c9863d2e.js.map