@bee-hole/admin 1.25.17 → 1.25.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (92) hide show
  1. package/README.md +403 -17
  2. package/dist/css/{app~f075b844.797ba4eb.css → app~f075b844.d82703af.css} +1 -1
  3. package/dist/css/{app~f075b844.797ba4eb.css.gz → app~f075b844.d82703af.css.gz} +0 -0
  4. package/dist/css/chunk-0ba53954.13706cf3.css +1 -0
  5. package/dist/css/chunk-0e20a560.463d4485.css +1 -0
  6. package/dist/css/chunk-0e20a560.463d4485.css.gz +0 -0
  7. package/dist/css/chunk-1594f836.fca25df2.css +1 -0
  8. package/dist/css/chunk-1594f836.fca25df2.css.gz +0 -0
  9. package/dist/css/{chunk-2f75fee2.1cd7e629.css → chunk-4b8ab170.e3e7dc69.css} +1 -1
  10. package/dist/css/chunk-e8891446.357ba390.css +1 -0
  11. package/dist/css/chunk-e8891446.357ba390.css.gz +0 -0
  12. package/dist/css/lang-package~4e34e71e.e9f406ad.css +11 -0
  13. package/dist/css/lang-package~4e34e71e.e9f406ad.css.gz +0 -0
  14. package/dist/css/lang-zh-TW-service~f63b1681.6ab3f741.css +1 -0
  15. package/dist/index.html +1 -1
  16. package/dist/js/app~f075b844.c8f6c1b4.js +1 -0
  17. package/dist/js/app~f075b844.c8f6c1b4.js.gz +0 -0
  18. package/dist/js/chunk-03e1387e.ec2ad92c.js +1 -0
  19. package/dist/js/chunk-03e1387e.ec2ad92c.js.gz +0 -0
  20. package/dist/js/chunk-0ba53954.8a614c9f.js +1 -0
  21. package/dist/js/chunk-0ba53954.8a614c9f.js.gz +0 -0
  22. package/dist/js/chunk-0e20a560.668c38b3.js +1 -0
  23. package/dist/js/chunk-0e20a560.668c38b3.js.gz +0 -0
  24. package/dist/js/chunk-1594f836.aa7528ad.js +1 -0
  25. package/dist/js/chunk-1594f836.aa7528ad.js.gz +0 -0
  26. package/dist/js/chunk-4b8ab170.e86324eb.js +1 -0
  27. package/dist/js/chunk-4b8ab170.e86324eb.js.gz +0 -0
  28. package/dist/js/chunk-e8891446.53bc548f.js +1 -0
  29. package/dist/js/chunk-e8891446.53bc548f.js.gz +0 -0
  30. package/dist/js/lang-ar-EG~31ecd969.0a5a6f9a.js +3 -0
  31. package/dist/js/lang-ar-EG~31ecd969.0a5a6f9a.js.gz +0 -0
  32. package/dist/js/lang-bn-BD~ede72586.76970b29.js +1 -0
  33. package/dist/js/lang-bn-BD~ede72586.76970b29.js.gz +0 -0
  34. package/dist/js/lang-en-US~31ecd969.519799c9.js +3 -0
  35. package/dist/js/lang-en-US~31ecd969.519799c9.js.gz +0 -0
  36. package/dist/js/lang-ko-KR~31ecd969.0d88f056.js +1 -0
  37. package/dist/js/lang-ko-KR~31ecd969.0d88f056.js.gz +0 -0
  38. package/dist/js/lang-ms-MY~d756050e.287dfdaa.js +1 -0
  39. package/dist/js/lang-ms-MY~d756050e.287dfdaa.js.gz +0 -0
  40. package/dist/js/lang-package~4e34e71e.0b37ab7c.js +11 -0
  41. package/dist/js/lang-package~4e34e71e.0b37ab7c.js.gz +0 -0
  42. package/dist/js/lang-zh-TW-service~f63b1681.5fc407e5.js +1 -0
  43. package/dist/js/lang-zh-TW-service~f63b1681.5fc407e5.js.gz +0 -0
  44. package/dist/js/lang-zh-TW~31ecd969.fdb83599.js +1 -0
  45. package/dist/js/lang-zh-TW~31ecd969.fdb83599.js.gz +0 -0
  46. package/package.json +1 -1
  47. package/dist/css/chunk-3ba5003d.d9835634.css +0 -1
  48. package/dist/css/chunk-3ba5003d.d9835634.css.gz +0 -0
  49. package/dist/css/chunk-4c11fada.a51eec01.css +0 -1
  50. package/dist/css/chunk-4c11fada.a51eec01.css.gz +0 -0
  51. package/dist/css/chunk-6d9a2a6a.78a35ef6.css +0 -1
  52. package/dist/css/chunk-d9b597f4.d65197be.css +0 -1
  53. package/dist/css/chunk-d9b597f4.d65197be.css.gz +0 -0
  54. package/dist/css/lang-package~4e34e71e.42660540.css +0 -11
  55. package/dist/css/lang-package~4e34e71e.42660540.css.gz +0 -0
  56. package/dist/css/lang-zh-TW-service~f63b1681.b6633831.css +0 -1
  57. package/dist/css/lang-zh-TW-service~f63b1681.b6633831.css.gz +0 -0
  58. package/dist/js/app~f075b844.73413cbf.js +0 -1
  59. package/dist/js/app~f075b844.73413cbf.js.gz +0 -0
  60. package/dist/js/chunk-2f75fee2.6adf6bac.js +0 -1
  61. package/dist/js/chunk-2f75fee2.6adf6bac.js.gz +0 -0
  62. package/dist/js/chunk-3ba5003d.1bc8d1dd.js +0 -1
  63. package/dist/js/chunk-3ba5003d.1bc8d1dd.js.gz +0 -0
  64. package/dist/js/chunk-4c11fada.c7d9b211.js +0 -1
  65. package/dist/js/chunk-4c11fada.c7d9b211.js.gz +0 -0
  66. package/dist/js/chunk-6d9a2a6a.c59265c0.js +0 -1
  67. package/dist/js/chunk-6d9a2a6a.c59265c0.js.gz +0 -0
  68. package/dist/js/chunk-d9b597f4.159d600c.js +0 -1
  69. package/dist/js/chunk-d9b597f4.159d600c.js.gz +0 -0
  70. package/dist/js/chunk-e4a3fce0.a47ffcd3.js +0 -1
  71. package/dist/js/chunk-e4a3fce0.a47ffcd3.js.gz +0 -0
  72. package/dist/js/lang-ar-EG~31ecd969.055f69fa.js +0 -3
  73. package/dist/js/lang-ar-EG~31ecd969.055f69fa.js.gz +0 -0
  74. package/dist/js/lang-bn-BD~ede72586.107361c9.js +0 -1
  75. package/dist/js/lang-bn-BD~ede72586.107361c9.js.gz +0 -0
  76. package/dist/js/lang-en-US~31ecd969.78fd0a2e.js +0 -3
  77. package/dist/js/lang-en-US~31ecd969.78fd0a2e.js.gz +0 -0
  78. package/dist/js/lang-ko-KR~31ecd969.d3d18a14.js +0 -1
  79. package/dist/js/lang-ko-KR~31ecd969.d3d18a14.js.gz +0 -0
  80. package/dist/js/lang-ms-MY~d756050e.2f975187.js +0 -1
  81. package/dist/js/lang-ms-MY~d756050e.2f975187.js.gz +0 -0
  82. package/dist/js/lang-package~4e34e71e.0725cee0.js +0 -11
  83. package/dist/js/lang-package~4e34e71e.0725cee0.js.gz +0 -0
  84. package/dist/js/lang-zh-TW-service~f63b1681.b10be53e.js +0 -1
  85. package/dist/js/lang-zh-TW-service~f63b1681.b10be53e.js.gz +0 -0
  86. package/dist/js/lang-zh-TW~31ecd969.4436be4d.js +0 -1
  87. package/dist/js/lang-zh-TW~31ecd969.4436be4d.js.gz +0 -0
  88. /package/dist/css/{chunk-e4a3fce0.dfc9ffb2.css → chunk-03e1387e.dfc9ffb2.css} +0 -0
  89. /package/dist/css/{chunk-vendors~5ea6e0dc.4d37bd3a.css → chunk-vendors~5ea6e0dc.577119a6.css} +0 -0
  90. /package/dist/css/{chunk-vendors~5ea6e0dc.4d37bd3a.css.gz → chunk-vendors~5ea6e0dc.577119a6.css.gz} +0 -0
  91. /package/dist/css/{chunk-vendors~921ad15b.f886b6db.css → chunk-vendors~921ad15b.24bc41a4.css} +0 -0
  92. /package/dist/css/{chunk-vendors~921ad15b.f886b6db.css.gz → chunk-vendors~921ad15b.24bc41a4.css.gz} +0 -0
