@bee-hole/admin 1.25.67 → 1.25.68
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.
- package/dist/css/app~f075b844.227b6634.css +1 -0
- package/dist/css/app~f075b844.227b6634.css.gz +0 -0
- package/dist/css/chunk-2632938e.be4b42c5.css +1 -0
- package/dist/css/chunk-2632938e.be4b42c5.css.gz +0 -0
- package/dist/css/lang-zh-TW-service~f63b1681.926866c5.css +1 -0
- package/dist/css/lang-zh-TW-service~f63b1681.926866c5.css.gz +0 -0
- package/dist/index.html +1 -1
- package/dist/js/app~f075b844.fb583a95.js +1 -0
- package/dist/js/app~f075b844.fb583a95.js.gz +0 -0
- package/dist/js/chunk-03e1387e.c1841282.js +1 -0
- package/dist/js/chunk-03e1387e.c1841282.js.gz +0 -0
- package/dist/js/chunk-2632938e.d0b63928.js +1 -0
- package/dist/js/chunk-2632938e.d0b63928.js.gz +0 -0
- package/dist/js/chunk-458b8d3f.8cbf9c40.js +1 -0
- package/dist/js/chunk-458b8d3f.8cbf9c40.js.gz +0 -0
- package/dist/js/{chunk-fa04ce72.8dca4792.js → chunk-7454876a.3bba909c.js} +1 -1
- package/dist/js/chunk-7454876a.3bba909c.js.gz +0 -0
- package/dist/js/chunk-75d4a000.4c7d3eb8.js +1 -0
- package/dist/js/chunk-75d4a000.4c7d3eb8.js.gz +0 -0
- package/dist/js/{chunk-917b8bb0.fcabd3ed.js → chunk-917b8bb0.9e8210ff.js} +1 -1
- package/dist/js/chunk-917b8bb0.9e8210ff.js.gz +0 -0
- package/dist/js/{lang-package~4e34e71e.71a38bd5.js → lang-package~4e34e71e.67837520.js} +3 -3
- package/dist/js/lang-package~4e34e71e.67837520.js.gz +0 -0
- package/dist/js/lang-zh-TW-service~f63b1681.2a6156e4.js +1 -0
- package/dist/js/lang-zh-TW-service~f63b1681.2a6156e4.js.gz +0 -0
- package/package.json +1 -1
- package/dist/css/app~f075b844.4aae2ceb.css +0 -1
- package/dist/css/app~f075b844.4aae2ceb.css.gz +0 -0
- package/dist/css/chunk-27080981.93d8680d.css +0 -1
- package/dist/css/chunk-27080981.93d8680d.css.gz +0 -0
- package/dist/css/lang-zh-TW-service~f63b1681.945204f2.css +0 -1
- package/dist/css/lang-zh-TW-service~f63b1681.945204f2.css.gz +0 -0
- package/dist/js/app~f075b844.0af1593f.js +0 -1
- package/dist/js/app~f075b844.0af1593f.js.gz +0 -0
- package/dist/js/chunk-03e1387e.847d9507.js +0 -1
- package/dist/js/chunk-03e1387e.847d9507.js.gz +0 -0
- package/dist/js/chunk-172cb599.4442da16.js +0 -1
- package/dist/js/chunk-172cb599.4442da16.js.gz +0 -0
- package/dist/js/chunk-27080981.b2f6f46b.js +0 -1
- package/dist/js/chunk-27080981.b2f6f46b.js.gz +0 -0
- package/dist/js/chunk-75d4a000.9de1b22d.js +0 -1
- package/dist/js/chunk-75d4a000.9de1b22d.js.gz +0 -0
- package/dist/js/chunk-917b8bb0.fcabd3ed.js.gz +0 -0
- package/dist/js/chunk-fa04ce72.8dca4792.js.gz +0 -0
- package/dist/js/lang-package~4e34e71e.71a38bd5.js.gz +0 -0
- package/dist/js/lang-zh-TW-service~f63b1681.81c164fa.js +0 -1
- package/dist/js/lang-zh-TW-service~f63b1681.81c164fa.js.gz +0 -0
- /package/dist/css/{chunk-172cb599.d6e9a16a.css → chunk-458b8d3f.d6e9a16a.css} +0 -0
- /package/dist/css/{chunk-fa04ce72.3a09c127.css → chunk-7454876a.3a09c127.css} +0 -0
- /package/dist/css/{chunk-fa04ce72.3a09c127.css.gz → chunk-7454876a.3a09c127.css.gz} +0 -0
- /package/dist/js/{chunk-d323928e.047284ca.js → chunk-d323928e.90f83bb3.js} +0 -0
- /package/dist/js/{chunk-d323928e.047284ca.js.gz → chunk-d323928e.90f83bb3.js.gz} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-27080981"],{"0953":function(t,e,a){"use strict";a.r(e);var s=function(){var t=this,e=t._self._c;return e("span",[e("a-button",{attrs:{type:"primary"},on:{click:t.handleClick}},[t._v(t._s(t.$t("view.order.list.ship.list.shippings")))]),e("ant-modal",{attrs:{visible:t.visable,"modal-title":t.formTitle,"adjust-size":!0,modalHeight:"600",modalWidth:"800"},on:{cancel:function(e){return t.closeModal()}}},[e("div",{staticClass:"orderDetail",attrs:{slot:"content"},slot:"content"},[e("a-form-model",t._b({ref:"form",attrs:{model:t.shipForm}},"a-form-model",t.itemLayout,!1),[e("a-form-model-item",{attrs:{"has-feedback":"",label:"",prop:"shipment_id"}},[e("div",[t._v(t._s(t.$t("view.order.list.ship.list.label")))]),e("a-textarea",{attrs:{rows:10,placeholder:t.$t("view.order.list.ship.list.placeholder")},model:{value:t.shipForm.ships,callback:function(e){t.$set(t.shipForm,"ships",e)},expression:"shipForm.ships"}}),e("template",{slot:"help"},[t._v(" "+t._s(t.$t("view.order.list.ship.list.ships.help"))+" ")])],2),e("a-form-model-item",{attrs:{"has-feedback":"",label:"",prop:"shipment_id"}},[e("div",{staticStyle:{display:"flex","align-items":"center"}},[e("div",{staticStyle:{width:"200px"}},[e("a-select",{staticStyle:{width:"100%"},on:{change:t.handleChange1},model:{value:t.shipForm.logistics_name,callback:function(e){t.$set(t.shipForm,"logistics_name",e)},expression:"shipForm.logistics_name"}},t._l(t.options,(function(a,s){return e("a-select-opt-group",{key:s},[e("span",{attrs:{slot:"label"},slot:"label"},[e("a-icon",{attrs:{type:"user"}}),t._v(t._s(a.key))],1),t._l(a.option,(function(a,s){return e("a-select-option",{key:s,attrs:{value:a.key}},[t._v(" "+t._s(a.value)+" ")])}))],2)})),1)],1),e("div",{staticStyle:{"margin-left":"20px"}},[t._v(" "+t._s(t.$t("view.express.logistics_code")+": ")+" "+t._s(t.shipForm.logistics_name)+" ")])])])],1),e("a-form-model-item",{attrs:{"has-feedback":""}},[e("a-button",{attrs:{type:"primary"},on:{click:t.submitForm}},[t._v(" "+t._s(t.$t("component.artilce.save.button"))+" ")])],1)],1),e("template",{slot:"footer"},[e("a-button",{on:{click:t.closeModal}},[t._v(t._s(t.$t("component.artilce.close.button")))])],1)],2)],1)},o=[],r=a("5530"),n=(a("d81d"),a("2dd7")),i=a("3a10"),l=a("1b6c"),c={name:"ordersShips",data:function(){return{visable:!1,formTitle:"",forms:[],rules:{logistics_name:[{required:!0,trigger:"change"}],shipment_id:[{required:!0,trigger:"change"}]},itemLayout:{labelCol:{lg:2},wrapperCol:{lg:22}},shipForm:{ships:"",logistics_name:""}}},props:{options:{type:Array,default:function(){return[{key:Object(l["b"])("view.express.foreign_express1"),label:"GJWL",option:[{key:"SFGJ",value:"顺丰国际"},{key:"DHWL",value:"ヤマト運輸"},{key:"ZCJB",value:"佐川急便"},{key:"RBYZ",value:"日本郵便"}]},{key:Object(l["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:"中邮物流"}]}]}},orders:{type:Array,default:function(){return[]}}},components:{AntModal:n["default"]},methods:{getOption:function(){var t=this,e={};Object(i["i"])({page:1,limit:150}).then((function(a){for(var s=a.list,o=0;o<s.length;o++){var r=s[o],n=r.foreign_express;e[n]||(e[n]=[]),e[n].push({key:r.logistics_code,value:r.logistics_name})}return t.options[0].option=e[2],t.options[1].option=e[1],t.options}))},closeModal:function(){this.visable=!1},handleClick:function(){this.formTitle=this.$t("view.order.list.ship.list.shippings"),this.visable=!0},handleChange1:function(t){this.shipForm.logistics_name=t},handleChange:function(t,e){this.forms[e].logistics_name=t},submitForm:function(){var t=this,e=[],a=this.shipForm.ships.split("\n");a.map((function(t){var a=t.split(",");e.push({order_id:a[0],logistics_name:a[1],shipment_id:a[2]})})),e&&e.length>0&&Object(i["C"])({chosen:e}).then((function(e){0===e.code&&(t.$message.success(t.$t("view.order.list.ship.list.success")),t.visable=!1,t.$emit("ok"))}))}}},u=Object(r["a"])({},c),d=u,p=a("2877"),m=Object(p["a"])(d,s,o,!1,null,null,null);e["default"]=m.exports},"0b68":function(t,e,a){"use strict";a.r(e);var s=function(){var t=this,e=t._self._c;return e("div",[e("a-row",{attrs:{type:"flex",gutter:10}},[e("a-col",{attrs:{span:24}},[e("a-card",{staticStyle:{"min-height":"calc(100vh - 125px)"},attrs:{bordered:!1}},[e("advance-table",{attrs:{columns:t.columns,"data-source":t.list,title:t.tableTitle,loading:t.loading,rowKey:"id",size:"middle",tableKey:"system-role-SysRoleIndex-table","format-conditions":!0,"row-selection":{selectedRowKeys:t.selectedRowKeys,onChange:t.onSelectChange},pagination:{current:t.queryParam.page,pageSize:t.queryParam.limit,total:t.total,showSizeChanger:!1,showLessItems:!0,showQuickJumper:!0,showTotal:function(e,a){return t.$t("view.item.list.table.total",{num:a[0]+"-"+a[1],total:e})},onChange:t.changeSize,onShowSizeChange:t.onShowSizeChange}},on:{refresh:t.getRecord},scopedSlots:t._u([{key:"fee",fn:function(a){var s=a.record;return e("span",{},[e("defaultCurrency",{attrs:{isFuhao:""}}),t._v(t._s(s.fee)+" ")],1)}},{key:"payway_id",fn:function(a){var s=a.record;return e("span",{},[1===s.payway_id?e("a-tag",{attrs:{color:"green"}},[t._v(" "+t._s(t.$t("procure.pay.title"))+" ")]):2===s.payway_id?e("a-tag",{attrs:{color:"blue"}},[t._v(" "+t._s(t.$t("order.list.from_id.handlePay"))+" ")]):t._e()],1)}},{key:"valid_time",fn:function(a){var s=a.record;return e("span",{},[t._v(" "+t._s(s.start_time)+" ~ "+t._s(s.end_time)+" ")])}}])})],1)],1)],1)],1)},o=[],r=(a("d81d"),a("3528")),n=a("5d9e"),i=a("34c3"),l={name:"RoleBuyRecord",components:{AdvanceTable:n["default"],defaultCurrency:i["default"]},data:function(){return{list:[],selectedRowKeys:[],selectedSubRowKeys:[],selectedRows:[],selectedSubRows:[],selectedUser:"",advanced:!1,single:!0,multiple:!0,subMultiple:!0,currentSelectRoleId:"",selectItem:{},ids:[],subIds:[],loading:!1,subLoading:!1,total:0,labelCol:{span:6},wrapperCol:{span:18},queryParam:{page:1,limit:10,name:void 0,key:void 0,status:void 0},tableTitle:this.$t("view.system.role.buy_record"),columns:[{title:this.$t("view.order.list.order_id"),dataIndex:"fuwu_order_id"},{title:this.$t("compoents.role.set.service_name"),dataIndex:"fuwu_name",align:"center"},{title:this.$t("view.system.user.name"),dataIndex:"user_name",align:"center"},{title:this.$t("view.system.role.service_fee"),dataIndex:"fee",scopedSlots:{customRender:"fee"},align:"center"},{title:this.$t("view.system.user.valid_time"),dataIndex:"valid_time",scopedSlots:{customRender:"valid_time"},align:"center"},{title:this.$t("pay.paymenthod"),dataIndex:"payway_id",scopedSlots:{customRender:"payway_id"},align:"center"},{title:this.$t("view.system.user.buy_time"),dataIndex:"create_time",align:"center"}]}},filters:{},created:function(){this.getRecord()},computed:{},watch:{},methods:{getRecord:function(){var t=this;Object(r["n"])(this.queryParam).then((function(e){e.total_count&&(t.list=e.list,t.total=e.total_count)}))},handleQuery:function(){this.queryParam.page=1,this.getList()},handleQueryRoleUser:function(){this.querySubParam.page=1,this.getRoleUserList()},onShowSizeChange:function(t,e){this.queryParam.limit=e,this.getList()},onShowSizeSubChange:function(t,e){this.querySubParam.limit=e,this.getRoleUserList()},onSizeChange:function(t,e){this.queryParam.page=1,this.queryParam.limit=e,this.getList()},changeSize:function(t,e){this.queryParam.page=t,this.queryParam.limit=e,this.getList()},changeSubSize:function(t,e){this.querySubParam.page=t,this.querySubParam.limit=e,this.getRoleUserList()},onSelectChange:function(t,e){this.selectedRowKeys=t,this.selectedRows=e,this.ids=this.selectedRows.map((function(t){return t.id})),this.single=1!==t.length,this.multiple=!t.length},onSelectSubChange:function(t,e){this.selectedSubRowKeys=t,this.selectedSubRows=e,this.subIds=this.selectedSubRows.map((function(t){return t.id})),this.subMultiple=!t.length}}},c=l,u=(a("6d36"),a("2877")),d=Object(u["a"])(c,s,o,!1,null,null,null);e["default"]=d.exports},"12a1":function(t,e,a){"use strict";a.r(e);a("b0c0");var s=function(){var t=this,e=t._self._c;return e("span",[e("a-button",{attrs:{type:"primary"},on:{click:t.saveInit}},[t._v(t._s(t.$t("components.google.open.button")))]),t.open?e("ant-modal",{attrs:{visible:t.open,"modal-title":t.modalTitle,"adjust-size":!0,modalHeight:"380",modalWidth:"820"},on:{cancel:t.cancelEditGoodInfo,ok:t.okEditGoodInfo}},[e("div",{attrs:{slot:"content"},slot:"content"},[e("a-form-model",{ref:"googleForm",attrs:{model:t.formData,rules:t.rules}},[e("a-row",{attrs:{gutter:12}},[e("a-col",{attrs:{lg:12}},[e("a-form-model-item",{attrs:{label:t.$t("view.order.detail.ship_country"),prop:"target_country",required:""}},[e("ps-country-select",{attrs:{countryCode:t.formData.target_country},on:{"update:countryCode":function(e){return t.$set(t.formData,"target_country",e)},"update:country-code":function(e){return t.$set(t.formData,"target_country",e)}}})],1)],1),e("a-col",{attrs:{lg:12}},[e("a-form-model-item",{attrs:{label:t.$t("view.item.component.item.syn.ozon.language"),prop:"content_language",required:""}},[e("view-select",{attrs:{lang:t.formData.content_language,backVal:"lang"},on:{change:t.backLang}})],1)],1),e("a-col",{attrs:{lg:12}},[e("a-form-model-item",{attrs:{label:t.$t("view.item.form.channel"),prop:"channel",required:""}},[e("a-select",{attrs:{"show-search":"",placeholder:"","option-filter-prop":"title"},model:{value:t.formData.channel,callback:function(e){t.$set(t.formData,"channel",e)},expression:"formData.channel"}},t._l(t.channelList,(function(a){return e("a-select-option",{key:a.name,attrs:{title:a.name,value:a.value}},[t._v(" "+t._s(a.name)+" ")])})),1)],1)],1)],1)],1)],1)]):t._e()],1)},o=[],r=a("5530"),n=(a("d3b7"),a("3ca3"),a("ddb0"),a("a026")),i=a("aabf"),l=a("1b6c"),c=Object(n["b"])((function(){return Promise.resolve().then(a.bind(null,"2dd7"))})),u=Object(n["b"])((function(){return Promise.resolve().then(a.bind(null,"1605"))})),d=Object(n["b"])((function(){return Promise.resolve().then(a.bind(null,"68dd"))})),p={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(t){this.initData(this.goods),this.open=!0},saveInit:function(){this.initData(this.goods),this.okEditGoodInfo()},initData:function(t){this.goods=t,this.modalTitle=this.$t("components.google.modal.title"),this.pathList=[],this.formData={target_country:"",goods_id:t.good_id,content_language:""}},backLang:function(t){this.formData.content_language=t},okEditGoodInfo:function(){var t=this,e=JSON.parse(JSON.stringify(this.formData));Object(i["u"])(e).then((function(e){0===e.code&&(t.cancelEditGoodInfo(),t.$message.success(t.$t("components.google.modal.success")),t.$emit("ok",e))}))},cancelEditGoodInfo:function(){this.open=!1}},components:{AntModal:c,PsCountrySelect:u,ViewSelect:d}},m=Object(r["a"])({},p),v=m,h=a("2877"),y=Object(h["a"])(v,s,o,!1,null,null,null);e["default"]=y.exports},"1a13":function(t,e,a){"use strict";a.r(e);a("7db0"),a("d3b7");var s=function(){var t=this,e=t._self._c;return e("span",[t.disabled?t.disabled?e("div",{staticStyle:{height:"31px","line-height":"31px"}},[t._v(" "+t._s(t.optionsList.find((function(e){return e.value===t.workType})).label)+" ")]):t._e():e("a-select",{attrs:{disabled:t.disabled},on:{change:t.handleChange},model:{value:t.workType,callback:function(e){t.workType=e},expression:"workType"}},t._l(t.optionsList,(function(a){return e("a-select-option",{key:a.value,attrs:{value:a.value}},[t._v(" "+t._s(a.label)+" ")])})),1)],1)},o=[],r=(a("a9e3"),a("1b6c")),n={name:"WorkType",data:function(){return{optionsList:[{label:Object(r["b"])("components.complaint.workType.all"),value:0},{label:Object(r["b"])("components.complaint.workType.consult"),value:1},{label:Object(r["b"])("components.complaint.workType.purchase"),value:2},{label:Object(r["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(t){t!==this.workType&&(this.workType=t)}},created:function(){this.isAll&&this.optionsList.unshift({label:Object(r["b"])("components.complaint.faqType.all"),value:0}),this.workType=this.value},methods:{handleChange:function(t){this.$emit("update:value",t),this.$emit("change",t)}}},i=n,l=a("2877"),c=Object(l["a"])(i,s,o,!1,null,null,null);e["default"]=c.exports},"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)},o=[],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"}],i=[{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:"张三"}],u=[{icon:"pie-chart",con:"选择组件"},{icon:"bar-chart",con:"上传文件组件"},{icon:"dot-chart",con:"卡片式暂无数据组件"},{icon:"line-chart",con:"计数文本框组件"}],d=["组件使用方法","组件使用方法","组件使用方法","组件使用方法","组件使用方法"],p=[{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}],v=[{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}],h=[{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"}],y=[{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"}],f={data:function(){return{visible:!1,data:n,detaildata:i,projectcolumns:l,projectdata:c,apidata:u,aiddata:d,noticedata:p,dateFormat:"YYYY-MM-DD",statisticscolumns:m,statisticsdata:v,compile:!1,heatdata:h,adddata:y,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){}}},g=f,_=(a("33bd"),a("2877")),k=Object(_["a"])(g,s,o,!1,null,null,null);e["default"]=k.exports},"234a":function(t,e,a){},"2a33":function(t,e,a){"use strict";a.r(e);a("b0c0");var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"padding-card monitor-box",staticStyle:{"margin-top":"-16px","padding-bottom":"16px"}},[e("a-spin",{attrs:{tip:"正在加载服务监控数据,请稍后",spinning:t.loading}},[e("a-space",{attrs:{direction:"vertical",size:"middle"}},[e("a-row",{staticClass:"columns-list-ul",attrs:{gutter:16}},[e("a-col",{attrs:{span:6}},[e("a-card",{attrs:{bordered:!1}},[e("div",{staticClass:"text-number"},[t._v(t._s(t.server.cpu?t.server.cpu.cpuNum:0))]),e("div",{staticClass:"title-text"},[t._v("CPU核心数")])])],1),e("a-col",{attrs:{span:6}},[e("a-card",{attrs:{bordered:!1}},[e("div",{staticClass:"text-number"},[t._v(t._s(t.server.cpu?t.server.cpu.sys:0)+"%")]),e("div",{staticClass:"title-text"},[t._v(" 系统CPU使用率 ")])])],1),e("a-col",{attrs:{span:6}},[e("a-card",{attrs:{bordered:!1}},[e("div",{staticClass:"text-number"},[t._v(t._s(t.server.cpu?t.server.cpu.used:0)+"%")]),e("div",{staticClass:"title-text"},[t._v(" 用户CPU使用率 ")])])],1),e("a-col",{attrs:{span:6}},[e("a-card",{attrs:{bordered:!1}},[e("div",{staticClass:"text-number"},[t._v(t._s(t.server.cpu?t.server.cpu.free:0)+"%")]),e("div",{staticClass:"title-text"},[t._v(" 当前CPU空闲率 ")])])],1)],1),e("a-row",{staticClass:"monitor-cardbox",attrs:{gutter:24}},[e("a-col",{attrs:{span:24}},[e("a-card",{staticStyle:{height:"180px"},attrs:{size:"small",bordered:!1}},[e("template",{slot:"title"},[e("a-icon",{attrs:{type:"fire"}}),t._v(" 内存 ")],1),e("a-row",{attrs:{gutter:16}},t._l(t.memData,(function(a){return e("a-col",{key:a.id,attrs:{span:6}},[e("a-card-grid",[e("div",{staticClass:"card-grid-name"},[t._v(t._s(a.name))]),e("a-col",{staticClass:"text01",attrs:{span:12}},["使用率"!=a.name?e("a-statistic",{attrs:{title:"内存",value:a.mem},scopedSlots:t._u([{key:"suffix",fn:function(){return[t._v(" G ")]},proxy:!0}],null,!0)}):t._e(),"使用率"==a.name?e("a-statistic",{attrs:{title:"内存",value:a.mem,"value-style":{color:a.mem>80?"red":""}},scopedSlots:t._u([{key:"suffix",fn:function(){return[t._v(" % "),a.jvm>80?e("a-icon",{staticStyle:{color:"#FFCC00"},attrs:{type:"warning"}}):t._e()]},proxy:!0}],null,!0)}):t._e()],1),e("a-col",{staticClass:"text02",attrs:{span:12}},["使用率"!=a.name?e("a-statistic",{attrs:{title:"JVM",value:a.jvm},scopedSlots:t._u([{key:"suffix",fn:function(){return[t._v(" M ")]},proxy:!0}],null,!0)}):t._e(),"使用率"==a.name?e("a-statistic",{attrs:{title:"JVM",value:a.jvm,"value-style":{color:a.jvm>80?"red":""}},scopedSlots:t._u([{key:"suffix",fn:function(){return[t._v(" % "),a.jvm>80?e("a-icon",{staticStyle:{color:"#FFCC00"},attrs:{type:"warning"}}):t._e()]},proxy:!0}],null,!0)}):t._e()],1)],1)],1)})),1)],2)],1)],1),e("a-row",{attrs:{gutter:24}},[e("a-col",{attrs:{span:24}},[e("a-card",{attrs:{size:"small",bordered:!1}},[e("template",{slot:"title"},[e("a-icon",{attrs:{type:"laptop"}}),t._v(" 磁盘状态 ")],1),e("a-row",{attrs:{gutter:12}},t._l(t.sysData,(function(a,s){return e("a-col",{key:a.id,staticClass:"gutter-row",attrs:{span:6}},[e("div",{staticClass:"disc-list-ul",class:[s%3===0&&0!==s?"":"list-border"]},[e("div",{staticClass:"disc-list-title"},[e("div",{staticClass:"disc-list-title-text"},[e("div",{staticClass:"disc-caption-text"},[t._v(" "+t._s(a.dirName)+" "),e("em",[t._v("磁盘类型:"+t._s(a.sysTypeName))])]),e("div",{staticClass:"stat-pic"},[e("a-progress",{attrs:{type:"circle","stroke-color":{"0%":"#007dff","100%":"#00c9ff"},percent:a.usage,status:a.usage>80?"exception":"normal"},scopedSlots:t._u([{key:"format",fn:function(s){return[e("span",[t._v(t._s(a.usage)+"%")])]}}],null,!0)})],1),e("div",{staticClass:"disc-other"},[e("a-row",{attrs:{gutter:24}},[e("a-col",{attrs:{span:12}},[t._v(" 总大小 "),e("br"),e("em",{staticClass:"disc-other-color01"},[t._v(t._s(a.total))])]),e("a-col",{attrs:{span:12}},[t._v(" 可用大小 "),e("br"),e("em",{staticClass:"disc-other-color02"},[t._v(t._s(a.free))])])],1)],1)])])])])})),1)],2)],1)],1),e("a-row",{attrs:{gutter:24}},[e("a-col",{attrs:{span:24}},[e("a-card",{staticClass:"monitor-card",attrs:{size:"small",bordered:!1}},[e("template",{slot:"title"},[e("a-icon",{attrs:{type:"windows"}}),t._v(" 服务器信息 ")],1),e("a-descriptions",{attrs:{column:2,size:"middle"}},[e("a-descriptions-item",{attrs:{label:"服务器名称"}},[t._v(t._s(t.server.sys?t.server.sys.computerName:""))]),e("a-descriptions-item",{attrs:{label:"操作系统"}},[t._v(t._s(t.server.sys?t.server.sys.osName:""))]),e("a-descriptions-item",{attrs:{label:"服务器IP"}},[t._v(t._s(t.server.sys?t.server.sys.computerIp:""))]),e("a-descriptions-item",{attrs:{label:"系统架构"}},[t._v(t._s(t.server.sys?t.server.sys.osArch:""))])],1)],2)],1)],1),e("a-row",{attrs:{gutter:24}},[e("a-col",{attrs:{span:24}},[e("a-card",{staticClass:"monitor-card",attrs:{size:"small",bordered:!1}},[e("template",{slot:"title"},[e("a-icon",{attrs:{type:"hdd"}}),t._v(" Java虚拟机信息 ")],1),e("a-descriptions",{attrs:{column:5,size:"middle"}},[e("a-descriptions-item",{attrs:{label:"Java名称",span:"3"}},[t._v(t._s(t.server.jvm?t.server.jvm.name:""))]),e("a-descriptions-item",{attrs:{label:"Java版本",span:"2"}},[t._v(t._s(t.server.jvm?t.server.jvm.version:""))]),e("a-descriptions-item",{attrs:{label:"启动时间",span:"3"}},[t._v(t._s(t.server.jvm?t.server.jvm.startTime:""))]),e("a-descriptions-item",{attrs:{label:"运行时长",span:"2"}},[t._v(t._s(t.server.jvm?t.server.jvm.runTime:""))]),e("a-descriptions-item",{attrs:{label:"安装路径",span:"3"}},[t._v(t._s(t.server.jvm?t.server.jvm.home:""))]),e("a-descriptions-item",{attrs:{label:"项目路径",span:"2"}},[t._v(t._s(t.server.jvm?t.server.sys.userDir:""))])],1)],2)],1)],1)],1)],1)],1)},o=[],r=(a("b680"),a("a9e3"),a("b775"));function n(){return Object(r["b"])({url:"/monitor/server",method:"get"})}var i={name:"Server",data:function(){return{server:[],loading:!0,memColumns:[{title:"属性",dataIndex:"name"},{title:"内存",dataIndex:"mem",scopedSlots:{customRender:"mem"}},{title:"JVM",dataIndex:"jvm",scopedSlots:{customRender:"jvm"}}],memData:[{name:"总内存",mem:"0",jvm:"0"},{name:"已用内存",mem:"0",jvm:"0"},{name:"剩余内存",mem:"0",jvm:"0"},{name:"使用率",mem:"0",jvm:"0"}],newMemData:{name:"使用率",mem:"0",usedMem:"0",freeMem:"0",jvm:"0",usedJvm:"0",freeJvm:"0"},sysColumns:[{title:"盘符路径",dataIndex:"dirName",ellipsis:!0},{title:"文件系统",dataIndex:"sysTypeName"},{title:"盘符类型",dataIndex:"typeName",ellipsis:!0},{title:"总大小",dataIndex:"total",scopedSlots:{customRender:"total"}},{title:"可用大小",dataIndex:"free",scopedSlots:{customRender:"free"}},{title:"已用大小",dataIndex:"used",scopedSlots:{customRender:"used"}},{title:"已用百分比",dataIndex:"usage",scopedSlots:{customRender:"usage"}}],sysData:[]}},filters:{},created:function(){this.getList("0")},mounted:function(){var t=this;this.timer=setInterval((function(){t.getList("1")}),1e4)},beforeDestroy:function(){clearInterval(this.timer)},computed:{},watch:{},methods:{getList:function(t){var e=this;"0"===t&&(this.loading=!0),n().then((function(a){var s=a.data;e.server=s,e.memData=[{name:"服务器总内存",mem:s.mem.total,jvm:s.jvm.total},{name:"已用内存",mem:s.mem.used,jvm:s.jvm.used},{name:"剩余内存",mem:s.mem.free,jvm:s.jvm.free},{name:"使用率",mem:s.mem.usage,jvm:s.jvm.usage}],e.newMemData={name:"使用率",mem:Number(s.mem.usage).toFixed(),usedMem:s.mem.used,freeMem:s.mem.free,jvm:Number(s.jvm.usage).toFixed(),usedJvm:s.jvm.used,freeJvm:s.jvm.free},e.sysData=s.sysFiles,setTimeout((function(){"0"===t&&(e.loading=!1)}),500)}))}}},l=i,c=(a("93a2"),a("2877")),u=Object(c["a"])(l,s,o,!1,null,null,null);e["default"]=u.exports},"33bd":function(t,e,a){"use strict";a("69f1")},3713:function(t,e,a){"use strict";a("adee")},"5f19":function(t,e,a){"use strict";a.r(e);var s=function(){var t=this,e=t._self._c;return e("span",[e("a-row",{attrs:{gutter:24}},[e("a-col",{attrs:{lg:3}},[t._v(t._s(t.$t("view.item.list.good_id")))]),e("a-col",{attrs:{lg:3}},[t._v(t._s(t.$t("view.item.list.itemImage")))]),e("a-col",{attrs:{lg:12}},[t._v(t._s(t.$t("view.item.list.itemTitle")))])],1),e("div",{staticStyle:{"margin-top":"2px",border:"1px solid #ccc",padding:"5px"}},[e("a-row",{attrs:{gutter:24}},[e("a-col",{attrs:{lg:3}},[t._v(t._s(t.goodInfo.good_id))]),e("a-col",{attrs:{lg:3}},[t.getGoodInfo()?e("div",[e("img",{staticStyle:{width:"80px",height:"80px"},attrs:{src:t.goodInfo.image_url}})]):t._e()]),e("a-col",{staticStyle:{"line-height":"40px"},attrs:{lg:12}},[t.getGoodInfo()?e("div",[t._v(t._s(t.goodInfo.title))]):t._e()])],1)],1)],1)},o=[],r=(a("7db0"),a("d3b7"),{name:"GoodsIdOne",props:{goodsList:{type:Array,default:function(){return[]}},goodsId:{type:String,default:""}},computed:{goodInfo:function(){var t,e=this;return null===(t=this.goodsList)||void 0===t?void 0:t.find((function(t){return t.good_id+""===e.goodsId+""}))}},methods:{getGoodInfo:function(){var t,e=this;return null===(t=this.goodsList)||void 0===t?void 0:t.find((function(t){return t.good_id+""===e.goodsId+""}))}}}),n=r,i=a("2877"),l=Object(i["a"])(n,s,o,!1,null,null,null);e["default"]=l.exports},"69f1":function(t,e,a){},"6b08":function(t,e,a){"use strict";a.r(e);a("99af");var s=function(){var t=this,e=t._self._c;return e("div",[e("a-card",{staticStyle:{"margin-bottom":"10px"},attrs:{bordered:!1}},[e("div",{staticClass:"table-page-search-wrapper"},[e("a-form",{attrs:{labelCol:t.labelCol,wrapperCol:t.wrapperCol}},[e("a-row",{attrs:{gutter:48}},[e("a-col",{attrs:{md:6,sm:24}},[e("a-form-item",{attrs:{label:"登录名称"}},[e("a-input",{attrs:{placeholder:"请输入用户名称","allow-clear":""},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleQuery.apply(null,arguments)}},model:{value:t.queryParam.userName,callback:function(e){t.$set(t.queryParam,"userName",e)},expression:"queryParam.userName"}})],1)],1),e("a-col",{attrs:{md:6,sm:24}},[e("a-form-item",{attrs:{label:"登录地址"}},[e("a-input",{attrs:{placeholder:"请输入登录地址","allow-clear":""},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleQuery.apply(null,arguments)}},model:{value:t.queryParam.ipaddr,callback:function(e){t.$set(t.queryParam,"ipaddr",e)},expression:"queryParam.ipaddr"}})],1)],1),e("a-col",[e("span",{staticClass:"table-page-search-submitButtons",staticStyle:{float:"right"}},[e("a-button",{attrs:{type:"primary"},on:{click:t.handleQuery}},[e("a-icon",{attrs:{type:"search"}}),t._v("查询")],1),e("a-button",{staticStyle:{"margin-left":"8px"},on:{click:t.resetQuery}},[e("a-icon",{attrs:{type:"redo"}}),t._v("重置")],1)],1)])],1)],1)],1)]),e("a-card",{staticClass:"table-card",attrs:{bordered:!1}},[e("advance-table",{attrs:{columns:t.columns,"data-source":t.list,title:"在线用户",loading:t.loading,rowKey:"tokenId",tableKey:"monitor-online-index-table",isTableConfig:!1,isShowSetBtn:!1,size:"middle","format-conditions":!0,pagination:{current:t.queryParam.pageNum,pageSize:t.queryParam.pageSize,total:t.total,showSizeChanger:!0,showLessItems:!0,showQuickJumper:!0,showTotal:function(t,e){return"第 ".concat(e[0],"-").concat(e[1]," 条,总计 ").concat(t," 条")},onChange:t.changeSize,onShowSizeChange:t.onShowSizeChange}},on:{refresh:t.getList},scopedSlots:t._u([{key:"operation",fn:function(a){a.text;var s=a.record;return e("span",{},[e("a-popconfirm",{attrs:{"ok-text":"是","cancel-text":"否"},on:{confirm:function(e){return t.confirmHandleForceLogout(s)},cancel:function(e){return t.cancelHandleForceLogout(s)}}},[e("span",{attrs:{slot:"title"},slot:"title"},[t._v("确认强退"),e("b",[t._v(t._s(s.userName))]),t._v("的用户吗?")]),e("a",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["monitor:online:forceLogout"],expression:"['monitor:online:forceLogout']"}],staticStyle:{color:"#2f54eb"}},[t._v(" 强退 ")])])],1)}}])})],1)],1)},o=[],r=a("b775");function n(t){return Object(r["b"])({url:"/monitor/online/list",method:"get",params:t})}function i(t){return Object(r["b"])({url:"/monitor/online/"+t,method:"delete"})}var l=a("5d9e"),c={name:"Online",components:{AdvanceTable:l["default"]},data:function(){return{list:[],loading:!1,labelCol:{span:6},wrapperCol:{span:18},total:0,multiple:!0,queryParam:{pageNum:1,pageSize:10,ipaddr:void 0,userName:void 0},columns:[{title:"会话编号",dataIndex:"tokenId",ellipsis:!0,align:"center"},{title:"登录名称",dataIndex:"userName",align:"center"},{title:"部门名称",dataIndex:"deptName",align:"center"},{title:"登录地址",dataIndex:"ipaddr",ellipsis:!0,align:"center"},{title:"登录地点",dataIndex:"loginLocation",align:"center"},{title:"浏览器",dataIndex:"browser",align:"center"},{title:"操作系统",dataIndex:"os",align:"center"},{title:"登录时间",dataIndex:"loginTime",width:180,scopedSlots:{customRender:"loginTime"},align:"center"},{title:"操作",dataIndex:"operation",scopedSlots:{customRender:"operation"}}]}},filters:{},created:function(){this.getList()},computed:{},watch:{},methods:{getList:function(){var t=this;this.loading=!0,n(this.queryParam).then((function(e){t.list=e.rows,t.total=e.total,t.loading=!1}))},handleQuery:function(){this.queryParam.pageNum=1,this.getList()},resetQuery:function(){this.dateRange=[],this.queryParam={pageNum:1,pageSize:10,ipaddr:void 0,userName:void 0},this.handleQuery()},onShowSizeChange:function(t,e){this.queryParam.pageSize=e,this.getList()},changeSize:function(t,e){this.queryParam.pageNum=t,this.queryParam.pageSize=e,this.getList()},confirmHandleForceLogout:function(t){var e=this;i(t.tokenId).then((function(){e.getList(),e.$message.success("已强退",3)})).catch((function(){this.$message.error("发生异常",3)}))},cancelHandleForceLogout:function(t){}}},u=c,d=a("2877"),p=Object(d["a"])(u,s,o,!1,null,null,null);e["default"]=p.exports},"6d36":function(t,e,a){"use strict";a("d8ff")},"7b2c":function(t,e,a){"use strict";a.r(e);a("99af"),a("b0c0");var s=function(){var t=this,e=t._self._c;return e("div",[e("a-card",{staticStyle:{"margin-bottom":"10px"},attrs:{bordered:!1}},[e("div",{ref:"search",staticClass:"table-page-search-wrapper"},[e("a-form",{attrs:{labelCol:{span:6},wrapperCol:{span:18}}},[e("a-row",{attrs:{gutter:0}},[e("a-col",{attrs:{md:6,sm:24,lg:8}},[e("a-form-item",{attrs:{labelCol:{md:8,sm:6,lg:8},wrapperCol:{md:16,sm:16,lg:16},label:t.$t("table.mall_warehouse")}},[e("ware-house-select",{staticStyle:{width:"200px"},attrs:{isAll:"",wareHouseId:t.queryParam.warehouse_id},on:{change:t.changewarehouse}})],1)],1),e("a-col",{attrs:{md:6,sm:24,lg:8}},[e("a-form-item",{attrs:{labelCol:{md:8,sm:6,lg:8},wrapperCol:{md:16,sm:16,lg:16},label:t.$t("view.item.sku.out_id")}},[e("a-input",{attrs:{placeholder:t.$t("view.item.sku.out_id"),"allow-clear":""},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleQuery.apply(null,arguments)}},model:{value:t.queryParam.out_id,callback:function(e){t.$set(t.queryParam,"out_id",e)},expression:"queryParam.out_id"}})],1)],1),e("a-col",[e("span",{staticClass:"table-page-search-submitButtons",staticStyle:{float:"right"}},[e("a-button",{attrs:{type:"primary"},on:{click:t.handleQuery}},[e("a-icon",{attrs:{type:"search"}}),t._v(t._s(t.$t("view.test.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.test.list.reset.btn"))+" ")],1),e("a-button",{staticStyle:{"margin-left":"8px"},attrs:{type:"primary"},on:{click:t.handleGoWareHouse}},[e("a-icon",{attrs:{type:"search"}}),t._v(t._s(t.$t("app.menus.left.item.warehouselist"))+" ")],1),e("ExcelData",{attrs:{tableData:t.List,page:t.queryParam.page,pageSize:t.queryParam.limit,total:t.total,loadData:t.nextPageChange,fileName:t.$t("table.mall_warehouse_stock")}})],1)])],1)],1)],1)]),e("a-card",{attrs:{bordered:!1}},[e("stockAdd",{ref:"stockAdd",on:{ok:t.stockUpdateBack}}),e("wareHouseStockLogs",{ref:"wareHouseLogs"}),e("a-table",{ref:"kucunTable",attrs:{size:"middle",loading:t.loading,columns:t.clounms,"data-source":t.List,rowKey:function(t){return"".concat(t.warehouse_id,"_").concat(t.out_id)},defaultExpandAllRows:!0,expandedRowKeys:t.expKeys,scroll:{x:1200},pagination:{current:t.queryParam.page,pageSize:t.queryParam.limit,total:t.total,showSizeChanger:!1,showLessItems:!1,showQuickJumper:!1,showTotal:function(e,a){return t.$t("view.warehouse.list.table.total",{num:a[0]+"-"+a[1],total:e})},pageSizeOptions:["5","10","20","50","100"],onChange:t.nextPageChange}},on:{expand:t.tableExpandChange},scopedSlots:t._u([{key:"expandedRowRender",fn:function(t){return[e("div",[e("outItem",{attrs:{outId:t.out_id}})],1)]}},{key:"out_id",fn:function(a,s){return e("span",{},[s&&s.warehouse?e("a",{staticStyle:{color:"#2f54eb"},on:{click:function(e){return t.handleStockAdd(s)}}},[t._v(" "+t._s(s.out_id)+" ")]):t._e()])}},{key:"title",fn:function(a,s){return e("span",{},[s?e("div",[e("div",[t._v(" "+t._s(s.title)+" "),e("stockNameUpdate",{attrs:{wareHouseId:s.warehouse_id,outId:s.out_id,title:s.title},on:{ok:function(e){return t.getList()}}})],1)]):t._e()])}},{key:"warehouse_name",fn:function(a,s){return e("span",{},[s&&s.warehouse?e("div",[t._v(" "+t._s(s.warehouse.name)+" ")]):t._e()])}},{key:"stock_quantity",fn:function(a,s){return e("span",{},[s&&s.warehouse?e("a",{staticStyle:{color:"#2f54eb"},on:{click:function(e){return t.handleStockAdd(s)}}},[t._v(" "+t._s(s.stock_quantity)+" ")]):t._e()])}},{key:"operation",fn:function(a,s){return[e("a",{staticStyle:{color:"#2f54eb"},on:{click:function(e){return t.handleStockLogsList(s)}}},[t._v(t._s(t.$t("view.item.skulist.stocklogs.model.title")))])]}}])})],1)],1)},o=[],r=a("5530"),n=a("2836"),i=Object(r["a"])({},n["default"]),l=i,c=a("2877"),u=Object(c["a"])(l,s,o,!1,null,null,null);e["default"]=u.exports},"93a2":function(t,e,a){"use strict";a("234a")},adee:function(t,e,a){},b557:function(t,e,a){"use strict";a.r(e);var s=function(){var t=this,e=t._self._c;return e("div",{staticStyle:{display:"inline","margin-right":"10px"}},[t._v(" "+t._s(t.$t("purchase.auto.purchase.order.pay.title"))+": "),e("a-switch",{attrs:{"checked-children":t.$t("view.shopview.open.label"),"un-checked-children":t.$t("view.shopview.close.label")},on:{change:t.handleAutoPurchaseChange},model:{value:t.autoPurchaseEnabled,callback:function(e){t.autoPurchaseEnabled=e},expression:"autoPurchaseEnabled"}})],1)},o=[],r=a("5530"),n=a("2f62"),i=a("d047"),l={components:{},computed:Object(r["a"])({},Object(n["c"])({shop_id:"shopId"})),data:function(){return{autoPurchaseEnabled:!1}},created:function(){this.getAutoPurchaseConfig()},methods:{handleAutoPurchaseChange:function(t){var e=this,a={data:t?1:0,name:"mall_auto_purchase_pay_config"};Object(i["g"])(a).then((function(a){0===a.code?e.$message.success(e.$t("api.info.operation")):(e.autoPurchaseEnabled=!t,e.$message.error(a.msg||e.$t("view.item.component.item.syn.operation.add.error.info")))}))},getAutoPurchaseConfig:function(){var t=this,e={shop_id:this.shop_id,name:"mall_auto_purchase_pay_config"};Object(i["d"])(e).then((function(e){0===e.code?t.autoPurchaseEnabled="1"===e.data:t.autoPurchaseEnabled=!1}))}}},c=Object(r["a"])({},l),u=c,d=a("2877"),p=Object(d["a"])(u,s,o,!1,null,null,null);e["default"]=p.exports},d8ff:function(t,e,a){},de6c:function(t,e,a){"use strict";a.r(e);var s=function(){var t=this,e=t._self._c;return e("div",[e("div",{staticStyle:{display:"flex","flex-wrap":"wrap","align-items":"center",gap:"5px"}},[t.stockData&&t.stockData.warehouse_country_list?e("div",[e("a-select",{staticStyle:{"min-width":"100px"},on:{change:t.changeCountry},model:{value:t.countryName,callback:function(e){t.countryName=e},expression:"countryName"}},t._l(t.stockData.warehouse_country_list,(function(a){return e("a-select-option",{key:a},[t._v(t._s(t.$t(a)))])})),1)],1):t._e(),t.stockData&&void 0!==t.stockData.available_stock?e("a",[e("a-tag",{attrs:{color:t.getRgb(t.warehouseId)}},[e("div",{staticStyle:{display:"flex","flex-wrap":"wrap",gap:"5px"}},[e("div",[t._v(t._s(t.$t("view.skuStockDescribe.availableStock"))+" "+t._s(t.stockData.available_stock)+" = ")]),e("div",[t._v(t._s(t.$t("view.skuStockDescribe.physicalStock"))+" "+t._s(t.stockData.physical_stock)+" - ")]),e("div",[t._v(t._s(t.$t("view.skuStockDescribe.lockStock"))+" "+t._s(t.stockData.lock_stock)+" -")]),e("div",[t._v(t._s(t.$t("view.skuStockDescribe.reservedStock"))+" "+t._s(t.stockData.reserved_stock))])])])],1):t._e()]),e("ant-modal",{attrs:{visible:t.open,"modal-title":t.$t("view.skuStockDescribe.modalTitle")},on:{cancel:t.close}},[e("div",{attrs:{slot:"content"},slot:"content"},[e("a-row",[e("a-col",{attrs:{lg:12}},[t._v(" "+t._s(t.$t("view.skuStockDescribe.availableStock"))+": "+t._s(t.stockData.available_stock)+" ")]),e("a-col",{attrs:{lg:12}},[t._v(" "+t._s(t.$t("view.skuStockDescribe.lockStock"))+": "+t._s(t.stockData.lock_stock)+" ")]),e("a-col",{attrs:{lg:12}},[t._v(" "+t._s(t.$t("view.skuStockDescribe.physicalStock"))+": "+t._s(t.stockData.physical_stock)+" ")]),e("a-col",{attrs:{lg:12}},[t._v(" "+t._s(t.$t("view.skuStockDescribe.reservedStock"))+": "+t._s(t.stockData.reserved_stock)+" ")])],1)],1)])],1)},o=[],r=(a("99af"),a("89f8")),n=a("2dd7"),i=a("ca00"),l={data:function(){return{open:!1,stockData:{},countryName:""}},props:{warehouseId:null,outId:null,country:null},created:function(){this.fetchStockData(!0)},methods:{openModal:function(){this.open=!0,this.fetchStockData()},close:function(){this.open=!1},changeCountry:function(){this.fetchStockData()},fetchStockData:function(t){var e=this,a={warehouse_id:this.warehouseId,out_id:this.outId,country:this.country};this.countryName&&(a.country=this.countryName),Object(r["a"])(a).then((function(a){var s;0===a.code&&(e.stockData=Object.assign({},a),e.stockData.warehouse_country_list&&e.stockData.warehouse_country_list.length>0&&t&&(e.countryName=null===(s=e.stockData.warehouse_country_list)||void 0===s?void 0:s[0]))}))},getRgb:function(t){var e=Object(i["i"])(t);return e?"rgb(".concat(e[0],", ").concat(e[1],", ").concat(e[2],")"):"rgb(255, 255, 0)"}},components:{AntModal:n["default"]}},c=l,u=(a("3713"),a("2877")),d=Object(u["a"])(c,s,o,!1,null,"a9009144",null);e["default"]=d.exports},e46b: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",{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:{gutter:0}},[e("a-col",{attrs:{md:6,sm:24,lg:8}},[e("a-form-item",{attrs:{labelCol:{md:8,sm:6,lg:8},wrapperCol:{md:16,sm:16,lg:16},label:t.$t("view.order.list.orderno")}},[e("a-input",{attrs:{placeholder:t.$t("view.order.list.inputorderno"),"allow-clear":""},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleQuery.apply(null,arguments)}},model:{value:t.order_id,callback:function(e){t.order_id=e},expression:"order_id"}})],1)],1),e("a-col",[e("span",{staticClass:"table-page-search-submitButtons",staticStyle:{float:"right"}},[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("ExcelData",{attrs:{page:t.queryParam.page,pageSize:t.queryParam.limit,total:t.total_count,loadData:t.changeSize,fileName:t.$t("app.menus.left.order.afterorder")}})],1)])],1)],1)],1)]),t.orderDetailModal?e("order-detail",{ref:"OrderDetail",on:{close:function(e){t.orderDetailModal=!1}}}):t._e(),e("a-card",{staticClass:"table-card",attrs:{bordered:!1}},[e("advance-table",{attrs:{loading:t.loading,size:"middle","row-selection":{selectedRowKeys:t.selectedRowKeys,onChange:t.onSelectChange},"format-conditions":!1,columns:t.columns,"data-source":t.list,rowKey:"after_sale_id",tableKey:"test-cat-catlist-table",expandedRowKeys:t.expandedRowKeys,pagination:{current:t.queryParam.page_no,pageSize:t.queryParam.limit,total:t.total_count,showSizeChanger:!0,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:"order_id",fn:function(a){var s=a.text,o=a.record;return e("span",{},[e("a",{on:{click:function(e){return t.handleOrderDetail(o)}}},[t._v(" "+t._s(s)+" ")])])}},{key:"refund_amt",fn:function(a){var s=a.record;return e("span",{},[t._v(" "+t._s(s.currency+s.refund_amt)+" ")])}},{key:"after_sale_type",fn:function(a){var s=a.record;return e("span",{},[e("div",[0===s.after_sale_type?e("div",[t._v(t._s(t.$t("app.menus.left.order")))]):t._e(),1===s.after_sale_type?e("div",[t._v(t._s(t.$t("app.menus.left.supply.supplyOrder")))]):t._e()])])}},{key:"after_sale_item",fn:function(a){var s=a.text;return e("span",{},t._l(s,(function(a){return e("a-row",{key:a.sku_id,attrs:{type:"flex"}},[e("a-col",[e("a-avatar",{attrs:{shape:"square",size:85,src:a.img_url}})],1),e("a-col",{staticStyle:{"margin-left":"10px"},attrs:{flex:3}},[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(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)],1)],1)})),1)}},{key:"status",fn:function(a){var s=a.text;return e("span",{},[t._v(" "+t._s(t.$t(s))+" ")])}},{key:"operation",fn:function(a){var s=a.record;return e("span",{},["processing"===s.status?e("a",{on:{click:function(e){return t.handleRefund(s)}}},[t._v(" "+t._s(t.$t("view.order.after_sale.list.returnfull_btn"))+" ")]):t._e()])}}])})],1)],1)},o=[],r=a("5530"),n=a("8d52"),i=Object(r["a"])({},n["default"]),l=i,c=a("2877"),u=Object(c["a"])(l,s,o,!1,null,null,null);e["default"]=u.exports},ee66:function(t,e,a){"use strict";a.r(e);var s=function(){var t=this,e=t._self._c;return e("div",{staticStyle:{display:"inline","margin-right":"10px"}},[t._v(" "+t._s(t.$t("purchase.auto.purchase.order.title"))+": "),e("a-switch",{attrs:{"checked-children":t.$t("view.shopview.open.label"),"un-checked-children":t.$t("view.shopview.close.label")},on:{change:t.handleAutoPurchaseChange},model:{value:t.autoPurchaseEnabled,callback:function(e){t.autoPurchaseEnabled=e},expression:"autoPurchaseEnabled"}})],1)},o=[],r=a("5530"),n=a("2f62"),i=a("d047"),l={components:{},computed:Object(r["a"])({},Object(n["c"])({shop_id:"shopId"})),data:function(){return{autoPurchaseEnabled:!1}},created:function(){this.getAutoPurchaseConfig()},methods:{handleAutoPurchaseChange:function(t){var e=this,a={data:t?1:0,name:"mall_auto_purchase_config"};Object(i["g"])(a).then((function(a){0===a.code?e.$message.success(e.$t("api.info.operation")):(e.autoPurchaseEnabled=!t,e.$message.error(a.msg||e.$t("view.item.component.item.syn.operation.add.error.info")))}))},getAutoPurchaseConfig:function(){var t=this,e={shop_id:this.shop_id,name:"mall_auto_purchase_config"};Object(i["d"])(e).then((function(e){0===e.code&&(t.autoPurchaseEnabled="1"===e.data)}))}}},c=Object(r["a"])({},l),u=c,d=a("2877"),p=Object(d["a"])(u,s,o,!1,null,null,null);e["default"]=p.exports}}]);
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-75d4a000"],{"0280":function(t,e,a){"use strict";a.r(e);a("b0c0");var i=function(){var t=this,e=t._self._c;return e("span",{staticClass:"yahooPath"},[e("a-icon",{attrs:{type:"plus"},on:{click:t.openPathList}}),e("ant-modal",{attrs:{visible:t.show,"modal-title":t.formTitle,"adjust-size":!0,modalHeight:t.isMobile?"80vh":"680",modalWidth:t.isMobile?"100vw":"900"},on:{cancel:t.cancelPathList,ok:t.cancelPathList}},[e("div",{attrs:{slot:"content"},slot:"content"},[e("div",[e("a-button",{on:{click:t.openFormInit}},[t._v(t._s(t.$t("components.yahooPathAdd.addbtn")))])],1),t.pathList?e("a-tree",{attrs:{replaceFields:{title:"name",key:"page_key",slot:"title",display:"display",hidden_page_flag:"hidden_page_flag",parentName:"parentName",parent_page_key:"parent_page_key"},treeData:t.pathList,loadedKeys:t.loadKeys,blockNode:!0,loadData:t.loadPath},on:{expand:t.expandNode},scopedSlots:t._u([{key:"title",fn:function(a,i){return[e("div",{staticClass:"pageKeyItem",staticStyle:{color:"#000",display:"flex","align-items":"center"}},[t._v(" "+t._s(a.name)+" "),e("a-icon",{staticStyle:{"margin-left":"15px"},attrs:{type:"edit"},on:{click:function(e){return t.handleUpdate({page_key:a.page_key,name:a.name,display:a.display,parent_page_key:a.parent_page_key,hidden_flag:a.hidden_page_flag,parentName:a.parentName},a,i)}}})],1)]}}],null,!1,2555784184)}):t._e()],1),e("div",{attrs:{slot:"footer"},slot:"footer"},[e("a-button",{on:{click:t.cancelPathList}},[t._v(t._s(t.$t("view.test.list.form.button.cancel")))])],1)]),e("ant-modal",{attrs:{visible:t.open,"modal-title":t.formTitle1,"adjust-size":!0,modalHeight:t.isMobile?"80vh":"680",modalWidth:t.isMobile?"100vw":"900"},on:{cancel:t.cancelForm,ok:t.ok}},[e("div",{attrs:{slot:"content"},slot:"content"},[e("a-form",[e("a-form-item",{attrs:{label:t.$t("components.yahooPathAdd.form.name")}},[e("a-input",{attrs:{placeholder:""},model:{value:t.form.name,callback:function(e){t.$set(t.form,"name",e)},expression:"form.name"}})],1),e("a-form-item",{attrs:{label:t.$t("components.yahooPathAdd.form.display")}},[e("a-select",{model:{value:t.form.display,callback:function(e){t.$set(t.form,"display",e)},expression:"form.display"}},[e("a-select-option",{attrs:{value:"0"}},[t._v("私有")]),e("a-select-option",{attrs:{value:"1"}},[t._v("共有")])],1)],1),e("a-form-item",{attrs:{label:t.$t("components.yahooPathAdd.form.hiddenFlag")}},[e("a-select",{model:{value:t.form.hidden_flag,callback:function(e){t.$set(t.form,"hidden_flag",e)},expression:"form.hidden_flag"}},[e("a-select-option",{attrs:{value:"0"}},[t._v("普通页面")]),e("a-select-option",{attrs:{value:"1"}},[t._v("隐藏页面")])],1)],1),e("a-form-item",{attrs:{label:t.$t("components.yahooPathAdd.form.parentPageKey")}},[e("div",{attrs:{color:{color:t.form.page_key?"#ccc":"#000"}},on:{click:t.openPathSelect}},[e("a-icon",{attrs:{type:"plus"}}),t._v(t._s(t.parentName)+" ")],1)])],1)],1)]),e("ant-modal",{attrs:{visible:t.visable,"modal-title":t.formTitle2,"adjust-size":!0,modalHeight:t.isMobile?"80vh":"680",modalWidth:t.isMobile?"100vw":"900"},on:{cancel:t.cancelPathSelect,ok:t.cancelPathSelect}},[e("div",{attrs:{slot:"content"},slot:"content"},[t.pathList?e("a-tree",{attrs:{replaceFields:{title:"name",key:"page_key",slot:"title"},treeData:t.pathList,loadedKeys:t.loadKeys,loadData:t.loadPath,checkable:"",checkStrictly:!0,checkedKeys:t.pathKeys},on:{check:t.onCheck},scopedSlots:t._u([{key:"title",fn:function(a){var i=a.name;return[e("div",{staticClass:"pageKeyItem",staticStyle:{color:"#000",display:"flex","align-items":"center"}},[t._v(" "+t._s(i)+" ")])]}}],null,!1,1425135114)}):t._e()],1),e("div",{attrs:{slot:"footer"},slot:"footer"},[e("a-button",{on:{click:t.cancelPathSelect}},[t._v(t._s(t.$t("view.test.list.form.button.cancel")))])],1)])],1)},o=[],n=a("5530"),r=a("c7eb"),s=a("1da1"),l=a("2909"),c=(a("d81d"),a("99af"),a("2dd7")),u=a("dcb0"),d=a("2f62"),p={name:"yahooPathAdd",components:{AntModal:c["default"]},data:function(){return{open:!1,pathList:[],form:{},visable:!1,show:!1,pathKeys:[],loadKeys:[],parentName:""}},computed:Object(n["a"])({},Object(d["c"])(["shopId","isMobile"])),props:{sellerId:{type:String,default:""}},created:function(){this.formTitle=this.$t("components.yahooPathAdd.form.name"),this.formTitle1=this.$t("components.yahooPathAdd.form.name.add.title"),this.formTitle2=this.$t("components.yahooPathAdd.form.name.select.title"),this.getPathList()},methods:{openAddForm:function(){this.open=!0},cancelForm:function(){this.open=!1},openPathList:function(){this.show=!0},cancelPathList:function(){this.show=!1},getPathList:function(t,e){var a=this,i={seller_id:this.sellerId};return t&&(i.page_key=t),Object(u["j"])(i).then((function(i){return i.data.results&&i.data.results.length>0?i.data.results?(i.data.results.map((function(a){a.title&&(a.label=a.name,a.isLeaf=!1),a.isLeaf=!1,a.label=a.name,a.parentName=e,t&&(a.parent_page_key=t)})),"0"!==i.data.total_results_available?t?i.data.results:(a.pathList=Object(l["a"])(i.data.results),a.pathList):[]):void 0:null}))},loadPath:function(t,e){var a=this;return Object(s["a"])(Object(r["a"])().mark((function e(){var i;return Object(r["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return a.loadKeys.push(t.eventKey),a.parentName=t.label,e.next=4,a.getPathList(t.eventKey,t.label);case 4:i=e.sent,i&&i.length&&(t.dataRef.children=i),a.pathList=Object(l["a"])(a.pathList);case 7:case"end":return e.stop()}}),e)})))()},loadEvent:function(t){},onCheck:function(t,e){t.checked.length?this.pathKeys=[t.checked[t.checked.length-1]]:this.pathKeys=[],this.pathKeys.length?this.form.parent_page_key=this.pathKeys[0]:this.form.parent_page_key="",this.parentName=e.node.label},handleUpdate:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.form=t,this.pathKeys=[],this.parentName=t.parentName,this.formTitle1=this.$t("components.yahooPathAdd.form.name.edit.title",{name:t.name}),this.openAddForm()},expandNode:function(t){var e=[];t.map((function(t){e.push(t)})),this.loadKeys=[].concat(e)},ok:function(){var t=this;this.form.seller_id=this.sellerId,Object(u["h"])(this.form).then((function(e){0===e.code&&(t.$message.success(t.$t("components.yahooPathAdd.success")),t.$emit("ok"),t.loadKeys=[],t.pathKeys=[],t.getPathList())}))},openPathSelect:function(){this.form.page_key||(this.visable=!0)},cancelPathSelect:function(){this.visable=!1},openFormInit:function(){this.parentName="",this.form=Object.assign({},{seller_id:this.sellerId}),this.pathKeys=[],this.formTitle1=this.$t("components.yahooPathAdd.form.name.add.title"),this.openAddForm()}}},m=Object(n["a"])({},p),h=m,_=(a("5ea1"),a("2877")),g=Object(_["a"])(h,i,o,!1,null,null,null);e["default"]=g.exports},"2ab0":function(t,e,a){},"32e5":function(t,e,a){},3521:function(t,e,a){"use strict";a.r(e);a("b0c0"),a("a4d3"),a("e01a");var i=function(){var t=this,e=t._self._c;return e("span",[e("a-button",{attrs:{type:"primary"},on:{click:t.openModal}},[t._v(t._s(t.$t("components.bigcommerceGoods.open.button")))]),t.open?e("ant-modal",{attrs:{visible:t.open,"modal-title":t.modalTitle,"adjust-size":!0,modalHeight:"680",modalWidth:"820"},on:{cancel:t.cancelEditGoodInfo,ok:t.okEditGoodInfo}},[e("div",{attrs:{slot:"content"},slot:"content"},[e("a-form-model",{ref:"googleForm",attrs:{model:t.formData,rules:t.rules}},[e("a-row",{attrs:{gutter:12}},[e("a-col",{attrs:{lg:12}},[e("a-form-model-item",{attrs:{label:t.$t("view.item.list.itemTitle"),prop:"name",required:""}},[e("a-input",{model:{value:t.formData.name,callback:function(e){t.$set(t.formData,"name",e)},expression:"formData.name"}})],1)],1),e("a-col",{attrs:{lg:12}},[e("a-form-model-item",{attrs:{label:t.$t("components.dyProduct.dyProduct.bran"),prop:"brand_id",required:""}},[e("a-select",{staticStyle:{width:"100%"},on:{change:t.changeBrand},model:{value:t.formData.brand_id,callback:function(e){t.$set(t.formData,"brand_id",e)},expression:"formData.brand_id"}},t._l(t.brandList,(function(a){return e("a-select-option",{key:a.id,attrs:{value:a.id}},[t._v(t._s(a.name))])})),1)],1)],1),e("a-col",{attrs:{lg:12}},[e("a-form-model-item",{attrs:{label:t.$t("table.mall_cats"),prop:"categories",required:""}},[e("a-select",{staticStyle:{width:"100%"},attrs:{mode:"multiple"},on:{change:t.changeBrand},model:{value:t.formData.categories,callback:function(e){t.$set(t.formData,"categories",e)},expression:"formData.categories"}},t._l(t.shopCatList,(function(a){return e("a-select-option",{key:a.category_id,attrs:{value:a.category_id}},[t._v(t._s(a.name))])})),1)],1)],1),e("a-col",{attrs:{lg:12}},[e("a-form-model-item",{attrs:{label:t.$t("view.item.list.price"),prop:"price",required:""}},[e("a-input",{model:{value:t.formData.price,callback:function(e){t.$set(t.formData,"price",e)},expression:"formData.price"}})],1)],1),e("a-col",{attrs:{lg:12}},[e("a-form-model-item",{attrs:{label:t.$t("components.bigcommerce.weight"),prop:"weight",required:""}},[e("a-input",{attrs:{suffix:"kg"},model:{value:t.formData.weight,callback:function(e){t.$set(t.formData,"weight",e)},expression:"formData.weight"}})],1)],1),e("a-col",{attrs:{lg:24}},[e("a-row",{attrs:{gutter:[12,12]}},t._l(t.formData.images,(function(t,a){return e("a-col",{key:a,attrs:{lg:4}},[e("div",{staticStyle:{width:"100%",height:"100%"}},[e("img",{staticStyle:{width:"100%",height:"100%"},attrs:{src:t.image_url}})])])})),1)],1),e("a-col",{attrs:{lg:24}},[e("a-table",{attrs:{columns:t.stockColumns,"data-source":t.formData.variants,pagination:!1},scopedSlots:t._u([{key:"image",fn:function(t,a){return e("span",{},[e("div",[e("img",{staticStyle:{height:"80px"},attrs:{src:a.image_url}})])])}},{key:"calculated_price",fn:function(a,i){return e("span",{},[e("div",[e("a-input-number",{model:{value:i.calculated_price,callback:function(e){t.$set(i,"calculated_price",e)},expression:"record.calculated_price"}})],1)])}},{key:"sku",fn:function(a,i){return e("span",{},[e("div",[e("a-input-number",{model:{value:i.sku,callback:function(e){t.$set(i,"sku",e)},expression:"record.sku"}})],1)])}},{key:"option_values",fn:function(a,i){return e("span",{},[i.option_values?e("div",t._l(i.option_values,(function(a,o){return e("div",{key:i.sku_id+"---"+o,staticStyle:{display:"flex"}},[e("div",{staticStyle:{"margin-right":"5px"}},[e("a-input",{staticStyle:{width:"100px"},model:{value:a.option_display_name,callback:function(e){t.$set(a,"option_display_name",e)},expression:"option.option_display_name"}})],1),e("div",[e("a-input",{model:{value:a.label,callback:function(e){t.$set(a,"label",e)},expression:"option.label"}})],1)])})),0):t._e()])}}],null,!1,1698425115)})],1),e("a-col",{attrs:{lg:24}},[e("v-ditor",{ref:"ComDitor",attrs:{good_id:t.goods.good_id,value:t.formData.description,updateStatus:t.aiTsUpdate},on:{"update:value":function(e){return t.$set(t.formData,"description",e)},"update:updateStatus":function(e){t.aiTsUpdate=e},"update:update-status":function(e){t.aiTsUpdate=e}}})],1)],1)],1)],1)]):t._e()],1)},o=[],n=a("5530"),r=(a("d3b7"),a("3ca3"),a("ddb0"),a("d81d"),a("a15b"),a("7db0"),a("a026")),s=a("1b6c"),l=a("b775"),c={brandGet:"/bigcommerce/brands",shopCat:"/bigcommerce/categories",goodAdd:"/bigcommerce/products/adding",goodList:"/bigcommerce/products/listing"};function u(t){return Object(l["b"])({url:c.brandGet,method:"get",params:t})}function d(t){return Object(l["b"])({url:c.shopCat,method:"get",params:t})}function p(t){return Object(l["b"])({url:c.goodAdd,method:"post",data:t})}var m=Object(r["b"])((function(){return Promise.resolve().then(a.bind(null,"2dd7"))})),h=Object(r["b"])((function(){return Promise.resolve().then(a.bind(null,"1605"))})),_=Object(r["b"])((function(){return Promise.resolve().then(a.bind(null,"68dd"))})),g=Object(r["b"])((function(){return Promise.resolve().then(a.bind(null,"5ac8"))})),f={name:"bigcommerceGoods",data:function(){return{open:!1,modalTitle:"",formData:{},channelList:[{name:Object(s["b"])("components.googleGoods.channel.local"),value:"local"},{name:Object(s["b"])("components.googleGoods.channel.online"),value:"online"}],rules:{},brandQuery:{page:1,limit:10},shopCatQuery:{page:1,limit:10},brandList:[],shopCatList:[],stockColumns:[{title:Object(s["b"])("components.bigcommerce.skulist.image"),dataIndex:"image",scopedSlots:{customRender:"image"}},{title:Object(s["b"])("components.bigcommerce.skulist.option_values"),dataIndex:"option_values",scopedSlots:{customRender:"option_values"}},{title:Object(s["b"])("components.bigcommerce.skulist.calculated_price"),dataIndex:"calculated_price",scopedSlots:{customRender:"calculated_price"}}],aiTsUpdate:!1}},props:{goods:null,sellerId:{type:String,default:""}},methods:{openModal:function(t){this.initData(this.goods),this.brandGet(),this.shopCatGet(),this.open=!0},saveInit:function(){this.initData(this.goods),this.okEditGoodInfo()},brandGet:function(){var t=this;u(this.brandQuery).then((function(e){t.brandList=e.list}))},shopCatGet:function(){var t=this;d(this.shopCatQuery).then((function(e){e.list&&(t.shopCatList=e.list)}))},initData:function(t){var e=this;this.goods=t,this.modalTitle=this.$t("components.bigcommerce.modal.title"),this.pathList=[],this.formData={target_country:"",goods_id:t.good_id,content_language:""},p({bee_hole_goods_id:t.good_id}).then((function(t){t.payload&&(e.formData=t.payload,e.formData.categories||(e.formData.categories=[]),e.formData=JSON.parse(JSON.stringify(e.formData)))}))},backLang:function(t){this.formData.content_language=t},okEditGoodInfo:function(){var t=this,e={payload:JSON.parse(JSON.stringify(this.formData)),bee_hole_goods_id:this.goods.good_id};e.payload.variants=e.payload.variants.map((function(t){if(!t.sku){var e=t.option_values.map((function(t){return t.option_display_name+"-"+t.label}));t.sku=e.join(";")}return t})),p(e).then((function(e){0===e.code&&(t.cancelEditGoodInfo(),t.$message.success(t.$t("components.google.modal.success")),t.$emit("ok",e))}))},cancelEditGoodInfo:function(){this.open=!1},changeBrand:function(t){var e=this.brandList.find((function(e){return e.id===t}));e&&(this.formData.brand_id=e.id,this.formData.brand_name=e.name)}},components:{AntModal:m,PsCountrySelect:h,ViewSelect:_,VDitor:g}},k=Object(n["a"])({},f),b=k,v=a("2877"),y=Object(v["a"])(b,i,o,!1,null,null,null);e["default"]=y.exports},"3b1b":function(t,e,a){"use strict";a.r(e);a("b0c0"),a("a9e3");var i=function(){var t=this,e=t._self._c;return e("div",[e("a-card",{staticClass:"orderList",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:{gutter:12,type:"flex"}},["admin"==t.roles[0]?e("a-col",{attrs:{lg:7,xl:8,xxl:6}},[e("a-form-item",{attrs:{label:t.$t("view.order.list.shop.seller")}},[e("div",{staticStyle:{display:"flex","align-items":"center"}},[e("seller-list",{on:{changeuser:t.changeUser}})],1)])],1):t._e(),"admin"==t.roles[0]&&t.userId?e("a-col",{attrs:{lg:6,xl:6,xxl:4}},[e("a-form-item",{attrs:{label:t.$t("view.order.list.shop")}},[e("shop-select",{ref:"shopSelect",attrs:{userId:t.userId},on:{change:t.changeShop}})],1)],1):t._e(),t.userId?t._e():e("a-col",{attrs:{lg:11,xl:"admin"==t.roles[0]?6:8,xxl:"admin"==t.roles[0]?4:6}},[e("a-form-item",{attrs:{label:t.$t("view.order.detail.item"),labelCol:{md:8,sm:8,lg:10},wrapperCol:{md:16,sm:16,lg:14}}},[e("good-list",{staticStyle:{width:"100%"},attrs:{type:"radio"},on:{changeitem:t.changeItem}})],1)],1)],1),e("a-row",{attrs:{gutter:12,type:"flex"}},[e("a-col",{attrs:{lg:7,xl:8,xxl:6}},[e("a-form-item",{attrs:{label:t.$t("view.order.list.orderno")}},[e("a-input",{attrs:{placeholder:t.$t("view.order.list.inputorderno"),"allow-clear":""},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleQuery.apply(null,arguments)}},model:{value:t.orderId,callback:function(e){t.orderId=e},expression:"orderId"}})],1)],1),e("a-col",{attrs:{lg:6,xl:6,xxl:4,xs:24,md:12}},[e("a-form-item",{attrs:{label:t.$t("view.order.list.export.user_select_title")}},[e("member-list",{attrs:{shopId:t.checkedShopId},on:{changeMember:t.changeMember}})],1)],1),e("a-col",{attrs:{lg:11,xl:5,xxl:5,md:16}},[e("a-form-item",{attrs:{label:t.$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}}},[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:24,xxl:8}},[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("a-button",{staticStyle:{"margin-left":"8px"},on:{click:t.orderExport}},[e("a-icon"),t._v(t._s(t.$t("view.order.list.export.btn"))+" ")],1),e("syn-config",{attrs:{syn_idf:2}})],1)])],1),e("a-row",{attrs:{gutter:12,type:"flex"}},[e("a-col",{attrs:{lg:7,xl:7,xxl:6}},[e("a-form-item",{attrs:{label:t.$t("view.purchaseOrder.list.purchaseId"),labelCol:{xl:10},wrapperCol:{xl:14}}},[e("a-input",{attrs:{placeholder:t.$t("view.purchaseOrder.list.purchaseId"),"allow-clear":""},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleQuery.apply(null,arguments)}},model:{value:t.purchaseId,callback:function(e){t.purchaseId=e},expression:"purchaseId"}})],1)],1),e("a-col",{attrs:{lg:7,xl:7,xxl:6}},[e("a-form-item",{attrs:{label:t.$t("view.item.component.item.syn.syntype.title"),labelCol:{xl:10},wrapperCol:{xl:14}}},[e("platform",{attrs:{syntype:t.from_id,viewPlatform:2},on:{"update:syntype":function(e){t.from_id=e},selectPlatForm:t.changePlatForm}})],1)],1),t.platFormShops.length?e("a-col",{attrs:{lg:7,xl:6,xxl:4}},[e("a-form-item",{attrs:{label:t.$t("components.dyProduct.dyProduct.oauth.shopname")}},[e("a-select",{staticStyle:{width:"255px"},attrs:{allowClear:!0,placeholder:t.$t("components.dyProduct.dyProduct.shopname.placeholder")},model:{value:t.from_shop_id,callback:function(e){t.from_shop_id=e},expression:"from_shop_id"}},t._l(t.platFormShops,(function(a,i){return e("a-select-option",{key:i,attrs:{value:a.value}},[t._v(t._s(a.name))])})),1)],1)],1):t._e()],1)],1)],1)]),e("div",[e("view-select",{staticStyle:{display:"none"},on:{change:t.backViewId}}),t.showReviewModal?e("review-list",{ref:"ReviewList",on:{close:function(e){t.showReviewModal=!1}}}):t._e(),t.orderDetailModal?e("order-detail",{ref:"OrderDetail",attrs:{modalHeight:.8*t.windowHeight+""},on:{close:function(e){t.orderDetailModal=!1}}}):t._e(),t.showFaHuoModal?e("review-list1",{ref:"ReviewList1",on:{ok:t.getList,close:function(e){t.showFaHuoModal=!1}}}):t._e(),t.showInsureModal?e("insure-list",{ref:"InsureList",on:{ok:t.getList,close:function(e){t.showInsureModal=!1}}}):t._e(),t.showModifyShipping?e("modify-shipping",{ref:"ModifyShipping",on:{ok:t.getList,close:function(e){t.showModifyShipping=!1}}}):t._e(),t.showHandlePayModal?e("handle-pay-list",{ref:"HandlePayList",on:{ok:t.getList,close:function(e){t.showHandlePayModal=!1}}}):t._e(),t.showCaiGouModal?e("caigou",{ref:"pushCaiGou",on:{ok:t.getList,close:function(e){t.showCaiGouModal=!1}}}):t._e(),e("stockAdd",{ref:"stockAdd"})],1),e("a-card",{staticClass:"table-card",attrs:{bordered:!1}},[e("a-tabs",{staticClass:"loginTitle",on:{change:function(e){return t.orderQuery(e)}}},t._l(t.statusLists,(function(t){return e("a-tab-pane",{key:t.value,attrs:{tab:t.label}})})),1),e("advance-table",{attrs:{loading:t.loading,size:"middle","row-selection":{selectedRowKeys:t.selectedRowKeys,onChange:t.onSelectChange},"format-conditions":!1,columns:t.columns,"data-source":t.list,rowKey:"order_id",tableKey:"test-cat-catlist-table",expandedRowKeys:t.expandedRowKeys,pagination:{current:t.queryParam.page,pageSize:t.queryParam.limit,total:t.total_count,showSizeChanger:!0,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:" "},scopedSlots:t._u([{key:"order_id",fn:function(a){var i=a.text,o=a.record;return e("span",{},[o.from_id?e("div",[t.shouldDisplayTag(o)?e("a-tag",{attrs:{color:"#f50"}},[t._v(" "+t._s(t.showTag(o))+" ")]):t._e()],1):t._e(),e("div",{staticStyle:{display:"flex","flex-wrap":"wrap"}},[e("span",[e("a",{on:{click:function(e){return t.handleOrderDetail(o)}}},[t._v(" "+t._s(i)+" ")]),e("copyText",{attrs:{text:i,tooltipText:t.$t("view.order.list.order_id.copy")}})],1)]),e("div",[t._v(t._s(o.create_time))]),e("a",{attrs:{type:"primary"},on:{click:function(e){return t.orderPrint(o)}}},[t._v(t._s(t.$t("view.order.detail.print.btn")))]),e("br"),"admin"==t.roles[0]&&1!==o.shop_id?e("div",[e("supply-info",{attrs:{shopId:o.shop_id}})],1):t._e(),o.order_item[0].stock_log?e("div",[t._v(" "+t._s(t.$t("view.order.target.wareHouse"))+" : "),o.order_item[0].stock_log?e("wareHouseInfo",{attrs:{isTag:!0,warehouseId:Number(o.order_item[0].stock_log.warehouse_id)}}):t._e(),"ORDER_WAIT_SHIP"===o.status?e("span",[t._v("-")]):t._e(),"ORDER_WAIT_SHIP"===o.status?e("orderSwitchWareHouse",{attrs:{skuId:o.order_item[0].sku_id,orderId:o.order_id},on:{ok:t.getList}}):t._e()],1):t._e(),o.order_item[0].stock_log?e("div",[e("webHookInfo",{attrs:{orderId:o.order_id,orderStatus:o.status,wareHouseId:Number(o.order_item[0].stock_log.warehouse_id)}})],1):t._e(),e("dispath-note",{staticStyle:{display:"none"},attrs:{order:o}})],1)}},{key:"order_item",fn:function(a){var i=a.text,o=a.record;return e("span",{},t._l(i,(function(a,n){return e("div",{key:a.sku_id,staticStyle:{display:"flex","margin-bottom":"10px"}},[e("div",[e("a-avatar",{attrs:{shape:"square",size:85,src:a.img_url},on:{click:function(e){return t.openItem(a)}}}),1==t.shopId?e("div",{staticStyle:{"margin-top":"0.5rem"}},[e("a-tag",{attrs:{color:2==a.mailing_mode?"red":"green"}},[1===t.shopId?e("div",[2==a.mailing_mode?e("div",[t._v(" "+t._s(t.$t("view.item.component.item.supply.shippingConfig.myself"))+" ")]):t._e(),1==a.mailing_mode?e("div",[t._v(" "+t._s(t.$t("view.item.component.item.supply.shippingConfig.platform"))+" ")]):t._e(),0==a.mailing_mode?e("div",[t._v(" "+t._s(t.$t("view.item.component.item.supply.shippingConfig.platform"))+" ")]):t._e()]):t._e(),1!==t.shopId?e("div",[2==a.mailing_mode?e("div",[t._v(" "+t._s(t.$t("view.item.component.item.supply.shippingConfig.myself1"))+" ")]):t._e(),1==a.mailing_mode?e("div",[t._v(" "+t._s(t.$t("view.item.component.item.supply.shippingConfig.platform1"))+" ")]):t._e(),0==a.mailing_mode?e("div",[t._v(" "+t._s(t.$t("view.item.component.item.supply.shippingConfig.platform1"))+" ")]):t._e()]):t._e()])],1):t._e()],1),e("div",{staticStyle:{"margin-left":"10px",flex:"1"}},[e("a-row",{attrs:{type:"flex"}},[e("a-col",{attrs:{flex:3}},[e("a",{on:{click:function(e){return t.openItem(a)}}},[t._v(" "+t._s(a.title)+" ")])])],1),e("a-row",{attrs:{type:"flex"}},[e("a-col",[t._v(" "+t._s(o.currency)+" "+t._s(a.price)+" ")]),e("a-col",{staticStyle:{"padding-left":"5px"}},[e("a-icon",{staticStyle:{"font-size":"10px","margin-right":"0","padding-right":"0"},attrs:{type:"close"}}),t._v(" "+t._s(a.num)+" ")],1),e("a-col",{staticStyle:{"padding-left":"5px"}},[a.activity_info&&a.activity_info.wholesaleprice_id>0?e("a-tooltip",[e("template",{slot:"title"},[t._v(" "+t._s(1===t.wholesalePriceData.type?t.$t("view.order.list.discount",{start:t.wholesalePriceData.start_num,end:t.wholesalePriceData.end_num,discount:t.wholesalePriceData.price}):t.$t("view.order.list.price",{start:t.wholesalePriceData.start_num,end:t.wholesalePriceData.end_num,price:t.shopQuoteCurrency+t.wholesalePriceData.price}))+" ")]),e("a-tag",{attrs:{color:"#2db7f5"},on:{mouseover:function(e){return t.getOrderItemWholesalePrice(a.activity_info.wholesaleprice_id)}}},[t._v(" "+t._s(t.$t("view.item.wholesale.form.new_price"))+" ")])],2):t._e()],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,i){return e("div",{key:i},[e("span",[t._v(t._s(i)+":"+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"))+" : "),e("a",{on:{click:function(e){return t.handleStockAdd(a)}}},[t._v(" "+t._s(a.out_id))]),e("skuConv",{attrs:{fromPlatform:o.from_id,outId:a.out_id}})],1),e("a-col",{attrs:{flex:3}})],1),n<i.length-1?e("a-divider"):t._e()],1)])})),0)}},{key:"payment",fn:function(a){var i=a.text,o=a.record;return e("span",{},[""===o.from_id?e("a-row",[e("a-col",{attrs:{lg:24}},[t._v(" "+t._s(t.$t("view.order.list.biaojiahuobi"))+" : "+t._s(t.shopQuoteCurrency)+" "+t._s(i)+" ")]),e("a-col",{attrs:{lg:24}},[t._v(" "+t._s(t.$t("view.order.list.payhuobiprice"))+" : "+t._s(o.trans_currency)+" "+t._s(o.trans_amount)+" ")])],1):t._e(),""!==o.from_id?e("a-row",[e("a-col",{attrs:{lg:24}},[t._v(" "+t._s(o.currency)+" "+t._s(i)+" ")])],1):t._e()],1)}},{key:"status",fn:function(a){var i=a.text;return e("span",{},[e("div",[t._v(" "+t._s(t.$t(i))+" ")])])}},{key:"paymemberInfo",fn:function(a){var i=a.record;return e("span",{},[e("a-row",[i?e("a-col",{attrs:{lg:24}},[t._v(" "+t._s(t.$t("view.gangwei.list.realname"))+" : "),"CN"===i.country||"HK"===i.country||"MO"===i.country||"TW"===i.country||"SG"===i.country||"JP"===i.country||"KR"===i.country||"HU"===i.country||"VN"===i.country?e("span",[t._v(t._s(i.last_name||"")+" "+t._s(i.first_name||""))]):e("span",[t._v(t._s(i.first_name||"")+" "+t._s(i.last_name||""))]),!i.member_id||"purchase"!=i.from_id&&"handlePay"!=i.from_id&&""!=i.from_id?t._e():e("message",{staticStyle:{display:"inline-block","margin-left":"5px"},attrs:{memberId:i.member_id}})],1):t._e(),i.phone&&""!=i.phone?e("a-col",{attrs:{lg:24}},[t._v(" "+t._s(t.$t("view.order.detail.ship_phone"))+" : "+t._s(i.phone)+" ")]):t._e(),e("a-col",{attrs:{lg:24}},[t._v(" "+t._s(t.$t("view.order.detail.ship_country"))+" : "+t._s(t.$t(i.country))+" ")]),e("a-col",{attrs:{lg:24}},[t._v(" "+t._s(t.$t("view.order.detail.ship_state"))+" : "+t._s(i.state)+" ")]),i.city?e("a-col",{attrs:{lg:24}},[t._v(" "+t._s(t.$t("view.order.detail.ship_city"))+" : "+t._s(i.city)+" ")]):t._e(),i.street?e("a-col",{attrs:{lg:24}},[t._v(" "+t._s(t.$t("view.order.detail.ship_street"))+" : "+t._s(i.street)+" ")]):t._e(),i.apartment?e("a-col",{attrs:{lg:24}},[t._v(" "+t._s(t.$t("view.order.detail.ship_men"))+" : "+t._s(i.apartment)+" ")]):t._e(),i.zip_code?e("a-col",{attrs:{lg:24}},[t._v(" "+t._s(t.$t("view.order.detail.zipcode"))+" : "+t._s(i.zip_code)+" ")]):t._e(),e("a-col",{attrs:{lg:24}},[t._v(" "+t._s(t.$t("view.order.detail.memberNote"))+" : "+t._s(i.member_note)+" ")]),e("a-col",{attrs:{lg:24}},[e("a-button",{directives:[{name:"show",rawName:"v-show",value:"ORDER_WAIT_SHIP"===i.status,expression:"record.status === 'ORDER_WAIT_SHIP'"}],attrs:{type:"primary"},on:{click:function(e){return t.handleModifyShipping(i)}}},[t._v(" "+t._s(t.$t("view.system.resourcegroup.Update"))+" ")])],1)],1)],1)}},{key:"operation",fn:function(a){var i=a.record;return e("span",{},[e("a",{on:{click:function(e){return t.handleReview(i)}}},[t._v(" "+t._s(t.$t("view.order.list.review.btn"))+" ")]),e("span",[e("a-divider",{attrs:{type:"vertical"}}),e("a",{on:{click:function(e){return t.handleInsure(i)}}},[t._v(" "+t._s(t.$t("view.order.list.insure.btn"))+" ")])],1),e("span",{directives:[{name:"show",rawName:"v-show",value:"ORDER_WAIT_PAYMENT"===i.status||"ORDER_PART_PAID"===i.status,expression:"record.status === 'ORDER_WAIT_PAYMENT' || record.status === 'ORDER_PART_PAID'"}]},[e("a-divider",{attrs:{type:"vertical"}}),e("a",{on:{click:function(e){return t.handlePay(i,!1)}}},[t._v(" "+t._s(t.$t("view.order.list.manual_pay"))+" ")])],1),e("span",{directives:[{name:"show",rawName:"v-show",value:"ORDER_WAIT_PAYMENT"===i.status||"ORDER_PART_PAID"===i.status||"ORDER_WAIT_SHIP"===i.status,expression:"\n record.status === 'ORDER_WAIT_PAYMENT' ||\n record.status === 'ORDER_PART_PAID' ||\n record.status === 'ORDER_WAIT_SHIP'\n "}]},[e("a-divider",{attrs:{type:"vertical"}}),e("a",{on:{click:function(e){return t.handleCloseOrder(i,!1)}}},[t._v(" "+t._s(t.$t("view.order.list.closeOrder"))+" ")])],1),e("span",{directives:[{name:"show",rawName:"v-show",value:"ORDER_WAIT_PAYMENT"!==i.status&&"ORDER_PART_PAID"!==i.status&&"handlePay"===i.from_id,expression:"\n record.status !== 'ORDER_WAIT_PAYMENT' &&\n record.status !== 'ORDER_PART_PAID' &&\n record.from_id === 'handlePay'\n "}]},[e("a-divider",{attrs:{type:"vertical"}}),e("a",{on:{click:function(e){return t.handlePay(i,!0)}}},[t._v(" "+t._s(t.$t("view.order.list.manual_pay"))+" ")])],1),e("span",{directives:[{name:"show",rawName:"v-show",value:"ORDER_WAIT_SHIP"===i.status,expression:"record.status === 'ORDER_WAIT_SHIP'"}]},[e("a-divider",{attrs:{type:"vertical"}}),e("a",{on:{click:function(e){return t.handleFaHuo(i)}}},[t._v(" "+t._s(t.$t("view.order.list.ship.btn"))+" ")])],1),e("span",{directives:[{name:"show",rawName:"v-show",value:"ORDER_AFTER_SALE"===i.status,expression:"record.status === 'ORDER_AFTER_SALE'"}]},[e("a-divider",{attrs:{type:"vertical"}}),e("a",{on:{click:function(e){return t.handleCancelAfterSales(i)}}},[t._v(" "+t._s(t.$t("view.order.list.aftersale.cancel.btn"))+" ")])],1),e("span",{directives:[{name:"show",rawName:"v-show",value:"ORDER_WAIT_SHIP"===i.status,expression:"record.status === 'ORDER_WAIT_SHIP'"}]},[e("a-divider",{attrs:{type:"vertical"}}),e("a-popover",{attrs:{title:t.$t("view.order.list.reset.push.log.title"),trigger:"click",placement:"bottom"}},[e("template",{slot:"content"},[e("a-table",{attrs:{columns:t.logListTitle,"data-source":t.logData,pagination:{pageSize:3}}},[e("span",{attrs:{slot:"action"},slot:"action"},[e("a-button",{attrs:{type:"primary"},on:{click:function(e){return t.orderPush(i)}}},[t._v(" "+t._s(t.$t("view.order.list.reset.push.log.action.btn"))+" ")])],1)])],1),e("a",{attrs:{type:"primary"},on:{click:function(e){return t.orderPushLog(i)}}},[t._v(t._s(t.$t("view.order.list.reset.push.log")))])],2)],1),"ORDER_WAIT_SHIP"===i.status?e("span",[e("a-divider",{attrs:{type:"vertical"}}),e("a",{on:{click:function(e){return t.pushCaiGou(i)}}},[t._v(t._s(t.$t("component.procure.create.button1")))])],1):t._e(),e("div",[e("div",{attrs:{title:"订单备注"}},[i.user_note?e("a-tag",{staticStyle:{width:"80%"},attrs:{color:"orange"}},[t._v(t._s(i.user_note))]):t._e()],1),e("order-note",{attrs:{orderId:i.order_id,note:i.user_note},on:{ok:function(e){return t.getList()}}})],1)])}}])},[e("div",{staticClass:"table-operations",attrs:{slot:"button"},slot:"button"},[1!=t.shopId?e("autoPur"):t._e(),e("ordersShips",{attrs:{orders:t.selectedRows||[]},on:{ok:t.okShips}})],1)])],1)],1)},o=[],n=a("5530"),r=a("6958"),s=Object(n["a"])({},r["default"]),l=s,c=(a("be5e"),a("2877")),u=Object(c["a"])(l,i,o,!1,null,null,null);e["default"]=u.exports},"5ea1":function(t,e,a){"use strict";a("a4d4")},"8aac":function(t,e,a){"use strict";a.r(e);a("a9e3"),a("b0c0"),a("d3b7"),a("ddb0"),a("a4d3"),a("e01a");var i=function(){var t=this,e=t._self._c;return e("span",[t.tiktokItemOpen?e("AntModal",{attrs:{visible:t.tiktokItemOpen,"modal-title":t.formTitle,"adjust-size":!0,modalHeight:t.modalHeight,modalWidth:t.modalWidth},on:{cancel:t.cancelModal}},[e("div",{attrs:{slot:"content"},slot:"content"},[e("div",{staticStyle:{display:"none"}},[e("goodsIdList",{attrs:{goodsIds:t.goodsIds,goodsList:t.goodList},on:{"update:goodsList":function(e){t.goodList=e},"update:goods-list":function(e){t.goodList=e},back:t.initTiktok}})],1),e("a-row",{attrs:{type:"flex"}},[e("a-col",{attrs:{lg:2}},[e("leftTabItem",{on:{change:t.changeLeftTab}})],1),e("a-col",{style:{overflowY:"auto",overflowX:"hidden",height:Number(t.modalHeight)-150+"px"},attrs:{lg:21}},[t._l(t.tiktokProductList,(function(a,i){return e("div",{key:i,staticStyle:{"padding-bottom":"1rem"}},[e("div",{staticStyle:{"margin-bottom":"1rem"}},[e("kandengGoodsOne",{attrs:{goodsList:t.goodList,goodsId:i}})],1),"title"===t.formEditKey?e("div",[e("a-row",{attrs:{gutter:24}},[e("a-col",{attrs:{lg:24}},[e("a-form-model-item",{attrs:{label:t.$t("view.item.list.itemTitle"),required:""}},[e("a-input",{staticStyle:{width:"100%"},model:{value:a.title,callback:function(e){t.$set(a,"title",e)},expression:"tiktokGoodInfo.title"}})],1)],1)],1)],1):t._e(),"category"===t.formEditKey?e("div",[e("a-row",{attrs:{gutter:24}},[e("a-col",{attrs:{lg:12}},[t._v(" "+t._s(a.category_id)+" "),e("tiktokGlobalCategory",{ref:"globalCat",refInFor:!0,attrs:{catList:t.tiktokGlobalCategoryList[i],categoryId:a.category_id},on:{"update:categoryId":function(e){return t.$set(a,"category_id",e)},"update:category-id":function(e){return t.$set(a,"category_id",e)},backGlobalCategory:function(e){return t.backGlobalCategory(e,i)}}})],1)],1)],1):t._e(),"brand"===t.formEditKey?e("div",[e("a-form-model-item",{attrs:{label:t.$t("components.dyProduct.dyProduct.bran"),required:""}},[e("a-select",{staticStyle:{width:"30%"},attrs:{disabled:!0},model:{value:a.brand_id,callback:function(e){t.$set(a,"brand_id",e)},expression:"tiktokGoodInfo.brand_id"}},t._l(t.pinPaiList[i],(function(a){return e("a-select-option",{key:a.id,attrs:{title:a.name,value:a.id}},[t._v(" "+t._s(a.name)+" ")])})),1)],1)],1):t._e(),"attribute"===t.formEditKey?e("div",[e("a-collapse",{attrs:{defaultActiveKey:"0"}},[e("a-collapse-panel",{key:"1",staticStyle:{padding:"0px 20px"},attrs:{header:t.$t("components.dyProduct.dyProduct.attributes")}},[e("a-row",{attrs:{gutter:24}},t._l(t.product_attributesList[i],(function(a,o){return e("a-col",{key:a.id+o,attrs:{lg:6}},[a.is_requried?e("a-form-model-item",{attrs:{label:a.name,required:""}},[a.values&&a.values.length?[a.values&&a.values.length&&t.product_attributes[i]&&t.product_attributes[i][o]?e("a-select",{directives:[{name:"decorator",rawName:"v-decorator",value:["attribute"+t.product_attributes[i][o].id,{rules:t.getRules(t.product_attributes[i][o])}],expression:"[\n `attribute` + product_attributes[good_id][index].id,\n { rules: getRules(product_attributes[good_id][index]) },\n ]"}],staticStyle:{width:"100%"},attrs:{optionFilterProp:"title","show-search":""},on:{change:function(e,a){return t.onChangeAttributes(e,a,i,o)},search:function(e){return t.searchAttribute(e,o)},mouseenter:function(e){return t.getValues100(i,o)}},model:{value:t.product_attributes[i][o].values[0].id,callback:function(e){t.$set(t.product_attributes[i][o].values[0],"id",e)},expression:"product_attributes[good_id][index].values[0].id"}},t._l(a.list,(function(i){return a&&a.list?e("a-select-option",{key:i.id,attrs:{title:i.name,value:i.id,text:i.name}},[t._v(" "+t._s(i.name)+" ")]):t._e()})),1):t._e()]:[e("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["attribute"+t.product_attributes[i][o].id,{rules:t.getRules(t.product_attributes[i][o])}],expression:"[\n `attribute` + product_attributes[good_id][index].id,\n { rules: getRules(product_attributes[good_id][index]) },\n ]"}],model:{value:t.product_attributes[i][o].values[0].value,callback:function(e){t.$set(t.product_attributes[i][o].values[0],"value",e)},expression:"product_attributes[good_id][index].values[0].value"}})]],2):e("a-form-model-item",{attrs:{label:a.name}},[a.values&&a.values.length?[a.values&&a.values.length&&t.product_attributes[i][o]&&t.product_attributes[i][o].values[0]?e("a-select",{directives:[{name:"decorator",rawName:"v-decorator",value:["attribute"+t.product_attributes[i][o].id,{rules:t.getRules(t.product_attributes[i][o])}],expression:"[\n `attribute` + product_attributes[good_id][index].id,\n { rules: getRules(product_attributes[good_id][index]) },\n ]"}],staticStyle:{width:"100%"},attrs:{optionFilterProp:"title","show-search":""},on:{change:function(e,a){return t.onChangeAttributes(e,a,i,o)}},model:{value:t.product_attributes[i][o].values[0].id,callback:function(e){t.$set(t.product_attributes[i][o].values[0],"id",e)},expression:"product_attributes[good_id][index].values[0].id"}},t._l(a.values,(function(a){return e("a-select-option",{key:a.id,attrs:{title:a.name,value:a.id,text:a.name}},[t._v(" "+t._s(a.name)+" ")])})),1):t._e()]:[t.product_attributes&&t.product_attributes[i][o]?e("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["attribute"+t.product_attributes[i][o].id,{rules:t.getRules(t.product_attributes[i][o])}],expression:"[\n `attribute` + product_attributes[good_id][index].id,\n { rules: getRules(product_attributes[good_id][index]) },\n ]"}],model:{value:t.product_attributes[i][o].values[0].value,callback:function(e){t.$set(t.product_attributes[i][o].values[0],"value",e)},expression:"product_attributes[good_id][index].values[0].value"}}):t._e()]],2)],1)})),1)],1)],1)],1):t._e(),"image"===t.formEditKey?e("div",[e("a-form-model-item",{attrs:{label:t.$t("view.item.list.itemImage")}},t._l(a.main_images,(function(t,a){return e("a-col",{key:a,attrs:{lg:3}},[e("div",{staticClass:"ant-upload-list-item ant-upload-list-item-done ant-upload-list-item-list-type-picture-card",staticStyle:{height:"100px",width:"95px",padding:"0"}},[e("div",{staticStyle:{height:"100px",width:"95px"}},[e("div",{staticClass:"ant-upload-list-item-info",staticStyle:{height:"80px",width:"95px"}},[e("img",{staticStyle:{height:"80px",width:"95px"},attrs:{src:t.url}})]),e("span",{staticClass:"ant-upload-list-item-actions"})])])])})),1)],1):t._e(),"itemInfo"===t.formEditKey?e("div"):t._e(),"sizeChart"===t.formEditKey?e("div",[a.certifications?e("a-row",{attrs:{gutter:24}},t._l(a.certifications,(function(a,o){return e("a-col",{key:o},[e("a-form-model-item",{attrs:{label:a.name,required:""}}),e("tiktok-attach-upload",{attrs:{shop_cipher:t.tiktokShop.cipher,id:a.id,user_case:"4"},on:{uploadBack:function(e){return t.resetQuery(e,a.id,i)}}})],1)})),1):t._e(),a.size_chart?e("a-row",{attrs:{gutter:24,type:"flex"}},[a.size_chart.image?e("a-col",[e("a-form-model-item",{attrs:{label:t.$t("components.pl.product.sizeChart.image.uri.title"),required:""}},[e("tiktok-attach-upload",{attrs:{shop_cipher:t.tiktokShop.cipher,user_case:"4"},on:{uploadBack:function(e){return t.backSizeChartImage(e,i)}}}),a.size_chart.image.uri?e("div",{staticClass:"check-style-unequal-width"}):t._e()],1)],1):t._e(),a.size_chart.template?e("a-col",{staticStyle:{"line-height":"30px"}},[e("a-form-model-item",{attrs:{label:t.$t("components.pl.product.sizeChart.template.id.title"),required:""}},[e("a-input",{staticStyle:{width:"200px"},attrs:{placeholder:t.$t("components.pl.product.sizeChart.template.id.title")},model:{value:a.size_chart.template.id,callback:function(e){t.$set(a.size_chart.template,"id",e)},expression:"tiktokGoodInfo.size_chart.template.id"}}),e("a-tooltip",{attrs:{placement:"right"}},[e("template",{slot:"title"},[t._v(" "+t._s(t.$t("components.pl.product.sizeChart.template.question.title"))+" ")]),e("a-icon",{staticStyle:{"margin-left":"4px","margin-bottom":"2px"},attrs:{type:"question-circle"}})],2)],1)],1):t._e()],1):t._e()],1):t._e(),"packageWeight"===t.formEditKey?e("div",[e("a-row",{attrs:{gutter:24}},[a.package_weight?e("a-col",{attrs:{lg:6}},[e("a-form-model-item",{attrs:{label:t.$t("components.dyProduct.package_weight.value")+" "+a.package_weight.unit,required:""}},[e("a-input",{attrs:{disabled:!0},model:{value:a.package_weight.value,callback:function(e){t.$set(a.package_weight,"value",e)},expression:"tiktokGoodInfo.package_weight.value"}})],1)],1):t._e()],1)],1):t._e(),"packageSizeChart"===t.formEditKey?e("div",[e("a-row",{attrs:{gutter:24}},[e("a-col",{attrs:{lg:8}},[e("a-form-model-item",{attrs:{label:t.$t("components.dyProduct.package_dimensions.height")+" "+a.package_dimensions.unit,required:""}},[e("a-input",{attrs:{disabled:!0},model:{value:a.package_dimensions.height,callback:function(e){t.$set(a.package_dimensions,"height",e)},expression:"tiktokGoodInfo.package_dimensions.height"}})],1)],1),e("a-col",{attrs:{lg:8}},[e("a-form-model-item",{attrs:{label:t.$t("components.dyProduct.package_dimensions.width")+" "+a.package_dimensions.unit,required:""}},[e("a-input",{attrs:{disabled:!0},model:{value:a.package_dimensions.width,callback:function(e){t.$set(a.package_dimensions,"width",e)},expression:"tiktokGoodInfo.package_dimensions.width"}})],1)],1),e("a-col",{attrs:{lg:8}},[e("a-form-model-item",{attrs:{label:t.$t("components.dyProduct.package_dimensions.length")+" "+a.package_dimensions.unit,required:""}},[e("a-input",{attrs:{disabled:!0},model:{value:a.package_dimensions.length,callback:function(e){t.$set(a.package_dimensions,"length",e)},expression:"tiktokGoodInfo.package_dimensions.length"}})],1)],1)],1)],1):t._e(),"sku"===t.formEditKey?e("div",[e("a-row",{attrs:{gutter:24}},[e("a-col",{style:{overflowY:"auto",overflowX:"hidden",padding:"0px 0px",height:"300px"},attrs:{lg:24}},[e("a-table",{attrs:{columns:t.columns,"data-source":a.skus,pagination:!1},scopedSlots:t._u([{key:"id",fn:function(a,i){return[e("a-row",[e("a-col",[e("a-input",{attrs:{"addon-before":i.identifier_code.type},model:{value:i.identifier_code.code,callback:function(e){t.$set(i.identifier_code,"code",e)},expression:"record.identifier_code.code"}})],1)],1),e("a-row",[e("a-col",[e("a-input",{attrs:{disabled:!0},model:{value:i.seller_sku,callback:function(e){t.$set(i,"seller_sku",e)},expression:"record.seller_sku"}})],1)],1)]}},{key:"stock_num",fn:function(a,i){return[i.global_quantity?e("a-input-number",{model:{value:i.global_quantity,callback:function(e){t.$set(i,"global_quantity",e)},expression:"record.global_quantity"}}):t._e()]}},{key:"price",fn:function(a,i){return[e("a-input",{scopedSlots:t._u([{key:"addonBefore",fn:function(){return[e("div",[t._v(t._s(i.price.currency))])]},proxy:!0}],null,!0),model:{value:i.price.amount,callback:function(e){t.$set(i.price,"amount",e)},expression:"record.price.amount"}})]}},{key:"mall_warehouse",fn:function(a,i){return[i.inventory&&i.inventory.length?e("div",{staticStyle:{display:"flex","align-items":"center"}},[e("div",{staticStyle:{flex:"1"}},[e("a-select",{staticStyle:{width:"100%"},model:{value:i.inventory[0].global_warehouse_id,callback:function(e){t.$set(i.inventory[0],"global_warehouse_id",e)},expression:"record.inventory[0].global_warehouse_id"}},t._l(t.global_ware_house_list,(function(a){return e("a-select-option",{key:a.id,attrs:{value:a.id}},[t._v(" "+t._s(a.name)+" ")])})),1)],1),e("div",[e("a-tooltip",[e("template",{slot:"title"},[e("div",[t._v(t._s(t.$t("components.dyProduct.WareHouse.sync")))])]),e("a-button",{staticStyle:{padding:"0",width:"auto","min-width":"30px","text-align":"center"},on:{click:t.tiktokGlobalItemWarehouse}},[e("a-icon",{staticStyle:{"padding-right":"0"},attrs:{type:"sync"}})],1)],2)],1)]):t._e()]}},{key:"sales_attributes",fn:function(a,i){return[e("div",t._l(i.sales_attributes,(function(a,i){return e("a-row",{key:a.id,attrs:{type:"flex"}},[e("a-col",{key:i,staticStyle:{"line-height":"30px"},attrs:{lg:8}},[t._v(" "+t._s(a.name)+" ")]),e("a-col",{attrs:{lg:16}},[e("a-input",{attrs:{type:"text",value:a.value_name}})],1)],1)})),1)]}}],null,!0)})],1)],1)],1):t._e(),"description"===t.formEditKey?e("div",[e("a-row",[e("a-col",{staticStyle:{"margin-top":"10px"},attrs:{lg:24}},[e("dy-vditor",{ref:"ComDitor_"+i,refInFor:!0,attrs:{id:i,good_id:i,value:a.description,updateStatus:t.aiTsUpdate},on:{"update:value":function(e){return t.$set(a,"description",e)},"update:updateStatus":function(e){t.aiTsUpdate=e},"update:update-status":function(e){t.aiTsUpdate=e}}})],1)],1)],1):t._e(),"other"===t.formEditKey?e("div"):t._e()])})),e("div",["category"===t.formEditKey?e("div",[e("a-row",[e("span",[t._v(t._s(t.$t("components.dyProduct.pl.value")))])]),e("a-row",{attrs:{gutter:24}},[e("a-col",{attrs:{lg:12}},[e("tiktokGlobalCategory",{ref:"globalCat",attrs:{catList:t.catList},on:{backGlobalCategory:function(e){return t.backPlGlobalCategory(e)}}})],1)],1)],1):t._e(),"brand"===t.formEditKey?e("div",[e("a-row",[e("span",[t._v(t._s(t.$t("components.dyProduct.pl.value")))])]),e("a-form-model-item",{attrs:{label:t.$t("components.dyProduct.dyProduct.bran"),required:""}},[e("a-select",{staticStyle:{width:"30%"},attrs:{"show-search":"",getPopupContainer:function(t){return t.parentNode},optionFilterProp:"title"},on:{search:function(e){return t.searchPinPai(e)},change:t.changeBrand}},t._l(t.brandList,(function(a){return e("a-select-option",{key:a.id,attrs:{title:a.name,value:a.id}},[t._v(" "+t._s(a.name)+" ")])})),1)],1)],1):t._e(),"attribute"===t.formEditKey?e("div",[e("a-row",[e("span",[t._v(t._s(t.$t("components.dyProduct.pl.value")))])]),t.attributeList.length>0?e("a-collapse",{attrs:{defaultActiveKey:"-1"}},[e("a-collapse-panel",{key:"-1",staticStyle:{padding:"0px 20px"},attrs:{header:t.$t("components.dyProduct.dyProduct.attributes")}},[e("a-row",{attrs:{gutter:24}},t._l(t.attributeList,(function(a,i){return e("a-col",{key:a.id+i,attrs:{lg:6}},[a.is_requried?e("a-form-model-item",{attrs:{label:a.name,required:""}},[a.values&&a.values.length?[a.values&&a.values.length?e("a-select",{staticStyle:{width:"100%"},attrs:{optionFilterProp:"title","show-search":""},on:{change:function(e,a){return t.onChangePlAttributes(e,a,i)},search:function(e){return t.searchAttribute(e,i)},mouseenter:function(e){return t.getPlValues100(i)}}},t._l(a.list,(function(i){return a&&a.list?e("a-select-option",{key:i.id,attrs:{title:i.name,value:i.id,text:i.name}},[t._v(" "+t._s(i.name)+" ")]):t._e()})),1):t._e()]:[e("a-input",{on:{input:function(e){return t.inputAttribute(e,i)}}})]],2):e("a-form-model-item",{attrs:{label:a.name}},[a.values&&a.values.length?[a.values&&a.values.length?e("a-select",{staticStyle:{width:"100%"},attrs:{optionFilterProp:"title","show-search":""},on:{change:function(e,a){return t.onChangePlAttributes(e,a,i)},search:function(e){return t.searchAttribute(e,i)},mouseenter:function(e){return t.getPlValues100(i)}}},t._l(a.values,(function(a){return e("a-select-option",{key:a.id,attrs:{title:a.name,value:a.id,text:a.name}},[t._v(" "+t._s(a.name)+" ")])})),1):t._e()]:[e("a-input",{on:{input:function(e){return t.inputAttribute(e,i)}}})]],2)],1)})),1)],1)],1):t._e()],1):t._e(),"sizeChart"===t.formEditKey?e("div",[e("a-row",[e("span",[t._v(t._s(t.$t("components.dyProduct.pl.value")))])]),t.tiktokRule.size_chart.is_required&&t.tiktokRule.size_chart.is_supported?e("a-row",{attrs:{gutter:24,type:"flex"}},[e("a-col",[e("a-form-model-item",{attrs:{label:t.$t("components.pl.product.sizeChart.image.uri.title"),required:""}},[e("tiktok-attach-upload",{attrs:{shop_cipher:t.tiktokShop.cipher,user_case:"4"},on:{uploadBack:function(e){return t.backPlSizeChartImage(e)}}}),t.tiktokRule.size_chart.uri?e("div",{staticClass:"check-style-unequal-width"}):t._e()],1)],1),e("a-col",{staticStyle:{"line-height":"30px"}},[e("a-form-model-item",{attrs:{label:t.$t("components.pl.product.sizeChart.template.id.title"),required:""}},[e("a-input",{staticStyle:{width:"200px"},attrs:{placeholder:t.$t("components.pl.product.sizeChart.template.id.title")},on:{input:t.plTemplate}}),e("a-tooltip",{attrs:{placement:"right"}},[e("template",{slot:"title"},[t._v(" "+t._s(t.$t("components.pl.product.sizeChart.template.question.title"))+" ")]),e("a-icon",{staticStyle:{"margin-left":"4px","margin-bottom":"2px"},attrs:{type:"question-circle"}})],2)],1)],1)],1):t._e()],1):t._e(),"packageWeight"===t.formEditKey?e("div",[e("a-row",[e("span",[t._v(t._s(t.$t("components.dyProduct.pl.value")))])]),e("a-row",[e("a-form-model-item",{attrs:{label:t.$t("components.dyProduct.package_weight.value")+" KILOGRAM",required:""}},[e("a-input",{staticStyle:{width:"23%"},on:{change:t.plPackageWeight}})],1)],1)],1):t._e(),"packageSizeChart"===t.formEditKey?e("div",[e("a-row",[e("span",[t._v(t._s(t.$t("components.dyProduct.pl.value")))])]),e("a-row",{attrs:{gutter:24}},[e("a-col",{attrs:{lg:8}},[e("a-form-model-item",{attrs:{label:t.$t("components.dyProduct.package_dimensions.height")+" CENTIMETER",required:""}},[e("a-input",{on:{change:function(e){return t.plChangeSizeChart(e,"height")}}})],1)],1),e("a-col",{attrs:{lg:8}},[e("a-form-model-item",{attrs:{label:t.$t("components.dyProduct.package_dimensions.width")+" CENTIMETER",required:""}},[e("a-input",{on:{change:function(e){return t.plChangeSizeChart(e,"width")}}})],1)],1),e("a-col",{attrs:{lg:8}},[e("a-form-model-item",{attrs:{label:t.$t("components.dyProduct.package_dimensions.length")+" CENTIMETER",required:""}},[e("a-input",{on:{change:function(e){return t.plChangeSizeChart(e,"length")}}})],1)],1)],1)],1):t._e(),"sku"===t.formEditKey?e("div",[e("a-row",[e("span",[t._v(t._s(t.$t("components.dyProduct.pl.value")))])]),e("a-row",[e("a-form-model-item",{attrs:{label:t.$t("components.dyProduct.piliang_warehouse_stock")}},[e("a-input",{staticStyle:{width:"100px"},attrs:{type:"number",min:"1"},on:{change:t.inputPiliangStock}})],1)],1)],1):t._e()])],2)],1)],1),e("div",{attrs:{slot:"footer"},slot:"footer"},[e("div",{staticStyle:{float:"left"}}),e("a-button",{on:{click:t.cancelModal}},[t._v(t._s(t.$t("components.imagetext.translation.confirm.cancel")))]),e("a-button",{attrs:{type:"primary"},on:{click:t.saveTiktok}},[t._v(t._s(t.$t("component.artilce.save.button")))]),e("a-button",{staticClass:"btnSuccess",attrs:{loading:t.btnLoading},on:{click:t.batchSubmit}},[t._v(t._s(t.$t("components.pl.product.submit.title")))])],1)]):t._e()],1)},o=[],n=a("5530"),r=(a("3ca3"),a("d81d"),a("25f0"),a("b680"),a("4de4"),a("fb6a"),a("c740"),a("159b"),a("2f62")),s=a("a026"),l=a("296e"),c=a("b70c"),u=a("cec7"),d=a("2e136"),p=Object(s["b"])((function(){return Promise.resolve().then(a.bind(null,"2dd7"))})),m=Object(s["b"])((function(){return a.e("chunk-172cb599").then(a.bind(null,"16f2"))})),h=Object(s["b"])((function(){return a.e("chunk-172cb599").then(a.bind(null,"12b1"))})),_=Object(s["b"])((function(){return a.e("chunk-27080981").then(a.bind(null,"5f19"))})),g={name:"kandengList",props:{goodsIds:{type:Array,default:function(){return[]}}},computed:Object(n["a"])({},Object(r["c"])({shop_id:"shopId"})),components:{AntModal:p,goodsIdList:m,leftTabItem:h,kandengGoodsOne:_,dyVditor:u["default"],tiktokGlobalCategory:c["a"],tiktokAttachUpload:d["a"]},data:function(){return{formEditKey:"",columns:[{title:this.$t("components.dyProduct.dyProduct.sku.code"),dataIndex:"id",width:"30%",scopedSlots:{customRender:"id"}},{title:this.$t("view.item.sku.skuname"),dataIndex:"sales_attributes",width:"40%",scopedSlots:{customRender:"sales_attributes"}},{title:this.$t("view.item.sku.price"),dataIndex:"price",width:"18%",scopedSlots:{customRender:"price"}},{title:this.$t("view.item.sku.stock_num"),dataIndex:"stock_num",width:"12%",scopedSlots:{customRender:"stock_num"}}],aiTsUpdate:!1,ware_house_list:[],tiktokRule:{product_certifications:[],size_chart:{}},catList:[],brandList:[],attributeList:[],delivery:[],goodList:[],formTitle:this.$t("components.tiktokAddProduct.pl.title"),tiktokItemOpen:!1,tiktokItemTitle:this.$t("components.dyProduct.dyProduct.title"),tiktokProductType:2,tiktokShopSellerType:"",tiktokLocateList:["en-GB","en-US","id-ID","ms-MY","th-TH","vi-VN","zh-CN"],tiktokLocate:"",product_attributes:{},attributesList:{},pinPaiList:{},tiktokProductCatgoryShow:!1,tiktokLocalCategoryList:{},tiktokLocalPartnerCategoryList:{},tiktokGlobalLocate:"",tiktokProductGlobalCatgoryShow:!1,tiktokGlobalCategoryList:[],tiktokGlobalPartnerCategoryList:[],global_ware_house_list:[],tiktokProductCategoryId:"",tiktokGlobalProductCategoryId:"",tiktokShop:{},tiktokProductList:{},tiktokTuiJianCatList:{},product_attributesList:{},btnLoading:!1}},methods:{changeLeftTab:function(t){var e=this;"description"===this.formEditKey&&t!==this.formEditKey&&this._.map(this.tiktokProductList,(function(t,a){e.$refs["ComDitor_"+a][0].getValue1()})),this.formEditKey=t},initLoad:function(t){t&&(this.tiktokShop=t,this.tiktokShopSellerType=t.seller_type,this.tiktokGlobalItemWarehouse(),this.getPlGlobalCategory(),this.openModal())},openModal:function(){this.modalHeight=(.9*window.innerHeight).toFixed(0).toString(),this.modalWidth=(.8*window.innerWidth).toFixed(0).toString(),this.tiktokItemOpen=!0},cancelModal:function(){this.tiktokItemOpen=!1,this.ware_house_list=[],this.delivery=[],this.goodList=[],this.tiktokShopSellerType="",this.product_attributes={},this.attributesList={},this.pinPaiList={},this.tiktokGlobalCategoryList=[],this.tiktokGlobalPartnerCategoryList=[],this.global_ware_house_list=[],this.tiktokProductCategoryId="",this.tiktokGlobalProductCategoryId="",this.tiktokShop={},this.tiktokProductList={},this.tiktokTuiJianCatList={},this.product_attributesList={}},initTiktok:function(t){var e=this;Promise.all(this._.map(t,(function(t,a){return e.tiktokPublication(t)}))).then((function(t){e.$message.destroy()}))},tiktokPublication:function(t){var e=this,a=this,i={};return i.good_id=t.good_id,i.shop_cipher=a.tiktokShop.cipher,i.good_type=a.tiktokProductType,Object(l["h"])(i).then((function(i){return 0===i.code&&(delete i.code,delete i.message,a.tiktokProductList[t.good_id]=i,i.category_id&&(e.tiktokGlobalItemAttribute(t.good_id),e.getPinPai("",t.good_id)),a.tiktokProductList[t.good_id].delivery_option_ids&&1===a.tiktokProductList[t.good_id].delivery_option_ids.length&&""===a.tiktokProductList[t.good_id].delivery_option_ids[0]&&(a.tiktokProductList[t.good_id].delivery_option_ids=[]),"CROSS_BORDER"!==e.tiktokShopSellerType?e.getGlobalTuiJianCat(t.good_id):e.getGlobalCategory(t.good_id)),a.$set(e,"tiktokProductList",Object.assign({},a.tiktokProductList)),i}))},saveTiktok:function(){var t=this,e=this;this._.map(this.tiktokProductList,(function(a,i){var o;e.$refs["ComDitor_"+i]&&(null===(o=e.$refs["ComDitor_"+i])||void 0===o?void 0:o.length)>0&&e.$refs["ComDitor_"+i][0].getValue1();var n=[];t.product_attributes[i]&&t.product_attributes[i].map((function(t){var e;t.values&&t.values.length>0&&(t.values[0].value||t.values[0].id)&&((null===(e=t.values)||void 0===e?void 0:e.length)>=1&&(t.values[0].name=t.values[0].value),n.push(t))})),a.product_attributes=n}));var a={shop_cipher:this.tiktokShop.cipher,body:this.tiktokProductList,tiktok_good_type:this.tiktokProductType};Object(l["b"])(a).then((function(e){0===e.code?t.$message.success(t.$t("components.dyProduct.dyProduct.saveSuccess")):t.$message.error(t.$t("view.item.component.item.syn.operation.add.error.info"))}))},NewAttributesList:function(t){var e=this;this.product_attributesList[t]=this.attributesList[t].filter((function(t,e){return"PRODUCT_PROPERTY"===t.type&&t.is_requried&&t.values&&t.values.length>0&&(t.list=t.values.slice(0,100)),"PRODUCT_PROPERTY"===t.type})),this.product_attributes[t]||(this.product_attributes[t]=[]),this.tiktokProductList[t].product_attributes||(this.tiktokProductList[t].product_attributes=[]),this.product_attributesList[t].map((function(a){var i=e.tiktokProductList[t].product_attributes.findIndex((function(t){return t.id===a.id}));if(-1===i){var o={id:a.id,values:[]};a.values&&a.values.length>0?o.values.push({id:"",value:""}):o.values.push({value:""}),e.product_attributes[t].push(o)}else e.product_attributes[t].push(e.tiktokProductList[t].product_attributes[i])})),this.$set(this,"product_attributes",Object.assign({},this.product_attributes))},searchPinPai:function(t,e){this.getPinPai(t,e)},getPinPai:function(t,e){var a=this,i=this,o={shop_cipher:i.tiktokShop.cipher};t&&(o.brand_name=t),Object(l["u"])(o).then((function(t){0===t.code&&(a.pinPaiList[e]=t.data.brands,a.brandList=t.data.brands,a.$set(a,"pinPaiList",Object.assign({},a.pinPaiList)))}))},getPlPinPai:function(t){var e=this,a={shop_cipher:e.tiktokShop.cipher};t&&(a.brand_name=t),Object(l["u"])(a).then((function(t){0===t.code&&(e._.map(e.tiktokProductList,(function(a,i){e.pinPaiList[i]=t.data.brands})),e.brandList=t.data.brands,e.$set(e,"pinPaiList",Object.assign({},e.pinPaiList)))}))},changeBrand:function(t){this._.map(this.tiktokProductList,(function(e,a){e.brand_id=t})),this.$set(this,"tiktokProductList",Object.assign({},this.tiktokProductList))},getGlobalTuiJianCat:function(t){var e=this,a=this,i={body:{product_title:a.tiktokProductList[t].title},shop_cipher:a.tiktokShop.cipher};Object(l["l"])(i).then((function(a){if(0===a.code){var i="";a.data.categories.map((function(t){!t.is_leaf&&t.level<3?i+=t.name+">":t.is_leaf&&3===t.level&&(t.name=i+t.name)})),e.tiktokTuiJianCatList[t]=a.data.categories}}))},getGlobalCategory:function(t){var e=this,a=this,i={shop_cipher:a.tiktokShop.cipher};a.tiktokGlobalLocate&&(i.locale=a.tiktokGlobalLocate),Object(l["j"])(i).then((function(a){0===a.code&&(e.tiktokProductGlobalCatgoryShow=!0,e.tiktokGlobalCategory(a.data.categories,t))}))},getPlGlobalCategory:function(){var t=this,e={shop_cipher:t.tiktokShop.cipher};t.tiktokGlobalLocate&&(e.locale=t.tiktokGlobalLocate),Object(l["j"])(e).then((function(e){0===e.code&&(t.catList=e.data.categories)}))},tiktokGlobalCategory:function(t,e){this.tiktokGlobalCategoryList[e]=t,this.tiktokGlobalPartnerCategoryList[e]=this.tiktokGlobalCategoryList[e].filter((function(t){return"0"===t.parent_id})),this.$set(this,"tiktokGlobalCategoryList",Object.assign({},this.tiktokGlobalCategoryList))},backGlobalCategory:function(t,e){this.tiktokProductList[e].category_id=t,this.changeGlobalCategory(e)},backPlGlobalCategory:function(t){var e=this;this._.map(this.tiktokProductList,(function(a,i){e.tiktokProductList[i].category_id=t})),this.changePlGlobalCategory(t)},changeGlobalCategory:function(t){this.tiktokGlobalCategoryRule(t),this.getPinPai("",t),this.tiktokGlobalItemAttribute(t)},changePlGlobalCategory:function(t){this.tiktokPlGlobalCategoryRule(t),this.getPlPinPai(""),this.tiktokPlGlobalItemAttribute(t)},tiktokGlobalCategoryRule:function(t){var e=this,a=this,i={shop_cipher:a.tiktokShop.cipher,category_id:a.tiktokProductList[t].category_id};Object(l["i"])(i).then((function(i){var o,n,r,s,l,c;null!==i&&void 0!==i&&null!==(o=i.data)&&void 0!==o&&null!==(n=o.product_certifications)&&void 0!==n&&n.length&&(a.tiktokRule.product_certifications=i.data.product_certifications,i.data.product_certifications.forEach((function(e){e.is_required&&(a.tiktokProductList[t].certifications||(a.tiktokProductList[t].certifications=[]),a.tiktokProductList[t].certifications.push({id:e.id,name:e.name,sample_image_url:e.sample_image_url,images:[{uri:""}]}))}))),null!==i&&void 0!==i&&null!==(r=i.data)&&void 0!==r&&null!==(s=r.size_chart)&&void 0!==s&&s.is_required&&null!==i&&void 0!==i&&null!==(l=i.data)&&void 0!==l&&null!==(c=l.size_chart)&&void 0!==c&&c.is_supported&&(a.tiktokRule.size_chart=i.data.size_chart,a.tiktokProductList[t].size_chart||(a.tiktokProductList[t].size_chart={}),a.tiktokProductList[t].size_chart.image={uri:""},a.tiktokProductList[t].size_chart.template={id:""}),e.$set(e,"tiktokProductList",Object.assign({},e.tiktokProductList))}))},tiktokPlGlobalCategoryRule:function(t){var e=this,a=this,i={shop_cipher:a.tiktokShop.cipher,category_id:t};Object(l["i"])(i).then((function(t){var i,o,n,r,s,l;null!==t&&void 0!==t&&null!==(i=t.data)&&void 0!==i&&null!==(o=i.product_certifications)&&void 0!==o&&o.length&&a._.map(a.tiktokProductList,(function(e,i){a.tiktokRule.product_certifications=t.data.product_certifications,t.data.product_certifications.forEach((function(t){t.is_required&&(a.tiktokProductList[i].certifications||(a.tiktokProductList[i].certifications=[]),a.tiktokProductList[i].certifications.push({id:t.id,name:t.name,sample_image_url:t.sample_image_url,images:[{uri:""}]}))}))})),null!==t&&void 0!==t&&null!==(n=t.data)&&void 0!==n&&null!==(r=n.size_chart)&&void 0!==r&&r.is_required&&null!==t&&void 0!==t&&null!==(s=t.data)&&void 0!==s&&null!==(l=s.size_chart)&&void 0!==l&&l.is_supported&&a._.map(a.tiktokProductList,(function(e,i){a.tiktokRule.size_chart=t.data.size_chart,a.tiktokProductList[i].size_chart||(a.tiktokProductList[i].size_chart={}),a.tiktokProductList[i].size_chart.image={uri:""},a.tiktokProductList[i].size_chart.template={id:""}})),e.$set(e,"tiktokProductList",Object.assign({},e.tiktokProductList))}))},plTemplate:function(t){this._.map(this.tiktokProductList,(function(e,a){e.size_chart.template.id=t.target.value})),this.$set(this,"tiktokProductList",Object.assign({},this.tiktokProductList))},backSizeChartImage:function(t,e){this.tiktokProductList[e].size_chart.image.uri=t.img_id},backPlSizeChartImage:function(t){t.img_id&&(this.tiktokRule.size_chart.uri=t.img_id,this._.map(this.tiktokProductList,(function(e,a){e.size_chart.image.uri=t.img_id})),this.$set(this,"tiktokProductList",Object.assign({},this.tiktokProductList)))},tiktokGlobalItemAttribute:function(t){var e=this,a=this,i={shop_cipher:a.tiktokShop.cipher,category_id:a.tiktokProductList[t].category_id};Object(l["k"])(i).then((function(a){0===a.code&&(e.attributeList=a.data.attributes,e.attributesList[t]=a.data.attributes,e.NewAttributesList(t))}))},tiktokPlGlobalItemAttribute:function(t){var e=this,a={shop_cipher:e.tiktokShop.cipher,category_id:t};Object(l["k"])(a).then((function(t){0===t.code&&(e.attributeList=t.data.attributes,e._.map(e.tiktokProductList,(function(a,i){e.attributesList[i]=t.data.attributes,e.NewAttributesList(i)})))}))},getRules:function(t){return[{required:t.is_requried,message:this.$t("view.config.style.pleaseEdit")+" "+t.name}]},getValues100:function(t,e){this.product_attributesList[t][e].list&&0!==this.product_attributesList[t][e].list.length||(this.product_attributesList[t][e].list=this.product_attributesList[t][e].values.slice(0,100),this.$set(this,"product_attributesList",Object.assign({},this.product_attributesList)))},getPlValues100:function(t){var e=this;this._.map(this.tiktokProductList,(function(a,i){e.product_attributesList[i][t].list&&0!==e.product_attributesList[i][t].list.length||(e.product_attributesList[i][t].list=e.product_attributesList[i][t].values.slice(0,100))})),this.$set(this,"product_attributesList",Object.assign({},this.product_attributesList))},inputAttribute:function(t,e){var a=this;this._.map(this.tiktokProductList,(function(i,o){a.product_attributes[o][e].values[0].value=t.target.value})),this.$set(this,"product_attributes",Object.assign({},this.product_attributes))},plPackageWeight:function(t){this._.map(this.tiktokProductList,(function(e,a){e.package_weight.value=t.target.value})),this.$set(this,"tiktokProductList",Object.assign({},this.tiktokProductList))},plChangeSizeChart:function(t,e){this._.map(this.tiktokProductList,(function(a,i){a.package_dimensions[e]=t.target.value})),this.$set(this,"tiktokProductList",Object.assign({},this.tiktokProductList))},onChangeAttributes:function(t,e,a,i){var o;this.product_attributes[a][i].values[0].value=null===(o=e.data.attrs)||void 0===o?void 0:o.text,this.$set(this,"product_attributes",Object.assign({},this.product_attributes))},onChangePlAttributes:function(t,e,a){var i=this;this._.map(this.tiktokProductList,(function(o,n){var r;i.product_attributes[n][a].values[0].id=t,i.product_attributes[n][a].values[0].value=null===(r=e.data.attrs)||void 0===r?void 0:r.text})),this.$set(this,"product_attributes",Object.assign({},this.product_attributes))},changePiliangWareHouse:function(t){t>0&&this._.map(this.tiktokProductList,(function(e,a){e.skus.forEach((function(e){e.inventory&&(e.inventory[0].global_warehouse_id=t)}))}))},inputPiliangStock:function(t){var e=t.target.value;e>0&&this._.map(this.tiktokProductList,(function(t,a){t.skus.forEach((function(t){t.global_quantity&&(t.global_quantity=e)}))}))},tiktokGlobalItemWarehouse:function(){var t=this,e={shop_cipher:this.tiktokShop.cipher};Object(l["o"])(e).then((function(e){0===e.code&&(t.global_ware_house_list=e.data.global_warehouses)}))},resetQuery:function(t,e,a){this.tiktokProductList[a].certifications.forEach((function(a){a.id===e&&(a.images=[{uri:t.img_id}])}))},batchSubmit:function(){var t=this,e=[];t._.map(t.tiktokProductList,(function(t,a){e.push(Number(a))}));var a={shop_cipher:t.tiktokShop.cipher,good_ids:e,tiktok_good_type:t.tiktokProductType};t.btnLoading=!0,Object(l["a"])(a).then((function(e){t.btnLoading=!1})).catch((function(){t.btnLoading=!1}))}}},f=Object(n["a"])({},g),k=f,b=a("2877"),v=Object(b["a"])(k,i,o,!1,null,null,null);e["default"]=v.exports},"9fc6":function(t,e,a){"use strict";a.r(e);var i=a("5530"),o=(a("7db0"),a("d3b7"),a("b0c0"),a("b775")),n={List:"/wandertemplate/list",Add:"/wandertemplate/add",Edit:"/wandertemplate/edit",Del:"/wandertemplate/del"};function r(t){return Object(o["b"])({url:n.List,method:"post",data:t})}function s(t){return Object(o["b"])({url:n.Add,method:"post",data:t})}function l(t){return Object(o["b"])({url:n.Edit,method:"post",data:t})}var c=a("5d9e"),u=a("2f62"),d=a("1b6c");e["default"]={name:"wanderTemplate",data:function(){return{formData:{id:0,title:"",template_type:"",order_status:"",temp_content:"",status:""},columns:[{title:Object(d["b"])("view.config.wander.id"),dataIndex:"id",key:"id",width:"10%"},{title:Object(d["b"])("view.config.wander.title"),dataIndex:"title",key:"title",width:"10%",scopedSlots:{customRender:"title"}},{title:Object(d["b"])("view.config.wander.template_type"),dataIndex:"template_type",key:"template_type",width:"10%",scopedSlots:{customRender:"template_type"}},{title:Object(d["b"])("view.config.wander.order_status"),dataIndex:"order_status",key:"order_status",width:"20%",scopedSlots:{customRender:"order_status"}},{title:Object(d["b"])("view.config.wander.temp_content"),dataIndex:"temp_content",key:"temp_content",width:"35%",ellipsis:!0},{title:Object(d["b"])("view.config.wander.status"),dataIndex:"status",key:"status",width:"10%",scopedSlots:{customRender:"status"}},{title:Object(d["b"])("view.config.wander.action"),dataIndex:"action",key:"action",width:"5%",scopedSlots:{customRender:"action"}}],data:[],ModalText:"",template_type:[{name:Object(d["b"])("view.config.wander.template_type_1"),value:1},{name:Object(d["b"])("view.config.wander.template_type_2"),value:2}],order_status:[{name:Object(d["b"])("view.order.list.status.daifahuo"),value:"ORDER_WAIT_SHIP"},{name:Object(d["b"])("view.order.list.status.shouhouzhong"),value:"ORDER_AFTER_SALE"},{name:Object(d["b"])("view.order.list.status.daishouhuo"),value:"ORDER_WAIT_RECEIPT"},{name:Object(d["b"])("view.order.list.status.daipingjia"),value:"ORDER_WAIT_RATE"},{name:Object(d["b"])("view.order.list.status.tuikuanzhong"),value:"ORDER_REFUNDING"},{name:Object(d["b"])("view.order.list.status.yituikuan"),value:"ORDER_REFUNDED"},{name:Object(d["b"])("view.order.list.status.yiguanbi"),value:"ORDER_CLOSED"},{name:Object(d["b"])("view.order.list.status.yiwancheng"),value:"ORDER_COMPLETED"}],status:[{name:Object(d["b"])("view.config.wander.status_1"),value:1},{name:Object(d["b"])("view.config.wander.status_2"),value:2}],NotifyPars:[{name:Object(d["b"])("view.config.wander.notify_pars_OrderId"),value:"{{.OrderId}}"},{name:Object(d["b"])("view.config.wander.notify_pars_MemberName"),value:"{{.MemberName}}"},{name:Object(d["b"])("view.config.wander.notify_pars_OrderClosedTime"),value:"{{.OrderClosedTime}}"},{name:Object(d["b"])("view.config.wander.notify_pars_OrderPaidTime"),value:"{{.OrderPaidTime}}"},{name:Object(d["b"])("view.config.wander.notify_pars_OrderRefundedTime"),value:"{{.OrderRefundedTime}}"},{name:Object(d["b"])("view.config.wander.notify_pars_OrderShipTime"),value:"{{.OrderShipTime}}"},{name:Object(d["b"])("view.config.wander.notify_pars_ShipmentId"),value:"{{.ShipmentId}}"},{name:Object(d["b"])("view.config.wander.notify_pars_LogisticsName"),value:"{{.LogisticsName}}"}],visible:!1,confirmLoading:!1}},components:{AdvanceTable:c["default"]},computed:Object(i["a"])({},Object(u["c"])(["shopId"])),created:function(){this.getList()},methods:{getList:function(){var t=this;r().then((function(e){if(0===e.code){var a=t;e.data&&e.data.length>0&&(a.data=e.data)}}))},handleAdd:function(){this.visible=!0},handleOk:function(){var t=this,e=this;if(""===e.formData.template_type||""===e.formData.order_status||""===e.formData.temp_content||""===e.formData.status)return this.$message.info(Object(d["b"])("view.config.wander.message")),!1;var a={};2===e.formData.template_type?a.title="蜂洞":a.title=e.formData.title,e.formData.id>0?(a.id=e.formData.id,a.template_type=e.formData.template_type,a.order_status=e.formData.order_status,a.temp_content=e.formData.temp_content,a.status=e.formData.status,l(a).then((function(a){0===a.code&&(t.$message.info(a.message),t.getList(),e.formData={id:"",title:"",template_type:"",order_status:"",temp_content:"",status:""}),e.visible=!1,e.confirmLoading=!1}))):(a.template_type=e.formData.template_type,a.order_status=e.formData.order_status,a.temp_content=e.formData.temp_content,a.status=e.formData.status,s(a).then((function(a){a.id>0&&(t.$message.info(a.message),t.getList(),e.formData={id:"",title:"",template_type:"",order_status:"",temp_content:"",status:""}),e.visible=!1,e.confirmLoading=!1})))},handleGet:function(t){var e=this,a={};t.id>0&&(a.id=t.id),r(a).then((function(t){if(0===t.code){var a=e;t.data&&t.data.length>0&&(a.formData={id:t.data[0].id,title:t.data[0].title,template_type:t.data[0].template_type,order_status:t.data[0].order_status,temp_content:t.data[0].temp_content,status:t.data[0].status},a.visible=!0)}}))},handleCancel:function(t){this.visible=!1,this.formData={id:"",title:"",template_type:"",order_status:"",temp_content:"",status:""}},getTemplateName:function(t){var e=this,a=e.template_type.find((function(e){return e.value===t}));return a?a.name:""},getOrderStatusName:function(t){var e=this,a=e.order_status.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.temp_content=e.formData.temp_content+t}}}},a4d4:function(t,e,a){},be5e:function(t,e,a){"use strict";a("32e5")},bf75:function(t,e,a){"use strict";a.r(e);a("b0c0");var i=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-row",[e("a-col",{attrs:{lg:2}},[e("a-button",{staticClass:"editable-add-btn",staticStyle:{"margin-left":"13px","margin-bottom":"5px"},on:{click:t.handleAdd}},[t._v(t._s(t.$t("view.config.wander.add.title")))])],1)],1),e("a-table",{attrs:{columns:t.columns,"data-source":t.data},scopedSlots:t._u([{key:"template_type",fn:function(a,i){return e("span",{},[t._v(" "+t._s(t.getTemplateName(i.template_type))+" ")])}},{key:"order_status",fn:function(a,i){return e("span",{},[t._v(" "+t._s(t.getOrderStatusName(i.order_status))+" ")])}},{key:"status",fn:function(a,i){return e("span",{},[t._v(" "+t._s(t.getStatusName(i.status))+" ")])}},{key:"action",fn:function(a,i){return e("a",{},[e("a-button",{attrs:{type:"primary"},on:{click:function(e){return t.handleGet(i)}}},[t._v(t._s(t.$t("view.config.wander.edit.title")))])],1)}}])})],1),e("a-modal",{attrs:{title:t.$t("view.config.wander.add.title"),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.template_type,callback:function(e){t.$set(t.formData,"template_type",e)},expression:"formData.template_type"}},t._l(t.template_type,(function(a,i){return e("a-select-option",{key:i,attrs:{value:a.value}},[t._v(" "+t._s(a.name))])})),1)],1),1==t.formData.template_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.title,callback:function(e){t.$set(t.formData,"title",e)},expression:"formData.title"}})],1):t._e(),e("a-form-model-item",{attrs:{label:t.$t("view.config.wander.order_status")}},[e("a-select",{staticStyle:{width:"100%"},model:{value:t.formData.order_status,callback:function(e){t.$set(t.formData,"order_status",e)},expression:"formData.order_status"}},t._l(t.order_status,(function(a,i){return e("a-select-option",{key:i,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.NotifyPars,(function(a,i){return e("a-select-option",{key:i,attrs:{value:a.value}},[t._v(" "+t._s(a.name))])})),1)],1),e("a-form-model-item",{attrs:{label:t.$t("view.config.wander.temp_content")}},[e("a-textarea",{staticStyle:{width:"100%"},attrs:{placeholder:t.$t("view.config.wander.temp_content"),"auto-size":{minRows:3,maxRows:5}},model:{value:t.formData.temp_content,callback:function(e){t.$set(t.formData,"temp_content",e)},expression:"formData.temp_content"}})],1),e("a-form-model-item",{attrs:{label:t.$t("view.config.wander.status")}},[e("a-select",{staticStyle:{width:"100%"},model:{value:t.formData.status,callback:function(e){t.$set(t.formData,"status",e)},expression:"formData.status"}},t._l(t.status,(function(a,i){return e("a-select-option",{key:i,attrs:{value:a.value}},[t._v(" "+t._s(a.name))])})),1)],1)],1)],1)],1)],1)])],1)},o=[],n=a("5530"),r=a("9fc6"),s=Object(n["a"])({},r["default"]),l=s,c=a("2877"),u=Object(c["a"])(l,i,o,!1,null,null,null);e["default"]=u.exports},d58fb:function(t,e,a){"use strict";a.r(e);a("d3b7"),a("ddb0");var i=function(){var t=this,e=t._self._c;return e("span",[t.rakutenItemOpen?e("AntModal",{attrs:{visible:t.rakutenItemOpen,"modal-title":t.formTitle,"adjust-size":!0,modalHeight:t.modalHeight,modalWidth:t.modalWidth},on:{cancel:t.cancelModal}},[e("div",{attrs:{slot:"content"},slot:"content"},[e("div",[e("div",{staticStyle:{display:"none"}},[e("goodsIdList",{attrs:{goodsIds:t.goodsIds,goodsList:t.goodList},on:{"update:goodsList":function(e){t.goodList=e},"update:goods-list":function(e){t.goodList=e},back:t.initRakuten}})],1),e("a-row",{staticStyle:{"margin-top":"1rem"},attrs:{type:"flex"}},[e("a-col",[e("leftTabItem",{on:{change:t.changeLeftTab}})],1),e("a-col",{attrs:{flex:"1"}},t._l(t.rakutenGoodInfoList,(function(a,i){return e("div",{key:i,staticStyle:{"padding-bottom":"2rem"}},[e("div",{staticStyle:{"margin-bottom":"1rem"}},[e("kandengGoodsOne",{attrs:{goodsList:t.goodList,goodsId:i}})],1),"title"===t.formEditKey?e("div",[e("a-row",{attrs:{gutter:12}},[e("a-col",{attrs:{lg:24}},[e("a-form-model-item",{attrs:{label:t.$t("view.item.list.itemTitle"),required:""}},[e("a-input",{staticStyle:{width:"512px"},model:{value:a.title,callback:function(e){t.$set(a,"title",e)},expression:"rakutenGoodInfo.title"}})],1)],1)],1)],1):t._e(),"category"===t.formEditKey?e("div",[e("a-row",{attrs:{gutter:12}},[e("a-col",{attrs:{lg:24}},[e("a-form-model-item",{attrs:{label:t.$t("components.rakuten.product.genreId"),required:""}},[t._v(" 6 digits:100000 ~ 999999"),e("br"),t.rakutenGenereList[i]&&t.rakutenGenereList[i].rakutenGenere.rakutenGenereList.length?e("a-select",{staticStyle:{width:"180px"},attrs:{defaultValue:t.genereId1[i]},on:{change:function(e){t.selectGenre(e,0,i)}}},t._l(t.rakutenGenereList[i].rakutenGenere.rakutenGenereList,(function(a,i){return e("a-select-option",{key:i,attrs:{value:a.genre_id}},[t._v(t._s(a.genre_name))])})),1):t._e(),t.rakutenGenereList[i]&&t.rakutenGenereList[i].rakutenGenere.rakutenGenereList1.length?e("a-select",{staticStyle:{width:"180px"},attrs:{defaultValue:t.genereId2[i]},on:{change:function(e){t.selectGenre(e,1,i)}}},t._l(t.rakutenGenereList[i].rakutenGenere.rakutenGenereList1,(function(a,i){return e("a-select-option",{key:i,attrs:{value:a.genre_id}},[t._v(t._s(a.genre_name))])})),1):t._e(),t.rakutenGenereList[i].rakutenGenere&&t.rakutenGenereList[i].rakutenGenere.rakutenGenereList2.length?e("a-select",{staticStyle:{width:"180px"},attrs:{defaultValue:t.genereId3[i]},on:{change:function(e){t.selectGenre(e,2,i)}}},t._l(t.rakutenGenereList[i].rakutenGenere.rakutenGenereList2,(function(a,i){return e("a-select-option",{key:i,attrs:{value:a.genre_id}},[t._v(t._s(a.genre_name))])})),1):t._e(),t.rakutenGenereList[i].rakutenGenere&&t.rakutenGenereList[i].rakutenGenere.rakutenGenereList3.length?e("a-select",{staticStyle:{width:"180px"},attrs:{defaultValue:t.genereId4[i]},on:{change:function(e){t.selectGenre(e,3,i)}}},t._l(t.rakutenGenereList[i].rakutenGenere.rakutenGenereList3,(function(a,i){return e("a-select-option",{key:i,attrs:{value:a.genre_id}},[t._v(t._s(a.genre_name))])})),1):t._e(),t.rakutenGenereList[i].rakutenGenere&&t.rakutenGenereList[i].rakutenGenere.rakutenGenereList4.length?e("a-select",{staticStyle:{width:"180px"},attrs:{defaultValue:t.genereId5[i]},on:{change:function(e){t.selectGenre(e,4,i)}}},t._l(t.rakutenGenereList[i].rakutenGenere.rakutenGenereList4,(function(a,i){return e("a-select-option",{key:i,attrs:{value:a.genre_id}},[t._v(t._s(a.genre_name))])})),1):t._e(),t.rakutenGenereList[i].rakutenGenere&&t.rakutenGenereList[i].rakutenGenere.rakutenGenereList5.length?e("a-select",{staticStyle:{width:"180px"},attrs:{defaultValue:t.genereId6[i]},on:{change:function(e){t.selectGenre(e,5,i)}}},t._l(t.rakutenGenereList[i].rakutenGenere.rakutenGenereList5,(function(a,i){return e("a-select-option",{key:i,attrs:{value:a.genre_id}},[t._v(t._s(a.genre_name))])})),1):t._e(),e("br"),e("a-input",{staticStyle:{width:"100px"},attrs:{max:"999999",min:"100000",disabled:!0},model:{value:a.genreId,callback:function(e){t.$set(a,"genreId",e)},expression:"rakutenGoodInfo.genreId"}})],1)],1)],1)],1):t._e(),"itemInfo"===t.formEditKey?e("div",[e("a-row",[e("a-col",{attrs:{lg:6}},[e("a-form-model-item",{attrs:{label:t.$t("components.rakuten.product.itemType"),required:""}},[e("a-select",{staticStyle:{width:"200px"},model:{value:a.itemType,callback:function(e){t.$set(a,"itemType",e)},expression:"rakutenGoodInfo.itemType"}},[e("a-select-option",{attrs:{value:"NORMAL"}},[t._v(t._s(t.$t("components.rakuten.product.itemType.normal")))]),e("a-select-option",{attrs:{value:"PRE_ORDER"}},[t._v(t._s(t.$t("components.rakuten.product.itemType.preOrder")))]),e("a-select-option",{attrs:{value:"SUBSCRIPTION"}},[t._v(t._s(t.$t("components.rakuten.product.itemType.subscription")))])],1)],1)],1),"PRE_ORDER"===a.itemType?e("a-col",{attrs:{lg:12,span:24}},[e("a-form-model-item",{attrs:{label:t.$t("components.rakuten.product.releaseDate")}},[e("a-date-picker",{attrs:{"show-time":""},on:{change:function(e,a){return t.onChangeReleaseDate(e,a,i)}},model:{value:a.releaseDate,callback:function(e){t.$set(a,"releaseDate",e)},expression:"rakutenGoodInfo.releaseDate"}})],1)],1):t._e(),"SUBSCRIPTION"===a.itemType?e("a-col",{attrs:{lg:12,span:24}},[e("a-form-model-item",{attrs:{label:t.$t("components.rakuten.product.subscription")}},[t._v(" "+t._s(t.$t("components.rakuten.product.subscription.shippingDateFlag"))+" : "),e("a-radio-group",{model:{value:a.subscription.shippingDateFlag,callback:function(e){t.$set(a.subscription,"shippingDateFlag",e)},expression:"rakutenGoodInfo.subscription.shippingDateFlag"}},[e("a-radio",{attrs:{value:!0}},[t._v(" "+t._s(t.$t("view.item.component.item.syn.giga_sandbox_true"))+" ")]),e("a-radio",{attrs:{value:!1}},[t._v(" "+t._s(t.$t("view.item.component.item.syn.giga_sandbox_false"))+" ")])],1),t._v(" "+t._s(t.$t("components.rakuten.product.subscription.shippingIntervalFlag"))+" : "),e("a-radio-group",{model:{value:a.subscription.shippingIntervalFlag,callback:function(e){t.$set(a.subscription,"shippingIntervalFlag",e)},expression:"rakutenGoodInfo.subscription.shippingIntervalFlag"}},[e("a-radio",{attrs:{value:!0}},[t._v(" "+t._s(t.$t("view.item.component.item.syn.giga_sandbox_true"))+" ")]),e("a-radio",{attrs:{value:!1}},[t._v(" "+t._s(t.$t("view.item.component.item.syn.giga_sandbox_false"))+" ")])],1)],1)],1):t._e()],1)],1):t._e(),"image"===t.formEditKey?e("div",[e("a-form-model-item",{attrs:{label:t.$t("view.item.list.itemImage")}},t._l(a.images,(function(a,i){return e("a-col",{key:i,attrs:{lg:3}},[e("div",{staticClass:"ant-upload-list-item ant-upload-list-item-done ant-upload-list-item-list-type-picture-card",staticStyle:{height:"100px",width:"95px",padding:"0"}},[e("div",{staticStyle:{height:"100px",width:"95px"}},[e("div",{staticClass:"ant-upload-list-item-info",staticStyle:{height:"80px",width:"95px"}},[e("img",{staticStyle:{height:"80px",width:"95px"},attrs:{src:a.location}})]),e("div",{staticStyle:{height:"20px",width:"98px"}},[e("a-select",{staticStyle:{width:"100%"},attrs:{disabled:!0},model:{value:a.type,callback:function(e){t.$set(a,"type",e)},expression:"main_image.type"}},[e("a-select-option",{attrs:{value:"CABINET"}},[t._v("CABINET")]),e("a-select-option",{attrs:{value:"GOLD"}},[t._v("GOLD")])],1)],1),e("span",{staticClass:"ant-upload-list-item-actions"},[e("a-icon",{staticStyle:{color:"#fff","margin-left":"5px"},attrs:{type:"eye",title:t.$t("view.item.preview")},on:{click:function(e){return t.handlePreview(a.location)}}})],1)])])])})),1)],1):t._e(),"sku"===t.formEditKey?e("div",[e("a-row",[e("a-col",{attrs:{lg:24}},[e("a-row",{attrs:{gutter:24}},[e("a-col",{attrs:{lg:2}},[t._v("OutId")]),e("a-col",{attrs:{lg:3}},[t._v(t._s(t.$t("view.item.sku.sku.image")))]),e("a-col",{attrs:{lg:3}},[t._v(t._s(t.$t("components.rakuten.product.attributes")))]),e("a-col",{attrs:{lg:2}},[t._v(t._s(t.$t("components.rakuten.product.restockOnCancel")))]),e("a-col",{attrs:{lg:2}},[t._v(t._s(t.$t("components.rakuten.product.backOrderFlag")))]),e("a-col",{attrs:{lg:2}},[t._v(t._s(t.$t("components.rakuten.product.orderQuantityLimit")))]),e("a-col",{attrs:{lg:2}},[t._v(t._s(t.$t("view.item.sku.stock_num")))]),e("a-col",{attrs:{lg:3}},[t._v(t._s(t.$t("components.rakuten.product.standardPrice")))]),e("a-col",{attrs:{lg:2}},[t._v(t._s(t.$t("components.rakuten.product.shippingFee")))]),e("a-col",{attrs:{lg:3}},[t._v(t._s(t.$t("components.dyProduct.dyProduct.attributes")))])],1),t._l(a.variants,(function(o,n){return e("div",{key:n,staticStyle:{"margin-top":"2px",border:"1px solid #ccc",padding:"5px"}},[e("a-row",{attrs:{gutter:24}},[e("a-col",{staticStyle:{"line-height":"80px"},attrs:{lg:2}},[t._v(t._s(n))]),e("a-col",{attrs:{lg:3}},[e("img",{staticStyle:{width:"80px",height:"80px"},attrs:{src:o.images[0].location}}),e("br"),e("a-select",{attrs:{disabled:!0},model:{value:o.images[0].type,callback:function(e){t.$set(o.images[0],"type",e)},expression:"variant.images[0].type"}},[e("a-select-option",{attrs:{value:"CABINET"}},[t._v("CABINET")]),e("a-select-option",{attrs:{value:"GOLD"}},[t._v("GOLD")])],1)],1),e("a-col",{staticStyle:{height:"80px"},attrs:{lg:3}},[a&&o?e("div",{staticStyle:{display:"flex",height:"auto","flex-direction":"column","justify-content":"center"}},[e("span",[t._v(t._s(t.skuAttribute(a.variantSelectors,o.selectorValues)))])]):t._e()]),e("a-col",{staticStyle:{height:"80px"},attrs:{lg:2}},[e("div",{staticStyle:{display:"flex",height:"100%","flex-direction":"column","justify-content":"center"}},[e("a-radio-group",{model:{value:o.restockOnCancel,callback:function(e){t.$set(o,"restockOnCancel",e)},expression:"variant.restockOnCancel"}},[e("a-radio",{attrs:{value:!0}},[t._v(" "+t._s(t.$t("view.item.component.item.syn.giga_sandbox_true"))+" ")]),e("a-radio",{attrs:{value:!1}},[t._v(" "+t._s(t.$t("view.item.component.item.syn.giga_sandbox_false"))+" ")])],1)],1)]),e("a-col",{staticStyle:{height:"80px"},attrs:{lg:2}},[e("div",{staticStyle:{display:"flex",height:"100%","flex-direction":"column","justify-content":"center"}},[e("a-radio-group",{model:{value:o.backOrderFlag,callback:function(e){t.$set(o,"backOrderFlag",e)},expression:"variant.backOrderFlag"}},[e("a-radio",{attrs:{value:!0}},[t._v(" "+t._s(t.$t("view.item.component.item.syn.giga_sandbox_true"))+" ")]),e("a-radio",{attrs:{value:!1}},[t._v(" "+t._s(t.$t("view.item.component.item.syn.giga_sandbox_false"))+" ")])],1)],1)]),e("a-col",{staticStyle:{"line-height":"80px"},attrs:{lg:2}},[e("a-input-number",{staticStyle:{width:"70px"},model:{value:o.orderQuantityLimit,callback:function(e){t.$set(o,"orderQuantityLimit",e)},expression:"variant.orderQuantityLimit"}})],1),e("a-col",{staticStyle:{"line-height":"80px"},attrs:{lg:2}},[e("a-input-number",{staticStyle:{width:"70px"},model:{value:o.quantity,callback:function(e){t.$set(o,"quantity",e)},expression:"variant.quantity"}})],1),e("a-col",{staticStyle:{"line-height":"80px"},attrs:{lg:3}},[e("a-input",{staticStyle:{width:"100px"},model:{value:o.standardPrice,callback:function(e){t.$set(o,"standardPrice",e)},expression:"variant.standardPrice"}})],1),e("a-col",{staticStyle:{height:"80px"},attrs:{lg:2}},[e("div",{staticStyle:{display:"flex",height:"100%","flex-direction":"column","justify-content":"center"}},[e("a-input",{model:{value:o.shipping.fee,callback:function(e){t.$set(o.shipping,"fee",e)},expression:"variant.shipping.fee"}})],1)]),e("a-col",{attrs:{lg:3}},[t.rakutenAttributesList&&t.rakutenAttributesList[i]&&t.rakutenAttributesList[i].genre&&t.rakutenAttributesList[i].genre.attributes&&o.attributes?e("div",t._l(t.rakutenAttributesList[i].genre.attributes,(function(a,r){var s;return e("a-row",{key:r},[a.properties.rmsMandatoryFlg&&null!==(s=o.attributes[r])&&void 0!==s&&s.values?e("span",[a.dictionaryValues?e("a-select",{staticStyle:{width:"100%"},attrs:{"show-search":"",mode:"tags","token-separators":[","],placeholder:a.nameJa},on:{change:function(e){return t.setAttributeName(n,r,a.nameJa,i)},popupScroll:function(e){return t.handleScroll(e,r,i)},blur:function(e){return t.handleSelectNumber(e,r,i)}},model:{value:o.attributes[r].values,callback:function(e){t.$set(o.attributes[r],"values",e)},expression:"variant.attributes[aIndex].values"}},[t._l(a.dictionaryValues,(function(i,o){return[a.showSize>o?e("a-select-option",{key:o,attrs:{value:i.nameJa}},[t._v(t._s(i.nameJa)+" ")]):t._e()]}))],2):t._e(),a.dictionaryValues?t._e():e("a-input",{staticStyle:{width:"100%"},attrs:{type:a.dataType,placeholder:a.nameJa,maxLength:a.maxLength?a.maxLength:999999999,"addon-after":a.unit?a.unit:""},on:{change:function(e){return t.setAttributeName(n,r,a.nameJa,i)}},model:{value:o.attributes[r].values[0],callback:function(e){t.$set(o.attributes[r].values,0,e)},expression:"variant.attributes[aIndex].values[0]"}})],1):t._e()])})),1):t._e()])],1)],1)}))],2)],1)],1):t._e(),"description"===t.formEditKey?e("div",[e("a-row",[e("a-col",{staticStyle:{"margin-top":"10px"},attrs:{lg:24}},[e("v-ditor",{ref:"ComDitor"+i,refInFor:!0,attrs:{id:i,good_id:i,value:a.salesDescription,updateStatus:t.aiTsUpdate},on:{"update:value":function(e){return t.$set(a,"salesDescription",e)},"update:updateStatus":function(e){t.aiTsUpdate=e},"update:update-status":function(e){t.aiTsUpdate=e}}})],1)],1)],1):t._e(),"other"===t.formEditKey?e("div",[e("a-row",{attrs:{gutter:12}},[e("a-col",{attrs:{lg:24}},[e("a-form-model-item",{attrs:{label:t.$t("components.rakuten.product.purchasablePeriod")}},[e("a-range-picker",{staticStyle:{width:"420px"},attrs:{format:"YYYY-MM-DDTHH:mm:ssZ",placeholder:["Start Time","End Time"]},on:{change:function(e,a){return t.onChangePurchasablePeriod(e,a,i)}}})],1),e("a-form-model-item",{attrs:{label:t.$t("components.rakuten.product.pointCampaign")}},[e("a-row",{attrs:{gutter:24}},[e("a-col",{attrs:{lg:11}},[e("a-form-model-item",{attrs:{label:t.$t("components.rakuten.product.pointCampaign.applicablePeriod")}},[e("a-range-picker",{staticStyle:{width:"420px"},attrs:{format:"YYYY-MM-DDTHH:mm:ssZ",placeholder:["Start Time","End Time"]},on:{change:function(e,a){return t.onChangeApplicablePeriod(e,a,i)}}})],1)],1),e("a-col",{attrs:{lg:3}},[e("a-form-model-item",{attrs:{label:t.$t("components.rakuten.product.pointCampaign.benefits")}},[e("a-input-number",{model:{value:a.pointCampaign.benefits.pointRate,callback:function(e){t.$set(a.pointCampaign.benefits,"pointRate",e)},expression:"rakutenGoodInfo.pointCampaign.benefits.pointRate"}})],1)],1),e("a-col",{attrs:{lg:3}},[e("a-form-model-item",{attrs:{label:t.$t("components.rakuten.product.pointCampaign.optimization.maxPointRate")}},[e("a-input-number",{model:{value:a.pointCampaign.optimization.maxPointRate,callback:function(e){t.$set(a.pointCampaign.optimization,"maxPointRate",e)},expression:"rakutenGoodInfo.pointCampaign.optimization.maxPointRate"}})],1)],1)],1)],1),e("a-row",{attrs:{type:"flex",gutter:24}},[e("a-col",{attrs:{lg:4}},[e("a-form-model-item",{attrs:{label:t.$t("components.rakuten.product.hideItem")}},[e("a-radio-group",{model:{value:a.hideItem,callback:function(e){t.$set(a,"hideItem",e)},expression:"rakutenGoodInfo.hideItem"}},[e("a-radio",{attrs:{value:!0}},[t._v(" "+t._s(t.$t("view.item.component.item.syn.giga_sandbox_true"))+" ")]),e("a-radio",{attrs:{value:!1}},[t._v(" "+t._s(t.$t("view.item.component.item.syn.giga_sandbox_false"))+" ")])],1)],1)],1),e("a-col",{attrs:{lg:4}},[e("a-form-model-item",{attrs:{label:t.$t("components.rakuten.product.unlimitedInventoryFlag")}},[e("a-radio-group",{model:{value:a.unlimitedInventoryFlag,callback:function(e){t.$set(a,"unlimitedInventoryFlag",e)},expression:"rakutenGoodInfo.unlimitedInventoryFlag"}},[e("a-radio",{attrs:{value:!0}},[t._v(" "+t._s(t.$t("view.item.component.item.syn.giga_sandbox_true"))+" ")]),e("a-radio",{attrs:{value:!1}},[t._v(" "+t._s(t.$t("view.item.component.item.syn.giga_sandbox_false"))+" ")])],1)],1)],1)],1),e("a-form-model-item",{attrs:{label:t.$t("components.rakuten.product.features")}},[e("a-row",{attrs:{gutter:24}},[e("a-col",{attrs:{lg:4}},[e("a-form-model-item",{attrs:{label:t.$t("components.rakuten.product.displayNormalCartButton")}},[e("a-radio-group",{model:{value:a.features.displayNormalCartButton,callback:function(e){t.$set(a.features,"displayNormalCartButton",e)},expression:"rakutenGoodInfo.features.displayNormalCartButton"}},[e("a-radio",{attrs:{value:!0}},[t._v(" "+t._s(t.$t("view.item.component.item.syn.giga_sandbox_true"))+" ")]),e("a-radio",{attrs:{value:!1}},[t._v(" "+t._s(t.$t("view.item.component.item.syn.giga_sandbox_false"))+" ")])],1)],1)],1),e("a-col",{attrs:{lg:4}},[e("a-form-model-item",{attrs:{label:t.$t("components.rakuten.product.displaySubscriptionCartButton")}},[e("a-radio-group",{model:{value:a.features.displaySubscriptionCartButton,callback:function(e){t.$set(a.features,"displaySubscriptionCartButton",e)},expression:"rakutenGoodInfo.features.displaySubscriptionCartButton"}},[e("a-radio",{attrs:{value:!0}},[t._v(" "+t._s(t.$t("view.item.component.item.syn.giga_sandbox_true"))+" ")]),e("a-radio",{attrs:{value:!1}},[t._v(" "+t._s(t.$t("view.item.component.item.syn.giga_sandbox_false"))+" ")])],1)],1)],1),e("a-col",{attrs:{lg:4}},[e("a-form-model-item",{attrs:{label:t.$t("components.rakuten.product.shopContact")}},[e("a-radio-group",{model:{value:a.features.shopContact,callback:function(e){t.$set(a.features,"shopContact",e)},expression:"rakutenGoodInfo.features.shopContact"}},[e("a-radio",{attrs:{value:!0}},[t._v(" "+t._s(t.$t("view.item.component.item.syn.giga_sandbox_true"))+" ")]),e("a-radio",{attrs:{value:!1}},[t._v(" "+t._s(t.$t("view.item.component.item.syn.giga_sandbox_false"))+" ")])],1)],1)],1),a.features.displaySubscriptionCartButton?t._e():e("a-col",{attrs:{lg:4}},[e("a-form-model-item",{attrs:{label:t.$t("components.rakuten.product.displayManufacturerContents")}},[e("a-radio-group",{model:{value:a.features.displayManufacturerContents,callback:function(e){t.$set(a.features,"displayManufacturerContents",e)},expression:"rakutenGoodInfo.features.displayManufacturerContents"}},[e("a-radio",{attrs:{value:!0}},[t._v(" "+t._s(t.$t("view.item.component.item.syn.giga_sandbox_true"))+" ")]),e("a-radio",{attrs:{value:!1}},[t._v(" "+t._s(t.$t("view.item.component.item.syn.giga_sandbox_false"))+" ")])],1)],1)],1)],1),e("a-row",{staticStyle:{"margin-top":"10px"},attrs:{gutter:24}},[e("a-col",{attrs:{lg:4}},[e("a-form-model-item",{attrs:{label:t.$t("components.rakuten.product.searchVisibility")}},[e("a-select",{model:{value:a.features.searchVisibility,callback:function(e){t.$set(a.features,"searchVisibility",e)},expression:"rakutenGoodInfo.features.searchVisibility"}},[e("a-select-option",{attrs:{value:"ALWAYS_VISIBLE"}},[t._v(t._s(t.$t("components.rakuten.product.searchVisibility.on")))]),e("a-select-option",{attrs:{value:"ALWAYS_HIDDEN"}},[t._v(t._s(t.$t("components.rakuten.product.searchVisibility.off")))])],1)],1)],1),e("a-col",{attrs:{lg:4}},[e("a-form-model-item",{attrs:{label:t.$t("components.rakuten.product.review")}},[e("a-select",{model:{value:a.features.review,callback:function(e){t.$set(a.features,"review",e)},expression:"rakutenGoodInfo.features.review"}},[e("a-select-option",{attrs:{value:"SHOP_SETTING"}},[t._v(t._s(t.$t("components.rakuten.product.inventoryDisplay.shopSetting")))]),e("a-select-option",{attrs:{value:"VISIBLE"}},[t._v(t._s(t.$t("components.rakuten.product.inventoryDisplay.displayAbsoluteStockCount")))]),e("a-select-option",{attrs:{value:"HIDDEN"}},[t._v(t._s(t.$t("components.rakuten.product.inventoryDisplay.hiddenStock")))])],1)],1)],1),e("a-col",{attrs:{lg:8}},[e("a-form-model-item",{attrs:{label:t.$t("components.rakuten.product.inventoryDisplay")}},[e("a-select",{model:{value:a.features.inventoryDisplay,callback:function(e){t.$set(a.features,"inventoryDisplay",e)},expression:"rakutenGoodInfo.features.inventoryDisplay"}},[e("a-select-option",{attrs:{value:"DISPLAY_ABSOLUTE_STOCK_COUNT"}},[t._v(t._s(t.$t("components.rakuten.product.inventoryDisplay.displayAbsoluteStockCount")))]),e("a-select-option",{attrs:{value:"HIDDEN_STOCK"}},[t._v(t._s(t.$t("components.rakuten.product.inventoryDisplay.hiddenStock")))]),e("a-select-option",{attrs:{value:"DISPLAY_LOW_STOCK"}},[t._v(t._s(t.$t("components.rakuten.product.inventoryDisplay.displayLowStock")))])],1)],1)],1),"DISPLAY_LOW_STOCK"===a.features.inventoryDisplay?e("a-col",{attrs:{lg:4}},[e("a-form-model-item",{attrs:{label:t.$t("components.rakuten.product.lowStockThreshold")}},[e("a-input-number",{attrs:{max:20,min:1},model:{value:a.features.lowStockThreshold,callback:function(e){t.$set(a.features,"lowStockThreshold",e)},expression:"rakutenGoodInfo.features.lowStockThreshold"}})],1)],1):t._e()],1)],1),e("a-form-model-item",{attrs:{label:t.$t("components.rakuten.product.payment")}},[e("a-col",{attrs:{lg:4}},[e("a-form-model-item",{attrs:{label:t.$t("components.rakuten.product.payment.taxIncluded")}},[e("a-radio-group",{model:{value:a.payment.taxIncluded,callback:function(e){t.$set(a.payment,"taxIncluded",e)},expression:"rakutenGoodInfo.payment.taxIncluded"}},[e("a-radio",{attrs:{value:!0}},[t._v(" "+t._s(t.$t("view.item.component.item.syn.giga_sandbox_true"))+" ")]),e("a-radio",{attrs:{value:!1}},[t._v(" "+t._s(t.$t("view.item.component.item.syn.giga_sandbox_false"))+" ")])],1)],1)],1),e("a-col",{attrs:{lg:4}},[e("a-form-model-item",{attrs:{label:t.$t("components.rakuten.product.payment.taxRate")}},[e("a-select",{staticStyle:{width:"115px"},model:{value:a.payment.taxRate,callback:function(e){t.$set(a.payment,"taxRate",e)},expression:"rakutenGoodInfo.payment.taxRate"}},[e("a-select-option",{attrs:{value:"0"}},[t._v(t._s(t.$t("components.rakuten.product.payment.taxRate.0")))]),e("a-select-option",{attrs:{value:"0.08"}},[t._v("8%")]),e("a-select-option",{attrs:{value:"0.1"}},[t._v("10%")]),e("a-select-option",{attrs:{value:""}},[t._v(t._s(t.$t("components.rakuten.product.payment.taxRate.null")))])],1)],1)],1),e("a-col",{attrs:{lg:4}},[e("a-form-model-item",{attrs:{label:t.$t("components.rakuten.product.payment.cashOnDeliveryFeeIncluded")}},[e("a-radio-group",{model:{value:a.payment.cashOnDeliveryFeeIncluded,callback:function(e){t.$set(a.payment,"cashOnDeliveryFeeIncluded",e)},expression:"rakutenGoodInfo.payment.cashOnDeliveryFeeIncluded"}},[e("a-radio",{attrs:{value:!0}},[t._v(" "+t._s(t.$t("view.item.component.item.syn.giga_sandbox_true"))+" ")]),e("a-radio",{attrs:{value:!1}},[t._v(" "+t._s(t.$t("view.item.component.item.syn.giga_sandbox_false"))+" ")])],1)],1)],1)],1)],1)],1)],1):t._e()])})),0)],1)],1)]),e("div",{attrs:{slot:"footer"},slot:"footer"},[e("a-button",{on:{click:t.cancelModal}},[t._v(t._s(t.$t("components.imagetext.translation.confirm.cancel")))]),e("a-button",{attrs:{type:"primary"},on:{click:t.saveRakuten}},[t._v(t._s(t.$t("components.imagetext.translation.confirm.ok")))]),e("a-button",{staticClass:"btnSuccess",attrs:{loading:t.btnLoading},on:{click:t.batchSubmit}},[t._v(t._s(t.$t("components.pl.product.submit.title")))])],1)]):t._e()],1)},o=[],n=a("5530"),r=a("c7eb"),s=a("3835"),l=a("b85c"),c=a("1da1"),u=(a("3ca3"),a("25f0"),a("b680"),a("d81d"),a("7db0"),a("a9e3"),a("159b"),a("b0c0"),a("b64b"),a("a026")),d=a("0f2c"),p={rakutenGenereList:[],rakutenGenereList1:[],rakutenGenereList2:[],rakutenGenereList3:[],rakutenGenereList4:[],rakutenGenereList5:[]},m=Object(u["b"])((function(){return Promise.resolve().then(a.bind(null,"2dd7"))})),h=Object(u["b"])((function(){return a.e("chunk-172cb599").then(a.bind(null,"16f2"))})),_=Object(u["b"])((function(){return a.e("chunk-172cb599").then(a.bind(null,"12b1"))})),g=Object(u["b"])((function(){return Promise.resolve().then(a.bind(null,"5ac8"))})),f=Object(u["b"])((function(){return a.e("chunk-27080981").then(a.bind(null,"5f19"))})),k={name:"rakutenAddProduct",props:{goodsIds:{type:Array,default:function(){return[]}}},data:function(){return{formEditKey:"",formTitle:this.$t("components.raKutenAddProduct.pl.title"),goodList:[],rakutenItemOpen:!1,rakutenItemTitle:this.$t("components.dyProduct.dyProduct.title"),rakutenGoodInfoList:{},rakutenLoading:!1,rakutenAttributesList:{},rakutenGenereList:{},aiTsUpdate:!1,appkey:"",rakutenShop:null,modalWidth:"1350",modalHeight:"680",btnLoading:!1}},methods:{changeLeftTab:function(t){this.formEditKey=t},cancelModal:function(){this.rakutenItemOpen=!1},openModal:function(){this.modalHeight=(.9*window.innerHeight).toFixed(0).toString(),this.modalWidth=(.8*window.innerWidth).toFixed(0).toString(),this.rakutenItemOpen=!0},initLoad:function(t){t&&(this.rakutenShop=t,this.rakutenGoodInfoList={},this.genereId1={},this.genereId2={},this.genereId3={},this.genereId4={},this.genereId5={},this.genereId6={},this.rakutenAttributesList={},this.$message.loading({content:this.$t("components.goodsIdsList.loading"),duration:0}),this.openModal())},initRakuten:function(t){var e=this;Promise.all(this._.map(t,(function(t,a){return e.rakutenPublication(t)}))).then((function(t){e.$message.destroy()}))},rakutenPublication:function(t){var e=this,a=this;a.rakutenGenereList[t.good_id]={rakutenGenere:JSON.parse(JSON.stringify(p))},a.genereId1[t.good_id]=0,a.genereId2[t.good_id]=0,a.genereId3[t.good_id]=0,a.genereId4[t.good_id]=0,a.genereId5[t.good_id]=0,a.licenseKey="";var i={};return i.good_id=t.good_id,i.license_key=a.rakutenShop.app_key,Object(d["h"])(i).then((function(i){return 0===i.code&&(a.rakutenGoodInfoList[t.good_id]=i,a.licenseKey=a.rakutenShop.app_key,a.getGenere(0,0,t.good_id),i.genreId&&a.getGenereInit(t.good_id),i.genreId,a.getAttributes(!1,t.good_id)),a.$set(e,"rakutenGoodInfoList",Object.assign({},a.rakutenGoodInfoList)),i}))},getGenereInit:function(t){var e=this,a={genre_id:this.rakutenGoodInfoList[t].genreId};Object(d["d"])(a).then(function(){var a=Object(c["a"])(Object(r["a"])().mark((function a(i){var o,n,c,u,d;return Object(r["a"])().wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(!i.data){a.next=18;break}o=Object(l["a"])(i.data.entries()),a.prev=2,o.s();case 4:if((n=o.n()).done){a.next=10;break}return c=Object(s["a"])(n.value,2),u=c[0],d=c[1],a.next=8,e.selectGenre(d.genre_id,u,t,!0);case 8:a.next=4;break;case 10:a.next=15;break;case 12:a.prev=12,a.t0=a["catch"](2),o.e(a.t0);case 15:return a.prev=15,o.f(),a.finish(15);case 18:case"end":return a.stop()}}),a,null,[[2,12,15,18]])})));return function(t){return a.apply(this,arguments)}}())},getGenere:function(t,e,a){var i=this,o={};return o.genre_id=t,Object(d["c"])(o).then((function(t){if(0===t.code){switch(e){case 0:i.rakutenGenereList[a].rakutenGenere.rakutenGenereList=t.data;break;case 1:i.rakutenGenereList[a].rakutenGenere.rakutenGenereList1=t.data;break;case 2:i.rakutenGenereList[a].rakutenGenere.rakutenGenereList2=t.data;break;case 3:i.rakutenGenereList[a].rakutenGenere.rakutenGenereList3=t.data;break;case 4:i.rakutenGenereList[a].rakutenGenere.rakutenGenereList4=t.data;break;case 5:i.rakutenGenereList[a].rakutenGenere.rakutenGenereList5=t.data;break}i.$set(i,"rakutenGenereList",Object.assign({},i.rakutenGenereList))}return t}))},selectGenre:function(t,e,a,i){var o=this;return Object(c["a"])(Object(r["a"])().mark((function n(){var s,l;return Object(r["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:s=o,l={},n.prev=2,n.t0=e,n.next=0===n.t0?6:1===n.t0?18:2===n.t0?28:3===n.t0?36:4===n.t0?42:46;break;case 6:return s.rakutenGenereList[a].rakutenGenere.rakutenGenereList1=[],s.rakutenGenereList[a].rakutenGenere.rakutenGenereList2=[],s.rakutenGenereList[a].rakutenGenere.rakutenGenereList3=[],s.rakutenGenereList[a].rakutenGenere.rakutenGenereList4=[],s.rakutenGenereList[a].rakutenGenere.rakutenGenereList5=[],s.genereId1[a]=0,s.genereId2[a]=0,s.genereId3[a]=0,s.genereId4[a]=0,s.genereId5[a]=0,l=s.rakutenGenereList[a].rakutenGenere.rakutenGenereList.find((function(e){return e.genre_id===t})),n.abrupt("break",46);case 18:return s.rakutenGenereList[a].rakutenGenere.rakutenGenereList2=[],s.rakutenGenereList[a].rakutenGenere.rakutenGenereList3=[],s.rakutenGenereList[a].rakutenGenere.rakutenGenereList4=[],s.rakutenGenereList[a].rakutenGenere.rakutenGenereList5=[],s.genereId2[a]=0,s.genereId3[a]=0,s.genereId4[a]=0,s.genereId5[a]=0,l=s.rakutenGenereList[a].rakutenGenere.rakutenGenereList1.find((function(e){return e.genre_id===t})),n.abrupt("break",46);case 28:return s.rakutenGenereList[a].rakutenGenere.rakutenGenereList3=[],s.rakutenGenereList[a].rakutenGenere.rakutenGenereList4=[],s.rakutenGenereList[a].rakutenGenere.rakutenGenereList5=[],s.genereId3[a]=0,s.genereId4[a]=0,s.genereId5[a]=0,l=s.rakutenGenereList[a].rakutenGenere.rakutenGenereList2.find((function(e){return e.genre_id===t})),n.abrupt("break",46);case 36:return s.rakutenGenereList[a].rakutenGenere.rakutenGenereList4=[],s.rakutenGenereList[a].rakutenGenere.rakutenGenereList5=[],s.genereId4[a]=0,s.genereId5[a]=0,l=s.rakutenGenereList[a].rakutenGenere.rakutenGenereList3.find((function(e){return e.genre_id===t})),n.abrupt("break",46);case 42:return s.rakutenGenereList[a].rakutenGenere.rakutenGenereList5=[],s.genereId5[a]=0,l=s.rakutenGenereList[a].rakutenGenere.rakutenGenereList4.find((function(e){return e.genre_id===t})),n.abrupt("break",46);case 46:n.next=50;break;case 48:n.prev=48,n.t1=n["catch"](2);case 50:if(!l){n.next=82;break}if(0!==l.p_genre_id||0!==l.lowest_flg){n.next=57;break}return n.next=54,s.getGenere(l.genre_id,1,a);case 54:s.genereId1[a]=Number(l.genre_id.toString()),n.next=82;break;case 57:if(l.p_genre_id!==s.genereId1[a]||0!==l.lowest_flg){n.next=63;break}return n.next=60,s.getGenere(l.genre_id,2,a);case 60:s.genereId2[a]=Number(l.genre_id.toString()),n.next=82;break;case 63:if(l.p_genre_id!==s.genereId2[a]||0!==l.lowest_flg){n.next=69;break}return n.next=66,s.getGenere(l.genre_id,3,a);case 66:s.genereId3[a]=Number(l.genre_id.toString()),n.next=82;break;case 69:if(l.p_genre_id!==s.genereId3[a]||0!==l.lowest_flg){n.next=75;break}return n.next=72,s.getGenere(l.genre_id,4,a);case 72:s.genereId4[a]=Number(l.genre_id.toString()),n.next=82;break;case 75:if(l.p_genre_id!==s.genereId4[a]||0!==l.lowest_flg){n.next=81;break}return n.next=78,s.getGenere(l.genre_id,5,a);case 78:s.genereId5[a]=Number(l.genre_id.toString()),n.next=82;break;case 81:1===l.lowest_flg&&(0===e?s.genereId1[a]=Number(l.genre_id.toString()):1===e?s.genereId2[a]=Number(l.genre_id.toString()):2===e?s.genereId3[a]=Number(l.genre_id.toString()):3===e?s.genereId4[a]=Number(l.genre_id.toString()):4===e?s.genereId5[a]=Number(l.genre_id.toString()):5===e&&(s.genereId6[a]=Number(l.genre_id.toString())),s.rakutenGoodInfoList[a].genreId=l.genre_id.toString(),i?o.getAttributes(!1,a):o.getAttributes(!0,a));case 82:case"end":return n.stop()}}),n,null,[[2,48]])})))()},getAttributes:function(t,e){var a=this,i=this,o={};o.genre_id=i.rakutenGoodInfoList[e].genreId,o.license_key=i.licenseKey,Object(d["b"])(o).then((function(o){if(0===o.code){var n=[];o.attributes.genre.attributes.forEach((function(t,e){t.showSize=50,t.properties.rmsMandatoryFlg&&n.push({name:"",values:[]})})),t&&a._.map(i.rakutenGoodInfoList[e].variants,(function(t,a){i.rakutenGoodInfoList[e].variants[a].attributes=JSON.parse(JSON.stringify(n))})),i.rakutenAttributesList[e]=o.attributes,a.rakutenGoodInfoList=Object.assign({},a.rakutenGoodInfoList)}i.rakutenItemOpen=!0}))},handleScroll:function(t,e,a){var i=t.target.scrollTop,o=t.target.clientHeight,n=t.target.scrollHeight;this.rakutenAttributesList[a].genre.attributes[e].dictionaryValues&&this.rakutenAttributesList[a].genre.attributes[e].dictionaryValues.length&&i+o>=n-10&&this.rakutenAttributesList[a].genre.attributes[e]&&this.rakutenAttributesList[a].genre.attributes[e].showSize<this.rakutenAttributesList[a].genre.attributes[e].dictionaryValues.length&&(this.rakutenAttributesList[a].genre.attributes[e].showSize+=50,this.$set(this,"rakutenAttributesList",JSON.parse(JSON.stringify(this.rakutenAttributesList))))},handleSelectNumber:function(t,e,a){this.rakutenAttributesList[a].genre.attributes[e].showSize=50,this.$set(this,"rakutenAttributesList",JSON.parse(JSON.stringify(this.rakutenAttributesList)))},setAttributeName:function(t,e,a,i){this.rakutenGoodInfoList[i]&&(this.rakutenGoodInfoList[i].variants[t].attributes[e].name=a)},skuAttribute:function(t,e){var a="",i=Object.keys(e);return i.forEach((function(i){t.forEach((function(t){t.key===i&&(a=t.displayName)})),""!==a&&(a+=":"+e[i])})),a},onChangeReleaseDate:function(t,e,a){this.rakutenGoodInfoList[a].releaseDate=e},onChangePurchasablePeriod:function(t,e,a){if(2===e.length){var i=e[0],o=e[1],n=i.split("+"),r=o.split("+"),s=n[0]+"+09:00",l=r[0]+"+09:00";e[0]=s,e[1]=l,this.rakutenGoodInfoList[a].purchasablePeriod.start=s,this.rakutenGoodInfoList[a].purchasablePeriod.end=l}},onChangeApplicablePeriod:function(t,e,a){if(2===e.length){var i=e[0],o=e[1],n=i.split("+"),r=o.split("+"),s=n[0]+"+09:00",l=r[0]+"+09:00";e[0]=s,e[1]=l,this.rakutenGoodInfoList[a].pointCampaign.applicablePeriod.start=s,this.rakutenGoodInfoList[a].pointCampaign.applicablePeriod.end=l}},saveRakuten:function(){var t=this,e=[];this._.map(this.rakutenGoodInfoList,(function(t,a){var i=JSON.parse(JSON.stringify(t));i.goodId=a,e.push(JSON.parse(JSON.stringify(i)))}));var a={data:e,licenseKey:this.licenseKey};Object(d["j"])(a).then((function(e){0===e.code&&t.$message.success({content:t.$t("components.dyProduct.dyProduct.saveSuccess"),duration:5})}))},batchSubmit:function(){var t=this,e=[];t._.map(t.rakutenGoodInfoList,(function(t,a){e.push(Number(a))}));var a={license_key:t.licenseKey,good_ids:e};t.btnLoading=!0,Object(d["a"])(a).then((function(e){t.btnLoading=!1})).catch((function(){t.btnLoading=!1}))}},components:{AntModal:m,goodsIdList:h,leftTabItem:_,VDitor:g,kandengGoodsOne:f}},b=Object(n["a"])({},k),v=b,y=a("2877"),w=Object(y["a"])(v,i,o,!1,null,null,null);e["default"]=w.exports},d916:function(t,e,a){},de96:function(t,e,a){"use strict";a.r(e);a("99af");var i=function(){var t=this,e=t._self._c;return e("div",[e("a-card",{staticStyle:{"margin-bottom":"10px"},attrs:{bordered:!1}},[e("div",{staticClass:"table-page-search-wrapper"},[e("a-form",{attrs:{labelCol:t.labelCol,wrapperCol:t.wrapperCol}},[e("a-row",{attrs:{gutter:48}},[e("a-col",{attrs:{md:6,sm:24}},[e("a-form-item",{attrs:{label:"登录地址"}},[e("a-input",{attrs:{placeholder:"请输入登录地址","allow-clear":""},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleQuery.apply(null,arguments)}},model:{value:t.queryParam.ipaddr,callback:function(e){t.$set(t.queryParam,"ipaddr",e)},expression:"queryParam.ipaddr"}})],1)],1),e("a-col",{attrs:{md:6,sm:24}},[e("a-form-item",{attrs:{label:"操作信息"}},[e("a-input",{attrs:{placeholder:"请输入操作信息","allow-clear":""},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleQuery.apply(null,arguments)}},model:{value:t.queryParam.msg,callback:function(e){t.$set(t.queryParam,"msg",e)},expression:"queryParam.msg"}})],1)],1),e("a-col",{attrs:{md:6,sm:24}},[e("a-form-item",{attrs:{label:"使用状态"}},[e("a-select",{staticStyle:{width:"100%"},attrs:{placeholder:"请选择状态","allow-clear":""},model:{value:t.queryParam.status,callback:function(e){t.$set(t.queryParam,"status",e)},expression:"queryParam.status"}},t._l(t.statusOptions,(function(a,i){return e("a-select-option",{key:i,attrs:{value:a.dictValue}},[t._v(t._s(a.dictLabel))])})),1)],1)],1),t.advanced?e("a-col",{attrs:{md:6,sm:24}},[e("a-form-item",{attrs:{label:"登录名称"}},[e("a-input",{staticStyle:{width:"100%"},attrs:{"allow-clear":""},model:{value:t.queryParam.loginName,callback:function(e){t.$set(t.queryParam,"loginName",e)},expression:"queryParam.loginName"}})],1)],1):t._e(),t.advanced?e("a-col",{attrs:{md:6,sm:24}},[e("a-form-item",{attrs:{label:"登陆时间"}},[e("a-range-picker",{staticStyle:{width:"100%"},attrs:{valueFormat:"YYYY-MM-DD",format:"YYYY-MM-DD","allow-clear":""},model:{value:t.dateRange,callback:function(e){t.dateRange=e},expression:"dateRange"}})],1)],1):t._e(),e("a-col",[e("span",{staticClass:"table-page-search-submitButtons",staticStyle:{float:"right"}},[e("a-button",{attrs:{type:"primary"},on:{click:t.handleQuery}},[e("a-icon",{attrs:{type:"search"}}),t._v("查询")],1),e("a-button",{staticStyle:{"margin-left":"8px"},on:{click:t.resetQuery}},[e("a-icon",{attrs:{type:"redo"}}),t._v("重置")],1),e("a",{staticStyle:{"margin-left":"8px"},on:{click:t.toggleAdvanced}},[t._v(" "+t._s(t.advanced?"收起":"展开")+" "),e("a-icon",{attrs:{type:t.advanced?"up":"down"}})],1)],1)])],1)],1)],1)]),e("a-card",{staticClass:"table-card",attrs:{bordered:!1}},[e("advance-table",{attrs:{columns:t.columns,"data-source":t.list,title:"登录日志",loading:t.loading,rowKey:"id",tableKey:"monitor-logininfo-Logininfo-table",isTableConfig:!1,isShowSetBtn:!1,size:"middle","format-conditions":!0,"row-selection":{selectedRowKeys:t.selectedRowKeys,onChange:t.onSelectChange},pagination:{current:t.queryParam.pageNum,pageSize:t.queryParam.pageSize,total:t.total,showSizeChanger:!0,showLessItems:!0,showQuickJumper:!0,showTotal:function(t,e){return"第 ".concat(e[0],"-").concat(e[1]," 条,总计 ").concat(t," 条")},onChange:t.changeSize,onShowSizeChange:t.onSizeChange}},on:{refresh:t.getList},scopedSlots:t._u([{key:"status",fn:function(a){a.text;var i=a.record;return e("span",{},[e("a-badge",{attrs:{status:"0"==i.status?"processing":"error",text:t.statusFormat(i)}})],1)}}])},[e("div",{staticClass:"table-operations",attrs:{slot:"button"},slot:"button"},[t.multiple?t._e():e("a-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["monitor:LoginLog:remove"],expression:"['monitor:LoginLog:remove']"}],attrs:{type:"danger",disabled:t.multiple},on:{click:t.handleDelete}},[e("a-icon",{attrs:{type:"delete"}}),t._v("删除 ")],1),e("a-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["monitor:LoginLog:remove"],expression:"['monitor:LoginLog:remove']"}],attrs:{type:"danger"},on:{click:t.handleClean}},[e("a-icon",{attrs:{type:"delete"}}),t._v("清空 ")],1),e("a-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:LoginLog:export"],expression:"['system:LoginLog:export']"}],on:{click:t.handleExport}},[e("a-icon",{attrs:{type:"download"}}),t._v("导出 ")],1)],1)])],1)],1)},o=[],n=(a("d81d"),a("b775"));function r(t){return Object(n["b"])({url:"/monitor/loginLog/page",method:"get",params:t})}function s(t){return Object(n["b"])({url:"/monitor/loginLog/"+t,method:"delete"})}function l(){return Object(n["b"])({url:"/monitor/loginLog/clean",method:"delete"})}function c(t){return Object(n["b"])({url:"/monitor/loginLog/export",method:"get",params:t})}var u=a("5d9e"),d={name:"LoginLog",components:{AdvanceTable:u["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 t=this;this.getList(),this.getDicts("sys_common_status").then((function(e){t.statusOptions=e.data}))},computed:{},watch:{},methods:{onSizeChange:function(t,e){this.queryParam.pageNum=1,this.queryParam.pageSize=e,this.getList()},getList:function(){var t=this;this.loading=!0,r(this.addDateRange(this.queryParam,this.dateRange)).then((function(e){t.list=e.data.list,t.total=e.data.total,t.loading=!1}))},statusFormat:function(t){return this.selectDictLabel(this.statusOptions,t.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(t,e){this.queryParam.pageSize=e,this.getList()},changeSize:function(t,e){this.queryParam.pageNum=t,this.queryParam.pageSize=e,this.getList()},onSelectChange:function(t,e){this.selectedRowKeys=t,this.selectedRows=e,this.ids=this.selectedRows.map((function(t){return t.id})),this.multiple=!t.length},toggleAdvanced:function(){this.advanced=!this.advanced},handleDelete:function(t){var e=this,a=t.id||this.ids;this.$confirm({title:"确认删除所选中数据?",onOk:function(){return s(a).then((function(){e.onSelectChange([],[]),e.getList(),e.$message.success("删除成功",3)}))},onCancel:function(){}})},handleClean:function(){var t=this;this.$confirm({title:"是否确认清空?",content:"此操作将会清空所有登录日志数据项",onOk:function(){return l().then((function(){t.onSelectChange([],[]),t.getList(),t.$message.success("清空成功",3)}))},onCancel:function(){}})},handleExport:function(){var t=this;this.$confirm({title:"是否确认导出?",content:"此操作将导出当前条件下所有数据而非选中数据",onOk:function(){return c(t.queryParam).then((function(e){t.download(e.msg),t.$message.success("导出成功",3)}))},onCancel:function(){}})}}},p=d,m=a("2877"),h=Object(m["a"])(p,i,o,!1,null,null,null);e["default"]=h.exports}}]);
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|