text: webpackJsonp([13,23],{"/O8v":function(e,t,n){"use strict";function a(e){n("oszT")}Object.defineProperty(t,"__esModule",{value:!0});var i=n("RqXf"),s=n("jqQh"),o=n("VU/8"),r=a,c=o(i.a,s.a,r,null,null);t.default=c.exports},"/kpB":function(e,t,n){"use strict";var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"tab-content lll-list"},[n("SearchForm",{attrs:{btnsize:e.btnsize},on:{change:e.getSearchParam}}),e._v(" "),n("div",{staticClass:"tab_info"},[n("div",{staticClass:"info_tab"},[n("el-table",{key:e.tableKey,ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:e.usersArr,stripe:"",border:"","tooltip-effect":"dark",height:"600"},on:{"row-click":e.clickDetails,"selection-change":e.getSelection}},[n("el-table-column",{attrs:{fixed:"",prop:"customerId",label:"序号",width:"80"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n            "+e._s((e.searchQuery.currentPage-1)*e.searchQuery.pageSize+t.$index+1)+"\n          ")]}}])}),e._v(" "),n("el-table-column",{attrs:{prop:"insuranceNum",label:"投保单号"}}),e._v(" "),n("el-table-column",{attrs:{prop:"insuranceCompany",label:"保险公司"}}),e._v(" "),n("el-table-column",{attrs:{prop:"insuranceFee",label:"保险金额"}}),e._v(" "),n("el-table-column",{attrs:{prop:"createTime",label:"投保日期"}}),e._v(" "),n("el-table-column",{attrs:{prop:"orderNum",label:"运单号"}}),e._v(" "),n("el-table-column",{attrs:{prop:"paymentStateName",label:"状态"}}),e._v(" "),n("el-table-column",{attrs:{prop:"consignor",label:"操作",width:"400"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("el-button",{attrs:{type:"warning",size:"small",plain:""},on:{click:function(n){e.handleEdit(t.$index,t.row,"check")}}},[e._v("查看详情")]),e._v(" "),0===t.row.paymentState?n("el-button",{attrs:{type:"primary",size:"small",plain:""},on:{click:function(n){e.handleEdit(t.$index,t.row,"amend")}}},[e._v("修改")]):e._e(),e._v(" "),n("el-button",{attrs:{type:"danger",size:"small",plain:""},on:{click:function(n){e.handleEdit(t.$index,t.row,"delete")}}},[e._v("删除")]),e._v(" "),0===t.row.paymentState?n("el-button",{attrs:{type:"primary",size:"small",plain:""},on:{click:function(n){e.handleEdit(t.$index,t.row,"payment")}}},[e._v("支付")]):e._e()]}}])})],1)],1),e._v(" "),n("div",{staticClass:"info_tab_footer"},[e._v("共计:"+e._s(e.total)+"\n      "),n("div",{staticClass:"show_pager"},[n("Pager",{attrs:{total:e.total},on:{change:e.handlePageChange}})],1)])])],1)},i=[],s={render:a,staticRenderFns:i};t.a=s},"1onU":function(e,t,n){"use strict";function a(e){n("Q66M"),n("rwP/")}var i=n("VT+v"),s=n("1pBW"),o=n("VU/8"),r=a,c=o(i.a,s.a,r,"data-v-6902e15e",null);t.a=c.exports},"1pBW":function(e,t,n){"use strict";var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"tms-pagenation"},[n("span",{staticClass:"page-num",class:{disabled:e.pageNum<=1},on:{click:function(t){e.jumpTo(1)}}},[n("span",{staticClass:"first-page"})]),n("span",{staticClass:"page-num",class:{disabled:e.pageNum<=1},on:{click:function(t){e.jumpTo(e.pageNum-1)}}},[n("span",{staticClass:"prev-page"})]),e._v(" "),n("span",{staticClass:"page-jumper"},[e._v("\n    第\n    "),n("el-input",{ref:"input",staticClass:"el-pagination__editor is-in-pagination",attrs:{min:1,max:e.pages,type:"number",disabled:e.pages<=1},on:{keyup:e.handleKeyup,change:e.handleChange,focus:e.handleFocus,blur:e.handleBlur},model:{value:e.inputval,callback:function(t){e.inputval="string"==typeof t?t.trim():t},expression:"inputval"}}),e._v(" 页\n  ")],1),e._v("\n  /共 "+e._s(e.pages)+" 页\n  "),n("span",{staticClass:"page-num",class:{disabled:e.pageNum===e.pages},on:{click:function(t){e.jumpTo(e.pageNum+1)}}},[n("span",{staticClass:"next-page"})]),e._v(" "),n("span",{staticClass:"page-num",class:{disabled:e.pageNum===e.pages},on:{click:function(t){e.jumpTo(e.pages)}}},[n("span",{staticClass:"last-page"})]),e._v(" "),n("span",{staticClass:"tms-pagination__sizes"},[n("el-select",{staticClass:"page-select",attrs:{placeholder:"请选择"},on:{change:e.sizeChange},model:{value:e.size,callback:function(t){e.size=t},expression:"size"}},e._l(e.sizes,function(t,a){return n("el-option",{key:a,attrs:{label:t,disabled:e.pages<=1,value:t}})}))],1)])},i=[],s={render:a,staticRenderFns:i};t.a=s},"8kG9":function(e,t,n){"use strict";function a(e,t){return r.b.post("/aflc-uc/usercenter/aflcinsurancepolicy/v1/list",t).then(function(e){return e.data||{list:[],total:0}})}function i(e){return r.b.get("/aflc-uc/usercenter/aflcinsurancepolicy/v1/"+e).then(function(e){return e.data})}function s(e){return r.b.delete("/aflc-uc/usercenter/aflcinsurancepolicy/v1/"+e)}function o(e,t){return r.b.post("/aflc-uc/usercenter/aflcinsurancepolicy/v1/getCountByPaymentState",t).then(function(e){return e.data?e.data||{}:{}})}t.d=a,t.b=i,t.a=s,t.c=o;var r=n("Vo7i")},"9UCZ":function(e,t,n){"use strict";var a=n("TuGF"),i=n("GrA4"),s=n("VU/8"),o=s(a.a,i.a,null,null,null);t.a=o.exports},"BTi/":function(e,t,n){"use strict";function a(e,t){var n=[];return e.map(function(e){e.index=t,n.push(e),e.children&&(n=n.concat(a(e.children,t+1)))}),n}var i=n("Dd8w"),s=n.n(i),o=n("O6e2"),r=n("u8ra"),c=n("NYxO");t.a={props:{value:{type:[Number,String]},disabled:{type:Boolean,default:!1}},watch:{value:function(e){this.aid=e,this.init()}},mounted:function(){var e=this;this.aid=this.value,this.init(),o.a.$on("closepopbox",function(){console.log("closepopbox selectTree:"),e.$refs.myautocomplete.handleClose()})},computed:s()({},Object(c.b)(["otherinfo"]),{openGroups:function(){return a(this.groups,1)}}),data:function(){return{groups:[],aid:""}},methods:{init:function(){var e=this;this.inited||(this.inited=!0,Object(r.a)(this.otherinfo.companyId).then(function(t){e.groups=t}).catch(function(t){e.inited=!1}))},change:function(e){this.$emit("change",e),this.$emit("input",e)}}}},Fwc0:function(e,t){},GrA4:function(e,t,n){"use strict";var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-select",e._b({ref:"myautocomplete",attrs:{placeholder:e.placeholder},on:{change:e.change},model:{value:e.val,callback:function(t){e.val=t},expression:"val"}},"el-select",e.$attrs,!1),[e._t("head"),e._v(" "),e._l(e.types,function(t){return[e._t("default",[n("el-option",{key:t.code,attrs:{label:t.name,value:t.code}})],{item:t})]}),e._v(" "),e._t("foot")],2)},i=[],s={render:a,staticRenderFns:i};t.a=s},Q66M:function(e,t){},RqXf:function(e,t,n){"use strict";var a=n("mvHQ"),i=n.n(a),s=n("woOf"),o=n.n(s),r=n("o9X6"),c=n("9UCZ");t.a={name:"cargoInfo-insure-search",components:{SelectTree:r.a,SelectType:c.a},props:{btnsize:{type:String,default:"mini"},orgid:{type:Number},isall:{type:Boolean,default:!1}},data:function(){return{searchForm:{insuranceName:""}}},watch:{orgid:function(e){}},mounted:function(){this.onSubmit()},methods:{onSubmit:function(){var e=o()({},this.searchForm);this.isall||delete e.orderStatus,console.log("this.searchForm2:",this.searchForm,i()(e)),this.$emit("change",e)},clearForm:function(){this.searchForm={insuranceName:""}}}}},TuGF:function(e,t,n){"use strict";var a=n("Dd8w"),i=n.n(a),s=n("O6e2"),o=n("t5DY"),r=n("NYxO"),c=n("TuU3");t.a={name:"selectType",props:{orgid:{type:[Number,String],default:""},type:{type:String,default:"",required:!0},placeholder:{type:String,default:"请选择"},value:{type:[Number,String,Array]},remote:{type:Boolean,default:!1}},computed:i()({},Object(r.b)(["otherinfo"])),data:function(){return{val:"",types:[],dataCache:{}}},watch:{value:{handler:function(e){this.val=e||""},immediate:!0}},mounted:function(){var e=this;if(this.remote)this.fetchData();else{var t=c.a.get(this.type);""===t?this.fetchData():this.types=t}s.a.$on("closepopbox",function(){console.log("closepopbox selectType:"),e.$refs.myautocomplete.handleClose()})},methods:{fetchData:function(){var e=this,t=function(t){e.types=t,c.a.set(e.type,t)};this.dataCache[this.type]?t(this.dataCache[this.type]):Object(o.f)(this.type,this.orgid||this.otherinfo.companyId).then(t)},change:function(e){this.$emit("change",e),this.$emit("input",this.val)}}}},TuU3:function(e,t,n){"use strict";window.TMS_DATA_CACHE={};var a={get:function(e){return window.TMS_DATA_CACHE[e]||""},set:function(e,t){return window.TMS_DATA_CACHE[e]=t,t}};t.a=a},"VT+v":function(e,t,n){"use strict";t.a={props:{sizes:{type:Array,default:function(){return[20,50,100,200]}},total:{type:Number,default:0}},computed:{pages:function(){return Math.ceil(this.total/this.size)}},watch:{pageNum:function(){this.inputval=this.pageNum},size:function(){this.pageNum=1}},data:function(){return{pageNum:1,oldValue:0,inputval:1,oldNum:1,size:20}},mounted:function(){this.size=this.sizes[0]},methods:{handleFocus:function(e){this.oldValue=e.target.value},sizeChange:function(){this.pageNum=1,this.pageNum=this.pageNum,this.$emit("change",{pageNum:this.pageNum,pageSize:this.size})},changeEvent:function(){this.oldNum!==this.pageNum&&(this.oldNum=this.pageNum,this.$emit("change",{pageNum:this.pageNum,pageSize:this.size}))},handleCurrentChange:function(e){this.pageNum=e,this.changeEvent()},handleSizeChange:function(e){this.size=e,this.changeEvent()},handleChange:function(e){var t=parseInt(e,10);isNaN(t)?this.inputval=1:t<1?this.inputval=1:t>this.pages?this.inputval=this.pages:this.inputval=t},handleBlur:function(e){var t=e.target;this.handleChange(t.value),this.jumpTo(this.inputval)},handleKeyup:function(e){var t=e.keyCode,n=e.target;console.log(t,n),13===t&&this.oldValue&&n.value!==this.oldValue&&(this.handleChange(n.value),this.oldValue="")},jumpTo:function(e){e<1?this.pageNum=1:e>this.pages?this.pageNum=this.pages:this.pageNum=e,this.changeEvent()}}}},Zgp3:function(e,t,n){"use strict";var a=n("woOf"),i=n.n(a),s=n("/O8v"),o=n("1onU"),r=n("8kG9");t.a={name:"all",props:{listtype:{type:String,default:"all"}},components:{SearchForm:s.default,Pager:o.a},watch:{listtype:{handler:function(e,t){e&&(this.searchQuery.currentPage=1,this.searchQuery.vo.paymentState="all"===e?"":"havepaid"===e?1:0,this.fetchData())},deep:!0}},data:function(){return{tableKey:0,loading:!1,isAll:!1,isHavePaid:!1,isUnpaid:!1,total:0,btnsize:"small",usersArr:[],searchQuery:{currentPage:1,pageSize:20,vo:{paymentState:"",delFlag:0,createId:"",queryType:1}}}},mounted:function(){},methods:{handlePageChange:function(e){this.searchQuery.currentPage=e.pageNum,this.searchQuery.pageSize=e.pageSize,this.fetchAllData()},getSearchParam:function(e){this.searchQuery.vo=i()(this.searchQuery.vo,e),this.loading=!1,this.fetchAllData()},clickDetails:function(e,t,n){this.$refs.multipleTable.toggleRowSelection(e)},getSelection:function(e){this.selected=e},fetchAllData:function(){this.eventBus.$emit("updateListCount"),this.fetchData()},fetchData:function(){var e=this;return this.loading=!0,Object(r.d)(this.otherinfo.userToken,this.searchQuery).then(function(t){e.usersArr=[];var n="all"===e.listtype?"":"havepaid"===e.listtype?1:0;t.list.forEach(function(t,a){t.paymentState===n?e.usersArr.push(t):""===n&&e.usersArr.push(t)}),e.tableKey=(new Date).getTime(),e.total=t.total,e.loading=!1})},handleEdit:function(e,t,n){var a=this;switch(n){case"check":this.$emit("showDetail",t);break;case"amend":return window.location.href="http://192.168.1.157:89/Insurance/step1.htm?id="+t.id;case"payment":return window.location.href="http://192.168.1.157:89/Insurance/pay.htm?id="+t.id;case"delete":Object(r.a)(t.id).then(function(e){a.$confirm("确定要删除此投保单吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.$message({type:"success",message:"删除成功!"}),a.fetchAllData()}).catch(function(){a.$message({type:"info",message:"已取消删除"})})})}}}}},aXt6:function(e,t,n){"use strict";function a(e){n("Fwc0")}Object.defineProperty(t,"__esModule",{value:!0});var i=n("Zgp3"),s=n("/kpB"),o=n("VU/8"),r=a,c=o(i.a,s.a,r,null,null);t.default=c.exports},fwBU:function(e,t,n){"use strict";var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-select",{ref:"myautocomplete",staticClass:"select-tree",attrs:{disabled:e.disabled},on:{change:e.change},model:{value:e.aid,callback:function(t){e.aid=t},expression:"aid"}},e._l(e.openGroups,function(t){return n("el-option",{key:t.id,attrs:{label:t.name,value:t.id}},[n("div",{class:"indent indent"+t.index},[e._v(e._s(t.name))])])}))},i=[],s={render:a,staticRenderFns:i};t.a=s},jqQh:function(e,t,n){"use strict";var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-form",{staticClass:"orderlist-search staff_searchinfo clearfix",attrs:{inline:!0,size:e.btnsize,"label-position":"right",model:e.searchForm}},[n("div",{staticClass:"search_warrper"},[n("el-form-item",{attrs:{label:"投保："}},[n("el-input",{attrs:{placeholder:"保险公司/产品名称/被保险人",maxlength:50,"auto-complete":"off"},model:{value:e.searchForm.insuranceName,callback:function(t){e.$set(e.searchForm,"insuranceName",t)},expression:"searchForm.insuranceName"}})],1)],1),e._v(" "),n("el-form-item",{staticClass:"staff_searchinfo--btn"},[n("el-button",{attrs:{size:"mini",icon:"el-icon-search",type:"primary"},on:{click:e.onSubmit}},[e._v("搜索")]),e._v(" "),n("el-button",{attrs:{size:"mini",icon:"el-icon-close",type:"info",plain:""},on:{click:e.clearForm}},[e._v("重置")])],1)],1)},i=[],s={render:a,staticRenderFns:i};t.a=s},kyx1:function(e,t){},o9X6:function(e,t,n){"use strict";function a(e){n("kyx1")}var i=n("BTi/"),s=n("fwBU"),o=n("VU/8"),r=a,c=o(i.a,s.a,r,null,null);t.a=c.exports},oszT:function(e,t){},"rwP/":function(e,t){},t5DY:function(e,t,n){"use strict";function a(e){return e=e||"",f.b.get("/aflccommonservice/common/aflcCommonPCA/v1/findAflcCommonPCAByCode?code="+e).then(function(t){return t.code=e,t})}function i(){return g?new d.a(function(e){e(g)}):f.b.get("/anfacommonservice/common/oss/v1/policy").then(function(e){return g=e.data||"",setTimeout(function(){g=""},18e4),g})}function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return f.b.get("/aflccommonservice/sysDict/getSysDictByCodeGet/"+e).then(function(e){return e.data||[]})}function o(e){return f.b.axios({url:"/"+m+"/sysDict/getSysDictByCodeGet/"+e,method:"get"})}function r(e){return f.b.axios({url:"/"+m+"/common/aflcMemberCenter/v1/getShipperInfoByMobile?mobile="+e,method:"get"})}function c(e){return f.b.axios({url:"/"+m+"/common/aflcMemberCenter/v1/getDriverInfoByMobile?mobile="+e,method:"get"})}function l(e){return f.b.axios({url:"/"+m+"/common/aflcMemberCenter/v1/getLogisticsCompanyInfoByMobile?mobile="+e,method:"get"})}function u(e){return f.b.axios({url:"/aflcorderservice/order/fclOrder/v1/getDetailsByOrderSerial/"+e,method:"get"})}function h(e,t){var n=new FormData;for(var a in t)n.append(a,t[a]);var i="";for(var s in t)i+="&"+s+"="+t[s];return f.b.request({url:"/aflccommonservice/common/aflcMemberCenter/v1/updatePassword?memberType="+e,method:"put",headers:{"Content-Type":"application/x-www-form-urlencoded"},data:i})}t.a=a,t.h=i,t.f=s,t.c=o,t.g=r,t.d=c,t.e=l,t.b=u,t.i=h;var p=n("//Fk"),d=n.n(p),f=n("Vo7i"),m="aflccommonservice",g=void 0},u8ra:function(e,t,n){"use strict";function a(e,t){return t||!u[e]?l.b.get("/api-system/system/org/v1/tree/"+e).then(function(t){var n=t.data||[];return u[e]=n,n}):new c.a(function(t){t(u[e])})}function i(e,t,n){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:100,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,s=e;return"object"!==(void 0===e?"undefined":o()(e))&&(s={pageSize:a,currentPage:i,vo:{name:t,orgid:e,mobilephone:n}}),l.b.post("/api-system/system/user/v1/findAllInfo",s).then(function(e){return e.data||{total:0,list:[]}})}t.a=a,t.b=i;var s=n("pFYg"),o=n.n(s),r=n("//Fk"),c=n.n(r),l=n("Vo7i"),u={}}});