zx/public/system/js/chunk-30cc51d8.a4ccf869.js

1 line
5.0 KiB
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-30cc51d8"],{"0d02":function(e,a,r){},"59e6":function(e,a,r){"use strict";r("0d02")},c94cc:function(e,a,r){"use strict";r.r(a);var t=function(){var e=this,a=e.$createElement,r=e._self._c||a;return r("div",{staticClass:"divBox"},[r("el-card",{staticClass:"box-card"},[r("el-form",{directives:[{name:"loading",rawName:"v-loading",value:e.fullscreenLoading,expression:"fullscreenLoading"}],ref:"formValidate",attrs:{model:e.formValidate,rules:e.rules,"label-width":"170px"}},[r("el-form-item",{attrs:{label:"采集商品接口方式:"}},[r("el-radio-group",{model:{value:e.formValidate.copy_product_status,callback:function(a){e.$set(e.formValidate,"copy_product_status",a)},expression:"formValidate.copy_product_status"}},[r("el-radio",{attrs:{label:0}},[e._v("关闭")]),e._v(" "),r("el-radio",{attrs:{label:2}},[e._v("一号通")]),e._v(" "),r("el-radio",{staticClass:"radio",attrs:{label:1}},[e._v("99API自有账号")])],1)],1),e._v(" "),1==e.formValidate.copy_product_status?r("el-form-item",{attrs:{label:"采集商品接口Key",prop:"copy_product_apikey"}},[r("el-input",{attrs:{placeholder:"请输入采集商品接口Key"},model:{value:e.formValidate.copy_product_apikey,callback:function(a){e.$set(e.formValidate,"copy_product_apikey",a)},expression:"formValidate.copy_product_apikey"}})],1):e._e(),e._v(" "),r("el-form-item",{attrs:{label:"物流查询接口方式:"}},[r("el-radio-group",{model:{value:e.formValidate.crmeb_serve_express,callback:function(a){e.$set(e.formValidate,"crmeb_serve_express",a)},expression:"formValidate.crmeb_serve_express"}},[r("el-radio",{attrs:{label:2}},[e._v("一号通")]),e._v(" "),r("el-radio",{staticClass:"radio",attrs:{label:1}},[e._v("阿里云物流查询")])],1)],1),e._v(" "),1==e.formValidate.crmeb_serve_express?r("el-form-item",{attrs:{label:"物流查询接口Key",prop:"express_app_code"}},[r("el-input",{attrs:{placeholder:"物流查询接口Key"},model:{value:e.formValidate.express_app_code,callback:function(a){e.$set(e.formValidate,"express_app_code",a)},expression:"formValidate.express_app_code"}})],1):e._e(),e._v(" "),r("el-form-item",{attrs:{label:"电子面单:"}},[r("el-radio-group",{model:{value:e.formValidate.crmeb_serve_dump,callback:function(a){e.$set(e.formValidate,"crmeb_serve_dump",a)},expression:"formValidate.crmeb_serve_dump"}},[r("el-radio",{attrs:{label:1}},[e._v("开启")]),e._v(" "),r("el-radio",{staticClass:"radio",attrs:{label:0}},[e._v("关闭")])],1)],1),e._v(" "),r("el-form-item",{staticClass:"interface_desc"},[r("div",[e._v("接口方式说明:")]),e._v(" "),r("h3",[e._v("采集商品接口:")]),e._v(" "),r("p",[e._v("\n 1.一号通方式是指通过注册CRMEB一号通方式可对接更多服务接口方便运营详情请前往"),r("span",{staticClass:"color_blue"},[e._v("平台后台>一号通>一号通服务")]),e._v("了解;\n ")]),e._v(" "),r("p",[e._v("\n 2.99API自有账号是指用户在99API平台已注册并购买商品采集的服务可选择继续使用。\n ")]),e._v(" "),r("h3",[e._v("物流查询接口:")]),e._v(" "),r("p",[e._v("\n 1.一号通方式是指通过注册CRMEB一号通方式可对接更多服务接口方便运营详情请前往"),r("span",{staticClass:"color_blue"},[e._v("平台后台>一号通>一号通服务")]),e._v("了解;\n ")]),e._v(" "),r("p",[e._v("\n 2.阿里云物流查询方式:是指用户在阿里云平台自行注册并购买物流查询服务的情况,可选择继续使用。\n ")]),e._v(" "),r("p",[e._v("\n 3.阿里云快递查询接口密钥购买地址https://market.aliyun.com/products/56928004/cmapi021863.html。\n ")])]),e._v(" "),r("el-form-item",[r("el-button",{attrs:{type:"primary",loading:e.loading},on:{click:e.submitForm}},[e._v("保存")])],1)],1)],1)],1)},s=[],o=(r("c5f6"),r("90e7")),l={name:"smsConfig",data:function(){return{fullscreenLoading:!1,loading:!1,listLoading:!0,formValidate:{},rules:{copy_product_apikey:[{required:!0,message:"请输入采集商品接口Key",trigger:"blur"}],express_app_code:[{required:!0,message:"请输入物流查询 接口Key",trigger:"blur"}]}}},mounted:function(){this.getData()},methods:{submitForm:function(){var e=this;Object(o["wb"])(this.formValidate).then((function(a){e.fullscreenLoading=!1,e.$message.success(a.message)})).catch((function(a){e.$message.error(a.message),e.fullscreenLoading=!1}))},getData:function(){var e=this;this.fullscreenLoading=!0,Object(o["y"])().then((function(a){e.fullscreenLoading=!1;var r=a.data;e.formValidate={copy_product_status:r.copy_product_status,copy_product_apikey:r.copy_product_apikey,crmeb_serve_dump:Number(r.crmeb_serve_dump),crmeb_serve_express:Number(r.crmeb_serve_express),express_app_code:r.express_app_code}})).catch((function(a){e.$message.error(a.message),e.fullscreenLoading=!1}))}}},i=l,c=(r("59e6"),r("2877")),_=Object(c["a"])(i,t,s,!1,null,"613c47b9",null);a["default"]=_.exports}}]);