@@ -0,0 +1 @@
1
+ (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4b8ab170"],{"0362":function(e,t,a){},"0c6d":function(e,t,a){"use strict";a.r(t);var o=function(){var e=this,t=e._self._c;return t("span",[e.complaint?t("a-button",{attrs:{type:"link"},on:{click:e.openModal}},[e._v(e._s(e.workOrderId?e.$t("view.workOrder.handle.button"):e.$t("components.complaint.detail.btn")))]):e._e(),t("ant-modal",{attrs:{visible:e.open,"modal-title":e.formTitle,"adjust-size":!0,modalHeight:e.isMobile?"500":"580",modalWidth:e.isMobile?"600":"800"},on:{cancel:e.cancel}},[e.complaint&&e.open?t("div",{attrs:{slot:"content"},slot:"content"},[e.orderDetailModal?t("order-detail",{ref:"OrderDetail",on:{close:function(t){e.orderDetailModal=!1}}}):e._e(),t("previewImg",{attrs:{previewVisible:e.previewImgShow,previewImage:e.preImg},on:{"update:previewVisible":function(t){e.previewImgShow=t},"update:preview-visible":function(t){e.previewImgShow=t}}}),t("a-form",{attrs:{"label-col":e.labelCol,"wrapper-col":e.wrapperCol},model:{value:e.complaint,callback:function(t){e.complaint=t},expression:"complaint"}},[e.workOrderList&&e.workOrderList.length>1?t("a-form-item",{attrs:{label:e.$t("components.complaint.detail.currentWorkOrder"),prop:"work_order_id"}},[t("a-select",{staticStyle:{width:"100%"},attrs:{"default-value":e.complaint.work_order_id},on:{change:e.switchWorkOrder}},e._l(e.workOrderList,(function(a){return t("a-select-option",{key:a.work_order_id,attrs:{value:a.work_order_id}},[e._v(e._s(a.details))])})),1)],1):e._e(),2==e.complaint.work_order_type&&e.complaint.complaint_ref_id&&1==e.shop_id?t("a-form-item",{attrs:{label:e.$t("procure.list.order.order_id"),prop:"faq_id"}},[t("a",{on:{click:function(t){return e.handleOrderDetail()}}},[e._v(e._s(e.complaint.complaint_ref_id))])]):e._e(),3==e.complaint.work_order_type&&e.complaint.complaint_ref_id&&1==e.shop_id?t("a-form-item",{attrs:{label:e.$t("view.supply.list.order.id"),prop:"faq_id"}},[t("a",{on:{click:function(t){return e.handleOrderDetail()}}},[e._v(e._s(e.complaint.complaint_ref_id))])]):e._e(),t("a-form-item",{attrs:{label:e.$t("components.complaint.faqId"),prop:"faq_id"}},[t("faqType",{attrs:{value:e.complaint.faq_id,disabled:""},on:{"update:value":function(t){return e.$set(e.complaint,"faq_id",t)}}})],1),t("a-form-item",{attrs:{label:e.$t("components.complaint.detailImages"),prop:"detail_images"}},[t("div",{staticStyle:{display:"flex","flex-wrap":"wrap"}},[e.complaint.detail_image_1?t("img",{staticStyle:{height:"80px","margin-right":"10px","margin-bottom":"10px",cursor:"pointer"},attrs:{src:e.complaint.detail_image_1},on:{click:function(t){return e.previewImage(e.complaint.detail_image_1)}}}):e._e(),e.complaint.detail_image_2?t("img",{staticStyle:{height:"80px","margin-right":"10px","margin-bottom":"10px",cursor:"pointer"},attrs:{src:e.complaint.detail_image_2},on:{click:function(t){return e.previewImage(e.complaint.detail_image_2)}}}):e._e(),e.complaint.detail_image_3?t("img",{staticStyle:{height:"80px","margin-right":"10px","margin-bottom":"10px",cursor:"pointer"},attrs:{src:e.complaint.detail_image_3},on:{click:function(t){return e.previewImage(e.complaint.detail_image_3)}}}):e._e(),e.complaint.detail_image_4?t("img",{staticStyle:{height:"80px","margin-right":"10px","margin-bottom":"10px",cursor:"pointer"},attrs:{src:e.complaint.detail_image_4},on:{click:function(t){return e.previewImage(e.complaint.detail_image_4)}}}):e._e(),e.complaint.detail_image_5?t("img",{staticStyle:{height:"80px","margin-right":"10px","margin-bottom":"10px",cursor:"pointer"},attrs:{src:e.complaint.detail_image_5},on:{click:function(t){return e.previewImage(e.complaint.detail_image_5)}}}):e._e()])]),t("a-form-item",{attrs:{label:e.$t("components.complaint.details"),prop:"details"}},[t("div",{staticStyle:{width:"100%"}},[t("div",{staticStyle:{"min-height":"32px","word-break":"break-word",display:"flex","align-content":"center","align-items":"center","flex-wrap":"wrap"}},[e._v(" "+e._s(e.complaint.details)+" ")])])]),e.complaint.results?t("div",{staticStyle:{"margin-bottom":"20px"}},[t("a-list",{attrs:{"item-layout":"horizontal","data-source":e.complaint.results},scopedSlots:e._u([{key:"renderItem",fn:function(a,o){return t("a-list-item",{},[t("a-list-item-meta",[t("div",{attrs:{slot:"title"},slot:"title"},[t("div",{key:o,style:{display:"flex",justifyContent:"space-between",paddingTop:"15px",borderTop:0===o?" 1px solid #e8e8e8":"0"}},[t("div",[t("supply-info",{attrs:{shopId:a.shop_id===e.complaint.executor_shop_id?e.complaint.executor_shop_id:e.complaint.executee_shop_id}})],1),t("div",[t("div",[e._v(e._s(a.create_time))])])])]),t("div",{attrs:{slot:"description"},slot:"description"},[t("div",{domProps:{innerHTML:e._s(a.execution_result)}})])])],1)}}],null,!1,2466928742)})],1):e._e(),e.complaint&&e.complaint.status?t("a-form-item",{attrs:{label:e.$t("components.complaint.status"),prop:"status"}},[t("div",{staticStyle:{"text-align":"right","margin-bottom":"10px","min-height":"32px","word-break":"break-word",display:"flex","align-content":"center","align-items":"center","flex-wrap":"wrap"}},[t("span",{staticStyle:{"margin-right":"10px"}},[e._v(" "+e._s(e.$t("WorkOrder."+e.complaint.status)))]),"FINISHED"!=e.complaint.status?t("endingWorkOrder",{attrs:{workOrderId:e.complaint.work_order_id},on:{refresh:e.openModal}}):e._e()],1)]):e._e(),e.complaint&&"FINISHED"!=e.complaint.status?t("div",[t("commitWorkOrder",{ref:"commitWorkOrder",attrs:{isFormBtn:!1,workOrderId:e.complaint.work_order_id},on:{ok:e.openModal}})],1):e._e()],1)],1):e._e(),t("div",{attrs:{slot:"footer"},slot:"footer"},[t("a-button",{on:{click:e.cancel}},[e._v(e._s(e.$t("components.complaint.detail.cancel")))]),e.complaint&&"FINISHED"!=e.complaint.status?t("a-button",{attrs:{type:"primary"},on:{click:e.submit}},[e._v(e._s(e.$t("view.workorder.handle.submit")))]):e._e()],1)])],1)},n=[],i=a("5530"),r=(a("d3b7"),a("3ca3"),a("ddb0"),a("4de4"),a("255f")),s=a("2dd7"),l=a("2f62"),c=a("a026"),d=a("8eb3"),u=a("0a56"),m=Object(c["b"])((function(){return a.e("chunk-03e1387e").then(a.bind(null,"7bb9"))})),p=Object(c["b"])((function(){return a.e("lang-zh-TW-service~f63b1681").then(a.bind(null,"95fb"))})),f=Object(c["b"])((function(){return Promise.all([a.e("lang-package~4e34e71e"),a.e("chunk-fa04ce72")]).then(a.bind(null,"c03e"))})),h=Object(c["b"])((function(){return a.e("chunk-4b8ab170").then(a.bind(null,"dc25"))})),g={name:"ComplaintDetail",data:function(){return{complaint:null,open:!1,formTitle:"",labelCol:{span:24},wrapperCol:{span:20},workOrderList:[],previewImgShow:!1,preImg:"",orderDetailModal:!1}},props:{orderId:{type:String,default:""},workOrderId:{type:String,default:""}},created:function(){this.formTitle=this.$t("components.complaint.detail.modal.title"),this.workOrderId?this.getWorkOrder():this.getComplaint()},watch:{orderId:function(e,t){this.getComplaint()}},methods:{getComplaint:function(){var e=this;Object(r["f"])({complaint_ref_id:this.orderId}).then((function(t){t.list&&t.list.length>0&&(e.workOrderList=t.list,e.complaint=t.list[t.list.length-1])}))},getWorkOrder:function(){var e=this;Object(r["c"])({work_order_id:this.workOrderId}).then((function(t){e.complaint=t}))},cancel:function(){this.open=!1},openModal:function(){this.open=!0,this.workOrderId?this.getWorkOrder():this.getComplaint()},switchWorkOrder:function(e){var t=this.workOrderList.filter((function(t){if(t.work_order_id===e)return t}));t&&t.length>0&&(this.complaint=Object.assign({},t[0]))},previewImage:function(e){this.preImg=e,this.previewImgShow=!0},submit:function(){this.$refs.commitWorkOrder.backChecked()},handleOrderDetail:function(){var e=this,t={};this.complaint.work_order_type,t.order_id=this.complaint.complaint_ref_id,this.orderDetailModal=!0,this.$nextTick((function(){return e.$refs.OrderDetail.handleOrderDetail(t)}))}},computed:Object(i["a"])({},Object(l["c"])(["shopId","isMobile"])),components:{AntModal:s["default"],faqType:m,endingWorkOrder:p,commitWorkOrder:f,supplyInfo:d["default"],previewImg:h,OrderDetail:u["default"]}},v=Object(i["a"])({},g),_=v,y=a("2877"),b=Object(y["a"])(_,o,n,!1,null,null,null);t["default"]=b.exports},"12a1":function(e,t,a){"use strict";a.r(t);a("b0c0");var o=function(){var e=this,t=e._self._c;return t("span",[t("a-button",{attrs:{type:"primary"},on:{click:e.saveInit}},[e._v(e._s(e.$t("components.google.open.button")))]),e.open?t("ant-modal",{attrs:{visible:e.open,"modal-title":e.modalTitle,"adjust-size":!0,modalHeight:"380",modalWidth:"820"},on:{cancel:e.cancelEditGoodInfo,ok:e.okEditGoodInfo}},[t("div",{attrs:{slot:"content"},slot:"content"},[t("a-form-model",{ref:"googleForm",attrs:{model:e.formData,rules:e.rules}},[t("a-row",{attrs:{gutter:12}},[t("a-col",{attrs:{lg:12}},[t("a-form-model-item",{attrs:{label:e.$t("view.order.detail.ship_country"),prop:"target_country",required:""}},[t("ps-country-select",{attrs:{countryCode:e.formData.target_country},on:{"update:countryCode":function(t){return e.$set(e.formData,"target_country",t)},"update:country-code":function(t){return e.$set(e.formData,"target_country",t)}}})],1)],1),t("a-col",{attrs:{lg:12}},[t("a-form-model-item",{attrs:{label:e.$t("view.item.component.item.syn.ozon.language"),prop:"content_language",required:""}},[t("view-select",{attrs:{lang:e.formData.content_language,backVal:"lang"},on:{change:e.backLang}})],1)],1),t("a-col",{attrs:{lg:12}},[t("a-form-model-item",{attrs:{label:e.$t("view.item.form.channel"),prop:"channel",required:""}},[t("a-select",{attrs:{"show-search":"",placeholder:"","option-filter-prop":"title"},model:{value:e.formData.channel,callback:function(t){e.$set(e.formData,"channel",t)},expression:"formData.channel"}},e._l(e.channelList,(function(a){return t("a-select-option",{key:a.name,attrs:{title:a.name,value:a.value}},[e._v(" "+e._s(a.name)+" ")])})),1)],1)],1)],1)],1)],1)]):e._e()],1)},n=[],i=a("5530"),r=(a("d3b7"),a("3ca3"),a("ddb0"),a("a026")),s=a("aabf"),l=a("1b6c"),c=Object(r["b"])((function(){return Promise.resolve().then(a.bind(null,"2dd7"))})),d=Object(r["b"])((function(){return Promise.resolve().then(a.bind(null,"1605"))})),u=Object(r["b"])((function(){return Promise.resolve().then(a.bind(null,"68dd"))})),m={name:"GoogleGoods",data:function(){return{open:!1,modalTitle:"",formData:{},channelList:[{name:Object(l["b"])("components.googleGoods.channel.local"),value:"local"},{name:Object(l["b"])("components.googleGoods.channel.online"),value:"online"}],rules:{target_country:[{required:!0,message:Object(l["b"])("components.google.channel.target_country"),trigger:"change"}],content_language:[{required:!0,message:Object(l["b"])("components.google.channel.content_language"),trigger:"change"}],channel:[{required:!0,message:Object(l["b"])("components.google.channel.placeholder"),trigger:"change"}]}}},props:{goods:null,sellerId:{type:String,default:""}},methods:{openModal:function(e){this.initData(this.goods),this.open=!0},saveInit:function(){this.initData(this.goods),this.okEditGoodInfo()},initData:function(e){this.goods=e,this.modalTitle=this.$t("components.google.modal.title"),this.pathList=[],this.formData={target_country:"",goods_id:e.good_id,content_language:""}},backLang:function(e){this.formData.content_language=e},okEditGoodInfo:function(){var e=this,t=JSON.parse(JSON.stringify(this.formData));Object(s["q"])(t).then((function(t){0===t.code&&(e.cancelEditGoodInfo(),e.$message.success(e.$t("components.google.modal.success")),e.$emit("ok",t))}))},cancelEditGoodInfo:function(){this.open=!1}},components:{AntModal:c,PsCountrySelect:d,ViewSelect:u}},p=Object(i["a"])({},m),f=p,h=a("2877"),g=Object(h["a"])(f,o,n,!1,null,null,null);t["default"]=g.exports},"16f2":function(e,t,a){"use strict";a.r(t);var o=function(){var e=this,t=e._self._c;return t("span",[t("AdvanceTable",{attrs:{columns:e.Columns,"data-source":e.list,rowKey:"good_id"},scopedSlots:e._u([{key:"title",fn:function(){return[t("div")]},proxy:!0},{key:"image",fn:function(e){e.text;var a=e.record;return t("span",{},[t("img",{staticStyle:{width:"100px",height:"100px"},attrs:{src:a.image_url}})])}}])})],1)},n=[],i=a("5530"),r=a("c7eb"),s=a("1da1"),l=(a("d3b7"),a("3ca3"),a("ddb0"),a("d81d"),a("aabf")),c=a("5d9e"),d={name:"goodsIdList",props:{goodsIds:{type:Array,default:function(){return[]}},goodsList:{type:Array,default:function(){return[]}}},data:function(){return{activeTab:0,list:[],Columns:[{title:this.$t("view.item.list.good_id"),dataIndex:"good_id",width:"80px"},{title:this.$t("view.item.list.form.title"),dataIndex:"title",width:"200px"},{title:this.$t("view.item.list.itemImage"),dataIndex:"image",width:"200px",scopedSlots:{customRender:"image"}}]}},watch:{goodsIds:function(e,t){e!==t&&this.getGoodsList()}},created:function(){this.getGoodsList()},methods:{getGoodsList:function(){var e=this;return Object(s["a"])(Object(r["a"])().mark((function t(){return Object(r["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.list=[],t.next=3,Promise.all(e.goodsIds.map(function(){var t=Object(s["a"])(Object(r["a"])().mark((function t(a,o){var n,i;return Object(r["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n={good_id:a},t.next=3,Object(l["l"])(n);case 3:i=t.sent,e.list.push(i);case 5:case"end":return t.stop()}}),t)})));return function(e,a){return t.apply(this,arguments)}}()));case 3:return e._.size(e.list),e.$emit("back",e.list),e.$emit("update:goodsList",e.list),t.abrupt("return",e.list);case 7:case"end":return t.stop()}}),t)})))()}},components:{AdvanceTable:c["default"]}},u=Object(i["a"])({},d),m=u,p=a("2877"),f=Object(p["a"])(m,o,n,!1,null,null,null);t["default"]=f.exports},"1a13":function(e,t,a){"use strict";a.r(t);a("7db0"),a("d3b7");var o=function(){var e=this,t=e._self._c;return t("span",[e.disabled?e.disabled?t("div",{staticStyle:{height:"31px","line-height":"31px"}},[e._v(" "+e._s(e.optionsList.find((function(t){return t.value===e.workType})).label)+" ")]):e._e():t("a-select",{attrs:{disabled:e.disabled},on:{change:e.handleChange},model:{value:e.workType,callback:function(t){e.workType=t},expression:"workType"}},e._l(e.optionsList,(function(a){return t("a-select-option",{key:a.value,attrs:{value:a.value}},[e._v(" "+e._s(a.label)+" ")])})),1)],1)},n=[],i=(a("a9e3"),a("1b6c")),r={name:"WorkType",data:function(){return{optionsList:[{label:Object(i["b"])("components.complaint.workType.all"),value:0},{label:Object(i["b"])("components.complaint.workType.consult"),value:1},{label:Object(i["b"])("components.complaint.workType.purchase"),value:2},{label:Object(i["b"])("components.complaint.workType.supply"),value:3}],workType:0}},props:{value:{type:Number,default:1},disabled:{type:Boolean,default:!1},isAll:{type:Boolean,default:!1}},watch:{value:function(e){e!==this.workType&&(this.workType=e)}},created:function(){this.isAll&&this.optionsList.unshift({label:Object(i["b"])("components.complaint.faqType.all"),value:0}),this.workType=this.value},methods:{handleChange:function(e){this.$emit("update:value",e),this.$emit("change",e)}}},s=r,l=a("2877"),c=Object(l["a"])(s,o,n,!1,null,null,null);t["default"]=c.exports},"1fc7":function(e,t,a){"use strict";a.r(t);var o=a("c0c3"),n=a("2dd7");t["default"]={name:"CreateForm",props:{typeOptions:{type:Array,required:!0}},components:{AntModal:n["default"]},data:function(){return{loading:!1,formTitle:"",form:{id:void 0,configName:void 0,configKey:void 0,configValue:void 0,configType:"Y",remark:void 0},open:!1,rules:{configName:[{required:!0,message:"参数名称不能为空",trigger:"blur"}],configKey:[{required:!0,message:"参数编码不能为空",trigger:"blur"},{validator:this.checkConfigKeyUnique}],configValue:[{required:!0,message:"参数值不能为空",trigger:"blur"}]}}},filters:{},created:function(){},computed:{},watch:{},methods:{cancel:function(){this.open=!1,this.$emit("close")},reset:function(){void 0!==this.$refs.form&&this.$refs.form.resetFields()},handleAdd:function(){this.open=!0,this.formTitle="添加参数"},handleUpdate:function(e,t){var a=this,n=e?e.id:t;Object(o["e"])(n).then((function(e){a.form=e.data,a.open=!0,a.formTitle="修改参数"}))},submitForm:function(){var e=this;this.$refs.form.validate((function(t){if(!t)return!1;void 0!==e.form.id?Object(o["i"])(e.form).then((function(t){e.$message.success("修改成功",3),e.open=!1,e.$emit("ok")})):Object(o["i"])(e.form).then((function(t){e.$message.success("新增成功",3),e.open=!1,e.$emit("ok")}))}))},checkConfigKeyUnique:function(e,t,a){var n="参数编码已存在";if(""===t)a();else{var i={configKey:t,id:void 0!==this.form.id?this.form.id:""};Object(o["a"])(i).then((function(e){"1"===e.data.code?a():a(n)}))}}}}},"23bd":function(e,t,a){},"270e":function(e,t,a){"use strict";a.r(t);a("b0c0");var o=function(){var e=this,t=e._self._c;return t("div",["rakuten"!==e.platform?t("div",["tiktok"==e.platform?t("a-form-model-item",{attrs:{"has-feedback":"",label:e.$t("view.order.list.please_select_delivery"),prop:"please_select_delivery"}},[t("a-select",{attrs:{placeholder:e.$t("view.order.list.please_select_delivery")},on:{change:e.selectShippingProviders},model:{value:e.form.delivery_option_id,callback:function(t){e.$set(e.form,"delivery_option_id",t)},expression:"form.delivery_option_id"}},e._l(e.shops_delivery,(function(a,o){return t("a-select-option",{key:o,attrs:{value:a.id}},[e._v(" "+e._s(a.name)+" - "+e._s(a.type)+" ")])})),1)],1):e._e(),"tiktok"==e.platform?t("a-form-model-item",{attrs:{"has-feedback":"",label:e.$t("view.order.list.please_select_delivery_option"),prop:"please_select_delivery_option"}},[t("a-select",{attrs:{placeholder:e.$t("view.order.list.please_select_delivery_option")},on:{change:e.selectShopsDeliveryOption}},e._l(e.shops_delivery_option,(function(a,o){return t("a-select-option",{key:o,attrs:{value:a.id}},[e._v(" "+e._s(a.id)+" - "+e._s(a.name)+" ")])})),1)],1):e._e(),"tiktok"!=e.platform?t("a-form-model-item",{attrs:{"has-feedback":"",label:e.$t("view.order.list.ship.list.logistics_company"),prop:"logistics_name"}},["netsea"!=e.platform&&"yahoo"!=e.platform?t("a-select",{staticStyle:{width:"100%"},attrs:{"show-search":""},on:{change:e.handleChange},model:{value:e.form.logistics_name,callback:function(t){e.$set(e.form,"logistics_name",t)},expression:"form.logistics_name"}},e._l(e.options,(function(a,o){return t("a-select-opt-group",{key:o},[t("span",{attrs:{slot:"label"},slot:"label"},[t("a-icon",{attrs:{type:"user"}}),e._v(e._s(a.key))],1),e._l(a.option,(function(a,o){return t("a-select-option",{key:o,attrs:{value:a.key}},[e._v(" "+e._s(a.value)+" ")])}))],2)})),1):e._e(),"yahoo"==e.platform?t("a-select",{staticStyle:{width:"100%"},on:{change:e.handleChange},model:{value:e.form.logistics_name,callback:function(t){e.$set(e.form,"logistics_name",t)},expression:"form.logistics_name"}},e._l(e.rakutenDeliveryCompany,(function(a,o){return"yahoo"==e.platform&&"1028"!=a.value?t("a-select-option",{key:o,attrs:{value:a.value}},[e._v(" "+e._s(a.name)+" ")]):e._e()})),1):e._e(),"netsea"==e.platform?t("a-select",{staticStyle:{width:"100%"},on:{change:e.handleChange},model:{value:e.form.logistics_name,callback:function(t){e.$set(e.form,"logistics_name",t)},expression:"form.logistics_name"}},e._l(e.netseaDeliveryCompany,(function(a,o){return t("a-select-option",{key:o,attrs:{value:a.value}},[e._v(" "+e._s(a.name)+" ")])})),1):e._e()],1):e._e(),t("a-form-model-item",{attrs:{"has-feedback":"",label:e.$t("view.order.list.ship.list.logistics_number"),prop:"shipment_id"}},[t("a-input",{attrs:{placeholder:e.$t("view.order.list.ship.list.input.logistics_number")},model:{value:e.form.shipment_id,callback:function(t){e.$set(e.form,"shipment_id",t)},expression:"form.shipment_id"}})],1)],1):e._e(),"rakuten"===e.platform?t("div",[e.isEdit?t("a-form-model",e._b({ref:"form",attrs:{model:e.form,rules:e.rules}},"a-form-model",e.itemLayout,!1),[t("a-form-model-item",{attrs:{"has-feedback":"",prop:"ship_units"}},[t("a-row",{staticClass:"ant-upload-list ant-upload-list-picture-card"},[t("table",{staticClass:"qgg-table"},[t("thead",[t("tr",[t("th",[e._v(e._s(e.$t("view.order.list.rakuten.basket_id")))]),t("th",[e._v(e._s(e.$t("table.mall_goods")))])])]),t("tbody",e._l(e.rakutenSdataSkuList,(function(a,o){return e.rakutenSdataSkuList?t("tr",{key:o},[t("td",[e._v(" "+e._s(a.basketId)+" "),t("table",{staticClass:"qgg-table"},[t("tbody",[t("tr",[t("td",{staticStyle:{width:"100px"}},[e._v(e._s(e.$t("view.order.detail.shipping_corp")))]),t("td",{staticStyle:{"text-align":"left"}},[t("a-select",{staticStyle:{width:"200px"},on:{change:e.selectRakutenDeliveryCompanyName},model:{value:a.delivery_company,callback:function(t){e.$set(a,"delivery_company",t)},expression:"item.delivery_company"}},e._l(e.rakutenDeliveryCompany,(function(a,o){return t("a-select-option",{key:o,attrs:{value:a.value}},[e._v(e._s(a.name))])})),1)],1)]),t("tr",[t("td",{staticStyle:{width:"100px"}},[e._v(e._s(e.$t("view.order.detail.shipping_code")))]),t("td",{staticStyle:{"text-align":"left"}},[t("a-input",{staticStyle:{width:"200px"},on:{change:e.inputRakutenDeliveryCompanyCode},model:{value:a.shipping_number,callback:function(t){e.$set(a,"shipping_number",t)},expression:"item.shipping_number"}})],1)])])])]),t("td",e._l(a.item,(function(o,n){return a.item?t("a-row",{key:n},[t("a-col",{staticStyle:{"text-align":"left"}},[e._v(e._s(o.title))]),t("a-col",{staticStyle:{"text-align":"left","margin-top":"5px"}},[e._v(e._s(o.sku_prop)+" X "+e._s(o.shipping_num))])],1):e._e()})),1)]):e._e()})),0)])])],1)],1):e._e()],1):e._e()])},n=[],i=(a("a9e3"),a("d3b7"),a("159b"),a("7db0"),a("296e")),r=a("1b6c"),s=a("3a10"),l={data:function(){return{rakutenSdataSkuList:[],itemLayout:{labelCol:{lg:2},wrapperCol:{lg:18}},rules:{logistics_name:[{required:!0,trigger:"change"}],shipment_id:[{required:!0,trigger:"change"}]},shops_delivery:[],shops_delivery_option:[],rakutenDeliveryCompany:[{name:"その他",value:"1000"},{name:"ヤマト運輸",value:"1001"},{name:"佐川急便",value:"1002"},{name:"日本郵便",value:"1003"},{name:"西濃運輸",value:"1004"},{name:"セイノースーパーエクスプレス",value:"1005"},{name:"福山通運",value:"1006"},{name:"名鉄運輸",value:"1007"},{name:"トナミ運輸",value:"1008"},{name:"第一貨物",value:"1009"},{name:"新潟運輸",value:"1010"},{name:"中越運送",value:"1011"},{name:"岡山県貨物運送",value:"1012"},{name:"久留米運送",value:"1013"},{name:"山陽自動車運送",value:"1014"},{name:"NXトランスポート",value:"1015"},{name:"エコ配",value:"1016"},{name:"EMS",value:"1017"},{name:"DHL",value:"1018"},{name:"FedEx",value:"1019"},{name:"UPS",value:"1020"},{name:"日本通運",value:"1021"},{name:"TNT",value:"1022"},{name:"OCS",value:"1023"},{name:"USPS",value:"1024"},{name:"SFエクスプレス",value:"1025"},{name:"Aramex",value:"1026"},{name:"SGHグローバル・ジャパン",value:"1027"},{name:"Rakuten EXPRESS",value:"1028"}],netseaDeliveryCompany:[{name:"ヤマト運輸",value:"YA"},{name:"佐川急便",value:"SA"},{name:"日本郵便",value:"NY"},{name:"西濃運輸",value:"SE"},{name:"福山通運",value:"FU"},{name:"名鉄運輸",value:"ME"},{name:"トナミ運輸",value:"TO"},{name:"第一貨物",value:"DA"},{name:"その他",value:"OT"},{name:"日本通運",value:"NT"}]}},props:{form:{type:Object,default:function(){return{shipment_id:"",logistics_name:""}}},options:{type:Array,default:function(){return[{key:Object(r["b"])("view.express.foreign_express1"),label:"GJWL",option:[{key:"SFGJ",value:"顺丰国际"},{key:"DHWL",value:"ヤマト運輸"},{key:"ZCJB",value:"佐川急便"},{key:"RBYZ",value:"日本郵便"}]},{key:Object(r["b"])("view.express.foreign_express2"),label:"GNWL",option:[{key:"SFEXPRESS",value:"顺丰"},{key:"STO",value:"申通"},{key:"YTO",value:"申通"},{key:"ZTO",value:"申通"},{key:"HTKY",value:"百世快递"},{key:"BSKY",value:"百世快运"},{key:"YUNDA",value:"韵达"},{key:"JD",value:"京东"},{key:"EMS",value:"EMS"},{key:"ZTO56",value:"中通快运"},{key:"AAEWEB",value:"AAE"},{key:"ARAMEX",value:"Aramex"},{key:"DHL",value:"内件DHL"},{key:"DPEX",value:"DPEX"},{key:"DEXP",value:"D速"},{key:"EWE",value:"EWE"},{key:"FEDEX",value:"FedEx"},{key:"PCA",value:"PCA"},{key:"TNT",value:"TNT"},{key:"UPS",value:"UPS"},{key:"ANJELEX",value:"安捷"},{key:"ANE",value:"安能"},{key:"ANEEX",value:"安能快递"},{key:"ANXINDA",value:"安信达"},{key:"EES",value:"百福东方"},{key:"FLYWAYEX",value:"程光"},{key:"DTW",value:"大田"},{key:"DEPPON",value:"德邦"},{key:"GCE",value:"飞洋"},{key:"PHOENIXEXP",value:"凤凰"},{key:"FTD",value:"富腾达"},{key:"GSD",value:"共速达"},{key:"GTO",value:"国通"},{key:"BLACKDOG",value:"黑狗"},{key:"HENGLU",value:"恒路"},{key:"HYE",value:"鸿远"},{key:"HQKY",value:"华企"},{key:"JOUST",value:"急先达"},{key:"TMS",value:"加运美"},{key:"JIAJI",value:"佳吉"},{key:"JIAYI",value:"佳怡"},{key:"KERRY",value:"嘉里物流"},{key:"HREX",value:"锦程快递"},{key:"PEWKEE",value:"晋越"},{key:"KKE",value:"京广"},{key:"JIUYESCM",value:"九曳"},{key:"KYEXPRESS",value:"跨越速运"},{key:"FASTEXPRESS",value:"快捷"},{key:"LTS",value:"联昊通"},{key:"LBEX",value:"龙邦"},{key:"YIMIDIDA",value:"壹米滴答"},{key:"RRS",value:"日日顺物流"},{key:"YXWL",value:"宇鑫物流"},{key:"DJ56",value:"东骏快捷"},{key:"AYCA",value:"澳邮专线"},{key:"CITY100",value:"城市100"},{key:"D4PX",value:"递四方速递"},{key:"GTSD",value:"广通"},{key:"JTKD",value:"捷特快递"},{key:"MB",value:"民邦快递"},{key:"MLWL",value:"明亮物流"},{key:"PANEX",value:"泛捷快递"},{key:"QXT",value:"全信通"},{key:"SAD",value:'赛澳递"'},{key:"SDWL",value:"上大物流"},{key:"STWL",value:"速腾快递"},{key:"WJK",value:"万家康"},{key:"ZENY",value:"增益快递"},{key:"CAE",value:"民航"},{key:"ND56",value:"能达"},{key:"EFSPOST",value:"平安快递"},{key:"CHINZ56",value:"秦远物流"},{key:"QCKD",value:"全晨"},{key:"QFKD",value:"全峰"},{key:"APEX",value:"全一"},{key:"RFD",value:"如风达"},{key:"SFC",value:"三态"},{key:"SFWL",value:"盛丰"},{key:"SHENGHUI",value:"盛辉"},{key:"SDEX",value:"顺达快递"},{key:"SUNING",value:"苏宁"},{key:"SURE",value:"速尔"},{key:"HOAU",value:"天地华宇"},{key:"TTKDEX",value:"天天"},{key:"VANGEN",value:"万庚"},{key:"WANJIA",value:"万家物流"},{key:"EWINSHINE",value:"万象"},{key:"GZWENJIE",value:"文捷航空"},{key:"XBWL",value:"新邦"},{key:"XFEXPRESS",value:"信丰"},{key:"BROADASIA",value:"亚风"},{key:"YIEXPRESS",value:"宜送"},{key:"QEXPRESS",value:"易达通"},{key:"ETD",value:"易通达"},{key:"UC56",value:"优速"},{key:"CHINAPOST",value:"邮政包裹"},{key:"YFHEX",value:"原飞航"},{key:"YADEX",value:"源安达"},{key:"YCGWL",value:"远成"},{key:"YFEXPRESS",value:"越丰"},{key:"YTEXPRESS",value:"运通"},{key:"ZJS",value:"宅急送"},{key:"ZMKMEX",value:"芝麻开门"},{key:"COE",value:"中国东方"},{key:"CRE",value:"中铁快运"},{key:"ZTKY",value:"中铁物流"},{key:"CNPL",value:"中邮"},{key:"PEISI",value:"配思航宇"},{key:"BDT",value:"八达通"},{key:"CJKD",value:"城际快递"},{key:"FKD",value:"飞康达"},{key:"HQSY",value:"环球速运"},{key:"JAD",value:"捷安达"},{key:"JGWL",value:"景光物流"},{key:"MK",value:"美快"},{key:"PADTF",value:"平安达腾飞快递"},{key:"QRT",value:"全日通速递"},{key:"RFEX",value:"瑞丰速递"},{key:"SAWL",value:"圣安物流"},{key:"ST",value:"速通物流"},{key:"SUBIDA",value:"速必达物流"},{key:"XJ",value:"新洁物流"},{key:"ZYWL",value:"中邮物流"}]}]}},order:null,platform:{type:String,default:""},isEdit:{type:Boolean,default:!0},mailingMode:{type:Number,default:1}},created:function(){var e,t,a;switch(this.platform){case"tiktok":"string"===typeof this.order.sdata&&""!==this.order.sdata&&(this.order.sdata=JSON.parse(this.order.sdata)),(null===(e=this.order.sdata)||void 0===e||null===(t=e.packages)||void 0===t?void 0:t.length)>0&&(this.order.package_id=this.order.sdata.packages[0].id),null!==(a=this.order.sdata)&&void 0!==a&&a.warehouse_id&&(this.order.warehouse_id=this.order.sdata.warehouse_id),this.shopSelect(this.order.from_shop_id);break;case"rakuten":var o=JSON.parse(this.order.sdata),n=[];o.PackageModelList.forEach((function(e){var t={};t.basketId=e.basketId,t.item=[],e.ItemModelList.forEach((function(e){if(e.SkuModelList.length)var a=e.SkuModelList[0].variantId;t.item.push({title:e.itemName,sku_prop:a,price:e.price,shipping_num:e.units,delivery_company:"",Shipping_number:""})})),n.push(t)})),this.rakutenSdataSkuList=n;break}this.getOption()},methods:{getOption:function(){var e=this,t={};Object(s["i"])({page:1,limit:150}).then((function(a){for(var o=a.list,n=0;n<o.length;n++){var i=o[n],r=i.foreign_express;t[r]||(t[r]=[]),t[r].push({key:i.logistics_code,value:i.logistics_name})}return e.options[0].option=t[2],e.options[1].option=t[1],e.options}))},submit:function(){switch(this.platform){case"tiktok":this.form.package_id=this.form.package_id,this.form.logistics_name=this.form.tracking_name,this.form.body={shipping_provider_id:this.form.shipping_providers_id,tracking_number:this.form.shipment_id};break;case"rakuten":var e=[];this.rakutenSdataSkuList.forEach((function(t){var a={basketId:"",ShippingModelList:[]};a.basketId=t.basketId,a.ShippingModelList.push({deliveryCompany:t.delivery_company,shippingNumber:t.shipping_number}),e.push(a)}));var t={};t.orderNumber=this.order.order_id,t.BasketidModelList=e,this.form.logistics_name=this.form.tracking_name,this.form.body=t;break}this.$emit("update:form",this.form)},handleChange:function(e){this.form.logistics_name=e},shopSelect:function(e){var t=this;t.form.shops=[];var a={};a.tiktok_shop_id=e,Object(i["d"])(a).then((function(e){0===e.code&&(t.form.shop_cipher=e.shop_cipher,"US"===e.shop_region&&(t.isUs=!0),t.selectDelivery())}))},selectDelivery:function(){var e=this;e.shops_delivery=[],Object(i["g"])({ware_house_id:this.order.warehouse_id,shop_cipher:e.form.shop_cipher}).then((function(t){var a,o;0===t.code&&((null===(a=t.data)||void 0===a||null===(o=a.delivery_options)||void 0===o?void 0:o.length)>0&&(e.shops_delivery=t.data.delivery_options))}))},selectShippingProviders:function(){var e=this;e.shops_delivery_option=[],Object(i["A"])({delivery_option_id:e.form.delivery_option_id,shop_cipher:e.form.shop_cipher}).then((function(t){var a,o;0===t.code&&((null===(a=t.data)||void 0===a||null===(o=a.shipping_providers)||void 0===o?void 0:o.length)>0&&(e.shops_delivery_option=t.data.shipping_providers))}))},selectShopsDeliveryOption:function(e,t){var a=this.shops_delivery_option.find((function(t){return t.id===e}));this.form.shipping_providers_id=a.id,this.form.tracking_name=a.name},selectRakutenDeliveryCompanyName:function(e){var t=this.rakutenDeliveryCompany.find((function(t){return t.value===e}));t&&(this.form.tracking_name=t.name)},inputRakutenDeliveryCompanyCode:function(e){this.form.shipment_id=e.target._value}}},c=l,d=(a("5d54"),a("2877")),u=Object(d["a"])(c,o,n,!1,null,null,null);t["default"]=u.exports},2855:function(e,t,a){"use strict";a.r(t);var o=function(){var e=this,t=e._self._c;return t("a-result",{attrs:{title:"该功能尚未开发!"},scopedSlots:e._u([{key:"icon",fn:function(){return[t("a-icon",{attrs:{type:"smile",theme:"twoTone"}})]},proxy:!0},{key:"extra",fn:function(){return[t("a-button",{attrs:{type:"primary"},on:{click:e.returnIndex}},[e._v(" 返回工作台 ")])]},proxy:!0}])})},n=[],i={name:"Build",components:{},data:function(){return{}},filters:{},created:function(){},computed:{},watch:{},mounted:function(){},methods:{returnIndex:function(){this.$router.push({path:"/index"})}}},r=i,s=a("2877"),l=Object(s["a"])(r,o,n,!1,null,null,null);t["default"]=l.exports},"2df8":function(e,t,a){"use strict";a("0362")},"3b1b":function(e,t,a){"use strict";a.r(t);a("b0c0");var o=function(){var e=this,t=e._self._c;return t("div",[t("a-card",{staticClass:"orderList",staticStyle:{"margin-bottom":"10px"},attrs:{bordered:!1}},[t("div",{ref:"search",staticClass:"table-page-search-wrapper"},[t("a-form",{attrs:{labelCol:e.labelCol,wrapperCol:e.wrapperCol}},[t("a-row",{attrs:{gutter:12,type:"flex"}},["admin"==e.roles[0]?t("a-col",{attrs:{lg:7,xl:8,xxl:6}},[t("a-form-item",{attrs:{label:e.$t("view.order.list.shop.seller")}},[t("div",{staticStyle:{display:"flex","align-items":"center"}},[t("seller-list",{on:{changeuser:e.changeUser}})],1)])],1):e._e(),"admin"==e.roles[0]&&e.userId?t("a-col",{attrs:{lg:6,xl:6,xxl:6}},[t("a-form-item",{attrs:{label:e.$t("view.order.list.shop")}},[t("shop-select",{ref:"shopSelect",attrs:{userId:e.userId},on:{change:e.changeShop}})],1)],1):e._e(),e.userId?e._e():t("a-col",{attrs:{lg:11,xl:"admin"==e.roles[0]?6:8,xxl:"admin"==e.roles[0]?4:6}},[t("a-form-item",{attrs:{label:e.$t("view.order.detail.item"),labelCol:{md:8,sm:8,lg:10},wrapperCol:{md:16,sm:16,lg:14}}},[t("good-list",{staticStyle:{width:"100%"},attrs:{type:"radio"},on:{changeitem:e.changeItem}})],1)],1)],1),t("a-row",{attrs:{gutter:12,type:"flex"}},[t("a-col",{attrs:{lg:7,xl:8,xxl:6}},[t("a-form-item",{attrs:{label:e.$t("view.order.list.orderno")}},[t("a-input",{attrs:{placeholder:e.$t("view.order.list.inputorderno"),"allow-clear":""},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleQuery.apply(null,arguments)}},model:{value:e.orderId,callback:function(t){e.orderId=t},expression:"orderId"}})],1)],1),t("a-col",{attrs:{lg:6,xl:6,xxl:4,xs:24,md:12}},[t("a-form-item",{attrs:{label:e.$t("view.order.list.export.user_select_title")}},[t("member-list",{attrs:{shopId:e.checkedShopId},on:{changeMember:e.changeMember}})],1)],1),t("a-col",{attrs:{lg:11,xl:5,xxl:5,md:16}},[t("a-form-item",{attrs:{label:e.$t("view.order.list.export.time_select_title"),labelCol:{md:3,sm:8,lg:6,xl:4,xxl:3},wrapperCol:{lg:18,xl:20,xxl:21}}},[t("a-range-picker",{staticStyle:{width:"auto"},attrs:{"show-time":""},model:{value:e.exportTime,callback:function(t){e.exportTime=t},expression:"exportTime"}},[t("template",{slot:"renderExtraFooter"})],2)],1)],1),t("a-col",{attrs:{lg:24,xl:24,xxl:8}},[t("span",{staticClass:"table-page-search-submitButtons buttonsTools"},[t("a-button",{attrs:{type:"primary"},on:{click:e.handleQuery}},[t("a-icon",{attrs:{type:"search"}}),e._v(e._s(e.$t("view.order.list.query.btn"))+" ")],1),t("a-button",{staticStyle:{"margin-left":"8px"},on:{click:e.resetQuery}},[t("a-icon",{attrs:{type:"redo"}}),e._v(e._s(e.$t("view.order.list.reset.btn"))+" ")],1),t("a-button",{staticStyle:{"margin-left":"8px"},on:{click:e.orderExport}},[t("a-icon"),e._v(e._s(e.$t("view.order.list.export.btn"))+" ")],1),t("syn-config",{attrs:{syn_idf:2}})],1)])],1),t("a-row",{attrs:{gutter:12,type:"flex"}},[t("a-col",{attrs:{lg:7,xl:7,xxl:6}},[t("a-form-item",{attrs:{label:e.$t("view.item.component.item.syn.syntype.title"),labelCol:{xl:10},wrapperCol:{xl:14}}},[t("platform",{attrs:{syntype:e.from_id,viewPlatform:2},on:{"update:syntype":function(t){e.from_id=t},selectPlatForm:e.changePlatForm}})],1)],1),e.platFormShops.length?t("a-col",{attrs:{lg:7,xl:6,xxl:4}},[t("a-form-item",{attrs:{label:e.$t("components.dyProduct.dyProduct.oauth.shopname")}},[t("a-select",{staticStyle:{width:"255px"},attrs:{allowClear:!0,placeholder:e.$t("components.dyProduct.dyProduct.shopname.placeholder")},model:{value:e.from_shop_id,callback:function(t){e.from_shop_id=t},expression:"from_shop_id"}},e._l(e.platFormShops,(function(a,o){return t("a-select-option",{key:o,attrs:{value:a.value}},[e._v(e._s(a.name))])})),1)],1)],1):e._e()],1)],1)],1)]),t("div",[t("view-select",{staticStyle:{display:"none"},on:{change:e.backViewId}}),e.showReviewModal?t("review-list",{ref:"ReviewList",on:{close:function(t){e.showReviewModal=!1}}}):e._e(),e.orderDetailModal?t("order-detail",{ref:"OrderDetail",attrs:{modalHeight:.8*e.windowHeight+""},on:{close:function(t){e.orderDetailModal=!1}}}):e._e(),e.showFaHuoModal?t("review-list1",{ref:"ReviewList1",on:{ok:e.getList,close:function(t){e.showFaHuoModal=!1}}}):e._e(),e.showInsureModal?t("insure-list",{ref:"InsureList",on:{ok:e.getList,close:function(t){e.showInsureModal=!1}}}):e._e(),e.showModifyShipping?t("modify-shipping",{ref:"ModifyShipping",on:{ok:e.getList,close:function(t){e.showModifyShipping=!1}}}):e._e(),e.showHandlePayModal?t("handle-pay-list",{ref:"HandlePayList",on:{ok:e.getList,close:function(t){e.showHandlePayModal=!1}}}):e._e(),e.showCaiGouModal?t("caigou",{ref:"pushCaiGou",on:{ok:e.getList,close:function(t){e.showCaiGouModal=!1}}}):e._e(),t("stockAdd",{ref:"stockAdd"})],1),t("a-card",{staticClass:"table-card",attrs:{bordered:!1}},[t("a-tabs",{staticClass:"loginTitle",on:{change:function(t){return e.orderQuery(t)}}},e._l(e.statusLists,(function(e){return t("a-tab-pane",{key:e.value,attrs:{tab:e.label}})})),1),t("advance-table",{attrs:{loading:e.loading,size:"middle","row-selection":{selectedRowKeys:e.selectedRowKeys,onChange:e.onSelectChange},"format-conditions":!1,columns:e.columns,"data-source":e.list,rowKey:"order_id",tableKey:"test-cat-catlist-table",expandedRowKeys:e.expandedRowKeys,pagination:{current:e.queryParam.page,pageSize:e.queryParam.limit,total:e.total_count,showSizeChanger:!0,showLessItems:!1,showQuickJumper:!1,showTotal:function(t,a){return e.$t("view.order.list.table.total",{num:a[0]+"-"+a[1],total:t})},onChange:e.changeSize,onShowSizeChange:e.onShowSizeChange},scroll:{x:"100%"},title:" "},scopedSlots:e._u([{key:"order_id",fn:function(a){var o=a.text,n=a.record;return t("span",{},[n.from_id?t("div",[e.shouldDisplayTag(n)?t("a-tag",{attrs:{color:"#f50"}},[e._v(" "+e._s(e.showTag(n))+" ")]):e._e()],1):e._e(),t("div",{staticStyle:{display:"flex","flex-wrap":"wrap"}},[t("a",{on:{click:function(t){return e.handleOrderDetail(n)}}},[e._v(" "+e._s(o)+" ")]),e._v(" "),t("a",{on:{click:function(t){return e.copyToClipboard(o)}}},[e._v(e._s(e.$t("view.order.list.order_id.copy")))])]),t("div",[e._v(e._s(n.create_time))]),t("a",{attrs:{type:"primary"},on:{click:function(t){return e.orderPrint(n)}}},[e._v(e._s(e.$t("view.order.detail.print.btn")))]),t("br"),"admin"==e.roles[0]&&1!==n.shop_id?t("div",[t("supply-info",{attrs:{shopId:n.shop_id}})],1):e._e(),t("dispath-note",{staticStyle:{display:"none"},attrs:{order:n}})],1)}},{key:"order_item",fn:function(a){var o=a.text,n=a.record;return t("span",{},e._l(o,(function(a,i){return t("div",{key:a.sku_id,staticStyle:{display:"flex","margin-bottom":"10px"}},[t("div",[t("a-avatar",{attrs:{shape:"square",size:85,src:a.img_url},on:{click:function(t){return e.openItem(a)}}}),1==e.shopId?t("div",{staticStyle:{"margin-top":"0.5rem"}},[t("a-tag",{attrs:{color:2==a.mailing_mode?"red":"green"}},[1===e.shopId?t("div",[2==a.mailing_mode?t("div",[e._v(" "+e._s(e.$t("view.item.component.item.supply.shippingConfig.myself"))+" ")]):e._e(),1==a.mailing_mode?t("div",[e._v(" "+e._s(e.$t("view.item.component.item.supply.shippingConfig.platform"))+" ")]):e._e(),0==a.mailing_mode?t("div",[e._v(" "+e._s(e.$t("view.item.component.item.supply.shippingConfig.platform"))+" ")]):e._e()]):e._e(),1!==e.shopId?t("div",[2==a.mailing_mode?t("div",[e._v(" "+e._s(e.$t("view.item.component.item.supply.shippingConfig.myself1"))+" ")]):e._e(),1==a.mailing_mode?t("div",[e._v(" "+e._s(e.$t("view.item.component.item.supply.shippingConfig.platform1"))+" ")]):e._e(),0==a.mailing_mode?t("div",[e._v(" "+e._s(e.$t("view.item.component.item.supply.shippingConfig.platform1"))+" ")]):e._e()]):e._e()])],1):e._e()],1),t("div",{staticStyle:{"margin-left":"10px",flex:"1"}},[t("a-row",{attrs:{type:"flex"}},[t("a-col",{attrs:{flex:3}},[t("a",{on:{click:function(t){return e.openItem(a)}}},[e._v(" "+e._s(a.title)+" ")])])],1),t("a-row",{attrs:{type:"flex"}},[t("a-col",[e._v(" "+e._s(n.currency)+" "+e._s(a.price)+" ")]),t("a-col",{staticStyle:{"padding-left":"5px"}},[t("a-icon",{staticStyle:{"font-size":"10px","margin-right":"0","padding-right":"0"},attrs:{type:"close"}}),e._v(" "+e._s(a.num)+" ")],1),t("a-col",{staticStyle:{"padding-left":"5px"}},[a.activity_info&&a.activity_info.wholesaleprice_id>0?t("a-tooltip",[t("template",{slot:"title"},[e._v(" "+e._s(1===e.wholesalePriceData.type?e.$t("view.order.list.discount",{start:e.wholesalePriceData.start_num,end:e.wholesalePriceData.end_num,discount:e.wholesalePriceData.price}):e.$t("view.order.list.price",{start:e.wholesalePriceData.start_num,end:e.wholesalePriceData.end_num,price:e.shopQuoteCurrency+e.wholesalePriceData.price}))+" ")]),t("a-tag",{attrs:{color:"#2db7f5"},on:{mouseover:function(t){return e.getOrderItemWholesalePrice(a.activity_info.wholesaleprice_id)}}},[e._v(" "+e._s(e.$t("view.item.wholesale.form.new_price"))+" ")])],2):e._e()],1)],1),t("a-row",{attrs:{type:"flex"}},[t("a-col",{attrs:{flex:3}},["string"==typeof a.sku_prop?t("span",[e._v(" "+e._s(a.sku_prop)+" ")]):t("span",e._l(a.sku_prop,(function(a,o){return t("div",{key:o},[t("span",[e._v(e._s(o)+":"+e._s(a))])])})),0)])],1),t("a-row",[t("a-col",{attrs:{flex:3}},[e._v(" "+e._s(e.$t("view.item.sku.barcode"))+" : "+e._s(a.barcode)+" ")]),t("a-col",{attrs:{flex:3}},[e._v(" "+e._s(e.$t("view.item.sku.out_id"))+" : "),t("a",{on:{click:function(t){return e.handleStockAdd(a)}}},[e._v(" "+e._s(a.out_id))])]),a.stock_log?t("a-col",{attrs:{flex:3}},[t("div",[e._v(" "+e._s(e.$t("view.order.target.wareHouse"))+" : "),t("wareHouseInfo",{attrs:{isTag:!0,warehouseId:a.stock_log.warehouse_id}}),"ORDER_WAIT_SHIP"===n.status?t("span",[e._v("-")]):e._e(),"ORDER_WAIT_SHIP"===n.status?t("orderSwitchWareHouse",{attrs:{skuId:a.sku_id,orderId:n.order_id},on:{ok:e.getList}}):e._e()],1)]):e._e(),a.stock_log?t("a-col",{attrs:{flex:3}},[t("div",[t("webHookInfo",{attrs:{orderId:n.order_id,orderStatus:n.status,wareHouseId:a.stock_log.warehouse_id}})],1)]):e._e()],1),i<o.length-1?t("a-divider"):e._e()],1)])})),0)}},{key:"payment",fn:function(a){var o=a.text,n=a.record;return t("span",{},[""===n.from_id?t("a-row",[t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.list.biaojiahuobi"))+" : "+e._s(e.shopQuoteCurrency)+" "+e._s(o)+" ")]),t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.list.payhuobiprice"))+" : "+e._s(n.trans_currency)+" "+e._s(n.trans_amount)+" ")])],1):e._e(),""!==n.from_id?t("a-row",[t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(n.currency)+" "+e._s(o)+" ")])],1):e._e()],1)}},{key:"status",fn:function(a){var o=a.text;return t("span",{},[t("div",[e._v(" "+e._s(e.$t(o))+" ")])])}},{key:"paymemberInfo",fn:function(a){var o=a.record;return t("span",{},[t("a-row",[o?t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.gangwei.list.realname"))+" : "+e._s(o.last_name||"")+" "+e._s(o.first_name||"")+" "),!o.member_id||"purchase"!=o.from_id&&"handlePay"!=o.from_id&&""!=o.from_id?e._e():t("message",{staticStyle:{display:"inline-block","margin-left":"5px"},attrs:{memberId:o.member_id}})],1):e._e(),o.phone&&""!=o.phone?t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_phone"))+" : "+e._s(o.phone)+" ")]):e._e(),t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_country"))+" : "+e._s(e.$t(o.country))+" ")]),t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_state"))+" : "+e._s(o.state)+" ")]),o.city?t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_city"))+" : "+e._s(o.city)+" ")]):e._e(),o.street?t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_street"))+" : "+e._s(o.street)+" ")]):e._e(),o.apartment?t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_men"))+" : "+e._s(o.apartment)+" ")]):e._e(),o.zip_code?t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.zipcode"))+" : "+e._s(o.zip_code)+" ")]):e._e(),t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.memberNote"))+" : "+e._s(o.member_note)+" ")]),t("a-col",{attrs:{lg:24}},[t("a-button",{directives:[{name:"show",rawName:"v-show",value:"ORDER_WAIT_SHIP"===o.status,expression:"record.status === 'ORDER_WAIT_SHIP'"}],attrs:{type:"primary"},on:{click:function(t){return e.handleModifyShipping(o)}}},[e._v(" "+e._s(e.$t("view.system.resourcegroup.Update"))+" ")])],1)],1)],1)}},{key:"operation",fn:function(a){var o=a.record;return t("span",{},[t("a",{on:{click:function(t){return e.handleReview(o)}}},[e._v(" "+e._s(e.$t("view.order.list.review.btn"))+" ")]),t("span",[t("a-divider",{attrs:{type:"vertical"}}),t("a",{on:{click:function(t){return e.handleInsure(o)}}},[e._v(" "+e._s(e.$t("view.order.list.insure.btn"))+" ")])],1),t("span",{directives:[{name:"show",rawName:"v-show",value:"ORDER_WAIT_PAYMENT"===o.status||"ORDER_PART_PAID"===o.status,expression:"record.status === 'ORDER_WAIT_PAYMENT' || record.status === 'ORDER_PART_PAID'"}]},[t("a-divider",{attrs:{type:"vertical"}}),t("a",{on:{click:function(t){return e.handlePay(o,!1)}}},[e._v(" "+e._s(e.$t("view.order.list.manual_pay"))+" ")])],1),t("span",{directives:[{name:"show",rawName:"v-show",value:"ORDER_WAIT_PAYMENT"===o.status||"ORDER_PART_PAID"===o.status,expression:"record.status === 'ORDER_WAIT_PAYMENT' || record.status === 'ORDER_PART_PAID'"}]},[t("a-divider",{attrs:{type:"vertical"}}),t("a",{on:{click:function(t){return e.handleCloseOrder(o,!1)}}},[e._v(" "+e._s(e.$t("view.order.list.closeOrder"))+" ")])],1),t("span",{directives:[{name:"show",rawName:"v-show",value:"ORDER_WAIT_PAYMENT"!==o.status&&"ORDER_PART_PAID"!==o.status&&"handlePay"===o.from_id,expression:"\n record.status !== 'ORDER_WAIT_PAYMENT' &&\n record.status !== 'ORDER_PART_PAID' &&\n record.from_id === 'handlePay'\n "}]},[t("a-divider",{attrs:{type:"vertical"}}),t("a",{on:{click:function(t){return e.handlePay(o,!0)}}},[e._v(" "+e._s(e.$t("view.order.list.manual_pay"))+" ")])],1),t("span",{directives:[{name:"show",rawName:"v-show",value:"ORDER_WAIT_SHIP"===o.status,expression:"record.status === 'ORDER_WAIT_SHIP'"}]},[t("a-divider",{attrs:{type:"vertical"}}),t("a",{on:{click:function(t){return e.handleFaHuo(o)}}},[e._v(" "+e._s(e.$t("view.order.list.ship.btn"))+" ")])],1),t("span",{directives:[{name:"show",rawName:"v-show",value:"ORDER_AFTER_SALE"===o.status,expression:"record.status === 'ORDER_AFTER_SALE'"}]},[t("a-divider",{attrs:{type:"vertical"}}),t("a",{on:{click:function(t){return e.handleCancelAfterSales(o)}}},[e._v(" "+e._s(e.$t("view.order.list.aftersale.cancel.btn"))+" ")])],1),t("span",{directives:[{name:"show",rawName:"v-show",value:"ORDER_WAIT_SHIP"===o.status,expression:"record.status === 'ORDER_WAIT_SHIP'"}]},[t("a-divider",{attrs:{type:"vertical"}}),t("a-popover",{attrs:{title:e.$t("view.order.list.reset.push.log.title"),trigger:"click",placement:"bottom"}},[t("template",{slot:"content"},[t("a-table",{attrs:{columns:e.logListTitle,"data-source":e.logData,pagination:{pageSize:3}}},[t("span",{attrs:{slot:"action"},slot:"action"},[t("a-button",{attrs:{type:"primary"},on:{click:function(t){return e.orderPush(o)}}},[e._v(" "+e._s(e.$t("view.order.list.reset.push.log.action.btn"))+" ")])],1)])],1),t("a",{attrs:{type:"primary"},on:{click:function(t){return e.orderPushLog(o)}}},[e._v(e._s(e.$t("view.order.list.reset.push.log")))])],2)],1),t("span",[t("a-divider",{attrs:{type:"vertical"}}),t("a",{on:{click:function(t){return e.pushCaiGou(o)}}},[e._v(e._s(e.$t("component.procure.create.button1")))])],1),t("div",[t("div",{attrs:{title:"订单备注"}},[o.user_note?t("a-tag",{staticStyle:{width:"80%"},attrs:{color:"orange"}},[e._v(e._s(o.user_note))]):e._e()],1),t("order-note",{attrs:{orderId:o.order_id,note:o.user_note},on:{ok:function(t){return e.getList()}}})],1)])}}])},[t("div",{staticClass:"table-operations",attrs:{slot:"button"},slot:"button"},[t("ordersShips",{attrs:{orders:e.selectedRows||[]},on:{ok:e.okShips}})],1)])],1)],1)},n=[],i=a("5530"),r=a("6958"),s=Object(i["a"])({},r["default"]),l=s,c=(a("2df8"),a("2877")),d=Object(c["a"])(l,o,n,!1,null,null,null);t["default"]=d.exports},"4a49":function(e,t,a){"use strict";a.r(t);var o=function(){var e=this,t=e._self._c;return t("a-spin",{attrs:{spinning:e.loading,tip:"加载中..."}},[t("div",{style:"height:"+e.height},[t("iframe",{staticStyle:{width:"100%",height:"100%"},attrs:{src:e.src,frameborder:"no",scrolling:"auto"}})])])},n=[],i={name:"Swagger",components:{},data:function(){return{src:"/admin/swagger-ui.html",height:document.documentElement.clientHeight-120+"px;",loading:!0}},filters:{},created:function(){},computed:{},watch:{},mounted:function(){var e=this;setTimeout((function(){e.loading=!1}),230);var t=this;window.onresize=function(){t.height=document.documentElement.clientHeight-94.5+"px;"}},methods:{}},r=i,s=a("2877"),l=Object(s["a"])(r,o,n,!1,null,null,null);t["default"]=l.exports},5194:function(e,t,a){"use strict";a.r(t);var o=function(){var e=this,t=e._self._c;return t("a-spin",{attrs:{spinning:e.loading,tip:"加载中..."}},[t("div",{style:"height:"+e.height},[t("iframe",{staticStyle:{width:"100%",height:"100%"},attrs:{src:e.src,frameborder:"no",scrolling:"auto"}})])])},n=[],i={name:"Druid",components:{},data:function(){return{src:"/admin/druid/login.html",height:document.documentElement.clientHeight-124.5+"px;",loading:!0}},filters:{},created:function(){},computed:{},watch:{},mounted:function(){var e=this;setTimeout((function(){e.loading=!1}),230);var t=this;window.onresize=function(){t.height=document.documentElement.clientHeight-94.5+"px;"}},methods:{}},r=i,s=a("2877"),l=Object(s["a"])(r,o,n,!1,null,null,null);t["default"]=l.exports},5703:function(e,t,a){"use strict";a.r(t);var o=function(){var e=this,t=e._self._c;return t("a-drawer",{attrs:{width:"45%",title:e.formTitle,"label-col":4,"wrapper-col":14,visible:e.open,"body-style":{height:"calc(100vh - 100px)",overflow:"auto"}},on:{close:e.cancel}},[t("a-form-model",{ref:"form",attrs:{model:e.form,rules:e.rules,layout:"vertical"}},[t("a-form-model-item",{attrs:{label:"参数编码",prop:"configKey"}},[t("a-input",{attrs:{placeholder:"请输入"},model:{value:e.form.configKey,callback:function(t){e.$set(e.form,"configKey",t)},expression:"form.configKey"}})],1),t("a-form-model-item",{attrs:{label:"参数名称",prop:"configName"}},[t("a-input",{attrs:{placeholder:"请输入"},model:{value:e.form.configName,callback:function(t){e.$set(e.form,"configName",t)},expression:"form.configName"}})],1),t("a-form-model-item",{attrs:{label:"参数值",prop:"configValue"}},[t("a-input",{attrs:{placeholder:"请输入"},model:{value:e.form.configValue,callback:function(t){e.$set(e.form,"configValue",t)},expression:"form.configValue"}})],1),t("a-form-model-item",{attrs:{label:"是否内置参数",prop:"configType"}},[t("a-radio-group",{attrs:{"button-style":"solid"},model:{value:e.form.configType,callback:function(t){e.$set(e.form,"configType",t)},expression:"form.configType"}},e._l(e.typeOptions,(function(a,o){return t("a-radio-button",{key:o,attrs:{value:a.dictValue}},[e._v(e._s(a.dictLabel))])})),1)],1),t("a-form-model-item",{attrs:{label:"备注",prop:"remark"}},[t("a-input",{attrs:{placeholder:"请输入备注",type:"textarea","allow-clear":""},model:{value:e.form.remark,callback:function(t){e.$set(e.form,"remark",t)},expression:"form.remark"}})],1),t("div",{staticClass:"bottom-control"},[t("a-space",[t("a-button",{attrs:{type:"primary"},on:{click:e.submitForm}},[e._v(" 保存 ")]),t("a-button",{on:{click:e.cancel}},[e._v(" 取消 ")])],1)],1)],1)],1)},n=[],i=a("5530"),r=a("1fc7"),s=Object(i["a"])({},r["default"]),l=s,c=a("2877"),d=Object(c["a"])(l,o,n,!1,null,null,null);t["default"]=d.exports},5881:function(e,t,a){"use strict";a.r(t);var o=function(){var e=this,t=e._self._c;return t("a-drawer",{attrs:{width:"750px",placement:"right",closable:!1,visible:e.openView},on:{close:e.onCloseView}},[t("a-descriptions",{staticStyle:{"word-break":"break-all","word-wrap":"break-word"},attrs:{title:"操作信息",layout:"vertical",column:3,bordered:""}},[t("a-descriptions-item",{attrs:{label:"操作模块"}},[e._v(" "+e._s(e.form.module)+" ")]),t("a-descriptions-item",{attrs:{label:"登录信息"}},[e._v(" #"+e._s(e.form.member_id)+" / "+e._s(e.form.member_name)+" / "+e._s(e.form.ip)+" / "+e._s(e.form.region)+" ")]),t("a-descriptions-item",{attrs:{label:"请求方式"}},[e._v(" "+e._s(e.form.method)+" ")]),t("a-descriptions-item",{attrs:{label:"请求地址"}},[e._v(" "+e._s(e.form.url)+" ")]),t("a-descriptions-item",{attrs:{label:"操作方法",span:2}},[t("div",{staticStyle:{"word-break":"break-all"}},[e._v(e._s(e.form.method))])])],1),t("a-divider"),t("a-descriptions",{staticStyle:{"word-break":"break-all","word-wrap":"break-word"},attrs:{title:"接口信息",layout:"vertical",column:3,bordered:""}},[t("a-descriptions-item",{attrs:{label:"请求头部",span:3}},[e._v(" "+e._s(e.form.header_data)+" ")]),t("a-descriptions-item",{attrs:{label:"GET参数",span:3}},[e._v(" "+e._s(e.form.get_data)+" ")]),t("a-descriptions-item",{attrs:{label:"POST参数",span:3}},[e._v(" "+e._s(e.form.post_data)+" ")]),t("a-descriptions-item",{attrs:{label:"操作状态"}},[0===e.form.error_code?t("a-badge",{attrs:{status:"processing",text:"正常"}}):e._e(),0!==e.form.error_code?t("a-badge",{attrs:{status:"error",text:"失败"}}):e._e()],1),t("a-descriptions-item",{attrs:{label:"操作时间"}},[e._v(" "+e._s(e.parseTime(e.form.created_at))+" ")]),t("a-descriptions-item",{attrs:{label:"耗时"}},[e._v(" "+e._s(e.form.take_up_time)+"毫秒 ")]),t("a-descriptions-item",{attrs:{label:"回复信息"}},[e._v(" "+e._s(e.form.error_msg)+" ")]),0!==e.form.error_code?t("a-descriptions-item",{attrs:{label:"报错日志"}},[e._v(" "+e._s(e.form.error_data)+" ")]):e._e()],1),null!==e.form.logContent?t("a-divider"):e._e(),null!==e.form.logContent?t("a-descriptions",{staticStyle:{"word-break":"break-all","word-wrap":"break-word"},attrs:{title:"变更记录",layout:"vertical",column:3,bordered:""}},[t("a-descriptions-item",{attrs:{label:"请求ID",span:3}},[e._v(" "+e._s(e.form.req_id)+" ")]),t("a-descriptions-item",{attrs:{label:"变更情况",span:3}},[e._v(" 无 ")])],1):e._e()],1)},n=[],i={name:"ViewForm",props:{},data:function(){return{form:{},openView:!1}},filters:{},created:function(){},computed:{},watch:{},methods:{handleView:function(e){this.openView=!0,this.form=e},onCloseView:function(){this.openView=!1}}},r=i,s=a("2877"),l=Object(s["a"])(r,o,n,!1,null,null,null);t["default"]=l.exports},"58f6":function(e,t,a){"use strict";a.r(t);var o=function(){var e=this,t=e._self._c;return t("a-select",{staticStyle:{width:"auto","min-width":"100px"},attrs:{value:e.value,disabled:e.disabled},on:{change:e.handleChange}},[t("a-select-option",{attrs:{value:1}},[e._v(e._s(e.$t("components.warehouseRule.warehouseMode.pricemin")))]),t("a-select-option",{attrs:{value:2}},[e._v(e._s(e.$t("components.warehouseRule.warehouseMode.time")))])],1)},n=[],i=(a("a9e3"),{name:"PriceCompareMethod",model:{prop:"value",event:"input"},props:{value:{type:Number,default:1},disabled:{type:Boolean,default:!1}},methods:{handleChange:function(e){this.$emit("input",e),this.$emit("change",e)}}}),r=i,s=a("2877"),l=Object(s["a"])(r,o,n,!1,null,"c2b8b322",null);t["default"]=l.exports},"5af5":function(e,t,a){"use strict";a.r(t);var o=function(){var e=this,t=e._self._c;return t("ant-modal",{attrs:{visible:e.open,"modal-title":e.formTitle,"adjust-size":!0,modalWidth:"640",modalHeight:"420"},on:{cancel:e.cancel}},[t("a-form-model",{ref:"form",attrs:{slot:"content",model:e.form,rules:e.rules,layout:"vertical"},slot:"content"},[t("a-row",{staticClass:"form-row",attrs:{gutter:32}},[t("a-col",{attrs:{lg:12,md:12,sm:24}},[t("a-form-model-item",{attrs:{label:"参数编码",prop:"configKey"}},[t("a-input",{attrs:{placeholder:"请输入"},model:{value:e.form.configKey,callback:function(t){e.$set(e.form,"configKey",t)},expression:"form.configKey"}})],1)],1),t("a-col",{attrs:{lg:12,md:12,sm:24}},[t("a-form-model-item",{attrs:{label:"参数名称",prop:"configName"}},[t("a-input",{attrs:{placeholder:"请输入"},model:{value:e.form.configName,callback:function(t){e.$set(e.form,"configName",t)},expression:"form.configName"}})],1)],1),t("a-col",{attrs:{lg:12,md:12,sm:24}},[t("a-form-model-item",{attrs:{label:"参数值",prop:"configValue"}},[t("a-input",{attrs:{placeholder:"请输入"},model:{value:e.form.configValue,callback:function(t){e.$set(e.form,"configValue",t)},expression:"form.configValue"}})],1)],1),t("a-col",{attrs:{lg:12,md:12,sm:24}},[t("a-form-model-item",{attrs:{label:"是否内置参数",prop:"configType"}},[t("a-radio-group",{attrs:{"button-style":"solid"},model:{value:e.form.configType,callback:function(t){e.$set(e.form,"configType",t)},expression:"form.configType"}},e._l(e.typeOptions,(function(a,o){return t("a-radio-button",{key:o,attrs:{value:a.dictValue}},[e._v(e._s(a.dictLabel))])})),1)],1)],1),t("a-col",{attrs:{lg:24,md:24,sm:24,span:24}},[t("a-form-model-item",{attrs:{label:"备注",prop:"remark"}},[t("a-input",{attrs:{placeholder:"请输入备注",type:"textarea","allow-clear":""},model:{value:e.form.remark,callback:function(t){e.$set(e.form,"remark",t)},expression:"form.remark"}})],1)],1)],1)],1),t("template",{slot:"footer"},[t("a-button",{on:{click:e.cancel}},[e._v(" 取消 ")]),t("a-button",{attrs:{type:"primary"},on:{click:e.submitForm}},[e._v(" 保存 ")])],1)],2)},n=[],i=a("5530"),r=a("1fc7"),s=Object(i["a"])({},r["default"]),l=s,c=a("2877"),d=Object(c["a"])(l,o,n,!1,null,null,null);t["default"]=d.exports},"5d54":function(e,t,a){"use strict";a("a32b")},"5f19":function(e,t,a){"use strict";a.r(t);var o=function(){var e=this,t=e._self._c;return t("span",[t("a-row",{attrs:{gutter:24}},[t("a-col",{attrs:{lg:3}},[e._v(e._s(e.$t("view.item.list.good_id")))]),t("a-col",{attrs:{lg:3}},[e._v(e._s(e.$t("view.item.list.itemImage")))]),t("a-col",{attrs:{lg:12}},[e._v(e._s(e.$t("view.item.list.itemTitle")))])],1),t("div",{staticStyle:{"margin-top":"2px",border:"1px solid #ccc",padding:"5px"}},[t("a-row",{attrs:{gutter:24}},[t("a-col",{attrs:{lg:3}},[e._v(e._s(e.goodInfo.good_id))]),t("a-col",{attrs:{lg:3}},[e.getGoodInfo()?t("div",[t("img",{staticStyle:{width:"80px",height:"80px"},attrs:{src:e.goodInfo.image_url}})]):e._e()]),t("a-col",{staticStyle:{"line-height":"40px"},attrs:{lg:12}},[e.getGoodInfo()?t("div",[e._v(e._s(e.goodInfo.title))]):e._e()])],1)],1)],1)},n=[],i=(a("7db0"),a("d3b7"),{name:"GoodsIdOne",props:{goodsList:{type:Array,default:function(){return[]}},goodsId:{type:String,default:""}},computed:{goodInfo:function(){var e,t=this;return null===(e=this.goodsList)||void 0===e?void 0:e.find((function(e){return e.good_id+""===t.goodsId+""}))}},methods:{getGoodInfo:function(){var e,t=this;return null===(e=this.goodsList)||void 0===e?void 0:e.find((function(e){return e.good_id+""===t.goodsId+""}))}}}),r=i,s=a("2877"),l=Object(s["a"])(r,o,n,!1,null,null,null);t["default"]=l.exports},"8b78":function(e,t,a){"use strict";a.r(t);a("99af");var o=function(){var e=this,t=e._self._c;return t("div",[t("a-card",{staticStyle:{"margin-bottom":"10px"},attrs:{bordered:!1}},[t("div",{staticClass:"table-page-search-wrapper"},[t("a-form",{attrs:{labelCol:e.labelCol,wrapperCol:e.wrapperCol}},[t("a-row",{attrs:{gutter:48}},[t("a-col",{attrs:{md:6,sm:24}},[t("a-form-item",{attrs:{label:"操作模块"}},[t("a-select",{staticStyle:{width:"100%"},attrs:{placeholder:"操作模块","allow-clear":""},model:{value:e.queryParam.module,callback:function(t){e.$set(e.queryParam,"module",t)},expression:"queryParam.module"}},e._l(e.moduleOptions,(function(a,o){return t("a-select-option",{key:o,attrs:{value:a.value}},[e._v(e._s(a.label))])})),1)],1)],1),t("a-col",{attrs:{md:6,sm:24}},[t("a-form-item",{attrs:{label:"操作人员"}},[t("a-input",{attrs:{placeholder:"请输入操作人员ID","allow-clear":""},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleQuery.apply(null,arguments)}},model:{value:e.queryParam.member_id,callback:function(t){e.$set(e.queryParam,"member_id",t)},expression:"queryParam.member_id"}})],1)],1),t("a-col",{attrs:{md:6,sm:24}},[t("a-form-item",{attrs:{label:"访问路径"}},[t("a-input",{attrs:{placeholder:"请输入访问路径","allow-clear":""},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleQuery.apply(null,arguments)}},model:{value:e.queryParam.url,callback:function(t){e.$set(e.queryParam,"url",t)},expression:"queryParam.url"}})],1)],1),t("a-col",{attrs:{md:6,sm:24}},[t("a-form-item",{attrs:{label:"访问IP"}},[t("a-input",{attrs:{placeholder:"请输入IP地址","allow-clear":""},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleQuery.apply(null,arguments)}},model:{value:e.queryParam.ip,callback:function(t){e.$set(e.queryParam,"ip",t)},expression:"queryParam.ip"}})],1)],1),t("a-col",{attrs:{md:6,sm:24}},[t("a-form-item",{attrs:{label:"请求方式"}},[t("a-select",{staticStyle:{width:"100%"},attrs:{placeholder:"请求方式","allow-clear":""},model:{value:e.queryParam.method,callback:function(t){e.$set(e.queryParam,"method",t)},expression:"queryParam.method"}},e._l(e.methodOptions,(function(a,o){return t("a-select-option",{key:o,attrs:{value:a.value}},[e._v(e._s(a.label))])})),1)],1)],1),t("a-col",{attrs:{md:6,sm:24}},[t("a-form-item",{attrs:{label:"耗时"}},[t("a-select",{staticStyle:{width:"100%"},attrs:{placeholder:"耗时","allow-clear":""},model:{value:e.queryParam.take_up_time,callback:function(t){e.$set(e.queryParam,"take_up_time",t)},expression:"queryParam.take_up_time"}},e._l(e.takeTimeOptions,(function(a,o){return t("a-select-option",{key:o,attrs:{value:a.value}},[e._v(e._s(a.label))])})),1)],1)],1),e.advanced?t("a-col",{attrs:{md:6,sm:24}},[t("a-form-item",{attrs:{label:"状态码"}},[t("a-select",{staticStyle:{width:"100%"},attrs:{placeholder:"响应状态码","allow-clear":""},model:{value:e.queryParam.error_code,callback:function(t){e.$set(e.queryParam,"error_code",t)},expression:"queryParam.error_code"}},e._l(e.errorCodeOptions,(function(a,o){return t("a-select-option",{key:o,attrs:{value:a.value}},[e._v(e._s(a.label))])})),1)],1)],1):e._e(),e.advanced?t("a-col",{attrs:{md:6,sm:24}},[t("a-form-item",{attrs:{label:"操作时间"}},[t("a-range-picker",{staticStyle:{width:"100%"},attrs:{valueFormat:"YYYY-MM-DD",format:"YYYY-MM-DD","allow-clear":""},model:{value:e.dateRange,callback:function(t){e.dateRange=t},expression:"dateRange"}})],1)],1):e._e(),t("a-col",[t("span",{staticClass:"table-page-search-submitButtons",staticStyle:{float:"right"}},[t("a-button",{attrs:{type:"primary"},on:{click:e.handleQuery}},[t("a-icon",{attrs:{type:"search"}}),e._v("查询")],1),t("a-button",{staticStyle:{"margin-left":"8px"},on:{click:e.resetQuery}},[t("a-icon",{attrs:{type:"redo"}}),e._v("重置")],1),t("a",{staticStyle:{"margin-left":"8px"},on:{click:e.toggleAdvanced}},[e._v(" "+e._s(e.advanced?"收起":"展开")+" "),t("a-icon",{attrs:{type:e.advanced?"up":"down"}})],1)],1)])],1)],1)],1)]),t("a-card",{staticClass:"table-card",attrs:{bordered:!1}},[t("view-form",{ref:"viewForm"}),t("advance-table",{attrs:{columns:e.columns,"data-source":e.list,title:"系统参数",loading:e.loading,rowKey:"id",tableKey:"monitor-operlog-Operlog-table",isTableConfig:!1,isShowSetBtn:!1,size:"middle","format-conditions":!0,"row-selection":{selectedRowKeys:e.selectedRowKeys,onChange:e.onSelectChange},pagination:{current:e.queryParam.page,limit:e.queryParam.limit,total:e.total,showSizeChanger:!0,showLessItems:!0,showQuickJumper:!0,showTotal:function(e,t){return"第 ".concat(t[0],"-").concat(t[1]," 条,总计 ").concat(e," 条")},onChange:e.changeSize,onShowSizeChange:e.onSizeChange}},on:{refresh:e.getList},scopedSlots:e._u([{key:"method",fn:function(a){var o=a.text,n=a.record;return t("span",{},[t("a-tag",{attrs:{color:e._f("operMethodFilter")(o)}},[e._v(" "+e._s(e.methodFormat(n))+" ")])],1)}},{key:"module",fn:function(a){var o=a.text,n=a.record;return t("span",{},[t("a-tag",{attrs:{color:e._f("operModuleFilter")(o)}},[e._v(" "+e._s(e.moduleFormat(n))+" ")])],1)}},{key:"error_code",fn:function(a){var o=a.text,n=a.record;return t("span",{},[t("a-tag",{attrs:{color:e._f("operErrorCodeFilter")(o)}},[e._v(" "+e._s(e.errorCodeFormat(n))+" ")])],1)}},{key:"take_up_time",fn:function(a){var o=a.text,n=a.record;return t("span",{},[t("a-tag",{attrs:{color:e._f("operTakeTimeFilter")(o)}},[e._v(" "+e._s(e.takeTimeFormat(n))+" ")])],1)}},{key:"operation",fn:function(a){a.text;var o=a.record;return t("span",{},[t("a",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["monitor:operlog:query"],expression:"['monitor:operlog:query']"}],on:{click:function(t){return e.$refs.viewForm.handleView(o)}}},[t("a-icon",{attrs:{type:"eye",theme:"twoTone"}}),e._v("详细 ")],1)])}},{key:"member_name",fn:function(a){a.text;var o=a.record;return t("span",{},[t("span",[e._v(e._s(e.memberNameFormat(o)))])])}}])},[t("div",{staticClass:"table-operations",attrs:{slot:"button"},slot:"button"},[e.multiple?e._e():t("a-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["monitor:operlog:remove"],expression:"['monitor:operlog:remove']"}],attrs:{type:"danger",disabled:e.multiple},on:{click:e.handleDelete}},[t("a-icon",{attrs:{type:"delete"}}),e._v("删除 ")],1),t("a-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["monitor:operlog:remove"],expression:"['monitor:operlog:remove']"}],attrs:{type:"danger"},on:{click:e.handleClean}},[t("a-icon",{attrs:{type:"delete"}}),e._v("清空 ")],1),t("a-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:config:export"],expression:"['system:config:export']"}],on:{click:e.handleExport}},[t("a-icon",{attrs:{type:"download"}}),e._v("导出 ")],1)],1)])],1)],1)},n=[],i=(a("d81d"),a("b775"));function r(e){return Object(i["b"])({url:"/log/list",method:"get",params:e})}function s(e){return Object(i["b"])({url:"/monitor/operlog/"+e,method:"delete"})}function l(){return Object(i["b"])({url:"/log/clear",method:"post"})}var c=a("5881"),d=a("5d9e"),u=a("028d"),m={name:"Operlog",components:{ViewForm:c["default"],AdvanceTable:d["default"]},data:function(){return{list:[],selectedRowKeys:[],selectedRows:[],advanced:!1,single:!0,multiple:!0,ids:[],loading:!1,sunloading:!1,total:0,errorCodeOptions:[],takeTimeOptions:[],moduleOptions:[],methodOptions:[],labelCol:{span:6},wrapperCol:{span:18},dateRange:[],queryParam:{page:1,limit:10,module:void 0,member_id:void 0,method:void 0,url:void 0,error_code:void 0,take_up_time:void 0,ip:void 0},addModalRefName:"addModal",columns:[{title:"应用端口",dataIndex:"app_id",align:"center"},{title:"操作人员",dataIndex:"member_name",scopedSlots:{customRender:"member_name"},align:"center"},{title:"操作模块",dataIndex:"module",scopedSlots:{customRender:"module"},align:"center"},{title:"请求方式",dataIndex:"method",align:"center"},{title:"请求路径",dataIndex:"url",align:"center"},{title:"访问IP",dataIndex:"ip",align:"center"},{title:"IP地区",dataIndex:"region",align:"center"},{title:"状态码",dataIndex:"error_code",scopedSlots:{customRender:"error_code"},align:"center"},{title:"耗时",dataIndex:"take_up_time",scopedSlots:{customRender:"take_up_time"},align:"center"},{title:"操作日期",dataIndex:"created_at",align:"center"},{title:"操作",dataIndex:"operation",scopedSlots:{customRender:"operation"},align:"center"}]}},filters:{operTypeFilter:function(e){var t="blue";return 3!==e&&7!==e&&9!==e||(t="orange"),t},operModuleFilter:function(e){var t="blue";return"api"===e&&(t="orange"),t},operMethodFilter:function(e){var t="blue";return"POST"===e&&(t="orange"),t},operErrorCodeFilter:function(e){var t="orange";return 0!==e&&(t="red"),t},operTakeTimeFilter:function(){return"magenta"}},created:function(){var e=this;this.getList(),this.getDicts("req_code").then((function(t){e.errorCodeOptions=t})),this.getDicts("req_take_up_time").then((function(t){e.takeTimeOptions=t})),this.getDicts("sys_oper_module").then((function(t){e.moduleOptions=t})),this.getDicts("sys_oper_method").then((function(t){e.methodOptions=t}))},computed:{},watch:{},methods:{onSizeChange:function(e,t){this.queryParam.page=1,this.queryParam.limit=t,this.getList()},getList:function(){var e=this;this.loading=!0,r(this.addDateRange(this.queryParam,this.dateRange)).then((function(t){e.list=t.list,e.total=t.total_count,e.loading=!1}))},errorCodeFormat:function(e,t){return this.selectDictLabel(this.errorCodeOptions,e.error_code)},takeTimeFormat:function(e,t){return e.take_up_time+"ms"},moduleFormat:function(e,t){return this.selectDictLabel(this.moduleOptions,e.module)},methodFormat:function(e,t){return this.selectDictLabel(this.methodOptions,e.method)},memberNameFormat:function(e){return e.member_id<=0?"":"(#"+e.member_id+")"+e.member_name},handleQuery:function(){this.queryParam.page=1,this.getList()},resetQuery:function(){this.dateRange=[],this.queryParam={page:1,limit:10,module:void 0,member_id:void 0,method:void 0,url:void 0,error_code:void 0,take_up_time:void 0,ip:void 0},this.handleQuery()},onShowSizeChange:function(e,t){this.queryParam.limit=t,this.getList()},changeSize:function(e,t){this.queryParam.page=e,this.queryParam.limit=t,this.getList()},onSelectChange:function(e,t){this.selectedRowKeys=e,this.selectedRows=t,this.ids=this.selectedRows.map((function(e){return e.id})),this.multiple=!e.length},toggleAdvanced:function(){this.advanced=!this.advanced},handleDelete:function(e){var t=this,a=e.id||this.ids;this.$confirm({title:"确认删除所选中数据?",content:"当前选中编号为"+a+"的数据",onOk:function(){return s(a).then((function(){t.onSelectChange([],[]),t.getList(),t.$message.success("删除成功",3)}))},onCancel:function(){}})},handleClean:function(){var e=this;this.$confirm({title:"是否确认清空?",content:"此操作将会清空所有操作日志数据项",onOk:function(){return l().then((function(){e.onSelectChange([],[]),e.getList(),e.$message.success("清空成功",3)}))},onCancel:function(){}})},handleExport:function(){var e=this;this.$confirm({title:"是否确认导出?",content:"此操作将导出当前条件下所有数据而非选中数据",onOk:function(){return Object(u["g"])("/log/export",e.queryParam)},onCancel:function(){}})}}},p=m,f=a("2877"),h=Object(f["a"])(p,o,n,!1,null,null,null);t["default"]=h.exports},"8cdb":function(e,t,a){"use strict";a.r(t);var o=function(){var e=this,t=e._self._c;return t("div")},n=[],i={name:"404"},r=i,s=a("2877"),l=Object(s["a"])(r,o,n,!1,null,"206078e4",null);t["default"]=l.exports},a32b:function(e,t,a){},c611:function(e,t,a){"use strict";a.r(t);a("99af");var o=function(){var e=this,t=e._self._c;return t("div",[t("a-card",{staticStyle:{"margin-bottom":"10px"},attrs:{bordered:!1}},[t("div",{staticClass:"table-page-search-wrapper"},[t("a-form",{attrs:{labelCol:e.labelCol,wrapperCol:e.wrapperCol}},[t("a-row",{attrs:{gutter:48}},[t("a-col",{attrs:{md:6,sm:24}},[t("a-form-item",{attrs:{label:"参数编码"}},[t("a-input",{attrs:{placeholder:"请输入参数编码","allow-clear":""},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleQuery.apply(null,arguments)}},model:{value:e.queryParam.configKey,callback:function(t){e.$set(e.queryParam,"configKey",t)},expression:"queryParam.configKey"}})],1)],1),t("a-col",{attrs:{md:6,sm:24}},[t("a-form-item",{attrs:{label:"参数名称"}},[t("a-input",{attrs:{placeholder:"请输入参数名称","allow-clear":""},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleQuery.apply(null,arguments)}},model:{value:e.queryParam.configName,callback:function(t){e.$set(e.queryParam,"configName",t)},expression:"queryParam.configName"}})],1)],1),t("a-col",{attrs:{md:6,sm:24}},[t("a-form-item",{attrs:{label:"是否内置参数"}},[t("a-select",{staticStyle:{width:"100%"},attrs:{placeholder:"请选择","allow-clear":""},model:{value:e.queryParam.configType,callback:function(t){e.$set(e.queryParam,"configType",t)},expression:"queryParam.configType"}},e._l(e.typeOptions,(function(a,o){return t("a-select-option",{key:o,attrs:{value:a.dictValue}},[e._v(e._s(a.dictLabel))])})),1)],1)],1),e.advanced?t("a-col",{attrs:{md:6,sm:24}},[t("a-form-item",{attrs:{label:"创建时间"}},[t("a-range-picker",{staticStyle:{width:"100%"},attrs:{valueFormat:"YYYY-MM-DD",format:"YYYY-MM-DD","allow-clear":""},model:{value:e.dateRange,callback:function(t){e.dateRange=t},expression:"dateRange"}})],1)],1):e._e(),t("a-col",[t("span",{staticClass:"table-page-search-submitButtons",staticStyle:{float:"right"}},[t("a-button",{attrs:{type:"primary"},on:{click:e.handleQuery}},[t("a-icon",{attrs:{type:"search"}}),e._v("查询")],1),t("a-button",{staticStyle:{"margin-left":"8px"},on:{click:e.resetQuery}},[t("a-icon",{attrs:{type:"redo"}}),e._v("重置")],1),t("a",{staticStyle:{"margin-left":"8px"},on:{click:e.toggleAdvanced}},[e._v(" "+e._s(e.advanced?"收起":"展开")+" "),t("a-icon",{attrs:{type:e.advanced?"up":"down"}})],1)],1)])],1)],1)],1)]),t("a-card",{staticClass:"table-card",attrs:{bordered:!1}},[e.showAddModal?t("config-add-form",{ref:"configAddForm",attrs:{typeOptions:e.typeOptions},on:{ok:e.getList,close:function(t){e.showAddModal=!1}}}):e._e(),e.showEditModal?t("config-edit-form",{ref:"configEditForm",attrs:{typeOptions:e.typeOptions},on:{ok:e.getList,close:function(t){e.showEditModal=!1}}}):e._e(),t("advance-table",{attrs:{columns:e.columns,"data-source":e.list,title:"系统参数",loading:e.loading,rowKey:"id",tableKey:"system-config-ConfigIndex-table",size:"middle","format-conditions":!0,"row-selection":{selectedRowKeys:e.selectedRowKeys,onChange:e.onSelectChange},pagination:{current:e.queryParam.pageNum,pageSize:e.queryParam.pageSize,total:e.total,showSizeChanger:!0,showLessItems:!0,showQuickJumper:!0,showTotal:function(e,t){return"第 ".concat(t[0],"-").concat(t[1]," 条,总计 ").concat(e," 条")},onChange:e.changeSize,onShowSizeChange:e.onSizeChange}},on:{refresh:e.getList},scopedSlots:e._u([{key:"configType",fn:function(a){a.text;var o=a.record;return t("span",{},[e._v(" "+e._s(e.typeFormat(o))+" ")])}},{key:"operation",fn:function(a){a.text;var o=a.record;return t("span",{},[t("a",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:config:edit"],expression:"['system:config:edit']"}],on:{click:function(t){return e.handleUpdate(o)}}},[e._v(" 修改 ")]),t("a-divider",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:config:remove"],expression:"['system:config:remove']"}],attrs:{type:"vertical"}}),t("a",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:config:remove"],expression:"['system:config:remove']"}],on:{click:function(t){return e.handleDelete(o)}}},[e._v(" 删除 ")])],1)}}])},[t("div",{staticClass:"table-operations",attrs:{slot:"button"},slot:"button"},[t("a-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:config:add"],expression:"['system:config:add']"}],attrs:{type:"primary",size:"small"},on:{click:e.handleAdd}},[t("a-icon",{attrs:{type:"plus"}}),e._v("新增 ")],1),e.multiple?e._e():t("a-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:config:remove"],expression:"['system:config:remove']"}],attrs:{type:"danger",disabled:e.multiple},on:{click:e.handleDelete}},[t("a-icon",{attrs:{type:"delete"}}),e._v("删除 ")],1),t("a-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:config:export"],expression:"['system:config:export']"}],on:{click:e.handleExport}},[t("a-icon",{attrs:{type:"download"}}),e._v("导出 ")],1),t("a-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:config:remove"],expression:"['system:config:remove']"}],on:{click:e.handleRefreshCache}},[t("a-icon",{attrs:{type:"redo"}}),e._v("刷新缓存 ")],1)],1)])],1)],1)},n=[],i=(a("d81d"),a("c0c3")),r=a("5703"),s=a("5af5"),l=a("5d9e"),c={name:"Config",components:{ConfigEditForm:r["default"],ConfigAddForm:s["default"],AdvanceTable:l["default"]},data:function(){return{showAddModal:!1,showEditModal:!1,list:[],selectedRowKeys:[],selectedRows:[],advanced:!1,single:!0,multiple:!0,ids:[],configNames:[],loading:!1,sunloading:!1,total:0,typeOptions:[],dateRange:[],labelCol:{span:10},wrapperCol:{span:14},queryParam:{pageNum:1,pageSize:10,configName:void 0,configKey:void 0,configType:void 0},addModalRefName:"addModal",columns:[{title:"参数编码",dataIndex:"configKey",ellipsis:SVGComponentTransferFunctionElement,sswidth:"30%"},{title:"参数名称",dataIndex:"configName",ellipsis:!0,width:"15%"},{title:"参数值",dataIndex:"configValue",ellipsis:!0,width:"15%"},{title:"是否内置参数",dataIndex:"configType",scopedSlots:{customRender:"configType"},align:"center",width:"10%"},{title:"备注",dataIndex:"remark",ellipsis:!0,width:"15%"},{title:"创建时间",dataIndex:"createTime",scopedSlots:{customRender:"createTime"},width:"15%"},{title:"操作",dataIndex:"operation",width:"10%",align:"center",scopedSlots:{customRender:"operation"}}]}},filters:{},created:function(){var e=this;this.getList(),this.getDicts("sys_yes_no").then((function(t){e.typeOptions=t.data}))},computed:{},watch:{},methods:{getList:function(){var e=this;this.showAddModal=!1,this.showEditModal=!1,this.loading=!0,Object(i["g"])(this.addDateRange(this.queryParam,this.dateRange)).then((function(t){e.list=t.data.list,e.list.map((function(e){e.operation=e.remark})),e.total=t.data.total,e.loading=!1}))},typeFormat:function(e){return this.selectDictLabel(this.typeOptions,e.configType)},handleQuery:function(){this.queryParam.pageNum=1,this.getList()},resetQuery:function(){this.dateRange=[],this.queryParam={pageNum:1,pageSize:10,configName:void 0,configKey:void 0,configType:void 0},this.handleQuery()},onShowSizeChange:function(e,t){this.queryParam.pageSize=t,this.getList()},onSizeChange:function(e,t){this.queryParam.pageNum=1,this.queryParam.pageSize=t,this.getList()},changeSize:function(e,t){this.queryParam.pageNum=e,this.queryParam.pageSize=t,this.getList()},onSelectChange:function(e,t){this.selectedRowKeys=e,this.selectedRows=t,this.ids=this.selectedRows.map((function(e){return e.id})),this.configNames=this.selectedRows.map((function(e){return e.configName})),this.single=1!==e.length,this.multiple=!e.length},toggleAdvanced:function(){this.advanced=!this.advanced},handleAdd:function(){var e=this;this.showAddModal=!0,this.$nextTick((function(){return e.$refs.configAddForm.handleAdd()}))},handleUpdate:function(e){var t=this;this.showEditModal=!0,this.$nextTick((function(){return t.$refs.configEditForm.handleUpdate(e)}))},handleDelete:function(e){var t=this,a=e.id||this.ids,o=e.configName||this.configNames;this.$confirm({title:"确认删除所选中数据?",content:'当前选中名称为"'+o+'"的数据',onOk:function(){return Object(i["c"])(a).then((function(){t.onSelectChange([],[]),t.getList(),t.$message.success("删除成功",3)}))},onCancel:function(){}})},handleExport:function(){var e=this;this.$confirm({title:"是否确认导出?",content:"此操作将导出当前条件下所有数据而非选中数据",onOk:function(){return Object(i["d"])(e.queryParam).then((function(t){e.download(t.msg),e.$message.success("导出成功",3)}))},onCancel:function(){}})},handleRefreshCache:function(){var e=this;Object(i["h"])().then((function(t){e.$message.success("刷新成功",3)}))}}},d=c,u=a("2877"),m=Object(u["a"])(d,o,n,!1,null,null,null);t["default"]=m.exports},dc25:function(e,t,a){"use strict";a.r(t);var o=function(){var e=this,t=e._self._c;return t("div",[t("a-modal",{attrs:{visible:e.Visible,zIndex:1e21,footer:null},on:{cancel:e.handleCancel}},[e.isVideo?t("video",{staticStyle:{width:"100%"},attrs:{controls:"",src:e.previewImage}},[t("source",{attrs:{src:e.previewImage,type:"video/*",autoplay:!0,muted:"",preload:"load",loop:""}})]):t("img",{staticStyle:{width:"100%"},attrs:{alt:"example",src:e.previewImage}})])],1)},n=[],i={props:{previewVisible:{type:Boolean,default:!1},previewImage:{type:String,default:""},isVideo:{type:Boolean,default:!1}},computed:{Visible:function(){return this.visable||this.previewVisible}},data:function(){return{visable:!1}},methods:{openPreivewModal:function(){this.visable=!0},handleCancel:function(){this.visable=!1,this.$emit("cancel"),this.$emit("update:previewVisible",!1)}}},r=i,s=a("2877"),l=Object(s["a"])(r,o,n,!1,null,null,null);t["default"]=l.exports},de96:function(e,t,a){"use strict";a.r(t);a("99af");var o=function(){var e=this,t=e._self._c;return t("div",[t("a-card",{staticStyle:{"margin-bottom":"10px"},attrs:{bordered:!1}},[t("div",{staticClass:"table-page-search-wrapper"},[t("a-form",{attrs:{labelCol:e.labelCol,wrapperCol:e.wrapperCol}},[t("a-row",{attrs:{gutter:48}},[t("a-col",{attrs:{md:6,sm:24}},[t("a-form-item",{attrs:{label:"登录地址"}},[t("a-input",{attrs:{placeholder:"请输入登录地址","allow-clear":""},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleQuery.apply(null,arguments)}},model:{value:e.queryParam.ipaddr,callback:function(t){e.$set(e.queryParam,"ipaddr",t)},expression:"queryParam.ipaddr"}})],1)],1),t("a-col",{attrs:{md:6,sm:24}},[t("a-form-item",{attrs:{label:"操作信息"}},[t("a-input",{attrs:{placeholder:"请输入操作信息","allow-clear":""},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleQuery.apply(null,arguments)}},model:{value:e.queryParam.msg,callback:function(t){e.$set(e.queryParam,"msg",t)},expression:"queryParam.msg"}})],1)],1),t("a-col",{attrs:{md:6,sm:24}},[t("a-form-item",{attrs:{label:"使用状态"}},[t("a-select",{staticStyle:{width:"100%"},attrs:{placeholder:"请选择状态","allow-clear":""},model:{value:e.queryParam.status,callback:function(t){e.$set(e.queryParam,"status",t)},expression:"queryParam.status"}},e._l(e.statusOptions,(function(a,o){return t("a-select-option",{key:o,attrs:{value:a.dictValue}},[e._v(e._s(a.dictLabel))])})),1)],1)],1),e.advanced?t("a-col",{attrs:{md:6,sm:24}},[t("a-form-item",{attrs:{label:"登录名称"}},[t("a-input",{staticStyle:{width:"100%"},attrs:{"allow-clear":""},model:{value:e.queryParam.loginName,callback:function(t){e.$set(e.queryParam,"loginName",t)},expression:"queryParam.loginName"}})],1)],1):e._e(),e.advanced?t("a-col",{attrs:{md:6,sm:24}},[t("a-form-item",{attrs:{label:"登陆时间"}},[t("a-range-picker",{staticStyle:{width:"100%"},attrs:{valueFormat:"YYYY-MM-DD",format:"YYYY-MM-DD","allow-clear":""},model:{value:e.dateRange,callback:function(t){e.dateRange=t},expression:"dateRange"}})],1)],1):e._e(),t("a-col",[t("span",{staticClass:"table-page-search-submitButtons",staticStyle:{float:"right"}},[t("a-button",{attrs:{type:"primary"},on:{click:e.handleQuery}},[t("a-icon",{attrs:{type:"search"}}),e._v("查询")],1),t("a-button",{staticStyle:{"margin-left":"8px"},on:{click:e.resetQuery}},[t("a-icon",{attrs:{type:"redo"}}),e._v("重置")],1),t("a",{staticStyle:{"margin-left":"8px"},on:{click:e.toggleAdvanced}},[e._v(" "+e._s(e.advanced?"收起":"展开")+" "),t("a-icon",{attrs:{type:e.advanced?"up":"down"}})],1)],1)])],1)],1)],1)]),t("a-card",{staticClass:"table-card",attrs:{bordered:!1}},[t("advance-table",{attrs:{columns:e.columns,"data-source":e.list,title:"登录日志",loading:e.loading,rowKey:"id",tableKey:"monitor-logininfo-Logininfo-table",isTableConfig:!1,isShowSetBtn:!1,size:"middle","format-conditions":!0,"row-selection":{selectedRowKeys:e.selectedRowKeys,onChange:e.onSelectChange},pagination:{current:e.queryParam.pageNum,pageSize:e.queryParam.pageSize,total:e.total,showSizeChanger:!0,showLessItems:!0,showQuickJumper:!0,showTotal:function(e,t){return"第 ".concat(t[0],"-").concat(t[1]," 条,总计 ").concat(e," 条")},onChange:e.changeSize,onShowSizeChange:e.onSizeChange}},on:{refresh:e.getList},scopedSlots:e._u([{key:"status",fn:function(a){a.text;var o=a.record;return t("span",{},[t("a-badge",{attrs:{status:"0"==o.status?"processing":"error",text:e.statusFormat(o)}})],1)}}])},[t("div",{staticClass:"table-operations",attrs:{slot:"button"},slot:"button"},[e.multiple?e._e():t("a-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["monitor:LoginLog:remove"],expression:"['monitor:LoginLog:remove']"}],attrs:{type:"danger",disabled:e.multiple},on:{click:e.handleDelete}},[t("a-icon",{attrs:{type:"delete"}}),e._v("删除 ")],1),t("a-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["monitor:LoginLog:remove"],expression:"['monitor:LoginLog:remove']"}],attrs:{type:"danger"},on:{click:e.handleClean}},[t("a-icon",{attrs:{type:"delete"}}),e._v("清空 ")],1),t("a-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:LoginLog:export"],expression:"['system:LoginLog:export']"}],on:{click:e.handleExport}},[t("a-icon",{attrs:{type:"download"}}),e._v("导出 ")],1)],1)])],1)],1)},n=[],i=(a("d81d"),a("b775"));function r(e){return Object(i["b"])({url:"/monitor/loginLog/page",method:"get",params:e})}function s(e){return Object(i["b"])({url:"/monitor/loginLog/"+e,method:"delete"})}function l(){return Object(i["b"])({url:"/monitor/loginLog/clean",method:"delete"})}function c(e){return Object(i["b"])({url:"/monitor/loginLog/export",method:"get",params:e})}var d=a("5d9e"),u={name:"LoginLog",components:{AdvanceTable:d["default"]},data:function(){return{list:[],selectedRowKeys:[],selectedRows:[],advanced:!1,single:!0,multiple:!0,ids:[],loading:!1,sunloading:!1,total:0,statusOptions:[],dateRange:[],labelCol:{span:6},wrapperCol:{span:18},queryParam:{pageNum:1,pageSize:10,ipaddr:null,userName:void 0,status:void 0},addModalRefName:"addModal",columns:[{title:"用户名称",dataIndex:"userName",align:"center"},{title:"登录地址",dataIndex:"ipaddr",align:"center"},{title:"登录地点",dataIndex:"loginLocation",align:"center"},{title:"浏览器",dataIndex:"browser",align:"center"},{title:"操作系统",dataIndex:"os",align:"center"},{title:"状态",dataIndex:"status",scopedSlots:{customRender:"status"},align:"center"},{title:"操作信息",dataIndex:"msg",align:"center"},{title:"登录时间",dataIndex:"loginTime",align:"center"}]}},filters:{},created:function(){var e=this;this.getList(),this.getDicts("sys_common_status").then((function(t){e.statusOptions=t.data}))},computed:{},watch:{},methods:{onSizeChange:function(e,t){this.queryParam.pageNum=1,this.queryParam.pageSize=t,this.getList()},getList:function(){var e=this;this.loading=!0,r(this.addDateRange(this.queryParam,this.dateRange)).then((function(t){e.list=t.data.list,e.total=t.data.total,e.loading=!1}))},statusFormat:function(e){return this.selectDictLabel(this.statusOptions,e.status)},handleQuery:function(){this.queryParam.pageNum=1,this.getList()},resetQuery:function(){this.dateRange=[],this.queryParam={pageNum:1,pageSize:10,ipaddr:null,userName:void 0,status:void 0},this.handleQuery()},onShowSizeChange:function(e,t){this.queryParam.pageSize=t,this.getList()},changeSize:function(e,t){this.queryParam.pageNum=e,this.queryParam.pageSize=t,this.getList()},onSelectChange:function(e,t){this.selectedRowKeys=e,this.selectedRows=t,this.ids=this.selectedRows.map((function(e){return e.id})),this.multiple=!e.length},toggleAdvanced:function(){this.advanced=!this.advanced},handleDelete:function(e){var t=this,a=e.id||this.ids;this.$confirm({title:"确认删除所选中数据?",onOk:function(){return s(a).then((function(){t.onSelectChange([],[]),t.getList(),t.$message.success("删除成功",3)}))},onCancel:function(){}})},handleClean:function(){var e=this;this.$confirm({title:"是否确认清空?",content:"此操作将会清空所有登录日志数据项",onOk:function(){return l().then((function(){e.onSelectChange([],[]),e.getList(),e.$message.success("清空成功",3)}))},onCancel:function(){}})},handleExport:function(){var e=this;this.$confirm({title:"是否确认导出?",content:"此操作将导出当前条件下所有数据而非选中数据",onOk:function(){return c(e.queryParam).then((function(t){e.download(t.msg),e.$message.success("导出成功",3)}))},onCancel:function(){}})}}},m=u,p=a("2877"),f=Object(p["a"])(m,o,n,!1,null,null,null);t["default"]=f.exports},eb30:function(e,t,a){"use strict";a.r(t);a("b0c0"),a("a9e3");var o=function(){var e=this,t=e._self._c;return t("span",[e.hiddenIcon?e._e():t("a-tooltip",[t("template",{slot:"title"},[e._v(" "+e._s(e.$t("components.imagetext.translation"))+" ")]),t("a-icon",{attrs:{type:"file-image"},on:{click:e.openModal}})],2),t("AntModal",{attrs:{visible:e.visible,title:e.modelTitle,modalWidth:"800",modalHeight:"650","adjust-size":!0},on:{cancel:e.close},scopedSlots:e._u([{key:"footer",fn:function(){return[t("recharge",{ref:"yueref",attrs:{showYue:!0}}),t("a-button",{staticStyle:{"margin-left":"5px"},on:{click:e.close}},[e._v(e._s(e.$t("components.imagetext.translation.close")))]),t("a-button",{attrs:{type:"primary"},on:{click:e.ok}},[e._v(e._s(e.$t("components.imagetext.translation.ok")))])]},proxy:!0}])},[t("div",{attrs:{slot:"content"},slot:"content"},[t("div",{staticStyle:{display:"flex","align-items":"center"}},[t("div",{staticStyle:{width:"290px"}},[t("div",[e._v(e._s(e.$t("components.imagetext.translation.before")))]),t("div",{staticStyle:{width:"290px",height:"290px"}},[t("img",{staticStyle:{width:"290px",height:"290px","object-fit":"contain"},attrs:{src:e.img}})]),t("div",{staticStyle:{"margin-top":"1rem"}},[e._v(" "+e._s(e.$t("components.imagetext.translation.sourceLang"))+": "),e.langSource?t("a-select",{staticStyle:{width:"60%"},on:{change:e.changeCurrentLang},model:{value:e.currentLang,callback:function(t){e.currentLang=t},expression:"currentLang"}},e._l(e.langSource.sourceLanguage,(function(a){return t("a-select-option",{key:a.code,attrs:{value:a.code}},[e._v(" "+e._s(a.name)+" ")])})),1):e._e()],1)]),t("div",{staticStyle:{flex:"1","text-align":"center"}},[t("div",{staticStyle:{height:"311px","align-items":"center","justify-content":"center",display:"flex"}},[t("a-icon",{staticStyle:{"font-size":"2rem"},attrs:{type:"arrow-right"}})],1),t("a-select",{staticStyle:{width:"100%","margin-top":"1rem"},on:{change:e.changeTranEngData},model:{value:e.transEngineData,callback:function(t){e.transEngineData=t},expression:"transEngineData"}},e._l(e.langSource.transEngine,(function(a){return t("a-select-option",{key:a.code},[e._v(e._s(a.name)+" "),t("defaultCurrency",{attrs:{currency:"CNY",isFuhao:!0}}),e._v(" "+e._s(Number(Number(a.unitPrice)/100))+" ")],1)})),1)],1),t("div",{staticStyle:{width:"290px"}},[t("div",[e._v(e._s(e.$t("components.imagetext.translation.after")))]),t("div",{style:{width:"290px",height:"290px",border:e.newImg?"":"1px solid #ccc"}},[e.newImg?t("img",{staticStyle:{width:"290px",height:"290px","object-fit":"contain"},attrs:{src:e.newImg}}):e._e()]),t("div",{staticStyle:{"margin-top":"1rem","text-align":"right"}},[e._v(" "+e._s(e.$t("components.imagetext.translation.targetLang"))+": "),e.langSource?t("a-select",{staticStyle:{width:"60%"},on:{change:e.changeTransLang},model:{value:e.transLang,callback:function(t){e.transLang=t},expression:"transLang"}},e._l(e.langSource.targetLanguage,(function(a){return t("a-select-option",{key:a.code,attrs:{value:a.code}},[e._v(" "+e._s(a.name)+" ")])})),1):e._e()],1)])]),t("div",{staticStyle:{"margin-top":"1rem","text-align":"center"}},[t("a-button",{attrs:{type:"primary"},on:{click:e.transImg}},[e._v(e._s(e.$t("components.imagetext.translation.translate")))])],1)])])],1)},n=[],i=(a("d3b7"),a("3ca3"),a("ddb0"),a("a026")),r=a("3726"),s=Object(i["b"])((function(){return Promise.resolve().then(a.bind(null,"2dd7"))})),l=Object(i["b"])((function(){return Promise.resolve().then(a.bind(null,"b89c"))})),c=Object(i["b"])((function(){return Promise.resolve().then(a.bind(null,"34c3"))})),d="ImageTs-TranEngMode",u="ImageTs-CurrentLang",m="ImageTs-TransLang",p={name:"ImageTextTs",props:{img:{type:String,default:""},hiddenIcon:{type:Boolean,default:!1}},data:function(){return{visible:!1,modelTitle:this.$t("components.imagetext.translation.modaltitle"),newImg:"",langSource:[],currentLang:"",transLang:"",transEngineData:""}},methods:{getLangList:function(){var e=this;Object(r["c"])().then((function(t){0===t.code&&(e.langSource=JSON.parse(t.lang),sessionStorage.getItem(d)?e.transEngineData=sessionStorage.getItem(d):e.langSource.transEngine.length>0&&(e.transEngineData=e.langSource.transEngine[0].code,sessionStorage.setItem(d,e.transEngineData)),sessionStorage.getItem(u)&&(e.currentLang=sessionStorage.getItem(u)),sessionStorage.getItem(m)&&(e.transLang=sessionStorage.getItem(m)))}))},openModal:function(){if(this.newImg="",!this.img)return this.$message.error(this.$t("components.imagetext.translation.image.null")),!1;this.getLangList(),this.visible=!0},close:function(){this.visible=!1},ok:function(){var e=this;this.$confirm({title:this.$t("components.imagetext.translation.confirm.title"),content:this.$t("components.imagetext.translation.confirm.content"),okText:this.$t("components.imagetext.translation.confirm.ok"),cancelText:this.$t("components.imagetext.translation.confirm.cancel"),onOk:function(){e.$emit("update:img",e.newImg),e.$emit("ok",e.newImg),e.close()},onCancel:function(){}})},transImg:function(){var e=this;return this.transEngineData?this.currentLang?this.transLang?(this.$message.loading({content:this.$t("components.imagetext.translation.transImageLoading"),duration:0}),void Object(r["a"])({imgUrl:this.img,sourceLanguage:this.currentLang,targetLanguage:this.transLang,transEngine:this.transEngineData}).then((function(t){e.newImg=t.url+"?t="+(new Date).getTime(),e.$refs.yueref.getAmount(),e.$message.destroy()})).catch((function(t){e.$message.destroy()}))):(this.$message.error(this.$t("components.imagetext.translation.targetLang.null")),!1):(this.$message.error(this.$t("components.imagetext.translation.sourceLang.null")),!1):(this.$message.error(this.$t("components.imagetext.translation.engine.null")),!1)},changeTranEngData:function(e){sessionStorage.setItem(d,e)},changeCurrentLang:function(e){sessionStorage.setItem(u,e)},changeTransLang:function(e){sessionStorage.setItem(m,e)}},components:{AntModal:s,recharge:l,defaultCurrency:c}},f=p,h=a("2877"),g=Object(h["a"])(f,o,n,!1,null,null,null);t["default"]=g.exports},f7f8:function(e,t,a){"use strict";a.r(t);var o=function(){var e=this,t=e._self._c;return t("span",[e.hiddenIcon?e._e():t("a-tooltip",[t("template",{slot:"title"},[e._v(" "+e._s(e.$t("components.videoTrans.btn"))+" ")]),t("a-icon",{attrs:{type:"file-image"},on:{click:e.openModal}})],2),e.hiddenIcon?t("a-button",{attrs:{type:e.btnType,loading:e.loading},on:{click:e.openModal}},[e._v(e._s(e.$t("components.videoTrans.btn")))]):e._e(),t("AntModal",{attrs:{visible:e.visible,title:e.modelTitle,modalWidth:"800",modalHeight:"650","adjust-size":!0},on:{cancel:e.close},scopedSlots:e._u([{key:"footer",fn:function(){return[t("recharge",{ref:"yueref",attrs:{showYue:!0}}),t("a-button",{staticStyle:{"margin-left":"5px"},on:{click:e.close}},[e._v(e._s(e.$t("components.videoTrans.translation.close")))]),e.hiddenConfirm?e._e():t("a-button",{attrs:{type:"primary"},on:{click:e.ok}},[e._v(e._s(e.$t("components.imagetext.translation.ok")))])]},proxy:!0}])},[t("div",{attrs:{slot:"content"},slot:"content"},[t("div",{staticStyle:{display:"flex","align-items":"center"}},[t("div",{staticStyle:{width:"290px"}},[t("div",[e._v(e._s(e.$t("components.imagetext.translation.before")))]),t("div",{staticStyle:{width:"290px",height:"290px"}},[t("video",{ref:"sfGalleryBigImage",staticStyle:{"object-position":"top","max-height":"290px"},attrs:{autoplay:!1,muted:"",preload:"load",loop:"",src:e.url,width:"100%",height:"100%",controls:"controls",playsinline:""},domProps:{muted:!0}},[t("source",{attrs:{src:e.url,type:"video/*"}})])]),t("div",{staticStyle:{"margin-top":"1rem"}},[e._v(" "+e._s(e.$t("components.imagetext.translation.sourceLang"))+": "),t("a-select",{staticStyle:{width:"60%"},on:{change:e.changeCurrentLang},model:{value:e.currentLang,callback:function(t){e.currentLang=t},expression:"currentLang"}},e._l(e.langLabel,(function(a,o){return t("a-select-option",{key:o,attrs:{value:o}},[e._v(" "+e._s(e.$t(a))+" ")])})),1)],1)]),t("div",{staticStyle:{flex:"1","text-align":"center"}},[t("div",{staticStyle:{height:"311px","align-items":"center","justify-content":"center",display:"flex"}},[t("a-icon",{staticStyle:{"font-size":"2rem"},attrs:{type:"arrow-right"}})],1)]),t("div",{staticStyle:{width:"290px"}},[t("div",[e._v(e._s(e.$t("components.imagetext.translation.after")))]),t("div",{style:{width:"290px",height:"290px",border:e.newUrl?"":"1px solid #ccc"}},[e.newUrl?t("video",{ref:"sfGalleryBigImage",staticStyle:{"object-position":"top","max-height":"290px"},attrs:{autoplay:!1,muted:"",preload:"load",loop:"",src:e.newUrl,width:"100%",height:"100%",controls:"controls",playsinline:""},domProps:{muted:!0}},[t("source",{attrs:{src:e.newUrl,type:"video/*"}})]):e._e()]),t("div",{staticStyle:{"margin-top":"1rem","text-align":"right"}},[e._v(" "+e._s(e.$t("components.imagetext.translation.targetLang"))+": "),t("a-select",{staticStyle:{width:"60%"},on:{change:e.changeTransLang},model:{value:e.transLang,callback:function(t){e.transLang=t},expression:"transLang"}},e._l(e.langLabel,(function(a,o){return t("a-select-option",{key:o,attrs:{value:o}},[e._v(" "+e._s(e.$t(a))+" ")])})),1)],1)])]),t("div"),t("div",{staticStyle:{"margin-top":"1rem","text-align":"center"}},[t("a-button",{attrs:{type:"primary"},on:{click:e.transImg}},[e._v(e._s(e.$t("components.imagetext.translation.translate")))]),t("selectVideo",{ref:"selectVideo",staticStyle:{"margin-left":"0.5rem"},on:{ok:function(t){return e.newUrl=t}}})],1)])])],1)},n=[],i=(a("d3b7"),a("3ca3"),a("ddb0"),a("ac1f"),a("5319"),a("a026")),r=a("3726"),s=Object(i["b"])((function(){return Promise.resolve().then(a.bind(null,"2dd7"))})),l=Object(i["b"])((function(){return Promise.resolve().then(a.bind(null,"b89c"))})),c=Object(i["b"])((function(){return Promise.resolve().then(a.bind(null,"34c3"))})),d=Object(i["b"])((function(){return a.e("lang-zh-TW-service~f63b1681").then(a.bind(null,"09e9e"))})),u="videoTs-TranEngMode",m="videoTs-CurrentLang",p="videoTs-TransLang",f={name:"VideoTrans",props:{url:{type:String,default:""},hiddenIcon:{type:Boolean,default:!1},btnType:{type:String,default:"primary"},hiddenConfirm:{type:Boolean,default:!1}},data:function(){return{visible:!1,modelTitle:this.$t("components.imagetext.translation.modaltitle"),newUrl:"",langSource:[],langLabel:{zh:"zh-CN",en:"en-US",fr:"fr-FR",es:"es-ES",ar:"ar-EG",hi:"hi-IN",pt:"pt-PT",ru:"ru-RU",it:"it-IT",de:"de-DE",ja:"ja-JP",th:"th-TH",ko:"ko-KR",bn:"bn-BD",id:"id-ID",vi:"vi-VN",ms:"ms-MY"},currentLang:"",transLang:"",transEngineData:"",loading:!1}},methods:{getLangList:function(){sessionStorage.getItem(m)&&(this.currentLang=sessionStorage.getItem(m)),sessionStorage.getItem(p)&&(this.transLang=sessionStorage.getItem(p))},openModal:function(){if(this.newUrl="",!this.url)return this.$message.error(this.$t("components.imagetext.translation.image.null")),!1;this.getLangList(),this.visible=!0},close:function(){this.visible=!1},ok:function(){var e=this;this.$confirm({title:this.$t("components.imagetext.translation.confirm.title"),content:this.$t("components.imagetext.translation.confirm.content"),okText:this.$t("components.imagetext.translation.confirm.ok"),cancelText:this.$t("components.imagetext.translation.confirm.cancel"),onOk:function(){e.$emit("update:url",e.newUrl),e.$emit("ok",e.newUrl),e.close()},onCancel:function(){}})},transImg:function(){var e=this,t=(new Date).toLocaleDateString().replace(/\//g,"");Object(r["f"])({source_url:this.url,source_lang:this.currentLang,target_lang:this.transLang,project_name:t}).then((function(t){e.newUrl=t.video_url+"?t="+(new Date).getTime(),e.$refs.yueref.getAmount(),e.$message.success(e.$t("components.videoTrans.aivideo.loding"),2),setTimeout((function(){e.$refs.selectVideo&&e.$refs.selectVideo.openModal()}),2e3)})).catch((function(e){}))},changeTranEngData:function(e){sessionStorage.setItem(u,e)},changeCurrentLang:function(e){sessionStorage.setItem(m,e)},changeTransLang:function(e){sessionStorage.setItem(p,e)}},components:{AntModal:s,recharge:l,defaultCurrency:c,selectVideo:d}},h=f,g=a("2877"),v=Object(g["a"])(h,o,n,!1,null,null,null);t["default"]=v.exports},f9ea:function(e,t,a){"use strict";a.r(t);var o=function(){var e=this,t=e._self._c;return t("span",[e.isA?t("a",{on:{click:e.openModal}},[e._v(e._s(e.$t("view.order.detail.warehouse.update")))]):t("a-button",{attrs:{type:"primary"},on:{click:e.openModal}},[e._v(e._s(e.$t("view.order.detail.warehouse.update")))]),t("ant-modal",{attrs:{visible:e.visable,"modal-title":e.formTitle,"adjust-size":!0,modalHeight:"600",modalWidth:"1200"},on:{cancel:function(t){return e.closeModal()}},scopedSlots:e._u([{key:"footer",fn:function(){return[t("a-button",{on:{click:e.closeModal}},[e._v(e._s(e.$t("view.test.list.form.button.cancel")))])]},proxy:!0}])},[e.order?t("div",{staticClass:"orderDetail",attrs:{slot:"content"},slot:"content"},[t("a-row",[t("a-col",{attrs:{span:24}},[t("div",[t("div",[e._v(e._s(e.$t("order.switch.warehouse.koujian.stock.title"))+" :"),t("wareHouseInfo",{attrs:{warehouseId:e.order.order_item[0].stock_log.warehouse_id}})],1),t("div",[e._v(" "+e._s(e.$t("order.switch.warehouse.koujian.stock.reset.title"))+":"),t("wareHouseSelect",{staticStyle:{width:"200px",display:"inline-block","margin-right":"10px"},attrs:{wareHouseId:e.order.order_item[0].stock_log.warehouse_id},on:{change:e.changeWareHouseId}}),t("a-button",{attrs:{type:"primary"},on:{click:e.saveWareHouse}},[e._v(e._s(e.$t("view.order.detail.warehouse.update")))])],1)])])],1),t("a-table",{attrs:{columns:e.columns,"data-source":e.order.order_item,pagination:!1},scopedSlots:e._u([{key:"img_url",fn:function(e){return[t("a-avatar",{attrs:{shape:"square",size:85,src:e}})]}},{key:"Title",fn:function(a,o){return[t("div",[t("div",[e._v(e._s(o.title))]),t("a-row",{attrs:{type:"flex"}},[t("a-col",{attrs:{flex:3}},["string"==typeof o.sku_prop?t("span",[e._v(" "+e._s(o.sku_prop)+" ")]):t("span",e._l(o.sku_prop,(function(a,o){return t("div",{key:o},[t("span",[e._v(e._s(o)+":"+e._s(a))])])})),0)])],1),t("div",[e._v(e._s(e.$t("view.order.detial.item.outid"))+" "+e._s(o.out_id))]),t("div",[e._v(e._s(e.$t("view.order.detial.item.barcode"))+" "+e._s(o.barcode))]),o.stock_log?t("div",[e._v(" "+e._s(e.$t("view.item.sku.wareHouse"))+" "),t("wareHouseInfo",{attrs:{warehouseId:o.stock_log.warehouse_id}})],1):e._e()],1)]}},{key:"price",fn:function(a){return[t("div",[e._v(e._s(e.shopQuoteCurrency)+" "+e._s(a))])]}},{key:"discount",fn:function(a){return[t("div",[e._v(e._s(e.shopQuoteCurrency)+" "+e._s(a))])]}},{key:"tax_fee",fn:function(a){return[t("div",[e._v(e._s(e.shopQuoteCurrency)+" "+e._s(a))])]}},{key:"amount",fn:function(a){return[t("div",[e._v(e._s(e.shopQuoteCurrency)+" "+e._s(a))])]}}],null,!1,3588468014)})],1):e._e()])],1)},n=[],i=a("5530"),r=(a("4de4"),a("d3b7"),a("3a10")),s=a("2dd7"),l=a("d7eec"),c=a("2f62"),d=a("f2b2"),u={name:"switchWareHouse",data:function(){return{order:null,visable:!1,formTitle:"",wareHouseId:0,columns:[{title:this.$t("view.order.detail.item"),dataIndex:"img_url",key:"img_url",width:"110px",scopedSlots:{customRender:"img_url"}},{title:this.$t("view.order.detail.itemTitle"),dataIndex:"Title",key:"Title",width:"200px",scopedSlots:{customRender:"Title"}},{title:this.$t("view.order.detail.itemNum"),dataIndex:"num",key:"num"},{title:this.$t("view.order.detail.itemPrice"),key:"price",dataIndex:"price",scopedSlots:{customRender:"price"}},{title:this.$t("view.order.detail.discount"),key:"discount",dataIndex:"discount",scopedSlots:{customRender:"discount"}},{title:this.$t("view.order.detail.tax"),key:"tax_fee",dataIndex:"tax_fee",scopedSlots:{customRender:"tax_fee"}},{title:this.$t("view.order.detail.amount"),key:"amount",dataIndex:"total_payment",scopedSlots:{customRender:"amount"}}]}},computed:Object(i["a"])({},Object(c["c"])(["shopQuoteCurrency","isMobile","domain"])),components:{AntModal:s["default"],wareHouseSelect:l["a"],wareHouseInfo:d["default"]},props:{orderId:{type:String,default:0},isA:{type:Boolean,default:!0},note:{type:String,default:""},skuId:null},methods:{openModal:function(){this.formTitle=this.$t("view.order.detail.warehouse.modal.title",{orderNo:this.orderId}),this.visable=!0,this.getOrder()},closeModal:function(){this.visable=!1},getOrder:function(){var e=this,t=[];this.orderId&&t.push({field:"order_id",operator:"eq",value:this.orderId});var a={};a.conditions=t,Object(r["x"])(a).then((function(t){var a,o;if(null!==t&&void 0!==t&&null!==(a=t.list)&&void 0!==a&&a[0].order_item){var n,i,r,s=null===(n=t.list)||void 0===n||null===(i=n[0])||void 0===i||null===(r=i.order_item)||void 0===r?void 0:r.filter((function(t){return t.sku_id===e.skuId}));t.list[0].order_item=s}if(e.order=null===(o=t.list)||void 0===o?void 0:o[0],null==e.order)return e.$notification.error({message:e.$t("view.order.list.order.null"),duration:5}),!1}))},changeWareHouseId:function(e){this.wareHouseId=e},saveWareHouse:function(){var e=this;this.$confirm({title:this.$t("view.order.detail.warehouse.modal.confirm.title"),content:this.$t("view.order.detail.warehouse.modal.confirm.content"),onOk:function(){var t,a,o,n;Object(r["C"])({order_id:e.orderId,switch_info:[{to_warehouse_id:e.wareHouseId,sku_id:null===(t=e.order.order_item)||void 0===t||null===(a=t[0])||void 0===a?void 0:a.sku_id,out_id:null===(o=e.order.order_item)||void 0===o||null===(n=o[0])||void 0===n?void 0:n.out_id}]}).then((function(t){e.$notification.success({message:e.$t("view.order.detail.warehouse.update.success"),duration:5}),e.$emit("ok"),e.getOrder()}))},onCancel:function(){}})}}},m=Object(i["a"])({},u),p=m,f=a("2877"),h=Object(f["a"])(p,o,n,!1,null,null,null);t["default"]=h.exports}}]);
@@ -0,0 +1 @@
1
+ (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-e8891446"],{"1e4b":function(t,e,a){"use strict";a.r(e);var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"typical-home"},[e("a-row",{attrs:{gutter:[4,4]}},[e("a-col",{staticStyle:{"padding-bottom":"0"},attrs:{span:24}},[e("a-row",{staticClass:"top-list",attrs:{gutter:[16,16]}},[e("a-col",{staticStyle:{margin:"8px",height:"148px","border-radius":"4px",overflow:"hidden",padding:"0"},attrs:{xxl:6,xl:12,lg:16}},[e("a",{attrs:{href:"##"}})]),t._l(t.dataList,(function(a,s){return e("a-col",{key:s,attrs:{xxl:3,xl:6,lg:8}},[e("a-card",{attrs:{bordered:!1}},[e("a-icon",{style:{background:a.color},attrs:{type:a.icon}}),e("span",[t._v(t._s(a.text))])],1)],1)})),e("a-col",{attrs:{xxl:3,xl:6,lg:8}},[e("a-card",{attrs:{bordered:!1},on:{click:t.showModal}},[e("a-icon",{staticClass:"add-plus",attrs:{type:"plus"}}),e("span",[t._v("添加常用")]),e("a-modal",{attrs:{title:"添加常用应用",centered:"",wrapClassName:"top-list-modal"},on:{ok:t.handleOk},model:{value:t.visible,callback:function(e){t.visible=e},expression:"visible"}},[e("a-input-search",{attrs:{placeholder:"请输入需要搜索的内容"},on:{search:t.onSearch}}),e("a-tabs",{attrs:{"default-active-key":"1",tabPosition:"left",size:"small"},on:{change:t.modalcallback}},[e("a-tab-pane",{key:"1",attrs:{tab:"最近使用"}},[e("a-list",{attrs:{"item-layout":"horizontal","data-source":t.adddata},scopedSlots:t._u([{key:"renderItem",fn:function(a){return e("a-list-item",{},[e("a-list-item-meta",{attrs:{description:a.txt}},[e("a",{attrs:{slot:"title",href:a.url},slot:"title"},[t._v(t._s(a.title))]),e("a-avatar",{style:{background:a.color},attrs:{slot:"avatar",size:34,icon:a.icon},slot:"avatar"})],1),e("a-button",{attrs:{size:"small"}},[t._v("移除")])],1)}}])})],1),e("a-tab-pane",{key:"2",attrs:{tab:"分析工具"}},[t._v(" 分析工具 ")]),e("a-tab-pane",{key:"3",attrs:{tab:"沟通协作"}},[t._v(" 沟通协作 ")]),e("a-tab-pane",{key:"4",attrs:{tab:"客户服务"}},[t._v(" 客户服务 ")]),e("a-tab-pane",{key:"5",attrs:{tab:"开发工具"}},[t._v(" 开发工具 ")]),e("a-tab-pane",{key:"6",attrs:{tab:"人力资源"}},[t._v(" 人力资源 ")])],1)],1)],1)],1)],2)],1),e("a-col",{staticClass:"module-list",attrs:{span:16}},[e("a-row",{attrs:{gutter:[16,16]}},[e("a-col",{attrs:{span:12}},[e("div",{staticClass:"module-in module-in01"},[e("a-page-header",{attrs:{ghost:!1,title:"待办事项"}},[e("template",{slot:"extra"},[e("a-icon",{attrs:{type:"dash"}})],1)],2),e("a-list",{staticClass:"list-totality",attrs:{grid:{gutter:8,column:3},"data-source":t.data},scopedSlots:t._u([{key:"renderItem",fn:function(a){return e("a-list-item",{},[e("a-card",[e("p",[t._v(t._s(a.title))]),e("span",[t._v(t._s(a.data))])])],1)}}])}),e("a-list",{staticClass:"list-detail",attrs:{"item-layout":"horizontal","data-source":t.detaildata},scopedSlots:t._u([{key:"renderItem",fn:function(a){return e("a-list-item",{},[e("a-list-item-meta",[e("template",{slot:"description"},[e("span",[t._v(t._s(a.state))]),e("span",[t._v(t._s(a.txt))]),e("a-tooltip",{attrs:{placement:"top"}},[e("template",{slot:"title"},[e("span",[t._v(t._s(a.hint))])]),e("a-icon",{attrs:{type:"question-circle"}})],2),e("a",[t._v("办理")])],1)],2)],1)}}])})],1)]),e("a-col",{attrs:{span:12}},[e("div",{staticClass:"module-in module-in02"},[e("a-page-header",{attrs:{ghost:!1,title:"关注项目总览"}},[e("template",{slot:"extra"},[e("a-icon",{attrs:{type:"dash"}})],1)],2),e("a-table",{attrs:{columns:t.projectcolumns,"data-source":t.projectdata,size:"small"},scopedSlots:t._u([{key:"status",fn:function(t,a){return e("a-badge",{attrs:{status:a.icon,text:a.text}})}}])})],1)]),e("a-col",{attrs:{span:24}},[e("div",{staticClass:"module-in module-in03"},[e("a-page-header",{attrs:{ghost:!1,title:"组件API搜索"}},[e("template",{slot:"extra"},[e("a-icon",{attrs:{type:"dash"}})],1)],2),e("a-input",{attrs:{placeholder:"输入组件或 API 名称,支持中英文模糊搜索"}}),e("div",{staticClass:"subtitle"},[t._v("最近使用")]),e("a-list",{attrs:{grid:{gutter:16,column:4},"data-source":t.apidata},scopedSlots:t._u([{key:"renderItem",fn:function(a){return e("a-list-item",{},[e("a-card",[e("a-icon",{attrs:{type:a.icon}}),e("span",[t._v(t._s(a.con))])],1)],1)}}])})],1)]),e("a-col",{attrs:{span:24}},[e("div",{staticClass:"module-in module-in04"},[e("a-page-header",{attrs:{ghost:!1,title:"趋势图"}},[e("template",{slot:"extra"},[e("a-radio-group",{attrs:{"default-value":"a","button-style":"solid",size:"small"}},[e("a-radio-button",{attrs:{value:"a"}},[t._v(" 一个月 ")]),e("a-radio-button",{attrs:{value:"b"}},[t._v(" 三个月 ")]),e("a-radio-button",{attrs:{value:"c"}},[t._v(" 六个月 ")])],1)],1)],2),e("div",{staticStyle:{height:"280px"}})],1)]),e("a-col",{attrs:{span:24}},[e("div",{staticClass:"module-in module-in05"},[e("a-page-header",{attrs:{ghost:!1,title:"帮助文档"}}),e("a-row",{attrs:{gutter:[16,16]}},[e("a-col",{attrs:{span:4}},[e("a-list",{attrs:{size:"small","data-source":t.aiddata},scopedSlots:t._u([{key:"renderItem",fn:function(a){return e("a-list-item",{},[t._v(" "+t._s(a)+" ")])}}])},[e("div",{attrs:{slot:"header"},slot:"header"},[t._v("组件使用方法")])])],1),e("a-col",{attrs:{span:4}},[e("a-list",{attrs:{size:"small","data-source":t.aiddata},scopedSlots:t._u([{key:"renderItem",fn:function(a){return e("a-list-item",{},[t._v(" "+t._s(a)+" ")])}}])},[e("div",{attrs:{slot:"header"},slot:"header"},[t._v("组件使用方法")])])],1),e("a-col",{attrs:{span:4}},[e("a-list",{attrs:{size:"small","data-source":t.aiddata},scopedSlots:t._u([{key:"renderItem",fn:function(a){return e("a-list-item",{},[t._v(" "+t._s(a)+" ")])}}])},[e("div",{attrs:{slot:"header"},slot:"header"},[t._v("组件使用方法")])])],1),e("a-col",{attrs:{span:4}},[e("a-list",{attrs:{size:"small","data-source":t.aiddata},scopedSlots:t._u([{key:"renderItem",fn:function(a){return e("a-list-item",{},[t._v(" "+t._s(a)+" ")])}}])},[e("div",{attrs:{slot:"header"},slot:"header"},[t._v("组件使用方法")])])],1)],1)],1)])],1)],1),e("a-col",{staticClass:"module-list",attrs:{span:8}},[e("a-row",{attrs:{gutter:[0,16]}},[e("a-col",[e("div",{staticClass:"module-in module-in06"},[e("a-page-header",{attrs:{ghost:!1,title:"公告"}},[e("template",{slot:"extra"},[e("a-icon",{attrs:{type:"dash"}})],1)],2),e("a-tabs",{attrs:{"default-active-key":"1",size:"small"},on:{change:t.callback}},[e("a-tab-pane",{key:"1",attrs:{tab:"首推"}},[e("a-list",{attrs:{"item-layout":"horizontal","data-source":t.noticedata},scopedSlots:t._u([{key:"renderItem",fn:function(a){return e("a-list-item",{},[e("a-list-item-meta",[e("a",{attrs:{slot:"description",href:a.url},slot:"description"},[t._v(t._s(a.state)+t._s(a.title))])])],1)}}])},[e("a-button",{attrs:{type:"link"}},[t._v(" 更多 ")])],1)],1),e("a-tab-pane",{key:"2",attrs:{tab:"升级","force-render":""}},[t._v(" Content of Tab Pane 2 ")]),e("a-tab-pane",{key:"3",attrs:{tab:"安全"}},[t._v(" Content of Tab Pane 3 ")]),e("a-tab-pane",{key:"4",attrs:{tab:"备案"}},[t._v(" Content of Tab Pane 3 ")]),e("a-tab-pane",{key:"5",attrs:{tab:"其他"}},[t._v(" Content of Tab Pane 3 ")])],1)],1)]),e("a-col",[e("div",{staticClass:"module-in module-in07"},[e("a-page-header",{attrs:{ghost:!1,title:"个人信息"}},[e("template",{slot:"extra"},[e("a-icon",{attrs:{type:"dash"}})],1)],2),e("a-row",{attrs:{type:"flex"}},[e("a-col",{attrs:{flex:"110px"}},[e("a-avatar",{attrs:{size:"large",icon:"user"}})],1),e("a-col",[e("a-col",{staticClass:"name"},[e("span",[t._v("Aidex")]),e("a-icon",{attrs:{type:"form"},on:{click:t.compileshowModal}}),e("a-modal",{attrs:{title:"Basic Modal",centered:""},on:{ok:t.compilehandleOk},model:{value:t.compile,callback:function(e){t.compile=e},expression:"compile"}},[e("p",[t._v("Some contents...")]),e("p",[t._v("Some contents...")]),e("p",[t._v("Some contents...")])])],1),e("a-col",[e("span",[t._v("员工编号:")]),e("span",[t._v("88888888888")])]),e("a-col",[e("span",[t._v("组织机构:")]),e("span",[t._v("XXXXX")])]),e("a-col",[e("span",[t._v("所属群组:")]),e("span",[t._v("XXXX")])]),e("a-col",[e("span",[t._v("所属部门:")]),e("span",[t._v("市场部")])])],1)],1)],1)]),e("a-col",[e("div",{staticClass:"module-in module-in08"},[e("a-page-header",{attrs:{ghost:!1,title:"产品热度"}},[e("template",{slot:"extra"},[e("a-icon",{attrs:{type:"dash"}})],1)],2),e("a-list",{attrs:{"item-layout":"horizontal","data-source":t.heatdata},scopedSlots:t._u([{key:"renderItem",fn:function(a){return e("a-list-item",{},[e("a-list-item-meta",[e("a",{attrs:{slot:"description",href:a.url},slot:"description"},[e("div",{staticClass:"order"},[t._v(t._s(a.index))]),e("a-icon",{staticClass:"icon",attrs:{type:a.icon}}),e("div",{staticClass:"txt"},[t._v(t._s(a.txt))]),e("a-statistic",{attrs:{value:a.value,precision:1},scopedSlots:t._u([{key:"suffix",fn:function(){return[e("a-icon",{style:{color:a.color},attrs:{type:a.arrow}})]},proxy:!0}],null,!0)})],1)])],1)}}])})],1)]),e("a-col",[e("div",{staticClass:"module-in module-in09"},[e("a-page-header",{attrs:{ghost:!1,title:"统计信息"}},[e("template",{slot:"extra"},[e("a-date-picker",{attrs:{"default-value":t.moment("2015/01/01",t.dateFormat),format:t.dateFormat}}),e("a-icon",{attrs:{type:"dash"}})],1)],2),e("div",{staticStyle:{height:"260px","text-align":"center"}}),e("a-table",{staticStyle:{height:"238px"},attrs:{columns:t.statisticscolumns,"data-source":t.statisticsdata,size:"small",pagination:!1},scopedSlots:t._u([{key:"tags",fn:function(a){return e("span",{},[e("a-tag",{attrs:{color:a>=0?"green":"volcano"}},[t._v(" "+t._s(a>=0?"+"+a+"%":a+"%")+" ")])],1)}},{key:"status",fn:function(t,a){return e("a-badge",{attrs:{status:a.icon,text:a.text}})}}])})],1)])],1)],1)],1)],1)},i=[],r=[{icon:"area-chart",text:"OKR",color:"#5584fd"},{icon:"pie-chart",text:"汇报",color:"#3470ff"},{icon:"bar-chart",text:"日报",color:"#ff8801"},{icon:"dot-chart",text:"周报",color:"#00d6b9"},{icon:"line-chart",text:"审批",color:"#ff8801"},{icon:"radar-chart",text:"审批",color:"#ff8801"},{icon:"sliders",text:"公告",color:"#ff8801"},{icon:"android",text:"月报",color:"#7e3bf3"}],n=[{title:"待审批",data:"10"},{title:"待提交",data:"10"},{title:"待阅示",data:"4"}],o=[{state:"【待审批】",txt:"公告发布审批公告发布审批公告发布审批公告发布审批公告发布审批公告发布审批公告发布审批公告发布审批",hint:"公告发布审批说明1"},{state:"【待提交】",txt:"差旅费报销差旅费报销",hint:"公告发布审批说明2"},{state:"【待提交】",txt:"录用管理",hint:"公告发布审批说明3"},{state:"【待审批】",txt:"通知公告",hint:"公告发布审批说明4"},{state:"【待审批】",txt:"公告发布审批公告发布审批",hint:"公告发布审批说明5"}],l=[{title:"项目名称",dataIndex:"name",key:"name",ellipsis:!0},{title:"项目状态",dataIndex:"status",scopedSlots:{customRender:"status"},key:"status",ellipsis:!0,width:96},{title:"责任人",dataIndex:"take",key:"take",ellipsis:!0,width:86}],c=[{key:"1",name:"项目名称项目名称项目名称项目名称项目名称",icon:"warning",text:"未开始",take:"张三"},{key:"2",name:"项目名称项目名称项目名称项目名称项目名称",icon:"processing",text:"进行中",take:"李四"},{key:"3",name:"项目名称项目名名称项目名称",icon:"processing",text:"进行中",take:"王五"},{key:"4",name:"项目名称项目名称项目名称项名称项目名称",icon:"success",text:"已完成",take:"张三"},{key:"5",name:"项目名称项目名名称项目名称",icon:"processing",text:"进行中",take:"王五"},{key:"6",name:"项目名称项目名称项目名称项名称项目名称",icon:"processing",text:"进行中",take:"张三"}],d=[{icon:"pie-chart",con:"选择组件"},{icon:"bar-chart",con:"上传文件组件"},{icon:"dot-chart",con:"卡片式暂无数据组件"},{icon:"line-chart",con:"计数文本框组件"}],u=["组件使用方法","组件使用方法","组件使用方法","组件使用方法","组件使用方法"],_=[{state:"【升级】",title:"1月6日DOS高防(国际)升级通知",url:"https://www.baidu.com"},{state:"【升级】",title:"商标局2021年元旦期间服务器异常停止商标递交申请通知",url:"https://www.antdv.com/"},{state:"【升级】",title:"1月消息列队",url:"https://www.baidu.com"},{state:"【升级】",title:"1月6日DOS高防(国际)升级通知",url:"https://www.baidu.com"},{state:"【升级】",title:"商标局2021年元旦期间服务器异常停止商标递交申请通知",url:"https://www.baidu.com"}],m=[{title:"状态",dataIndex:"status",scopedSlots:{customRender:"status"},key:"status",ellipsis:!0},{title:"数量",dataIndex:"quantity",key:"quantity",ellipsis:!0},{title:"增长率",dataIndex:"tags",key:"tags",scopedSlots:{customRender:"tags"},ellipsis:!0}],p=[{key:"1",icon:"error",text:"超期未完成",quantity:"10",tags:35},{key:"2",icon:"processing",text:"超期完成",quantity:"10",tags:-12},{key:"3",icon:"warning",text:"进行中",quantity:"10",tags:45},{key:"4",icon:"default",text:"未开始",quantity:"10",tags:24}],f=[{index:"1",icon:"copy",txt:"快速开发工具",value:"10.2",arrow:"arrow-down",color:"#5fb38f",url:"https://www.baidu.com"},{index:"2",icon:"snippets",txt:"代码生成器",value:"11.2",arrow:"arrow-up",color:"#ed2e2e",url:"https://www.antdv.com"},{index:"3",icon:"edit",txt:"流程设计器",value:"17.2",url:"https://www.baidu.com"},{index:"4",icon:"fund",txt:"菜单管理",value:"15.2",url:"https://www.antdv.com"},{index:"5",icon:"highlight",txt:"快速开发工具",value:"11.2",arrow:"arrow-down",color:"#5fb38f",url:"https://www.baidu.com"}],v=[{title:"审批",txt:"简单、高效、开放的审批工具",url:"https://www.baidu.com",icon:"ie",color:"#ff7741"},{title:"打卡",txt:"专业智能工具,实现高效考勤管理",url:"https://www.baidu.com",icon:"code-sandbox",color:"#3389ff"},{title:"公告",txt:"重要信息全员播报,特殊安排定向通知",url:"https://www.baidu.com",icon:"medium",color:"#ff7741"},{title:"OKR",txt:"简单实用的团队目标管理工具",url:"https://www.baidu.com",icon:"slack",color:"#00d6b9"},{title:"打卡",txt:"专业智能工具,实现高效考勤管理",url:"https://www.baidu.com",icon:"ant-cloud",color:"#3389ff"}],b={data:function(){return{visible:!1,data:n,detaildata:o,projectcolumns:l,projectdata:c,apidata:d,aiddata:u,noticedata:_,dateFormat:"YYYY-MM-DD",statisticscolumns:m,statisticsdata:p,compile:!1,heatdata:f,adddata:v,dataList:r}},methods:{showModal:function(){this.visible=!0},handleOk:function(t){this.visible=!1},compileshowModal:function(){this.compile=!0},compilehandleOk:function(t){this.compile=!1},callback:function(t){},onSearch:function(t){},modalcallback:function(t){}}},w=b,y=(a("33bd"),a("2877")),h=Object(y["a"])(w,s,i,!1,null,null,null);e["default"]=h.exports},"22bd":function(t,e,a){"use strict";a.r(e);var s=function(){var t=this,e=t._self._c;return e("div",{ref:"portaletDiv",staticClass:"module module01"},[t._m(0),e("a-icon",{staticClass:"card-icon",attrs:{type:"history"}})],1)},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"card"},[e("h3",[t._v("当月任务总数统计")]),e("div",{staticClass:"card-inner"},[e("span",{staticClass:"card-number"},[t._v("150")]),e("span",{staticClass:"card-tag card-green"},[t._v("-15%")])])])}],r={created:function(){},mounted:function(){this.$emit("setHeight",this.$refs.portaletDiv.offsetHeight)},watch:{},components:{},methods:{}},n=r,o=(a("956f"),a("2877")),l=Object(o["a"])(n,s,i,!1,null,"116cb6a9",null);e["default"]=l.exports},"22ca":function(t,e,a){"use strict";a.r(e);var s=function(){var t=this,e=t._self._c;return e("div",{ref:"portaletDiv",staticClass:"module module01"},[t._m(0),e("a-icon",{staticClass:"card-icon",attrs:{type:"transaction"}})],1)},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"card"},[e("h3",[t._v("项目金额总览")]),e("div",{staticClass:"card-inner"},[e("span",{staticClass:"card-number"},[t._v("150032")]),e("span",{staticClass:"card-tag card-blue"},[t._v("+15%")])])])}],r={created:function(){},mounted:function(){this.$emit("setHeight",this.$refs.portaletDiv.offsetHeight)},watch:{},components:{},methods:{}},n=r,o=(a("d870"),a("2877")),l=Object(o["a"])(n,s,i,!1,null,"719af272",null);e["default"]=l.exports},"33bd":function(t,e,a){"use strict";a("69f1")},"36c8":function(t,e,a){},"3fa6":function(t,e,a){},"4c7c":function(t,e,a){"use strict";a.d(e,"a",(function(){return r})),a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return o})),a.d(e,"d",(function(){return l}));var s=a("b775"),i={records:"/notification/records/paging",retry:"/notification/retry",tplCreate:"/notification/tpl/create",tplList:"/notification/tpl/list"};function r(t){return Object(s["b"])({url:i.records,method:"post",data:t})}function n(t){return Object(s["b"])({url:i.retry,method:"post",data:t})}function o(t){return Object(s["b"])({url:i.tplCreate,method:"post",data:t})}function l(t){return Object(s["b"])({url:i.tplList,method:"post",data:t})}},"4f8b":function(t,e,a){"use strict";a("36c8")},"69f1":function(t,e,a){},"75f5":function(t,e,a){"use strict";a.r(e);var s=a("1b6c");e["default"]={STO_GOODS_NOT_ENOUGH:[{name:Object(s["b"])("view.item.sku.wareHouse"),value:"{{.WarehouseName}}"},{name:Object(s["b"])("view.item.list.itemTitle"),value:"{{.Title}}"},{name:Object(s["b"])("view.item.sku.sku_id"),value:"{{.SkuID}}"},{name:Object(s["b"])("view.config.wander.Quantity"),value:"{{.Quantity}}"}],ORD_PAID:[{name:Object(s["b"])("view.config.wander.notify_pars_OrderId"),value:"{{.OrderID}}"},{name:Object(s["b"])("view.order.detail.payment"),value:"{{.Payment}}"}],ORD_SHIPPED:[{name:Object(s["b"])("view.config.wander.notify_pars_OrderId"),value:"{{.OrderID}}"},{name:Object(s["b"])("app.menus.left.setting.express"),value:"{{.LogisticsName}}"},{name:Object(s["b"])("view.config.wander.notify_pars_ShipmentId"),value:"{{.ShipmentID}}"}],ORD_AFTER_SALE:[{name:Object(s["b"])("view.config.wander.notify_pars_OrderId"),value:"{{.OrderID}}"},{name:Object(s["b"])("view.order.list.after_sale_id"),value:"{{.AfterSaleID}}"}],ORD_REFUNDED:[{name:Object(s["b"])("view.config.wander.notify_pars_OrderId"),value:"{{.OrderID}}"},{name:Object(s["b"])("view.order.list.refund_amt"),value:"{{.RefundAmount}}"}],ORD_RECEIVED:[{name:Object(s["b"])("view.config.wander.notify_pars_OrderId"),value:"{{.OrderID}}"},{name:Object(s["b"])("view.config.wander.notify_pars_OrderReceivedTime"),value:"{{.ReceivedTime}}"},{name:Object(s["b"])("view.gangwei.list.shopname"),value:"{{.ShopName}}"},{name:Object(s["b"])("view.order.detail.memberNick"),value:"{{.MemberNick}}"},{name:Object(s["b"])("view.order.detail.memberLastName"),value:"{{.MemberLastName}}"},{name:Object(s["b"])("view.order.detail.memberFirstName"),value:"{{.MemberFirstName}}"}],ORD_RATED:[{name:Object(s["b"])("view.config.wander.notify_pars_OrderId"),value:"{{.OrderID}}"},{name:Object(s["b"])("view.config.wander.notify_pars_OrderRatedTime"),value:"{{.RatedTime}}"},{name:Object(s["b"])("view.gangwei.list.shopname"),value:"{{.ShopName}}"},{name:Object(s["b"])("view.order.detail.memberNick"),value:"{{.MemberNick}}"},{name:Object(s["b"])("view.order.detail.memberLastName"),value:"{{.MemberLastName}}"},{name:Object(s["b"])("view.order.detail.memberFirstName"),value:"{{.MemberFirstName}}"}],SUP_PRODUCT_REVIEW:[{name:Object(s["b"])("view.config.wander.notify_pars_Status"),value:"{{.Status}}"},{name:Object(s["b"])("view.config.notify.template.Instruction"),value:"{{.Instruction}}"}],SUP_ORDER_CREATE:[{name:Object(s["b"])("view.config.notify.template.SupplyOrderID"),value:"{{.SupplyOrderID}}"},{name:Object(s["b"])("view.config.wander.notify_pars_OrderCreateTime"),value:"{{.CreatedTime}}"}],SUP_PRODUCT_SUBMIT:[{name:Object(s["b"])("view.config.wander.notify_pars_Title"),value:"{{.Title}}"},{name:Object(s["b"])("view.config.wander.notify_pars_ImageURL"),value:"{{.SUP_PRODUCT_SUBMIT}}"}],SUP_ORDER_SHIPPED:[{name:Object(s["b"])("view.config.notify.template.SupplyOrderID"),value:"{{.SupplyOrderID}}"}],DIS_PUB_PRODUCT_ON:[{name:Object(s["b"])("view.order.detail.itemTitle"),value:"{{.Title}}"}],DIS_PUB_PRODUCT_OFF:[{name:Object(s["b"])("view.order.detail.itemTitle"),value:"{{.Title}}"}],DIS_PURCHASE_CREATE:[{name:Object(s["b"])("view.config.wander.notify_pars_OrderId"),value:"{{.OrderID}}"}],DIS_PURCHASE_SHIPPED:[{name:Object(s["b"])("view.purchaseOrder.list.purchaseId"),value:"{{.PurchaseID}}"},{name:Object(s["b"])("view.express.express.company"),value:"{{.LogisticsName}}"},{name:Object(s["b"])("view.order.list.tracking_number"),value:"{{.ShipmentID}}"}]}},"76f8":function(t,e,a){"use strict";a.r(e);var s=function(){var t=this,e=t._self._c;return e("div",[e("a-card",{staticClass:"procureList",staticStyle:{"margin-bottom":"10px"},attrs:{bordered:!1}},[e("div",{ref:"search",staticClass:"table-page-search-wrapper"},[e("a-form",{attrs:{labelCol:t.labelCol,wrapperCol:t.wrapperCol}},[e("a-row",{attrs:{type:"flex"}},[e("a-col",{attrs:{lg:11,xl:5,md:16}},[e("a-form-item",{attrs:{label:t.$t("view.purchaseOrder.list.purchaseId"),labelCol:{md:3,sm:8,lg:5},wrapperCol:{lg:14}}},[e("a-input",{model:{value:t.queryParam.purchase_id,callback:function(e){t.$set(t.queryParam,"purchase_id",e)},expression:"queryParam.purchase_id"}})],1)],1),e("a-col",{attrs:{lg:11,xl:5,md:16}},[e("a-form-item",{attrs:{label:t.$t("view.order.list.export.time_select_title"),labelCol:{md:3,sm:8,lg:3},wrapperCol:{lg:21}}},[e("a-range-picker",{staticStyle:{width:"auto"},attrs:{"show-time":""},model:{value:t.exportTime,callback:function(e){t.exportTime=e},expression:"exportTime"}},[e("template",{slot:"renderExtraFooter"})],2)],1)],1),e("a-col",{attrs:{lg:24,xl:14}},[e("span",{staticClass:"table-page-search-submitButtons buttonsTools"},[e("a-button",{attrs:{type:"primary"},on:{click:t.handleQuery}},[e("a-icon",{attrs:{type:"search"}}),t._v(t._s(t.$t("view.order.list.query.btn"))+" ")],1),e("a-button",{staticStyle:{"margin-left":"8px"},on:{click:t.resetQuery}},[e("a-icon",{attrs:{type:"redo"}}),t._v(t._s(t.$t("view.order.list.reset.btn"))+" ")],1),e("purchaseUpload",{staticStyle:{"margin-left":"8px"},on:{uploadBack:function(e){return t.resetQuery()}}}),e("ExcelData",{attrs:{page:t.queryParam.page_no,pageSize:t.queryParam.page_size,total:t.total_count,loadData:t.changeSize,fileName:t.$t("app.menus.left.procure.procureOrder")}})],1)])],1)],1)],1)]),e("a-card",{staticClass:"table-card",attrs:{bordered:!1}},[t.showFaHuoModal?e("fa-huo",{ref:"fauho",attrs:{isEdit:!1},on:{ok:t.getList,close:function(e){t.showFaHuoModal=!1}}}):t._e(),t.orderDetailModal?e("order-detail",{ref:"OrderDetail",on:{close:function(e){t.orderDetailModal=!1}}}):t._e(),e("advance-table",{attrs:{loading:t.loading,size:"middle","row-selection":null,"format-conditions":!1,columns:t.columns,"data-source":t.List,rowKey:"id",tableKey:"procure-order-table",expandedRowKeys:t.expandedRowKeys,pagination:{current:t.queryParam.page_no,pageSize:t.queryParam.page_size,total:t.total_count,showSizeChanger:!1,showLessItems:!1,showQuickJumper:!1,showTotal:function(e,a){return t.$t("view.order.list.table.total",{num:a[0]+"-"+a[1],total:e})},onChange:t.changeSize,onShowSizeChange:t.onShowSizeChange},scroll:{x:"100%"},title:t.$t("view.order.list.list")},scopedSlots:t._u([{key:"purchase_id",fn:function(a){var s=a.text,i=a.record;return e("span",{},[e("div",[e("div",{staticStyle:{display:"flex"}},[e("div",{staticStyle:{width:"100px","text-align":"right","margin-right":"0.5rem"}},[t._v(t._s(t.$t("view.purchaseOrder.list.purchaseId")))]),t._v(" "+t._s(s)+" ")]),1==t.shop_id?e("div",{staticStyle:{display:"flex"}},[e("div",{staticStyle:{width:"100px","text-align":"right","margin-right":"0.5rem"}},[t._v(t._s(t.$t("procure.list.order.order_id"))+" ")]),t._v(" "),e("a",{on:{click:function(e){return t.handleOrderDetail(i)}}},[t._v(t._s(i.main_shop_order.order_id))])]):t._e(),i.out_order_id&&i.sub_shop_id==t.shop_id?e("div",{staticStyle:{display:"flex"}},[e("div",{staticStyle:{width:"100px","text-align":"right","margin-right":"0.5rem"}},[t._v(t._s(t.$t("procure.list.order.order_id"))+" ")]),t._v(" "),e("a",{on:{click:function(e){return t.handleOrderDetail(i)}}},[t._v(t._s(i.out_order_id))])]):t._e(),e("div",{staticStyle:{display:"flex"}},[e("div",{staticStyle:{width:"100px","text-align":"right","margin-right":"0.5rem"}},[t._v(t._s(t.$t("procure.list.order.createTime"))+" ")]),t._v(" "+t._s(i.create_time)+" ")]),1===t.shop_id?e("div",{staticStyle:{display:"flex"}},[e("div",{staticStyle:{width:"100px","text-align":"right","margin-right":"0.5rem"}},[t._v(" "+t._s(t.$t("view.order.detail.ship_from"))+" ")]),e("div",[e("supply-info",{attrs:{shopId:i.sub_shop_id}})],1)]):t._e()])])}},{key:"status",fn:function(a){var s=a.text,i=a.record;return e("span",{},[e("div",["UNPAID"!==s&&"AFTER_SALE"!==s&&"REFUNDED"!==s?e("a",{on:{click:function(e){return t.openFahuo(i)}}},[t._v(t._s(t.$t(s)))]):e("span",[t._v(t._s(t.$t(s)))])])])}},{key:"items",fn:function(a){var s=a.text,i=a.record;return e("span",{},[i.items&&i.items.length?e("div",t._l(i.items,(function(a,r){return e("div",{key:i.purchase_id+"_"+i.id+"_"+r+(a?a.sku_id+"":""),staticStyle:{display:"flex","margin-bottom":"10px"}},[e("div",[e("a-avatar",{attrs:{shape:"square",size:85,src:a.img_url}})],1),e("div",{staticStyle:{"margin-left":"10px",flex:"1"}},[e("a-row",{attrs:{type:"flex"}},[e("a-col",{attrs:{flex:3}},[t._v(" "+t._s(a.title)+" ")])],1),e("a-row",{attrs:{type:"flex"}},[e("a-col",[t._v(" "+t._s((i.currency||"")+" "+a.price)+" ")]),e("a-col",{staticStyle:{"padding-left":"10px"},attrs:{flex:3}},[e("a-icon",{staticStyle:{"font-size":"10px","margin-right":"0","padding-right":"0"},attrs:{type:"close"}}),t._v(" "+t._s(a.num)+" ")],1)],1),e("a-row",{attrs:{type:"flex"}},[e("a-col",{attrs:{flex:3}},["string"==typeof a.sku_prop?e("span",[t._v(" "+t._s(a.sku_prop)+" ")]):e("span",t._l(a.sku_prop,(function(a,s){return e("div",{key:s},[e("span",[t._v(t._s(s)+":"+t._s(a))])])})),0)])],1),e("a-row",[e("a-col",{attrs:{flex:3}},[t._v(" "+t._s(t.$t("view.item.sku.barcode"))+" : "+t._s(a.barcode)+" ")]),e("a-col",{attrs:{flex:3}},[t._v(" "+t._s(t.$t("view.item.sku.out_id"))+" : "+t._s(a.out_id)+" ")]),e("a-col",{attrs:{flex:3}},[t._v(" "+t._s(t.$t("view.purchaseOrder.list.items.totalfee"))+" : "+t._s(i.currency+" "+a.payment)+" ")])],1),r<s.length-1?e("a-divider"):t._e()],1)])})),0):t._e()])}},{key:"payment",fn:function(a){var s=a.text,i=a.record;return e("span",{},[e("div",[t._v(t._s((i.currency||"")+" "+s))])])}},{key:"post_fee",fn:function(a){var s=a.text,i=a.record;return e("span",{},[e("div",[t._v(t._s((i.currency||"")+" "+s))])])}},{key:"paymemberInfo",fn:function(a){var s=a.record;return e("span",{},[e("a-row",[s.last_name&&""!==s.last_name?e("a-col",{attrs:{lg:24}},[t._v(" "+t._s(t.$t("view.order.detail.ship_last_name"))+" : "+t._s(s.last_name)+" ")]):t._e(),s.first_name&&""!==s.first_name?e("a-col",{attrs:{lg:24}},[t._v(" "+t._s(t.$t("view.order.detail.ship_first_name"))+" : "+t._s(s.first_name)+" ")]):t._e(),s.phone&&""!=s.phone?e("a-col",{attrs:{lg:24}},[t._v(" "+t._s(t.$t("view.order.detail.ship_phone"))+" : "+t._s(s.phone)+" ")]):t._e(),e("a-col",{attrs:{lg:24}},[t._v(" "+t._s(t.$t("view.order.detail.ship_country"))+" : "),e("fanyi-list",{attrs:{list:[s.country]}})],1),e("a-col",{attrs:{lg:24}},[t._v(" "+t._s(t.$t("view.order.detail.ship_state"))+" : "+t._s(s.state)+" ")]),e("a-col",{attrs:{lg:24}},[t._v(" "+t._s(t.$t("view.order.detail.ship_city"))+" : "+t._s(s.city)+" ")]),e("a-col",{attrs:{lg:24}},[t._v(" "+t._s(t.$t("view.order.detail.ship_street"))+" : "+t._s(s.street)+" ")]),e("a-col",{attrs:{lg:24}},[t._v(" "+t._s(t.$t("view.order.detail.ship_men"))+" : "+t._s(s.apartment)+" ")]),e("a-col",{attrs:{lg:24}},[t._v(" "+t._s(t.$t("view.order.detail.zipcode"))+" : "+t._s(s.zip_code)+" ")]),e("a-col",{attrs:{lg:24}},[e("a-button",{directives:[{name:"show",rawName:"v-show",value:"ORDER_WAIT_SHIP"===s.status,expression:"record.status === 'ORDER_WAIT_SHIP'"}],attrs:{type:"primary"},on:{click:function(e){return t.handleModifyShipping(s)}}},[t._v(" "+t._s(t.$t("view.system.resourcegroup.Update"))+" ")])],1)],1)],1)}},{key:"operation",fn:function(a){var s=a.record;return e("span",{},[t.shop_id==s.sub_shop_id&&"PAID"==s.status?e("procureApply",{attrs:{order:s},on:{okAftersale:t.getList}}):t._e(),"UNPAID"==s.status&&t.shop_id==s.sub_shop_id?e("a-divider",{attrs:{type:"vertical"}}):t._e(),t.shop_id==s.sub_shop_id?e("complaint-form",{attrs:{refId:s.purchase_id,orderId:s.out_order_id&&s.sub_shop_id==t.shop_id?s.out_order_id:1==t.shop_id?s.main_shop_order.order_id:"",type:"procure"},on:{ok:t.handleQuery}}):t._e(),"UNPAID"==s.status&&t.shop_id==s.sub_shop_id?e("a-divider",{attrs:{type:"vertical"}}):t._e(),t.shop_id!=s.sub_shop_id||t.loading?t._e():e("complaintDetail",{attrs:{orderId:s.purchase_id,type:"procure"}}),"UNPAID"==s.status?e("a-divider",{attrs:{type:"vertical"}}):t._e(),"UNPAID"==s.status?e("a",{on:{click:function(e){return t.closeProcure(s)}}},[t._v(" "+t._s(t.$t("wechat.pay.setting.close"))+" ")]):t._e(),"AFTER_SALE"==s.status?e("a-divider",{attrs:{type:"vertical"}}):t._e(),"AFTER_SALE"==s.status?e("a",{on:{click:function(e){return t.cancelAfterSale(s)}}},[t._v(" "+t._s(t.$t("view.order.list.aftersale.cancel.btn"))+" ")]):t._e(),"UNPAID"==s.status?e("h5pay",{ref:"h5Pay"+s.purchase_id,attrs:{orderId:s.purchase_id},on:{paySuccess:t.getList}}):t._e()],1)}}])},[e("div",{staticClass:"table-operations",attrs:{slot:"button"},slot:"button"},[e("div",[1!==t.shop_id?e("recharge-main-shop",{staticStyle:{"margin-right":"10px"},attrs:{rechargeVisible:!0}}):t._e(),1!==t.shop_id?e("procureAdd",{attrs:{type:"goods"},on:{backList:t.getList}}):t._e()],1)])])],1)],1)},i=[],r=a("5530"),n=a("bdcb"),o=Object(r["a"])({},n["default"]),l=o,c=(a("4f8b"),a("2877")),d=Object(c["a"])(l,s,i,!1,null,null,null);e["default"]=d.exports},"89c3":function(t,e,a){"use strict";a.r(e);var s=a("5530"),i=(a("4e82"),a("7db0"),a("d3b7"),a("b0c0"),a("4c7c")),r=a("5d9e"),n=a("2f62"),o=a("1b6c"),l=a("75f5");e["default"]={name:"wanderTemplate",data:function(){return{formData:{id:0,subject:"",sender_type:"",sort:"",body:"",status:""},columns:[{title:Object(o["b"])("view.config.wander.id"),dataIndex:"id",key:"id",width:"10%"},{title:Object(o["b"])("view.config.wander.title"),dataIndex:"subject",key:"subject",width:"10%",scopedSlots:{customRender:"subject"}},{title:Object(o["b"])("view.config.wander.template_type"),dataIndex:"sender_type",key:"sender_type",width:"10%",scopedSlots:{customRender:"sender_type"}},{title:Object(o["b"])("view.config.wander.sort"),dataIndex:"sort",key:"sort",width:"20%",scopedSlots:{customRender:"sort"}},{title:Object(o["b"])("view.config.wander.body"),dataIndex:"body",key:"body",width:"35%",ellipsis:!0},{title:Object(o["b"])("view.config.wander.action"),dataIndex:"action",key:"action",width:"5%",scopedSlots:{customRender:"action"}}],data:[],ModalText:"",sender_type:[{name:Object(o["b"])("view.config.wander.SMS"),value:"SMS"},{name:Object(o["b"])("view.config.wander.EMAIL"),value:"EMAIL"},{name:Object(o["b"])("view.config.wander.DING_TALK"),value:"DING_TALK"},{name:Object(o["b"])("view.config.wander.WECHAT_BUSINESS"),value:"WECHAT_BUSINESS"}],catList:[{name:Object(o["b"])("view.config.wander.ORD_PAID"),value:"ORD_PAID"},{name:Object(o["b"])("view.config.wander.ORD_SHIPPED"),value:"ORD_SHIPPED"},{name:Object(o["b"])("view.config.wander.ORD_RECEIVED"),value:"ORD_RECEIVED"},{name:Object(o["b"])("view.config.wander.ORD_RATED"),value:"ORD_RATED"},{name:Object(o["b"])("view.config.wander.ORD_AFTER_SALE"),value:"ORD_AFTER_SALE"},{name:Object(o["b"])("view.config.wander.ORD_REFUNDED"),value:"ORD_REFUNDED"},{name:Object(o["b"])("view.config.wander.MAR_PRODUCT_NEW"),value:"MAR_PRODUCT_NEW"},{name:Object(o["b"])("view.config.wander.MAR_COUPON_GIVEAWAY"),value:"MAR_COUPON_GIVEAWAY"},{name:Object(o["b"])("view.config.wander.SUP_PRODUCT_SUBMIT"),value:"SUP_PRODUCT_SUBMIT"},{name:Object(o["b"])("view.config.wander.SUP_PRODUCT_REVIEW"),value:"SUP_PRODUCT_REVIEW"},{name:Object(o["b"])("view.config.wander.SUP_ORDER_CREATE"),value:"SUP_ORDER_CREATE"},{name:Object(o["b"])("view.config.wander.SUP_ORDER_SHIPPED"),value:"SUP_ORDER_SHIPPED"},{name:Object(o["b"])("view.config.wander.DIS_PUB_PRODUCT_ON"),value:"DIS_PUB_PRODUCT_ON"},{name:Object(o["b"])("view.config.wander.DIS_PUB_PRODUCT_OFF"),value:"DIS_PUB_PRODUCT_OFF"},{name:Object(o["b"])("view.config.wander.DIS_PURCHASE_CREATE"),value:"DIS_PURCHASE_CREATE"},{name:Object(o["b"])("view.config.wander.DIS_PURCHASE_SHIPPED"),value:"DIS_PURCHASE_SHIPPED"},{name:Object(o["b"])("view.config.wander.STO_GOODS_NOT_ENOUGH"),value:"STO_GOODS_NOT_ENOUGH"},{name:Object(o["b"])("view.config.wander.INT_USER_COMMENTS"),value:"INT_USER_COMMENTS"},{name:Object(o["b"])("view.config.wander.INT_USER_FEEDBACK"),value:"INT_USER_FEEDBACK"},{name:Object(o["b"])("view.config.wander.UPSTREAM_GOOD_PRICE_CHANGE"),value:"UPSTREAM_GOOD_PRICE_CHANGE"}],status:[{name:Object(o["b"])("view.config.wander.status_1"),value:1},{name:Object(o["b"])("view.config.wander.status_2"),value:2}],visible:!1,confirmLoading:!1,queryParams:{sort:"",sender_type:"",subject:""},labelCol:{md:8,sm:8,lg:6},wrapperCol:{md:16,sm:16,lg:16}}},components:{AdvanceTable:r["default"]},computed:Object(s["a"])(Object(s["a"])({},Object(n["c"])(["shopId"])),{},{Notifyfields:function(){return-1!==this.formData.sort.indexOf("STO_GOODS_NOT_ENOUGH")?l["default"].STO_GOODS_NOT_ENOUGH:-1!==this.formData.sort.indexOf("ORD_PAID")?l["default"].ORD_PAID:-1!==this.formData.sort.indexOf("ORD_SHIPPED")?l["default"].ORD_SHIPPED:l["default"][this.formData.sort]||[]}}),created:function(){this.getList()},methods:{getList:function(){var t=this;Object(i["d"])(this.queryParams).then((function(e){0===e.code&&e.list&&e.list.length>0?t.data=e.list:t.data=[]}))},handleAdd:function(){this.visible=!0,this.formData={id:0,subject:"",sender_type:"",sort:"",body:"",status:""}},handleOk:function(){var t=this,e=this;if(""===e.formData.sender_type||""===e.formData.sort||""===e.formData.body)return this.$message.info(Object(o["b"])("view.config.wander.message")),!1;var a={};"SMS"===e.formData.sender_type?a.subject="蜂洞":a.subject=e.formData.subject,e.formData.id>0?(a.id=e.formData.id,a.sender_type=e.formData.sender_type,a.sort=e.formData.sort,a.body=e.formData.body,a.status=e.formData.status,Object(i["c"])(a).then((function(a){0===a.code&&(t.$message.info(a.message),e.formData={id:"",title:"",sender_type:"",sort:"",body:"",status:""}),e.getList(),e.visible=!1,e.confirmLoading=!1}))):(a.sender_type=e.formData.sender_type,a.sort=e.formData.sort,a.body=e.formData.body,a.status=e.formData.status,Object(i["c"])(a).then((function(a){a.id>0&&(t.$message.info(a.message),e.formData={id:"",title:"",sender_type:"",sort:"",body:"",status:""}),e.getList(),e.visible=!1,e.confirmLoading=!1})))},handleGet:function(t){this.formData=t,this.visible=!0},handleCancel:function(t){this.visible=!1,this.formData={id:"",title:"",sender_type:"",sort:"",body:"",status:""}},getTemplateName:function(t){var e=this,a=e.sender_type.find((function(e){return e.value===t}));return a?a.name:""},getOrderStatusName:function(t){var e=this,a=e.catList.find((function(e){return e.value===t}));return a?a.name:""},getStatusName:function(t){var e=this,a=e.status.find((function(e){return e.value===t}));return a?a.name:""},selectNotifyPars:function(t){var e=this;e.formData.body=e.formData.body+t},resetQuery:function(){this.queryParams={sort:"",sender_type:"",subject:""},this.getList()}}}},"956f":function(t,e,a){"use strict";a("abc2")},abc2:function(t,e,a){},b091:function(t,e,a){"use strict";a("3fa6")},bcc2:function(t,e,a){"use strict";a.r(e);var s=a("5530"),i=(a("7db0"),a("d3b7"),a("b0c0"),a("4c7c")),r=a("5d9e"),n=a("2f62"),o=a("1b6c");e["default"]={name:"wanderTemplate",data:function(){return{columns:[{title:Object(o["b"])("view.config.wander.id"),dataIndex:"id",key:"id",width:"10%"},{title:Object(o["b"])("view.config.wander.title"),dataIndex:"subject",key:"subject",width:"10%",scopedSlots:{customRender:"subject"}},{title:Object(o["b"])("view.config.wander.template_type"),dataIndex:"sender_type",key:"sender_type",width:"10%",scopedSlots:{customRender:"sender_type"}},{title:Object(o["b"])("view.config.wander.sort"),dataIndex:"sort",key:"sort",width:"20%",scopedSlots:{customRender:"sort"}},{title:Object(o["b"])("view.config.wander.body"),dataIndex:"body",key:"body",width:"35%",ellipsis:!0},{title:Object(o["b"])("view.config.notification.status"),dataIndex:"status",key:"status",width:"10%",ellipsis:!0},{title:Object(o["b"])("view.config.wander.action"),dataIndex:"action",key:"action",width:"5%",scopedSlots:{customRender:"action"}}],data:[],ModalText:"",sender_type:[{name:Object(o["b"])("view.config.wander.SMS"),value:"SMS"},{name:Object(o["b"])("view.config.wander.EMAIL"),value:"EMAIL"},{name:Object(o["b"])("view.config.wander.DING_TALK"),value:"DING_TALK"},{name:Object(o["b"])("view.config.wander.WECHAT_BUSINESS"),value:"WECHAT_BUSINESS"}],catList:[{name:Object(o["b"])("view.config.wander.ORD_PAID"),value:"ORD_PAID"},{name:Object(o["b"])("view.config.wander.ORD_SHIPPED"),value:"ORD_SHIPPED"},{name:Object(o["b"])("view.config.wander.ORD_RECEIVED"),value:"ORD_RECEIVED"},{name:Object(o["b"])("view.config.wander.ORD_RATED"),value:"ORD_RATED"},{name:Object(o["b"])("view.config.wander.ORD_AFTER_SALE"),value:"ORD_AFTER_SALE"},{name:Object(o["b"])("view.config.wander.ORD_REFUNDED"),value:"ORD_REFUNDED"},{name:Object(o["b"])("view.config.wander.MAR_PRODUCT_NEW"),value:"MAR_PRODUCT_NEW"},{name:Object(o["b"])("view.config.wander.MAR_COUPON_GIVEAWAY"),value:"MAR_COUPON_GIVEAWAY"},{name:Object(o["b"])("view.config.wander.SUP_PRODUCT_SUBMIT"),value:"SUP_PRODUCT_SUBMIT"},{name:Object(o["b"])("view.config.wander.SUP_PRODUCT_REVIEW"),value:"SUP_PRODUCT_REVIEW"},{name:Object(o["b"])("view.config.wander.SUP_ORDER_CREATE"),value:"SUP_ORDER_CREATE"},{name:Object(o["b"])("view.config.wander.SUP_ORDER_SHIPPED"),value:"SUP_ORDER_SHIPPED"},{name:Object(o["b"])("view.config.wander.DIS_PUB_PRODUCT_ON"),value:"DIS_PUB_PRODUCT_ON"},{name:Object(o["b"])("view.config.wander.DIS_PUB_PRODUCT_OFF"),value:"DIS_PUB_PRODUCT_OFF"},{name:Object(o["b"])("view.config.wander.DIS_PURCHASE_CREATE"),value:"DIS_PURCHASE_CREATE"},{name:Object(o["b"])("view.config.wander.DIS_PURCHASE_SHIPPED"),value:"DIS_PURCHASE_SHIPPED"},{name:Object(o["b"])("view.config.wander.STO_GOODS_NOT_ENOUGH"),value:"STO_GOODS_NOT_ENOUGH"},{name:Object(o["b"])("view.config.wander.INT_USER_COMMENTS"),value:"INT_USER_COMMENTS"},{name:Object(o["b"])("view.config.wander.INT_USER_FEEDBACK"),value:"INT_USER_FEEDBACK"},{name:Object(o["b"])("view.config.wander.UPSTREAM_GOOD_PRICE_CHANGE"),value:"UPSTREAM_GOOD_PRICE_CHANGE"}],status:[{name:Object(o["b"])("view.config.wander.status_1"),value:1},{name:Object(o["b"])("view.config.wander.status_2"),value:2}],confirmLoading:!1,queryParams:{page_no:1,page_size:10},total:0,labelCol:{md:8,sm:8,lg:6},wrapperCol:{md:16,sm:16,lg:16}}},components:{AdvanceTable:r["default"]},computed:Object(s["a"])({},Object(n["c"])(["shopId"])),created:function(){this.getList()},methods:{getList:function(){var t=this;Object(i["a"])(this.queryParams).then((function(e){if(0===e.code){var a=t;e.list?e.list.length>0&&(a.data=e.list):a.data=[],a.total=e.total}else t.data=[]}))},retry:function(t){var e=this;this.$confirm({title:this.$t("view.config.wander.retryTitle",{id:t.id}),content:this.$t("view.config.wander.retry_confirm"),onOk:function(){Object(i["b"])({record_id:t.id}).then((function(t){0===t.code&&e.$message.success(Object(o["b"])("view.config.wander.retry_success"))}))}})},getTemplateName:function(t){var e=this,a=e.sender_type.find((function(e){return e.value===t}));return a?a.name:""},getOrderStatusName:function(t){var e=this,a=e.catList.find((function(e){return e.value===t}));return a?a.name:""},getStatusName:function(t){var e=this,a=e.status.find((function(e){return e.value===t}));return a?a.name:""},selectNotifyPars:function(t){var e=this;e.formData.body=e.formData.body+t},changeSize:function(t,e){this.queryParams.page_no=t,this.queryParams.page_size=e,this.getList()},resetQuery:function(){this.queryParams={page_no:1,page_size:10},this.getList()}}}},c7d7:function(t,e,a){"use strict";a.r(e);a("4e82"),a("b0c0");var s=function(){var t=this,e=t._self._c;return e("div",[e("a-card",{staticStyle:{"margin-bottom":"10px",padding:"10px"},attrs:{bordered:!1}},[e("a-form",{attrs:{labelCol:t.labelCol,wrapperCol:t.wrapperCol}},[e("a-row",{attrs:{gutter:12,type:"flex"}},[e("a-col",{attrs:{lg:7,xl:6}},[e("a-form-item",{attrs:{label:t.$t("view.config.wander.queryParams.keywords")}},[e("div",{staticStyle:{display:"flex","align-items":"center"}},[e("a-input",{attrs:{placeholder:t.$t("view.config.wander.queryParams.keywords")},model:{value:t.queryParams.keywords,callback:function(e){t.$set(t.queryParams,"keywords",e)},expression:"queryParams.keywords"}})],1)])],1),e("a-col",{attrs:{lg:7,xl:6}},[e("a-form-item",{attrs:{label:t.$t("view.config.wander.sort")}},[e("div",{staticStyle:{display:"flex","align-items":"center"}},[e("a-select",{staticStyle:{width:"100%"},model:{value:t.queryParams.sort,callback:function(e){t.$set(t.queryParams,"sort",e)},expression:"queryParams.sort"}},t._l(t.catList,(function(a,s){return e("a-select-option",{key:s,attrs:{value:a.value}},[t._v(" "+t._s(a.name))])})),1)],1)])],1),e("a-col",{attrs:{lg:7,xl:6}},[e("span",{staticClass:"table-page-search-submitButtons buttonsTools"},[e("a-button",{attrs:{type:"primary"},on:{click:t.getList}},[e("a-icon",{attrs:{type:"search"}}),t._v(t._s(t.$t("view.order.list.query.btn"))+" ")],1),e("a-button",{staticStyle:{"margin-left":"8px"},on:{click:t.resetQuery}},[e("a-icon",{attrs:{type:"redo"}}),t._v(t._s(t.$t("view.order.list.reset.btn"))+" ")],1)],1)])],1)],1),e("a-table",{attrs:{columns:t.columns,"data-source":t.data,pagination:{current:t.queryParams.page_no,pageSize:t.queryParams.page_size,total:t.total,showSizeChanger:!1,showLessItems:!1,showQuickJumper:!1,showTotal:function(e,a){return t.$t("view.attach.list.table.num",{num:a[0]+"-"+a[1],total:e})},onChange:t.changeSize,hideOnSinglePage:!1}},scopedSlots:t._u([{key:" template_type",fn:function(a,s){return e("span",{},[t._v(" "+t._s(t.getTemplateName(s.template_type))+" ")])}},{key:"sort",fn:function(a,s){return e("span",{},[t._v(" "+t._s(t.getOrderStatusName(s.sort))+" ")])}},{key:"status",fn:function(a,s){return e("span",{},[t._v(" "+t._s(t.getOrderStatusName(s.status))+" ")])}},{key:"action",fn:function(a,s){return e("a",{},[e("a-button",{attrs:{type:"primary"},on:{click:function(e){return t.retry(s)}}},[t._v(t._s(t.$t("view.config.wander.retry")))])],1)}}])})],1)],1)},i=[],r=a("5530"),n=a("bcc2"),o=Object(r["a"])({},n["default"]),l=o,c=a("2877"),d=Object(c["a"])(l,s,i,!1,null,null,null);e["default"]=d.exports},cab1:function(t,e,a){},d870:function(t,e,a){"use strict";a("cab1")},def3:function(t,e,a){"use strict";a.r(e);a("4e82"),a("b0c0");var s=function(){var t=this,e=t._self._c;return e("div",[e("a-card",{staticStyle:{"margin-bottom":"10px",padding:"10px"},attrs:{bordered:!0}},[e("a-form",{attrs:{labelCol:t.labelCol,wrapperCol:t.wrapperCol}},[e("a-row",{attrs:{gutter:12,type:"flex"}},[e("a-col",{attrs:{lg:7,xl:6}},[e("a-form-item",{attrs:{label:t.$t("view.config.wander.title")}},[e("div",{staticStyle:{display:"flex","align-items":"center"}},[e("a-input",{attrs:{placeholder:t.$t("view.config.wander.title")},model:{value:t.queryParams.subject,callback:function(e){t.$set(t.queryParams,"subject",e)},expression:"queryParams.subject"}})],1)])],1),e("a-col",{attrs:{lg:7,xl:6}},[e("a-form-item",{attrs:{label:t.$t("view.config.wander.sort")}},[e("div",{staticStyle:{display:"flex","align-items":"center"}},[e("a-select",{staticStyle:{width:"100%"},model:{value:t.queryParams.sort,callback:function(e){t.$set(t.queryParams,"sort",e)},expression:"queryParams.sort"}},t._l(t.catList,(function(a,s){return e("a-select-option",{key:s,attrs:{value:a.value}},[t._v(" "+t._s(a.name))])})),1)],1)])],1),e("a-col",{attrs:{lg:7,xl:6}},[e("a-form-item",{attrs:{label:t.$t("view.config.wander.template_type")}},[e("div",{staticStyle:{display:"flex","align-items":"center"}},[e("a-select",{staticStyle:{width:"100%"},model:{value:t.queryParams.sender_type,callback:function(e){t.$set(t.queryParams,"sender_type",e)},expression:"queryParams.sender_type"}},t._l(t.sender_type,(function(a,s){return e("a-select-option",{key:s,attrs:{value:a.value}},[t._v(" "+t._s(a.name))])})),1)],1)])],1),e("a-col",{attrs:{lg:7,xl:6}},[e("span",{staticClass:"table-page-search-submitButtons buttonsTools"},[e("a-button",{attrs:{type:"primary"},on:{click:t.getList}},[e("a-icon",{attrs:{type:"search"}}),t._v(t._s(t.$t("view.order.list.query.btn"))+" ")],1),e("a-button",{staticStyle:{"margin-left":"8px"},on:{click:t.resetQuery}},[e("a-icon",{attrs:{type:"redo"}}),t._v(t._s(t.$t("view.order.list.reset.btn"))+" ")],1),e("a-button",{staticClass:"editable-add-btn",staticStyle:{"margin-left":"8px","margin-bottom":"5px"},on:{click:t.handleAdd}},[t._v(t._s(t.$t("view.config.wander.add.button")))])],1)])],1)],1),e("a-table",{attrs:{columns:t.columns,"data-source":t.data},scopedSlots:t._u([{key:"template_type",fn:function(a,s){return e("span",{},[t._v(" "+t._s(t.getTemplateName(s.template_type))+" ")])}},{key:"sort",fn:function(a,s){return e("span",{},[t._v(" "+t._s(t.getOrderStatusName(s.sort))+" ")])}},{key:"status",fn:function(a,s){return e("span",{},[t._v(" "+t._s(t.getStatusName(s.status))+" ")])}},{key:"action",fn:function(a,s){return e("a",{},[e("a-button",{attrs:{type:"primary"},on:{click:function(e){return t.handleGet(s)}}},[t._v(t._s(t.$t("view.config.wander.edit.title")))])],1)}}])})],1),e("a-modal",{attrs:{title:t.formData.id?t.$t("view.config.wander.add.title"):t.$t("view.config.wander.add.button"),visible:t.visible,"confirm-loading":t.confirmLoading,maskClosable:!1},on:{ok:t.handleOk,cancel:t.handleCancel}},[e("div",{staticClass:"custom-scroll"},[e("a-form-model",{attrs:{layout:"horizontal"}},[e("a-row",[e("a-col",[e("a-form-model-item",{attrs:{label:t.$t("view.config.wander.template_type")}},[e("a-select",{staticStyle:{width:"100%"},model:{value:t.formData.sender_type,callback:function(e){t.$set(t.formData,"sender_type",e)},expression:"formData.sender_type"}},t._l(t.sender_type,(function(a,s){return e("a-select-option",{key:s,attrs:{value:a.value}},[t._v(" "+t._s(a.name))])})),1)],1),"EMAIL"==t.formData.sender_type?e("a-form-model-item",{attrs:{label:t.$t("view.config.wander.title")}},[e("a-input",{staticStyle:{width:"100%"},attrs:{placeholder:t.$t("view.config.wander.title")},model:{value:t.formData.subject,callback:function(e){t.$set(t.formData,"subject",e)},expression:"formData.subject"}})],1):t._e(),e("a-form-model-item",{attrs:{label:t.$t("view.config.wander.sort")}},[e("a-select",{staticStyle:{width:"100%"},model:{value:t.formData.sort,callback:function(e){t.$set(t.formData,"sort",e)},expression:"formData.sort"}},t._l(t.catList,(function(a,s){return e("a-select-option",{key:s,attrs:{value:a.value}},[t._v(" "+t._s(a.name))])})),1)],1),e("a-form-model-item",{attrs:{label:t.$t("view.config.wander.notify_pars")}},[e("a-select",{staticStyle:{width:"100%"},on:{change:t.selectNotifyPars}},t._l(t.Notifyfields,(function(a,s){return e("a-select-option",{key:s,attrs:{value:a.value}},[t._v(" "+t._s(a.name))])})),1)],1),e("a-form-model-item",{attrs:{label:t.$t("view.config.wander.body")}},[e("a-textarea",{staticStyle:{width:"100%"},attrs:{placeholder:t.$t("view.config.wander.body"),"auto-size":{minRows:3,maxRows:5}},model:{value:t.formData.body,callback:function(e){t.$set(t.formData,"body",e)},expression:"formData.body"}})],1)],1)],1)],1)],1)])],1)},i=[],r=a("5530"),n=a("89c3"),o=Object(r["a"])({},n["default"]),l=o,c=a("2877"),d=Object(c["a"])(l,s,i,!1,null,null,null);e["default"]=d.exports},f65b:function(t,e,a){"use strict";a.r(e);var s=function(){var t=this,e=t._self._c;return e("div",{ref:"portaletDiv",staticClass:"module module01"},[e("div",{staticClass:"card"},[e("h3",[t._v("当月任务完成情况总览")]),e("div",{staticClass:"card-inner"},[e("div",{staticClass:"card-progress"},[e("a-progress",{attrs:{percent:72,"stroke-width":12,status:"active"}})],1)])]),e("a-icon",{staticClass:"card-icon",attrs:{type:"pie-chart"}})],1)},i=[],r={created:function(){},mounted:function(){this.$emit("setHeight",this.$refs.portaletDiv.offsetHeight)},watch:{},components:{},methods:{}},n=r,o=(a("b091"),a("2877")),l=Object(o["a"])(n,s,i,!1,null,"b520e8c8",null);e["default"]=l.exports}}]);