Commit 32112eb5 by Sxy

build

parent c3be1dc9
.deliveryInfo[data-v-f662b808],table[data-v-f662b808]{width:100%;height:auto}.pageTitle[data-v-f662b808]{width:100%;height:50px;line-height:50px;background-color:#fff;font-weight:600;font-size:14px;padding-left:10px}table[data-v-f662b808]{border-collapse:separate;border-spacing:30px}tr[data-v-f662b808]{width:100%;margin-top:30px}td[data-v-f662b808]{width:25%}.infoValue[data-v-f662b808]{display:inline-block;padding-left:5px}.infoName[data-v-f662b808]{display:inline-block;width:100px;text-align:end}
\ No newline at end of file
.bouncedWrap[data-v-4c13f5a4]{width:100%;position:absolute;top:64px;left:256px;height:100%;background:rgba(0,0,0,.6);z-index:10;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}
\ No newline at end of file
.bouncedWrap[data-v-049f9c91]{width:100%;position:absolute;top:64px;left:256px;height:100%;background:rgba(0,0,0,.6);z-index:10;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}
\ No newline at end of file
.deliveryInfo[data-v-03e6f2da],table[data-v-03e6f2da]{width:100%;height:auto}.pageTitle[data-v-03e6f2da]{width:100%;height:50px;line-height:50px;background-color:#fff;font-weight:600;font-size:14px;padding-left:10px}table[data-v-03e6f2da]{border-collapse:separate;border-spacing:30px}tr[data-v-03e6f2da]{width:100%;margin-top:30px}td[data-v-03e6f2da]{width:25%}.infoValue[data-v-03e6f2da]{display:inline-block;padding-left:5px}.infoName[data-v-03e6f2da]{display:inline-block;width:100px;text-align:end}
\ No newline at end of file
<!DOCTYPE html><html><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=/ccc.png><title></title><link href=/css/chunk-0549b710.8fec372c.css rel=prefetch><link href=/css/chunk-0fd9c26a.a47892dd.css rel=prefetch><link href=/css/chunk-14b9857b.0dc416de.css rel=prefetch><link href=/css/chunk-25c91ca0.9e79d2b2.css rel=prefetch><link href=/css/chunk-2c359864.0dc416de.css rel=prefetch><link href=/css/chunk-3385141a.0dc416de.css rel=prefetch><link href=/css/chunk-442063fe.a7bf8ee3.css rel=prefetch><link href=/css/chunk-50e82c59.21c80383.css rel=prefetch><link href=/css/chunk-59b277fc.1e75f0e2.css rel=prefetch><link href=/css/chunk-5a637974.7e4648a3.css rel=prefetch><link href=/css/chunk-78a42e92.e8a878c0.css rel=prefetch><link href=/js/chunk-0549b710.d4994f1c.js rel=prefetch><link href=/js/chunk-0fd9c26a.c410541e.js rel=prefetch><link href=/js/chunk-14b9857b.1662763f.js rel=prefetch><link href=/js/chunk-24c9abaa.6f374cfa.js rel=prefetch><link href=/js/chunk-25c91ca0.38d5c8b2.js rel=prefetch><link href=/js/chunk-2c359864.8674fb28.js rel=prefetch><link href=/js/chunk-3385141a.af9c0d9d.js rel=prefetch><link href=/js/chunk-442063fe.15f354cb.js rel=prefetch><link href=/js/chunk-50e82c59.4b24e289.js rel=prefetch><link href=/js/chunk-59b277fc.7501263f.js rel=prefetch><link href=/js/chunk-5a637974.5f2a5712.js rel=prefetch><link href=/js/chunk-78a42e92.cc82e64b.js rel=prefetch><link href=/js/chunk-bb63afb0.d1697e64.js rel=prefetch><link href=/css/app.4886e674.css rel=preload as=style><link href=/css/chunk-vendors.1d90d08d.css rel=preload as=style><link href=/js/app.2b9d9d78.js rel=preload as=script><link href=/js/chunk-vendors.59e0b54e.js rel=preload as=script><link href=/css/chunk-vendors.1d90d08d.css rel=stylesheet><link href=/css/app.4886e674.css rel=stylesheet></head><body><noscript><strong>We're sorry but iview-admin doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=/js/chunk-vendors.59e0b54e.js></script><script src=/js/app.2b9d9d78.js></script></body></html>
\ No newline at end of file
<!DOCTYPE html><html><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=/ccc.png><title></title><link href=/css/chunk-0549b710.8fec372c.css rel=prefetch><link href=/css/chunk-14b9857b.0dc416de.css rel=prefetch><link href=/css/chunk-2c359864.0dc416de.css rel=prefetch><link href=/css/chunk-2f0d6d53.95c64d56.css rel=prefetch><link href=/css/chunk-3385141a.0dc416de.css rel=prefetch><link href=/css/chunk-380fe478.f0171226.css rel=prefetch><link href=/css/chunk-442063fe.a7bf8ee3.css rel=prefetch><link href=/css/chunk-50e82c59.21c80383.css rel=prefetch><link href=/css/chunk-59b277fc.1e75f0e2.css rel=prefetch><link href=/css/chunk-69cce998.9c470686.css rel=prefetch><link href=/css/chunk-75be1d1e.4032fa4c.css rel=prefetch><link href=/js/chunk-0549b710.c6185e33.js rel=prefetch><link href=/js/chunk-14b9857b.1662763f.js rel=prefetch><link href=/js/chunk-24c9abaa.39a9b7c4.js rel=prefetch><link href=/js/chunk-2c359864.8674fb28.js rel=prefetch><link href=/js/chunk-2f0d6d53.a601a992.js rel=prefetch><link href=/js/chunk-3385141a.af9c0d9d.js rel=prefetch><link href=/js/chunk-380fe478.a80f3b6a.js rel=prefetch><link href=/js/chunk-442063fe.1d281405.js rel=prefetch><link href=/js/chunk-50e82c59.4b24e289.js rel=prefetch><link href=/js/chunk-59b277fc.7501263f.js rel=prefetch><link href=/js/chunk-69cce998.206f82b2.js rel=prefetch><link href=/js/chunk-75be1d1e.e04a27e6.js rel=prefetch><link href=/js/chunk-bb63afb0.af0bf08a.js rel=prefetch><link href=/css/app.4886e674.css rel=preload as=style><link href=/css/chunk-vendors.1d90d08d.css rel=preload as=style><link href=/js/app.229d4dd0.js rel=preload as=script><link href=/js/chunk-vendors.59e0b54e.js rel=preload as=script><link href=/css/chunk-vendors.1d90d08d.css rel=stylesheet><link href=/css/app.4886e674.css rel=stylesheet></head><body><noscript><strong>We're sorry but iview-admin doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=/js/chunk-vendors.59e0b54e.js></script><script src=/js/app.229d4dd0.js></script></body></html>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0fd9c26a"],{"05e2":function(e,t,a){"use strict";a.d(t,"g",(function(){return r})),a.d(t,"a",(function(){return c})),a.d(t,"b",(function(){return o})),a.d(t,"e",(function(){return l})),a.d(t,"f",(function(){return d})),a.d(t,"d",(function(){return u})),a.d(t,"c",(function(){return v}));var i=a("66df"),s=a("f121"),n=s["a"].centerUrl.pro,r=function(e){var t="/web/bizchance/deliverybillCtl/setupBill";return i["a"].request({url:t,data:e,method:"post"}).catch((function(e){console.log(e)}))},c=function(e){var t="/web/bizchance/deliverybillCtl/updateOrderStatus";return i["a"].request({url:t,data:e,method:"post"}).catch((function(e){console.log(e)}))},o=function(e){var t="/web/bizchance/deliverybillCtl/deliverInfo";return i["a"].request({url:t,data:e,method:"post"}).catch((function(e){console.log(e)}))},l=function(){var e="/web/bizchance/deliverybillCtl/getChannelCompany";return i["a"].request({url:e,method:"post"}).catch((function(e){console.log(e)}))},d=function(){var e="/web/common/companyCtl/getOrgs";return i["a"].request({baseURL:n,url:e,method:"post"}).catch((function(e){console.log(e)}))},u=function(e){var t="/web/auth/userCtl/findAndCountAll";return i["a"].request({baseURL:n,url:t,data:e,method:"post"}).catch((function(e){console.log(e)}))},v=function(e){var t="/web/bizchance/deliverybillCtl/distributionPerson";return i["a"].request({url:t,data:e,method:"post"}).catch((function(e){console.log(e)}))}},"75a2":function(e,t,a){"use strict";var i=a("e224"),s=a.n(i);s.a},ae5c:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAQCAIAAAB/UwMIAAAA/0lEQVQoFWP8//8/A4mACav6uUffpi55dP/NL6yyWPQANcw79vba8x+9e14SpQeiAahUUYSt2EWcsB5kDc2+UkBtBPQQqQFoCiMk3JA1FLuIYTUeKCgryCbCwwLSA9eASylcPMlKONlaGEu4wVXgYkDdtvjkuxmH3gAVyQiyVrhjDy6grKEsF5CE6gGyVp55P2n/ayAD6OKOQClNCQ4gGytA6AFKrzv/oXfPKyCDh52p1V/KRB5kKiZA0QOU3nzpY8dOUPSzMDE2+ko6qPFg6kEPA189/lovCaC6P//+77z2CVMDyDhMUQ9tPlZmxktPv8eaC2HKAkXQ3YZVEZogACtxaPPX0P2zAAAAAElFTkSuQmCC"},ce34:function(e,t,a){"use strict";a.r(t);var i=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("div",{staticClass:"deliveryInfo"},[i("div",{staticClass:"pageTitle"},[i("img",{staticStyle:{display:"inline-block",position:"relative",top:"3px","margin-right":"5px",cursor:"pointer"},attrs:{src:a("ae5c"),alt:""},on:{click:function(t){return e.$router.go(-1)}}}),i("span",[e._v("详情记录")])]),i("Card",{attrs:{bordered:!1}},[i("p",{attrs:{slot:"title"},slot:"title"},[i("span",{staticStyle:{display:"inline-block",width:"3px",height:"20px","background-color":"#438FDB","margin-right":"5px"}}),e._v("交付单信息\n ")]),i("table",[i("tr",[i("td",[i("div",{staticClass:"infoName"},[e._v("交付单编号:")]),i("div",{staticClass:"infoValue"},[e._v(e._s(e.deliveryInfo.deliveryNumber||"--"))])]),i("td",[i("div",{staticClass:"infoName"},[e._v("企业名称:")]),i("div",{staticClass:"infoValue"},[e._v(e._s(e.deliveryInfo.companyName||"--"))])]),i("td",[i("div",{staticClass:"infoName"},[e._v("统一信用代码:")]),i("div",{staticClass:"infoValue"},[e._v(e._s(e.deliveryInfo.uscc||"--"))])]),i("td",[i("div",{staticClass:"infoName"},[e._v("纳税人性质:")]),i("div",{staticClass:"infoValue"},[e._v(e._s(e.taxpayerType||"--"))])])]),i("tr",[i("td",[i("div",{staticClass:"infoName"},[e._v("会计准则:")]),i("div",{staticClass:"infoValue"},[e._v(e._s(e.accountingType||"--"))])]),i("td",[i("div",{staticClass:"infoName"},[e._v("公司类型:")]),i("div",{staticClass:"infoValue"},[e._v(e._s(e.deliveryInfo_companyBizType||"--"))])]),i("td",[i("div",{staticClass:"infoName"},[e._v("服务地区:")]),i("div",{staticClass:"infoValue"},[e._v(e._s(e.area||"--"))])]),i("td",[i("div",{staticClass:"infoName"},[e._v("联系人:")]),i("div",{staticClass:"infoValue"},[e._v(e._s(e.deliveryInfo.contactsName||"--"))])])]),i("tr",[i("td",[i("div",{staticClass:"infoName"},[e._v("联系电话:")]),i("div",{staticClass:"infoValue"},[e._v(e._s(e.deliveryInfo.contactsPhone||"--"))])]),i("td",[i("div",{staticClass:"infoName"},[e._v("所属人:")]),i("div",{staticClass:"infoValue"},[e._v(e._s(e.deliveryInfo.owner||"--"))])]),i("td",[i("div",{staticClass:"infoName"},[e._v("订单状态:")]),i("div",{staticClass:"infoValue"},[e._v(e._s(e.deliveryStatus||"--"))])]),i("td",[i("div",{staticClass:"infoName"},[e._v("建账状态:")]),i("div",{staticClass:"infoValue"},[e._v(e._s("setup"==e.deliveryInfo.setupStatus?"已建账":"notsetup"==e.deliveryInfo.setupStatus?"未建账":"--"))])])]),i("tr",[i("td",[i("div",{staticClass:"infoName"},[e._v("更新时间:")]),i("div",{staticClass:"infoValue"},[e._v(e._s(e.updatedAt||"--"))])])])])])],1),i("div",{staticStyle:{"margin-top":"20px"}},[i("Card",{attrs:{bordered:!1}},[i("p",{attrs:{slot:"title"},slot:"title"},[i("span",{staticStyle:{display:"inline-block",width:"3px",height:"20px","background-color":"#438FDB","margin-right":"5px"}}),e._v("方案详情\n ")]),i("table",[i("tr",[i("td",[i("div",{staticClass:"infoName"},[e._v("需求编号:")]),i("div",{staticClass:"infoValue"},[e._v(e._s(e.schemeData.demandCode||"--"))])]),i("td",[i("div",{staticClass:"infoName"},[e._v("服务类型:")]),i("div",{staticClass:"infoValue"},[e._v(e._s(e.schemeData.deliveryNumber||"--"))])]),i("td",[i("div",{staticClass:"infoName"},[e._v("公司类型:")]),i("div",{staticClass:"infoValue"},[e._v(e._s(e.schemeData_companyType||"--"))])]),i("td",[i("div",{staticClass:"infoName"},[e._v("服务地区:")]),i("div",{staticClass:"infoValue"},[e._v(e._s(e.schemeData_area||"--"))])])]),i("tr",[i("td",[i("div",{staticClass:"infoName"},[e._v("购买时长:")]),i("div",{staticClass:"infoValue"},[e._v(e._s(e.schemeData.buyDuration||"--")+"年")])]),i("td",[i("div",{staticClass:"infoName"},[e._v("数量:")]),i("div",{staticClass:"infoValue"},[e._v(e._s(e.schemeData.buyNumber||"--"))])]),i("td",[i("div",{staticClass:"infoName"},[e._v("总计费用:")]),i("div",{staticClass:"infoValue"},[e._v(e._s(e.schemeData.totalCost||"--")+"元")])]),i("td",[i("div",{staticClass:"infoName"},[e._v("备注:")]),i("div",{staticClass:"infoValue"},[e._v(e._s(e.schemeData.note||"--"))])])])])])],1)])},s=[],n=(a("5ab2"),a("6d57"),a("e10e"),a("ce3c")),r=a("05e2"),c=a("0278"),o=a("35f4"),l=a.n(o);function d(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,i)}return a}function u(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?d(Object(a),!0).forEach((function(t){Object(n["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):d(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var v={data:function(){return{id:"",deliveryInfo:{deliveryId:"",deliveryNumber:"",companyName:"",uscc:"",taxpayerType:"",areaType:"",area:"",companyBizType:"",contactsName:"",contactsPhone:"",owner:"",deliveryStatus:"",setupStatus:"",createdAt:"",updatedAt:"",accountingType:""},schemeData:{demandCode:"",schemeCode:"",companyType:"",area:"",buyDuration:"",buyNumber:"",totalCost:"",note:""}}},computed:{taxpayerType:function(){if(this.deliveryInfo.taxpayerType){var e="";switch(this.deliveryInfo.taxpayerType){case 1:e="一般纳税人";break;case 2:e="小规模纳税人";break;case"1":e="一般纳税人";break;case"2":e="小规模纳税人";break;case"generalTaxpayer":e="一般纳税人";break;case"smallScaleTaxpayer":e="小规模纳税人";break;default:e=this.deliveryInfo.taxpayerType;break}return e}},accountingType:function(){if(this.deliveryInfo.accountingType){var e="--";switch(this.deliveryInfo.taxpayerType){case 1:e="企业会计准则";break;case 2:e="小规模会计准则";break;case"1":e="企业会计准则";break;case"2":e="小规模会计准则";break;default:e=this.deliveryInfo.accountingType;break}return e}},deliveryInfo_companyBizType:function(){if(this.deliveryInfo.companyBizType){var e="--";switch(this.deliveryInfo.companyBizType){case 1:e="商贸型";break;case 2:e="服务型";break;case 3:e="特殊行业";break;case 4:e="其他";break;case"1":e="商贸型";break;case"2":e="服务型";break;case"3":e="特殊行业";break;case"4":e="其他";break;default:e=this.deliveryInfo.companyBizType;break}return e}},schemeData_companyType:function(){if(this.schemeData.companyType){var e="--";switch(this.schemeData.companyType){case 1:e="商贸型";break;case 2:e="服务型";break;case 3:e="特殊行业";break;case 4:e="其他";break;case"1":e="商贸型";break;case"2":e="服务型";break;case"3":e="特殊行业";break;case"4":e="其他";break;default:e=this.schemeData.companyType;break}return e}},area:function(){if(this.deliveryInfo.area){var e="--";return e=Object(c["a"])(this.deliveryInfo.area),e}},schemeData_area:function(){if(this.schemeData.area){var e="--";return e=Object(c["a"])(this.schemeData.area),e}},deliveryStatus:function(){if(this.deliveryInfo.deliveryStatus){var e="--";switch(this.deliveryInfo.deliveryStatus){case"received":e="待处理";break;case"waituserconfirm":e="待⽤户确认";break;case"inservice":e="服务中";break;case"closed":e="已关闭";break;default:e="--";break}return e}},updatedAt:function(){if(this.deliveryInfo.updatedAt)return l()(this.deliveryInfo.updatedAt).format("YYYY-MM-DD hh:mm:ss")}},methods:{getDeliveryInfo:function(){var e=this,t={deliverId:this.id};Object(r["b"])(t).then((function(t){console.log(t,"bbbbbbbbbbbbbbbbbbb"),0==t.data.status?(e.deliveryInfo=u({},t.data.data.deliverData),e.schemeData=u({},t.data.data.schemeData)):e.$Message.error(t.data.msg)}))}},created:function(){this.id=this.$route.query.id,this.getDeliveryInfo()}},f=v,y=(a("75a2"),a("9ca4")),p=Object(y["a"])(f,i,s,!1,null,"f662b808",null);t["default"]=p.exports},e224:function(e,t,a){}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-24c9abaa"],{"2b26":function(e,t,n){"use strict";n.d(t,"h",(function(){return s})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return u})),n.d(t,"d",(function(){return l})),n.d(t,"g",(function(){return c})),n.d(t,"b",(function(){return d})),n.d(t,"k",(function(){return f})),n.d(t,"i",(function(){return m})),n.d(t,"f",(function(){return h})),n.d(t,"j",(function(){return p})),n.d(t,"e",(function(){return b}));var a=n("66df"),o=n("f121"),r=o["a"].centerUrl.pro,s=function(e,t){return a["a"].request({url:e,method:"post",data:t})},i=function(e,t){return a["a"].request({url:e,method:"post",data:t})},u=function(e,t){return a["a"].request({url:e,method:"post",data:t})},l=function(e,t){return a["a"].request({url:e,method:"post",data:t})},c=function(e,t){return a["a"].request({url:e,method:"post",data:t})},d=function(e,t){return a["a"].request({url:e,method:"post",data:t})},f=function(e,t){return a["a"].request({url:e,method:"post",data:t})},m=function(e,t){return a["a"].request({baseURL:r,url:e,method:"post",data:t})},h=function(e){return a["a"].request({baseURL:r,url:e,method:"post"})},p=function(e,t){return a["a"].request({baseURL:r,url:e,method:"post",data:t})},b=function(e){var t="/web/bizchance/bizoptCtl/getRecordInfo";return a["a"].request({url:t,method:"post",data:e})}},"391e":function(e,t,n){"use strict";var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"framediv"}},[e._t("default",null,{adjustHeight:e.frameHeight})],2)},o=[],r=n("9ee1"),s=r["a"],i=n("9ca4"),u=Object(i["a"])(s,a,o,!1,null,null,null);t["a"]=u.exports},"9ee1":function(e,t,n){"use strict";(function(e){n("163d");t["a"]={name:"pagespace_page",prop:{tweak:Number},data:function(){return{frameHeight:0,advalue:this.tweak?this.tweak:0}},components:{},mounted:function(){var t=this;this.setHeight(),e(window).resize((function(){t.setHeight()}))},methods:{setHeight:function(){var t=this;this.$nextTick((function(){var n=e("#framediv"),a=n.get()[0]||0,o=window.innerHeight-a.offsetTop-t.advalue;t.frameHeight=o,t.$emit("sizechange",t.frameHeight)}))}}}}).call(this,n("a336"))},f009:function(e,t,n){"use strict";n.r(t);var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("PageSpace",{scopedSlots:e._u([{key:"default",fn:function(t){var a=t.adjustHeight;return[n("BizTable",{ref:"bt",attrs:{formatCol:e.formatCol,modelName:"bizopt",metaName:"demand_follow",packageName:"bizchance",tblheight:a-120,refvalidatemethod:e.validmethod,savebefore:e.beforesave,editbefore:e.beforedit,addbefore:e.beforeadd,closeNeeds:e.closeNeeds},on:{onexec:e.onexec,oninitbtn:e.oninitbtn}}),n("Modal",{attrs:{title:"关闭需求",width:"400px"},on:{"on-ok":e.closeneed,"on-cancel":e.cancel},model:{value:e.modal1,callback:function(t){e.modal1=t},expression:"modal1"}},[n("label",{staticStyle:{display:"inline-block",width:"48px",height:"18px","font-size":"12px","font-family":"PingFangSC-Regular, PingFang SC","font-weight":"400",color:"rgba(136, 136, 136, 1)","line-height":"18px","margin-left":"20px"}},[e._v("关闭原因")]),n("Select",{staticStyle:{width:"260px",display:"inline-block","margin-left":"20px"},attrs:{"allow-create":"",placeholder:"请选择关闭原因"},on:{"on-create":e.handleCreate1},model:{value:e.close_reason,callback:function(t){e.close_reason=t},expression:"close_reason"}},e._l(e.cityList3,(function(t){return n("Option",{key:t.value,attrs:{value:t.value}},[e._v(e._s(t.label))])})),1),n("br"),n("label",{staticStyle:{float:"left","margin-top":"20px","margin-left":"20px",width:"48px",height:"18px","font-size":"12px","font-family":"PingFangSC-Regular, PingFang SC","font-weight":"400",color:"rgba(136, 136, 136, 1)","line-height":"18px"}},[e._v("备 注 *")]),n("textarea",{directives:[{name:"model",rawName:"v-model",value:e.remarks,expression:"remarks"}],staticClass:"textarea",staticStyle:{display:"inline-block",width:"260px",height:"100px","margin-top":"20px","margin-left":"20px",padding:"10px 0 0 10px",outline:"none"},attrs:{placeholder:"备注"},domProps:{value:e.remarks},on:{input:function(t){t.target.composing||(e.remarks=t.target.value)}}})],1)]}}])})},o=[],r=n("06d3"),s=n("391e"),i=n("db7f"),u=n("2b26"),l={name:"demandallocation_page",data:function(){return{modal1:!1,closeNeeds:!1,cityList3:[{value:"客户暂时不需要",label:"客户暂时不需要"},{value:"客户无意向",label:"客户无意向"},{value:"竞对",label:"竞对"},{value:"客户联系不上",label:"客户联系不上"},{value:"客户已购买其他家",label:"客户已购买其他家"},{value:"其他",label:"其他"}],close_reason:"",remarks:"",demand_code:""}},components:{PageSpace:s["a"],BizTable:r["a"]},methods:{oninitbtn:function(e,t){if("info"==e.key){var n=!1;"已关闭"!=t.business_status&&"已完成"!=t.business_status||(n=!0),e.ishide=n}if("created_scheme"==e.key){var a=!1;"已关闭"!=t.business_status&&"已完成"!=t.business_status||(a=!0),e.ishide=a}},beforeadd:function(e,t){return t({value:!0,message:null})},beforedit:function(e,t){return t({value:!0,message:null})},beforesave:function(e,t,n){return n(t)},onexec:function(e,t){"info"===e?(console.log("ssss"),this.$router.push({path:"/demandManagement/follow",query:{bizType:t.business_type,bizCode:t.demand_code}})):"created_scheme"===e&&(this.modal1=!0,this.demand_code=t.demand_code)},validmethod:function(e,t,n){return n()},formatCol:function(e,t,n){var a=e[t];if("business_type"===t){var o=i["a"].businessType[a];return o}if("business_status"===t){var r=i["a"].businessStatus[a];return r}if("source_name"===t){var s=i["a"].source[a];return s}},closeneed:function(){var e=this,t="/web/bizchance/bizoptCtl/closeBizopt",n={d:{demand_code:this.demand_code,close_reason:this.close_reason,remarks:this.remarks}};Object(u["c"])(t,n).then((function(t){console.log(t.data.status,"*********777777777(((((((((("),"0"==t.data.status?(e.$Message.success("关闭成功!"),e.closeNeeds=!0,e.close_reason="",e.remarks=""):e.$Message.error("关闭失败!")}))},cancel:function(){this.$Message.info("Clicked cancel")},handleCreate1:function(e){this.cityList3.push({value:e,label:e})}}},c=l,d=n("9ca4"),f=Object(d["a"])(c,a,o,!1,null,null,null);t["default"]=f.exports}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-24c9abaa"],{"2b26":function(e,t,n){"use strict";n.d(t,"h",(function(){return s})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return u})),n.d(t,"d",(function(){return l})),n.d(t,"g",(function(){return c})),n.d(t,"b",(function(){return d})),n.d(t,"k",(function(){return f})),n.d(t,"i",(function(){return m})),n.d(t,"f",(function(){return h})),n.d(t,"j",(function(){return p})),n.d(t,"e",(function(){return b}));var a=n("66df"),o=n("f121"),r=o["a"].centerUrl.pro,s=function(e,t){return a["a"].request({url:e,method:"post",data:t})},i=function(e,t){return a["a"].request({url:e,method:"post",data:t})},u=function(e,t){return a["a"].request({url:e,method:"post",data:t})},l=function(e,t){return a["a"].request({url:e,method:"post",data:t})},c=function(e,t){return a["a"].request({url:e,method:"post",data:t})},d=function(e,t){return a["a"].request({url:e,method:"post",data:t})},f=function(e,t){return a["a"].request({url:e,method:"post",data:t})},m=function(e,t){return a["a"].request({baseURL:r,url:e,method:"post",data:t})},h=function(e){return a["a"].request({baseURL:r,url:e,method:"post"})},p=function(e,t){return a["a"].request({baseURL:r,url:e,method:"post",data:t})},b=function(e){var t="/web/bizchance/bizoptCtl/getRecordInfo";return a["a"].request({url:t,method:"post",data:e})}},"391e":function(e,t,n){"use strict";var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"framediv"}},[e._t("default",null,{adjustHeight:e.frameHeight})],2)},o=[],r=n("9ee1"),s=r["a"],i=n("9ca4"),u=Object(i["a"])(s,a,o,!1,null,null,null);t["a"]=u.exports},"9ee1":function(e,t,n){"use strict";(function(e){n("163d");t["a"]={name:"pagespace_page",prop:{tweak:Number},data:function(){return{frameHeight:0,advalue:this.tweak?this.tweak:0}},components:{},mounted:function(){var t=this;this.setHeight(),e(window).resize((function(){t.setHeight()}))},methods:{setHeight:function(){var t=this;this.$nextTick((function(){var n=e("#framediv"),a=n.get()[0]||0,o=window.innerHeight-a.offsetTop-t.advalue;t.frameHeight=o,t.$emit("sizechange",t.frameHeight)}))}}}}).call(this,n("a336"))},f009:function(e,t,n){"use strict";n.r(t);var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("PageSpace",{scopedSlots:e._u([{key:"default",fn:function(t){var a=t.adjustHeight;return[n("BizTable",{ref:"bt",attrs:{formatCol:e.formatCol,modelName:"bizopt",metaName:"demand_follow",packageName:"bizchance",tblheight:a-120,isMulti:"",refvalidatemethod:e.validmethod,savebefore:e.beforesave,editbefore:e.beforedit,addbefore:e.beforeadd,closeNeeds:e.closeNeeds},on:{onexec:e.onexec,oninitbtn:e.oninitbtn}}),n("Modal",{attrs:{title:"关闭需求",width:"400px"},on:{"on-ok":e.closeneed,"on-cancel":e.cancel},model:{value:e.modal1,callback:function(t){e.modal1=t},expression:"modal1"}},[n("label",{staticStyle:{display:"inline-block",width:"48px",height:"18px","font-size":"12px","font-family":"PingFangSC-Regular,PingFang SC","font-weight":"400",color:"rgba(136,136,136,1)","line-height":"18px","margin-left":"20px"}},[e._v("关闭原因")]),n("Select",{staticStyle:{width:"260px",display:"inline-block","margin-left":"20px"},attrs:{"allow-create":"",placeholder:"请选择关闭原因"},on:{"on-create":e.handleCreate1},model:{value:e.close_reason,callback:function(t){e.close_reason=t},expression:"close_reason"}},e._l(e.cityList3,(function(t){return n("Option",{key:t.value,attrs:{value:t.value}},[e._v(e._s(t.label))])})),1),n("br"),n("label",{staticStyle:{float:"left","margin-top":"20px","margin-left":"20px",width:"48px",height:"18px","font-size":"12px","font-family":"PingFangSC-Regular,PingFang SC","font-weight":"400",color:"rgba(136,136,136,1)","line-height":"18px"}},[e._v("备 注 *")]),n("textarea",{directives:[{name:"model",rawName:"v-model",value:e.remarks,expression:"remarks"}],staticClass:"textarea",staticStyle:{display:"inline-block",width:"260px",height:"100px","margin-top":"20px","margin-left":"20px",padding:"10px 0 0 10px",outline:"none"},attrs:{placeholder:"备注"},domProps:{value:e.remarks},on:{input:function(t){t.target.composing||(e.remarks=t.target.value)}}})],1)]}}])})},o=[],r=n("06d3"),s=n("391e"),i=n("db7f"),u=n("2b26"),l={name:"demandallocation_page",data:function(){return{modal1:!1,closeNeeds:!1,cityList3:[{value:"客户暂时不需要",label:"客户暂时不需要"},{value:"客户无意向",label:"客户无意向"},{value:"竞对",label:"竞对"},{value:"客户联系不上",label:"客户联系不上"},{value:"客户已购买其他家",label:"客户已购买其他家"},{value:"其他",label:"其他"}],close_reason:"",remarks:"",demand_code:""}},components:{PageSpace:s["a"],BizTable:r["a"]},methods:{oninitbtn:function(e,t){if("info"==e.key){var n=!1;"已关闭"!=t.business_status&&"已完成"!=t.business_status||(n=!0),e.ishide=n}if("created_scheme"==e.key){var a=!1;"已关闭"!=t.business_status&&"已完成"!=t.business_status||(a=!0),e.ishide=a}},beforeadd:function(e,t){return t({value:!0,message:null})},beforedit:function(e,t){return t({value:!0,message:null})},beforesave:function(e,t,n){return n(t)},onexec:function(e,t){"info"===e?(console.log("ssss"),this.$router.push({path:"/demandManagement/follow",query:{bizType:t.business_type,bizCode:t.demand_code}})):"created_scheme"===e&&(this.modal1=!0,this.demand_code=t.demand_code)},validmethod:function(e,t,n){return n()},formatCol:function(e,t,n){var a=e[t];if("business_type"===t){var o=i["a"].businessType[a];return o}if("business_status"===t){var r=i["a"].businessStatus[a];return r}if("source_name"===t){var s=i["a"].source[a];return s}},closeneed:function(){var e=this,t="/web/bizchance/bizoptCtl/closeBizopt",n={d:{demand_code:this.demand_code,close_reason:this.close_reason,remarks:this.remarks}};Object(u["c"])(t,n).then((function(t){console.log(t.data.status,"*********777777777(((((((((("),"0"==t.data.status?(e.$Message.success("关闭成功!"),e.closeNeeds=!0,e.close_reason="",e.remarks=""):e.$Message.error("关闭失败!")}))},cancel:function(){this.$Message.info("Clicked cancel")},handleCreate1:function(e){this.cityList3.push({value:e,label:e})}}},c=l,d=n("9ca4"),f=Object(d["a"])(c,a,o,!1,null,null,null);t["default"]=f.exports}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-5a637974"],{"05e2":function(e,t,n){"use strict";n.d(t,"g",(function(){return r})),n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return u})),n.d(t,"e",(function(){return c})),n.d(t,"f",(function(){return d})),n.d(t,"d",(function(){return l})),n.d(t,"c",(function(){return f}));var a=n("66df"),i=n("f121"),s=i["a"].centerUrl.pro,r=function(e){var t="/web/bizchance/deliverybillCtl/setupBill";return a["a"].request({url:t,data:e,method:"post"}).catch((function(e){console.log(e)}))},o=function(e){var t="/web/bizchance/deliverybillCtl/updateOrderStatus";return a["a"].request({url:t,data:e,method:"post"}).catch((function(e){console.log(e)}))},u=function(e){var t="/web/bizchance/deliverybillCtl/deliverInfo";return a["a"].request({url:t,data:e,method:"post"}).catch((function(e){console.log(e)}))},c=function(){var e="/web/bizchance/deliverybillCtl/getChannelCompany";return a["a"].request({url:e,method:"post"}).catch((function(e){console.log(e)}))},d=function(){var e="/web/common/companyCtl/getOrgs";return a["a"].request({baseURL:s,url:e,method:"post"}).catch((function(e){console.log(e)}))},l=function(e){var t="/web/auth/userCtl/findAndCountAll";return a["a"].request({baseURL:s,url:t,data:e,method:"post"}).catch((function(e){console.log(e)}))},f=function(e){var t="/web/bizchance/deliverybillCtl/distributionPerson";return a["a"].request({url:t,data:e,method:"post"}).catch((function(e){console.log(e)}))}},"391e":function(e,t,n){"use strict";var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"framediv"}},[e._t("default",null,{adjustHeight:e.frameHeight})],2)},i=[],s=n("9ee1"),r=s["a"],o=n("9ca4"),u=Object(o["a"])(r,a,i,!1,null,null,null);t["a"]=u.exports},"4fab":function(e,t,n){},"9ee1":function(e,t,n){"use strict";(function(e){n("163d");t["a"]={name:"pagespace_page",prop:{tweak:Number},data:function(){return{frameHeight:0,advalue:this.tweak?this.tweak:0}},components:{},mounted:function(){var t=this;this.setHeight(),e(window).resize((function(){t.setHeight()}))},methods:{setHeight:function(){var t=this;this.$nextTick((function(){var n=e("#framediv"),a=n.get()[0]||0,i=window.innerHeight-a.offsetTop-t.advalue;t.frameHeight=i,t.$emit("sizechange",t.frameHeight)}))}}}}).call(this,n("a336"))},ba4f:function(e,t,n){"use strict";n.r(t);var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("PageSpace",{scopedSlots:e._u([{key:"default",fn:function(t){var a=t.adjustHeight;return[n("BizTable",{ref:"bt",attrs:{formatCol:e.formatCol,modelName:"deliverybill",metaName:"deliveryRecord",packageName:"bizchance",tblheight:a-120,isMulti:"",refvalidatemethod:e.validmethod,savebefore:e.beforesave,editbefore:e.beforedit,addbefore:e.beforeadd},on:{onexec:e.onexec,oninitbtn:e.oninitbtn}}),n("Modal",{attrs:{title:"交付单分配",width:"308px"},on:{"on-ok":e.distributionOK,"on-cancel":e.distributionCancel},model:{value:e.modal1,callback:function(t){e.modal1=t},expression:"modal1"}},[n("div",{staticClass:"distribute"},[n("span",{staticStyle:{"font-size":"12px","font-family":"PingFangSC-Regular,PingFang SC","font-weight":"400",color:"rgba(136,136,136,1)",width:"70px",display:"inline-block"}},[e._v("分配人员")]),n("Select",{ref:"select",staticStyle:{width:"194px",height:"30px","margin-top":"16px",position:"relative",top:"-10px"},attrs:{placeholder:e.selectValue}},[n("Tree",{ref:"tree",attrs:{data:e.data4,"empty-text":"empty data"},on:{"on-select-change":e.checkChange}})],1)],1)])]}}])})},i=[],s=n("06d3"),r=n("391e"),o=n("db7f"),u=n("05e2"),c=(n("7fa2"),{name:"deliverRecord",data:function(){return{userInfo:{},selectValue:"请选择",params:{},distributeList:[],data4:[],aaa:!0,bbb:!1,modal1:!1}},components:{PageSpace:r["a"],BizTable:s["a"]},methods:{distributionOK:function(){var e=this;"请选择"==this.selectValue||this.params=={}?this.$Message.error("请输入完整信息!"):Object(u["c"])(this.params).then((function(t){console.log(t,"235467890-"),0==t.data.status?e.$Message.success({content:"处理成功",duration:2,onClose:function(){e.modal1=!1,e.distributionCancel()}}):(e.$Message.error({content:t.data.msg,duration:2}),e.modal1=!0)}))},distributionCancel:function(){console.log("关闭了"),this.distributeList=[],this.selectValue="请选择",this.params={}},checkChange:function(){var e=this;if(this.$refs.tree.getSelectedNodes()[0].children&&0==this.$refs.tree.getSelectedNodes()[0].children.length){var t=this.$refs.tree.getSelectedNodes()[0].code,n={search:{opath:t},pageInfo:{pageSize:999,pageNo:1}};Object(u["d"])(n).then((function(t){if(0==t.data.status){for(var n=t.data.data.results.rows,a=0;a<t.data.data.results.rows.length;a++)n[a].title=t.data.data.results.rows[a].userName;n.map((function(t,n){e.$refs.tree.getSelectedNodes()[0].children.push(t)}))}else e.$Message.error("分配人员获取失败!")}))}this.$refs.tree.getSelectedNodes()[0].id&&(this.selectValue=this.$refs.tree.getSelectedNodes()[0].title,this.setExpand(this.data4),this.params={numbers:this.distributeList,userId:this.$refs.tree.getSelectedNodes()[0].id,opCode:this.$refs.tree.getSelectedNodes()[0].opath,nickName:this.$refs.tree.getSelectedNodes()[0].nickName||"",type:"DELIVERY",phone:this.$refs.tree.getSelectedNodes()[0].mobile})},setExpand:function(e){var t=this;e instanceof Array&&e.map((function(e,n){e.expand=!1,t.setExpand(e.children)}))},showDisModal:function(){var e=this;this.modal1=!0,Object(u["f"])().then((function(t){0==t.data.status&&(e.data4=t.data.data.orgJson,e.setExpand(e.data4))}))},oninitbtn:function(e,t){if("disbutionAgain"==e.key){var n=!1;n=!this.userInfo.isAdmin||"已完成"==t.deliveryStatus&&"已关闭"==t.deliveryStatus,e.ishide=n}if("info"==e.key){var a=!1;e.ishide=a}},beforeadd:function(e,t){return t({value:!0,message:null})},beforedit:function(e,t){return t({value:!0,message:null})},beforesave:function(e,t,n){return n(t)},onexec:function(e,t){"disbutionAgain"===e?(console.log("distribution: ",t),this.distributeList.push(t.deliveryNumber),this.showDisModal()):"info"===e&&this.$router.push("/deliveryManage/deliveryDetail?id=".concat(t.deliveryId))},validmethod:function(e,t,n){return n()},formatCol:function(e,t,n){var a=e[t];if("business_type"===t){var i=o["a"].businessType[a];return i}if("business_status"===t){var s=o["a"].businessStatus[a];return s}if("source_name"===t){var r=o["a"].source[a];return r}},getUserInfo:function(){var e=this.$store.state.user.userobj;this.userInfo.isAdmin=e.isAdmin,console.log(this.userInfo.isAdmin,"uuuuuuuuuuuuuuuuuuu")}},created:function(){this.getUserInfo()}}),d=c,l=(n("de5f"),n("9ca4")),f=Object(l["a"])(d,a,i,!1,null,"d052fc9a",null);t["default"]=f.exports},de5f:function(e,t,n){"use strict";var a=n("4fab"),i=n.n(a);i.a}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-69cce998"],{"05e2":function(e,t,n){"use strict";n.d(t,"g",(function(){return r})),n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return u})),n.d(t,"e",(function(){return c})),n.d(t,"f",(function(){return d})),n.d(t,"d",(function(){return l})),n.d(t,"c",(function(){return f}));var a=n("66df"),i=n("f121"),s=i["a"].centerUrl.pro,r=function(e){var t="/web/bizchance/deliverybillCtl/setupBill";return a["a"].request({url:t,data:e,method:"post"}).catch((function(e){console.log(e)}))},o=function(e){var t="/web/bizchance/deliverybillCtl/updateOrderStatus";return a["a"].request({url:t,data:e,method:"post"}).catch((function(e){console.log(e)}))},u=function(e){var t="/web/bizchance/deliverybillCtl/deliverInfo";return a["a"].request({url:t,data:e,method:"post"}).catch((function(e){console.log(e)}))},c=function(){var e="/web/bizchance/deliverybillCtl/getChannelCompany";return a["a"].request({url:e,method:"post"}).catch((function(e){console.log(e)}))},d=function(){var e="/web/common/companyCtl/getOrgs";return a["a"].request({baseURL:s,url:e,method:"post"}).catch((function(e){console.log(e)}))},l=function(e){var t="/web/auth/userCtl/findAndCountAll";return a["a"].request({baseURL:s,url:t,data:e,method:"post"}).catch((function(e){console.log(e)}))},f=function(e){var t="/web/bizchance/deliverybillCtl/distributionPerson";return a["a"].request({url:t,data:e,method:"post"}).catch((function(e){console.log(e)}))}},"128c":function(e,t,n){},"391e":function(e,t,n){"use strict";var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"framediv"}},[e._t("default",null,{adjustHeight:e.frameHeight})],2)},i=[],s=n("9ee1"),r=s["a"],o=n("9ca4"),u=Object(o["a"])(r,a,i,!1,null,null,null);t["a"]=u.exports},"9ee1":function(e,t,n){"use strict";(function(e){n("163d");t["a"]={name:"pagespace_page",prop:{tweak:Number},data:function(){return{frameHeight:0,advalue:this.tweak?this.tweak:0}},components:{},mounted:function(){var t=this;this.setHeight(),e(window).resize((function(){t.setHeight()}))},methods:{setHeight:function(){var t=this;this.$nextTick((function(){var n=e("#framediv"),a=n.get()[0]||0,i=window.innerHeight-a.offsetTop-t.advalue;t.frameHeight=i,t.$emit("sizechange",t.frameHeight)}))}}}}).call(this,n("a336"))},ba4f:function(e,t,n){"use strict";n.r(t);var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("PageSpace",{scopedSlots:e._u([{key:"default",fn:function(t){var a=t.adjustHeight;return[n("BizTable",{ref:"bt",attrs:{formatCol:e.formatCol,modelName:"deliverybill",metaName:"deliveryRecord",packageName:"bizchance",tblheight:a-120,isMulti:"",refvalidatemethod:e.validmethod,savebefore:e.beforesave,editbefore:e.beforedit,addbefore:e.beforeadd},on:{onexec:e.onexec,oninitbtn:e.oninitbtn}}),n("Modal",{attrs:{title:"交付单分配",width:"308px"},on:{"on-ok":e.distributionOK,"on-cancel":e.distributionCancel},model:{value:e.modal1,callback:function(t){e.modal1=t},expression:"modal1"}},[n("div",{staticClass:"distribute"},[n("span",{staticStyle:{"font-size":"12px","font-family":"PingFangSC-Regular, PingFang SC","font-weight":"400",color:"rgba(136, 136, 136, 1)",width:"70px",display:"inline-block"}},[e._v("分配人员")]),n("Select",{ref:"select",staticStyle:{width:"194px",height:"30px","margin-top":"16px",position:"relative",top:"-10px"},attrs:{placeholder:e.selectValue}},[n("Tree",{ref:"tree",attrs:{data:e.data4,"empty-text":"empty data"},on:{"on-select-change":e.checkChange}})],1)],1)])]}}])})},i=[],s=n("06d3"),r=n("391e"),o=n("db7f"),u=n("05e2"),c=(n("7fa2"),{name:"deliverRecord",data:function(){return{userInfo:{},selectValue:"请选择",params:{},distributeList:[],data4:[],aaa:!0,bbb:!1,modal1:!1}},components:{PageSpace:r["a"],BizTable:s["a"]},methods:{distributionOK:function(){var e=this;"请选择"==this.selectValue||this.params=={}?this.$Message.error("请输入完整信息!"):Object(u["c"])(this.params).then((function(t){console.log(t,"235467890-"),0==t.data.status?e.$Message.success({content:"处理成功",duration:2,onClose:function(){e.modal1=!1,e.distributionCancel()}}):(e.$Message.error({content:t.data.msg,duration:2}),e.modal1=!0)}))},distributionCancel:function(){console.log("关闭了"),this.distributeList=[],this.selectValue="请选择",this.params={}},checkChange:function(){var e=this;if(this.$refs.tree.getSelectedNodes()[0].children&&0==this.$refs.tree.getSelectedNodes()[0].children.length){var t=this.$refs.tree.getSelectedNodes()[0].code,n={search:{opath:t},pageInfo:{pageSize:999,pageNo:1}};Object(u["d"])(n).then((function(t){if(0==t.data.status){for(var n=t.data.data.results.rows,a=0;a<t.data.data.results.rows.length;a++)n[a].title=t.data.data.results.rows[a].nickName||t.data.data.results.rows[a].userName;n.map((function(t,n){e.$refs.tree.getSelectedNodes()[0].children.push(t)}))}else e.$Message.error("分配人员获取失败!")}))}this.$refs.tree.getSelectedNodes()[0].id&&(this.selectValue=this.$refs.tree.getSelectedNodes()[0].title,this.setExpand(this.data4),this.params={numbers:this.distributeList,userId:this.$refs.tree.getSelectedNodes()[0].id,opCode:this.$refs.tree.getSelectedNodes()[0].opath,nickName:this.$refs.tree.getSelectedNodes()[0].nickName||"",type:"DELIVERY",phone:this.$refs.tree.getSelectedNodes()[0].mobile})},setExpand:function(e){var t=this;e instanceof Array&&e.map((function(e,n){e.expand=!1,t.setExpand(e.children)}))},showDisModal:function(){var e=this;this.modal1=!0,Object(u["f"])().then((function(t){0==t.data.status&&(e.data4=t.data.data.orgJson,e.setExpand(e.data4))}))},oninitbtn:function(e,t){if("disbutionAgain"==e.key){var n=!1;n=!this.userInfo.isAdmin||"已完成"==t.deliveryStatus&&"已关闭"==t.deliveryStatus,e.ishide=n}if("info"==e.key){var a=!1;e.ishide=a}},beforeadd:function(e,t){return t({value:!0,message:null})},beforedit:function(e,t){return t({value:!0,message:null})},beforesave:function(e,t,n){return n(t)},onexec:function(e,t){"disbutionAgain"===e?(console.log("distribution: ",t),this.distributeList.push(t.deliveryNumber),this.showDisModal()):"info"===e&&this.$router.push("/deliveryManage/deliveryDetail?id=".concat(t.deliveryId))},validmethod:function(e,t,n){return n()},formatCol:function(e,t,n){var a=e[t];if("business_type"===t){var i=o["a"].businessType[a];return i}if("business_status"===t){var s=o["a"].businessStatus[a];return s}if("source_name"===t){var r=o["a"].source[a];return r}},getUserInfo:function(){var e=this.$store.state.user.userobj;this.userInfo.isAdmin=e.isAdmin,console.log(this.userInfo.isAdmin,"uuuuuuuuuuuuuuuuuuu")}},created:function(){this.getUserInfo()}}),d=c,l=(n("d827"),n("9ca4")),f=Object(l["a"])(d,a,i,!1,null,"27923677",null);t["default"]=f.exports},d827:function(e,t,n){"use strict";var a=n("128c"),i=n.n(a);i.a}}]);
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment