You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wkcrm/static/js/chunk-1165.5540fdaa.js

1 line
24 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-1165"],{"2Xr9":function(e,t,a){"use strict";a.r(t);var n=a("/861"),i=a("ViDN"),s=a("KTTK"),l=a("8GhS"),o=a("XAon"),c=a("Ktth"),r=a.n(c),u={name:"CreateSystemExamine",components:{CreateView:i.a,XhInput:l.g,XhTextarea:l.o,XhSelect:l.l,WkUserSelect:o.a,XhStrucUserCell:l.m},filters:{typeToComponentName:function(e){return"text"==e?"XhInput":"textarea"==e?"XhTextarea":"select"==e?"XhSelect":"structure"==e?"XhStrucUserCell":void 0},numberToZh:function(e){return r.a.encodeS(e)}},props:{handle:{type:Object,default:function(){return{type:"examineflow",action:"save",id:"",data:null}}}},data:function(){return{loading:!1,crmRules:{},crmForm:{crmFields:[]},currentPage:1,config:1,examineList:[{type:1,value:[],show:!1,options:[{name:"负责人主管",value:1},{name:"指定用户(任意一人)",value:2},{name:"指定用户(多人会签)",value:3}]}]}},computed:{queryUserListAPI:function(){return s.w},title:function(){if("examineflow"===this.handle.type){if("save"===this.handle.action)return"新建审批流程";if("update"===this.handle.action)return"编辑审批流程"}return""}},mounted:function(){if(document.body.appendChild(this.$el),this.getField(),this.handle.data)if(this.handle.data.config&&1===this.handle.data.config){this.config=1,this.examineList=[];for(var e=0;e<this.handle.data.stepList.length;e++){var t=this.handle.data.stepList[e],a={};a.type=t.status,2===t.status||3===t.status?(a.show=!0,a.value=t.user_id_info):(a.show=!1,a.value=[]),a.options=0===e?[{name:"负责人主管",value:1},{name:"指定用户(任意一人)",value:2},{name:"指定用户(多人会签)",value:3}]:[{name:"负责人主管",value:1},{name:"指定用户(任意一人)",value:2},{name:"指定用户(多人会签)",value:3},{name:"上一级审批人主管",value:4}],this.examineList.push(a)}}else this.config=0},destroyed:function(){this.$el&&this.$el.parentNode&&this.$el.parentNode.removeChild(this.$el)},methods:{fieldValueChange:function(e){this.crmForm.crmFields[e.index].value=e.value},getField:function(){var e=[];e.push({field:"name",formType:"text",isNull:1,name:"审批流名称",setting:[],inputTips:"",value:this.handle.data?this.handle.data.name:""}),e.push({field:"categoryType",formType:"select",isNull:0,name:"关联对象",setting:[{name:"合同",value:"crm_contract",type:"crm_contract"},{name:"回款",value:"crm_receivables",type:"crm_receivables"},{name:"发票",value:"crm_invoice",type:"crm_invoice"}],value:this.handle.data?this.handle.data.types:"crm_contract"}),e.push({field:"dept",formType:"structure",isNull:0,name:"应用部门",setting:[],inputTips:"默认全公司",value:{users:this.handle.data?this.handle.data.user_ids_info:[],strucs:this.handle.data?this.handle.data.structure_ids_info:[]}}),e.push({field:"remark",formType:"textarea",isNull:0,name:"流程说明",setting:[],inputTips:"请填写相关注意事项方便员工在申请时查阅限制输入200字",value:this.handle.data?this.handle.data.remark:""}),this.getcrmRulesAndModel(e)},getcrmRulesAndModel:function(e){for(var t=0;t<e.length;t++){var a=e[t],n=[];1==a.isNull&&n.push({required:!0,message:a.name+"不能为空",trigger:["blur","change"]}),this.crmRules[a.field]=n;var i={};i.value=a.value,i.key=a.field,i.data=a,"textarea"==a.formType&&(i.showblock=!0),this.crmForm.crmFields.push(i)}},saveField:function(){var e=this;this.$refs.crmForm.validate(function(t){if(!t)return e.$message.error("请完善必填信息"),!1;e.validStepsInfo()&&e.submiteParams(e.crmForm.crmFields)})},validStepsInfo:function(){for(var e=0;e<this.examineList.length;e++){var t=this.examineList[e];if((2===t.type||3===t.type)&&0===t.value.length)return this.$message.error("请添加员工"),!1}return!0},submiteParams:function(e){var t=this,a=this.getSubmiteParams(e);"update"==this.handle.action&&(a.flow_id=this.handle.data.flow_id),Object(n.h)(a).then(function(e){t.loading=!1,t.hidenView(),t.$message.success("操作成功"),t.$emit("save")}).catch(function(){t.loading=!1})},getSubmiteParams:function(e){for(var t={},a=0;a<e.length;a++){var n=e[a];"dept"===n.key?(n.value.users&&(t.user_ids=n.value.users&&n.value.users.map(function(e){return e.id})),n.value.strucs&&(t.structure_ids=n.value.strucs&&n.value.strucs.map(function(e){return e.id}))):t[n.key]=n.value}for(var i=[],s=0;s<this.examineList.length;s++){var l=this.examineList[s];i.push({status:l.type,user_id:l.value})}return t.config=this.config,t.types=t.categoryType,t.step=i,t},nextPage:function(){var e=this;this.$refs.crmForm.validate(function(t){t&&(e.currentPage=2)})},selectOptionsChange:function(e){2==e.type||3==e.type?e.show=!0:e.show=!1},selectOptionsFocus:function(e,t){if(this.examineList.length>1){var a=t>0?this.examineList[t-1]:null,n=null;t<this.examineList.length-1&&(n=this.examineList[t+1]);var i=!1,s=!1,l=!1;!a||2!==a.type&&3!==a.type||(l=!0),n&&4===n.type&&(i=!0,s=!0);var o=[{name:"负责人主管",value:1}];i||o.push({name:"指定用户(任意一人)",value:2}),s||o.push({name:"指定用户(多人会签)",value:3}),l||o.push({name:"上一级审批人主管",value:4}),e.options=o}},examineItemsAdd:function(){this.examineList.push({type:1,value:[],show:!1,options:[{name:"负责人主管",value:1},{name:"指定用户(任意一人)",value:2},{name:"指定用户(多人会签)",value:3},{name:"上一级审批人主管",value:4}]})},flowUserSelect:function(e){},deleteExamineItems:function(e){this.examineList.splice(e,1)},hidenView:function(){this.$emit("hiden-view")},getPaddingLeft:function(e,t){return e.showblock&&1==e.showblock?"0":t%2==0?"0":"40px"},getPaddingRight:function(e,t){return e.showblock&&1==e.showblock?"0":t%2==0?"40px":"0"}}},d=(a("C3zi"),a("KHd+")),h=Object(d.a)(u,function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("create-view",{attrs:{loading:e.loading,"body-style":{height:"100%"}}},[a("flexbox",{staticClass:"crm-create-container",attrs:{direction:"column",align:"stretch"}},[a("flexbox",{staticClass:"crm-create-header"},[a("div",{staticStyle:{flex:"1","font-size":"17px",color:"#333","font-weight":"bold"}},[e._v(e._s(e.title))]),e._v(" "),a("i",{staticClass:"el-icon-close close",on:{click:e.hidenView}})]),e._v(" "),a("flexbox",{staticClass:"crm-create-flex",attrs:{direction:"column",align:"stretch"}},[a("div",{directives:[{name:"show",rawName:"v-show",value:1==e.currentPage,expression:"currentPage == 1"}],staticClass:"crm-create-body"},[a("div",{staticClass:"create-name"},[e._v("基本信息")]),e._v(" "),a("el-form",{ref:"crmForm",staticClass:"crm-create-box",attrs:{model:e.crmForm,"label-position":"top"}},e._l(e.crmForm.crmFields,function(t,n){return a("el-form-item",{key:t.key,class:{"crm-create-block-item":t.showblock,"crm-create-item":!t.showblock},style:{"padding-left":e.getPaddingLeft(t,n),"padding-right":e.getPaddingRight(t,n)},attrs:{prop:"crmFields."+n+".value",rules:e.crmRules[t.key]}},[a("div",{staticStyle:{display:"inline-block"},attrs:{slot:"label"},slot:"label"},[a("div",{staticClass:"form-label"},[e._v("\n "+e._s(t.data.name)+"\n "),a("span",{staticStyle:{color:"#999"}},[e._v("\n "+e._s(t.data.inputTips?""+t.data.inputTips+"":"")+"\n ")])])]),e._v(" "),"textarea"==t.data.formType?a("el-input",{attrs:{autosize:{minRows:3},maxlength:200,type:"textarea",resize:"none","show-word-limit":""},model:{value:t.value,callback:function(a){e.$set(t,"value",a)},expression:"item.value"}}):a(e._f("typeToComponentName")(t.data.formType),{tag:"component",attrs:{value:t.value,index:n,item:t,radio:!1},on:{"value-change":e.fieldValueChange}})],1)}))],1),e._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:2==e.currentPage,expression:"currentPage == 2"}],staticClass:"crm-create-body"},[a("div",{staticStyle:{padding:"0 20px","font-size":"12px"}},[a("el-radio",{attrs:{label:1},model:{value:e.config,callback:function(t){e.config=t},expression:"config"}},[e._v("固定审批流")]),e._v(" "),a("div",{staticClass:"examine-items"},e._l(e.examineList,function(t,n){return a("flexbox",{key:n,staticClass:"examine-item"},[a("div",{staticClass:"examine-item-name"},[e._v("第"+e._s(e._f("numberToZh")(n+1))+"级")]),e._v(" "),a("el-select",{staticClass:"examine-item-select",on:{focus:function(a){e.selectOptionsFocus(t,n)},change:function(a){e.selectOptionsChange(t)}},model:{value:t.type,callback:function(a){e.$set(t,"type",a)},expression:"item.type"}},e._l(t.options,function(e){return a("el-option",{key:e.value,attrs:{label:e.name,value:e.value}})})),e._v(" "),t.show?a("wk-user-select",{staticStyle:{width:"260px"},attrs:{request:e.queryUserListAPI,params:{pageType:0}},model:{value:t.value,callback:function(a){e.$set(t,"value",a)},expression:"item.value"}}):e._e(),e._v(" "),e.examineList.length>1?a("i",{staticClass:"el-icon-remove examine-item-delete",on:{click:function(t){e.deleteExamineItems(n)}}}):e._e()],1)})),e._v(" "),a("div",{staticClass:"examine-items-add"},[a("span",{on:{click:e.examineItemsAdd}},[e._v("+ 添加审批层级")])]),e._v(" "),a("div",{staticClass:"examine-add-des"},[a("p",[a("span",{staticClass:"examine-add-required"},[e._v("*")]),e._v("当选择“负责人主管”审批时。系统仅会通知负责人主管。")]),e._v(" "),a("p",[a("span",{staticClass:"examine-add-required"},[e._v("*")]),e._v("当选择多个“指定用户”审批时。如果指定用户没有权限查看对应的合同,系统会通知其审批,但是他无法查看此数据信息。 ")]),e._v(" "),a("p",[a("span",{staticClass:"examine-add-required"},[e._v("*")]),e._v("当选择“指定用户(任意一人)”表示指定用户中任意一人审批即可。当选择“指定用户(多人会签)”表示 指定用户中所有人都要审批。")])]),e._v(" "),a("el-radio",{attrs:{label:0},model:{value:e.config,callback:function(t){e.config=t},expression:"config"}},[e._v("授权审批人")])],1)])]),e._v(" "),1==e.currentPage?a("div",{staticClass:"handle-bar"},[a("el-button",{staticClass:"handle-button",nativeOn:{click:function(t){return e.hidenView(t)}}},[e._v("取消")]),e._v(" "),a("el-button",{staticClass:"handle-button",attrs:{type:"primary"},nativeOn:{click:function(t){return e.nextPage(t)}}},[e._v("下一页")])],1):e._e(),e._v(" "),2==e.currentPage?a("div",{staticClass:"handle-bar"},[a("el-button",{staticClass:"handle-button",nativeOn:{click:function(t){return e.hidenView(t)}}},[e._v("取消")]),e._v(" "),a("el-button",{staticClass:"handle-button",attrs:{type:"primary"},nativeOn:{click:function(t){return e.saveField(t)}}},[e._v("保存")]),e._v(" "),a("el-button",{staticClass:"handle-button",attrs:{type:"primary"},nativeOn:{click:function(t){e.currentPage=1}}},[e._v("上一页")])],1):e._e()],1)],1)},[],!1,null,"7dbac784",null);h.options.__file="CreateSystemExamine.vue";var m=h.exports,f=a("P2sY"),p=a.n(f),v=a("Ew9n"),g=a("EP+0"),_={name:"SystemExamineDetail",components:{SlideView:v.a,CreateSections:g.a},filters:{formatedScopeInfo:function(e){var t=(e.deptList||[]).map(function(e){return e.name}).join("、"),a=(e.user_id_info||[]).map(function(e){return e.realname}).join("、");return t&&a&&(t+="、"),t+a||"全公司"},toRowName:function(e){return"第"+r.a.encodeS(e)+"级"},toRowNameDes:function(e){return 1==e.status?"负责人主管":2==e.status?e.user_id_info.length+"人或签":3==e.status?e.user_id_info.length+"人会签":4==e.status?"上一级审批人主管":""}},props:{data:Object},data:function(){return{showData:{},examineStatus:!1}},computed:{},watch:{data:function(e){this.getShowData()}},mounted:function(){this.getShowData()},methods:{deleteClick:function(){var e=this;this.$confirm("您确定要删除该审批流?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){Object(n.j)({flow_id:e.data.flow_id,status:2}).then(function(t){e.$emit("refresh"),e.hideView(),e.$message({type:"success",message:"操作成功"})}).catch(function(){})}).catch(function(){e.$message({type:"info",message:"已取消删除"})})},getShowData:function(){this.showData=p()({},this.data),this.examineStatus=0!=this.showData.status},examineStatusChange:function(e){var t=this;this.showData.status=e?1:0,this.$confirm("您确定要"+(e?"启用":"停用")+"该审批流?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){Object(n.a)({flow_id:t.data.flow_id,status:e?1:0}).then(function(e){t.$emit("refresh"),t.$message({type:"success",message:"操作成功"})}).catch(function(){t.cancelStatusChange()})}).catch(function(){t.cancelStatusChange(),t.$message({type:"info",message:"取消操作"})})},cancelStatusChange:function(){this.examineStatus=!this.examineStatus,this.showData.status=this.examineStatus?1:0},hideView:function(){this.$emit("hide-view")}}},x=(a("Qu/T"),Object(d.a)(_,function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("slide-view",{staticClass:"d-view",attrs:{"listener-ids":["manager-main-container"],"no-listener-class":["el-table__body"],"append-to-body":!0,"body-style":{padding:"10px 30px",height:"100%"}},on:{close:e.hideView}},[a("flexbox",{staticStyle:{height:"100%"},attrs:{orient:"vertical"}},[a("div",{staticClass:"header"},[a("flexbox",{staticClass:"detail-header"},[a("div",{staticClass:"header-name"},[e._v(e._s(e.showData.name)),a("i",{staticClass:"el-icon-delete delete",on:{click:e.deleteClick}})])]),e._v(" "),a("div",{staticClass:"detail-header-des"},[a("div",{staticClass:"status"},[e._v("状态:"+e._s(0==e.showData.status?"停用":"启用"))]),e._v(" "),a("div",{staticClass:"status-handle"},[e._v("\n 启用\n "),a("el-switch",{on:{change:e.examineStatusChange},model:{value:e.examineStatus,callback:function(t){e.examineStatus=t},expression:"examineStatus"}})],1)])],1),e._v(" "),a("div",{staticClass:"detail-body"},[a("create-sections",{staticClass:"create-sections",attrs:{title:"基本信息"}},[a("div",{staticClass:"create-sections-content"},[a("div",{staticClass:"dialog-content"},[a("flexbox",{staticClass:"content-items"},[a("div",{staticClass:"content-items-name"},[e._v("审批名称")]),e._v(" "),a("div",{staticClass:"content-items-value"},[e._v(e._s(e.showData.name))])]),e._v(" "),a("flexbox",{staticClass:"content-items"},[a("div",{staticClass:"content-items-name"},[e._v("适用范围")]),e._v(" "),a("div",{staticClass:"content-items-value"},[e._v(e._s(e._f("formatedScopeInfo")(e.showData)))])]),e._v(" "),a("flexbox",{staticClass:"content-items"},[a("div",{staticClass:"content-items-name"},[e._v("审批说明")]),e._v(" "),a("div",{staticClass:"content-items-value"},[e._v(e._s(e.showData.remark))])])],1)])]),e._v(" "),a("create-sections",{staticClass:"create-sections",attrs:{title:"流程"}},[1==e.showData.config?a("div",{staticClass:"create-sections-content"},e._l(e.showData.stepList,function(t,n){return a("flexbox",{key:n,staticClass:"examine-flow",attrs:{align:"stretch"}},[a("div",{staticClass:"examine-flow-header"},[a("div",{staticClass:"mark-circle"}),e._v(" "),0!=n?a("div",{staticClass:"mark-top-line"}):e._e(),e._v(" "),n<e.showData.stepList.length-1?a("div",{staticClass:"mark-bottom-line"}):e._e()]),e._v(" "),a("div",{staticClass:"examine-flow-body"},[a("div",{staticClass:"body-header"},[a("span",{staticClass:"body-header-name"},[e._v(e._s(e._f("toRowName")(n+1)))]),a("span",{staticClass:"body-header-des"},[e._v(""+e._s(e._f("toRowNameDes")(t))+"")])]),e._v(" "),t.user_id_info.length>0?a("flexbox",{staticClass:"examine-users"},e._l(t.user_id_info,function(t,n){return a("div",{key:n,staticClass:"examine-users-item"},[a("xr-avatar",{attrs:{name:t.realname,size:40,src:t.img}}),e._v(" "),a("div",{staticClass:"name"},[e._v(e._s(t.realname))])],1)})):e._e()],1)])})):a("div",{staticClass:"create-sections-content"},[e._v("授权审批人")])])],1)])],1)},[],!1,null,"08416c08",null));x.options.__file="SystemExamineDetail.vue";var y={name:"SystemExamine",components:{CreateSystemExamine:m,SystemExamineDetail:x.exports,XrHeader:a("9GgJ").a},mixins:[],data:function(){return{loading:!1,tableHeight:document.documentElement.clientHeight-240,list:[],fieldList:[{prop:"name",label:"审批流名称",width:150},{prop:"config",label:"流程类型",width:150},{prop:"categoryType",label:"关联对象",width:150},{prop:"userList",label:"适用范围",width:150},{prop:"realname",label:"最后修改人",width:150},{prop:"update_time",label:"最后修改时间",width:150},{prop:"status",label:"状态",width:100}],currentPage:1,pageSize:20,pageSizes:[10,20,30,40],total:0,showHandleView:!1,createHandleInfo:{action:"save",type:"examineflow",id:""},showDetail:!1,detailData:{},categoryTypeList:[{name:"合同",value:"crm_contract"},{name:"回款",value:"crm_receivables"},{name:"发票",value:"crm_invoice"}]}},computed:{},mounted:function(){window.onresize=function(){self.tableHeight=document.documentElement.clientHeight-240},this.getList()},methods:{getList:function(){var e=this;this.loading=!0,Object(n.c)({page:this.currentPage,limit:this.pageSize}).then(function(t){e.list=t.data.list,e.total=t.data.dataCount,e.loading=!1}).catch(function(){e.loading=!1})},fieldFormatter:function(e,t){if("config"===t.property)return 1===e[t.property]?"固定审批流":0===e[t.property]?"授权审批人":"";if("categoryType"===t.property){var a=this.categoryTypeList.find(function(t){return t.value===e.types});return a?a.name:"--"}if("userList"===t.property){var n=(e.structure_ids_info||[]).map(function(e){return e.name}).join("、"),i=(e.user_ids_info||[]).map(function(e){return e.realname}).join("、");return n&&i&&(n+="、"),n+i||"全公司"}return"status"===t.property?0===e[t.property]?"停用":"启用":e[t.property]},cellClassName:function(e){e.row;var t=e.column;e.rowIndex,e.columnIndex;return"name"===t.property?"can-visit--underline":""},addExamine:function(){this.createHandleInfo={action:"save",type:"examineflow",id:""},this.showHandleView=!0},handleRowClick:function(e,t,a){t.property&&(this.detailData=e,this.showDetail=!0)},handleSizeChange:function(e){this.pageSize=e,this.getList()},handleCurrentChange:function(e){this.currentPage=e,this.getList()},handleClick:function(e,t){var a=this;"edit"===e?(this.createHandleInfo.action="update",this.createHandleInfo.id=t.row.flow_id,this.createHandleInfo.data=t.row,this.showHandleView=!0):"delete"===e?this.$confirm("您确定要删除该审批流?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){Object(n.j)({flow_id:t.row.flow_id}).then(function(e){a.list.splice(t.$index,1),0===a.list.length&&(a.currentPage=a.currentPage-1>0?a.currentPage-1:1),a.getList(),a.$message({type:"success",message:"操作成功"})}).catch(function(){})}).catch(function(){a.$message({type:"info",message:"已取消删除"})}):"change"===e?this.$confirm("您确定要"+(0===t.row.status?"启用":"停用")+"该审批流?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){Object(n.a)({flow_id:t.row.flow_id,status:0===t.row.status?1:0}).then(function(e){t.row.status=0===t.row.status?1:0,a.$message({type:"success",message:"操作成功"})}).catch(function(){})}).catch(function(){a.$message({type:"info",message:"取消操作"})}):"copy"===e&&(this.createHandleInfo.action="save",this.createHandleInfo.id="",this.createHandleInfo.data=t.row,this.showHandleView=!0)}}},w=(a("q3/b"),Object(d.a)(y,function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"main"},[a("xr-header",{attrs:{"icon-class":"wk wk-approve","icon-color":"#FFB940",label:"审批流"}}),e._v(" "),a("div",{staticClass:"main-body"},[a("div",{staticClass:"main-table-header"},[a("el-button",{staticClass:"main-table-header-button xr-btn--orange",attrs:{type:"primary",icon:"el-icon-plus"},on:{click:e.addExamine}},[e._v("新建审批流程")])],1),e._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"main-table",staticStyle:{width:"100%"},attrs:{id:"examine-table",data:e.list,height:e.tableHeight,"cell-class-name":e.cellClassName,"highlight-current-row":""},on:{"row-click":e.handleRowClick}},[e._l(e.fieldList,function(t,n){return a("el-table-column",{key:n,attrs:{formatter:e.fieldFormatter,prop:t.prop,width:t.width,label:t.label,"show-overflow-tooltip":""}})}),e._v(" "),a("el-table-column"),e._v(" "),a("el-table-column",{attrs:{fixed:"right",label:"操作",width:"250"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){e.handleClick("edit",t)}}},[e._v("编辑")]),e._v(" "),a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){e.handleClick("delete",t)}}},[e._v("删除")]),e._v(" "),a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){e.handleClick("change",t)}}},[e._v(e._s(0===t.row.status?"启用":"停用"))]),e._v(" "),a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){e.handleClick("copy",t)}}},[e._v("复制并新建")])]}}])})],2),e._v(" "),a("div",{staticClass:"p-contianer"},[a("el-pagination",{staticClass:"p-bar",attrs:{"current-page":e.currentPage,"page-sizes":e.pageSizes,"page-size":e.pageSize,total:e.total,background:"",layout:"prev, pager, next, sizes, total, jumper"},on:{"update:pageSize":function(t){e.pageSize=t},"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1)],1),e._v(" "),e.showHandleView?a("create-system-examine",{attrs:{handle:e.createHandleInfo},on:{save:e.getList,"hiden-view":function(t){e.showHandleView=!1}}}):e._e(),e._v(" "),e.showDetail?a("system-examine-detail",{attrs:{data:e.detailData},on:{refresh:e.getList,"hide-view":function(t){e.showDetail=!1}}}):e._e()],1)},[],!1,null,"da099172",null));w.options.__file="index.vue";t.default=w.exports},"2f65":function(e,t,a){},"3V1C":function(e,t,a){},"7mY3":function(e,t,a){"use strict";var n=a("2f65");a.n(n).a},"9GgJ":function(e,t,a){"use strict";var n={name:"XrHeader",components:{},props:{iconClass:[String,Array],iconColor:String,label:String,showSearch:{type:Boolean,default:!1},searchIconType:{type:String,default:"text"},placeholder:{type:String,default:"请输入内容"},ftTop:{type:String,default:"15px"},content:[String,Number],inputAttr:{type:Object,default:function(){}}},data:function(){return{search:""}},computed:{},watch:{content:{handler:function(){this.search!=this.content&&(this.search=this.content)},immediate:!0}},mounted:function(){},beforeDestroy:function(){},methods:{inputChange:function(){this.$emit("update:content",this.search)},searchClick:function(){this.$emit("search",this.search)}}},i=(a("7mY3"),a("KHd+")),s=Object(i.a)(n,function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("flexbox",{staticClass:"xr-header"},[e.iconClass?a("div",{staticClass:"xr-header__icon",style:{backgroundColor:e.iconColor}},[a("i",{class:e.iconClass})]):e._e(),e._v(" "),a("div",{staticClass:"xr-header__label"},[e.$slots.label?e._t("label"):[e._v(e._s(e.label))]],2),e._v(" "),e.showSearch?a("el-input",e._b({staticClass:"xr-header__search",class:{"is-text":"text"===e.searchIconType},style:{"margin-top":e.ftTop},attrs:{placeholder:e.placeholder},on:{input:e.inputChange},nativeOn:{keyup:function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")?e.searchClick(t):null}},model:{value:e.search,callback:function(t){e.search=t},expression:"search"}},"el-input",e.inputAttr,!1),["text"===e.searchIconType?a("el-button",{attrs:{slot:"append",type:"primary"},nativeOn:{click:function(t){return e.searchClick(t)}},slot:"append"},[e._v("搜索")]):a("el-button",{attrs:{slot:"append",icon:"el-icon-search"},nativeOn:{click:function(t){return e.searchClick(t)}},slot:"append"})],1):e._e(),e._v(" "),a("div",{staticClass:"xr-header__ft",style:{top:e.ftTop}},[e._t("ft")],2)],1)},[],!1,null,"acb6d756",null);s.options.__file="index.vue";t.a=s.exports},C3zi:function(e,t,a){"use strict";var n=a("xqqE");a.n(n).a},M08m:function(e,t,a){},"Qu/T":function(e,t,a){"use strict";var n=a("M08m");a.n(n).a},"q3/b":function(e,t,a){"use strict";var n=a("3V1C");a.n(n).a},xqqE:function(e,t,a){}}]);