提交 610f4f82 authored 作者: 王天霸's avatar 王天霸

Merge branch '云仓3.0.1'

......@@ -5,7 +5,8 @@ ENV = 'development'
VUE_APP_BASE_API = 'http://192.168.111.240:6605/api/v1'
# 测试环境
#VUE_APP_BASE_API = 'http://192.168.26.179:6605/api/v1'
VUE_APP_BASE_API = 'http://192.168.26.179:6605/api/v1'
#VUE_APP_BASE_API = 'http://192.168.111.240:6605/api/v1'
# 文档模块 直接调用 sys开放接口
VUE_APP_BASE_SYS_API = 'http://sysapi.jxhh.com'
......
差异被折叠。
This source diff could not be displayed because it is too large. You can view the blob instead.
.panel-group[data-v-3bf1987b]{margin-top:18px}.panel-group .card-panel-col[data-v-3bf1987b]{margin-bottom:32px}.panel-group .card-panel[data-v-3bf1987b]{height:108px;cursor:pointer;font-size:12px;position:relative;overflow:hidden;color:#666;background:#fff;box-shadow:4px 4px 40px rgba(0,0,0,.05);border-color:rgba(0,0,0,.05)}.panel-group .card-panel:hover .card-panel-icon-wrapper[data-v-3bf1987b]{color:#fff}.panel-group .card-panel:hover .icon-people[data-v-3bf1987b]{background:#40c9c6}.panel-group .card-panel:hover .icon-message[data-v-3bf1987b]{background:#36a3f7}.panel-group .card-panel:hover .icon-money[data-v-3bf1987b]{background:#f4516c}.panel-group .card-panel:hover .icon-shopping[data-v-3bf1987b]{background:#34bfa3}.panel-group .card-panel .icon-people[data-v-3bf1987b]{color:#40c9c6}.panel-group .card-panel .icon-message[data-v-3bf1987b]{color:#36a3f7}.panel-group .card-panel .icon-money[data-v-3bf1987b]{color:#f4516c}.panel-group .card-panel .icon-shopping[data-v-3bf1987b]{color:#34bfa3}.panel-group .card-panel .card-panel-icon-wrapper[data-v-3bf1987b]{float:left;margin:14px 0 0 14px;padding:16px;transition:all .38s ease-out;border-radius:6px}.panel-group .card-panel .card-panel-icon[data-v-3bf1987b]{float:left;font-size:48px}.panel-group .card-panel .xz-tip[data-v-3bf1987b]{float:left;background-color:#f4516c;color:#fff;width:24px;height:24px;border-radius:12px;line-height:24px;text-align:center;margin-top:18px;margin-left:-24px;animation:xzTip-data-v-3bf1987b 3s}.panel-group .card-panel .card-panel-description[data-v-3bf1987b]{float:right;font-weight:700;margin:26px;margin-left:0}.panel-group .card-panel .card-panel-description .card-panel-text[data-v-3bf1987b]{line-height:18px;color:rgba(0,0,0,.45);font-size:16px;margin-bottom:12px}.panel-group .card-panel .card-panel-description .card-panel-num[data-v-3bf1987b]{font-size:20px}@media (max-width:550px){.card-panel-description[data-v-3bf1987b]{display:none}.card-panel-icon-wrapper[data-v-3bf1987b]{float:none!important;width:100%;height:100%;margin:0!important}.card-panel-icon-wrapper .svg-icon[data-v-3bf1987b]{display:block;margin:14px auto!important;float:none!important}}.dashboard-promote .el-row[data-v-55a18f0e]{margin-bottom:20px;font-size:14px}.dashboard-promote .el-row .jz[data-v-55a18f0e]{height:500px}.dashboard-promote .el-row .kj[data-v-55a18f0e]{height:300px}.dashboard-promote .el-row .xx[data-v-55a18f0e]{height:200px}.git-res[data-v-55a18f0e]{margin-top:20px}.git-res .el-link[data-v-55a18f0e]{margin-right:30px}li[data-v-55a18f0e],ul[data-v-55a18f0e]{padding:0;margin:0;list-style:none}.product li[data-v-55a18f0e]{margin-bottom:20px;float:left;width:150px}.dashboard-editor-container[data-v-55a18f0e]{padding:32px;background-color:#f0f2f5;position:relative}.dashboard-editor-container .chart-wrapper[data-v-55a18f0e]{background:#fff;padding:16px 16px 0;margin-bottom:32px}@media (max-width:1024px){.chart-wrapper[data-v-55a18f0e]{padding:8px}}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
差异被折叠。
差异被折叠。
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-14356e48"],{"92fc":function(t,n,e){t.exports=e.p+"static/img/4.3f411af6.png"},"93ba":function(t,n,e){},a570:function(t,n,e){"use strict";e.r(n);var i=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"entryDetails"},[e("div",{staticClass:"logo-bg"},[t.settitle&&t.settitle.topLogo?e("img",{attrs:{src:t.settitle.topLogo,alt:""}}):t._e()]),t._v(" "),t._m(0),t._v(" "),e("div",{staticClass:"confirm-btn"},[e("p",[e("el-button",{staticStyle:{padding:"8px 30px"},attrs:{type:"primary",round:""},on:{click:t.nextStep}},[t._v("\n 立即入驻  "),e("i",{staticClass:"el-icon-right"})])],1)])])},a=[function(){var t=this,n=t.$createElement,i=t._self._c||n;return i("div",{staticClass:"main-con"},[i("img",{attrs:{src:e("92fc"),alt:""}})])}],s=e("5302"),c={name:"Index",data:function(){return{channel_id:0,settitle:{bottomCopyright:"",businessHours:1,companyAddress:"",contactTel:"",custServiceQrcode:"",hotlineTel1:"",hotlineTel2:"",onlineTimeEnd:"18:00",onlineTimeStart:"09:00",recordNum:"",topLogo:""}}},created:function(){},mounted:function(){},methods:{getIndexInfo:function(){var t=this,n=window.location.host,e={domain:n};Object(s["e"])(e).then((function(n){1==n.code&&(t.channel_id=n.data.channel_id,t.getWebSite())}))},getWebSite:function(){var t=this,n={channel_ids:this.channel_id};Object(s["f"])(n).then((function(n){1==n.code&&n.data.universal_lst&&"null"!=n.data.universal_lst&&(t.settitle=n.data.universal_lst)}))},nextStep:function(){this.$router.push("/fillMainInf")}}},o=c,l=(e("a8f3f"),e("cba8")),r=Object(l["a"])(o,i,a,!1,null,"d1c85880",null);n["default"]=r.exports},a8f3f:function(t,n,e){"use strict";e("93ba")}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1d571893"],{"5a97":function(t,e,n){"use strict";n.d(e,"e",(function(){return r})),n.d(e,"i",(function(){return o})),n.d(e,"c",(function(){return s})),n.d(e,"d",(function(){return c})),n.d(e,"g",(function(){return u})),n.d(e,"f",(function(){return i})),n.d(e,"a",(function(){return l})),n.d(e,"b",(function(){return d})),n.d(e,"h",(function(){return m}));var a=n("b775");function r(t){return Object(a["a"])({url:"/system/goodsNew/list",method:"get",params:t})}function o(t){return Object(a["a"])({url:"/system/goodsNew/shelvesStatus",method:"post",data:t})}function s(t){return Object(a["a"])({url:"/system/goodsNew/goodsStatus",method:"post",data:t})}function c(t){return Object(a["a"])({url:"/system/goodsNew/info",method:"get",params:t})}function u(t){return Object(a["a"])({url:"/system/goodsNew/businessList",method:"get",params:t})}function i(t){return Object(a["a"])({url:"/system/goodsNew/collect",method:"post",data:t})}function l(t){return Object(a["a"])({url:"/system/goodsNew/cancelOnsale",method:"post",data:t})}function d(t){return Object(a["a"])({url:"/system/goodsNew/cancelOnsaleAll",method:"post",data:t})}function m(t){return Object(a["a"])({url:"/system/goodsNew/onsaleUpdate",method:"post",data:t})}},"6b1f":function(t,e,n){"use strict";n.d(e,"g",(function(){return r})),n.d(e,"i",(function(){return o})),n.d(e,"b",(function(){return s})),n.d(e,"d",(function(){return c})),n.d(e,"a",(function(){return u})),n.d(e,"l",(function(){return i})),n.d(e,"j",(function(){return l})),n.d(e,"c",(function(){return d})),n.d(e,"m",(function(){return m})),n.d(e,"e",(function(){return f})),n.d(e,"h",(function(){return h})),n.d(e,"f",(function(){return p})),n.d(e,"k",(function(){return g}));var a=n("b775");function r(t){return Object(a["a"])({url:"/system/index/getInfo",method:"get",params:t})}function o(t){return Object(a["a"])({url:"/local/getOrganization",method:"get",params:t})}function s(t){return Object(a["a"])({url:"/local/organization",method:"post",data:t})}function c(t){return Object(a["a"])({url:"/local/shopbrand",method:"get",params:t})}function u(t){return Object(a["a"])({url:"/local/brands",method:"post",data:t})}function i(t){return Object(a["a"])({url:"/local/upbrands",method:"post",data:t})}function l(t){return Object(a["a"])({url:"/local/getShopInfo",method:"get",params:t})}function d(t){return Object(a["a"])({url:"/local/addShopInfo",method:"post",data:t})}function m(t){return Object(a["a"])({url:"/system/goodsNew/uploadImage",method:"post",data:t})}function f(t){return Object(a["a"])({url:"/local/cate",method:"get",params:t})}function h(t){return Object(a["a"])({url:"/local/check/businessLicense",method:"get",params:t})}function p(t){return Object(a["a"])({url:"/local/check/idCard",method:"get",params:t})}function g(t){return Object(a["a"])({url:"/local/qualification/list",method:"get",params:t})}},e3b2:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-container"},[n("el-card",{staticClass:"box-card"},[n("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[t._v("商品导入")]),t._v(" "),n("h3",{staticClass:"cton_h3"},[t._v("剩余次数:"+t._s(t.collect_num)+" / 1000次")]),t._v(" "),n("div",{staticClass:"cton_text"},[n("p",[t._v("功能介绍:")]),t._v(" "),n("p",[t._v("\n 商品导入是为了商家快速、方便地将其它平台上已有的商品,一键导入到您的云仓平台,不再用手动输入编写商品信息\n ")]),t._v(" "),n("p",[t._v("使用方法:")]),t._v(" "),n("p",[t._v("\n 复制其它电商平台的商品链接,粘贴至商品链接输入框内,为该商品选择对应的商品分类,选择完成后点击立即获取按钮即可\n ")]),t._v(" "),n("p",[t._v("示例:")]),t._v(" "),n("p",[t._v("京东商品链接如:https://item.jd.com/10684560542.html")]),t._v(" "),n("p",[t._v("温馨提示:")]),t._v(" "),n("p",[t._v("商品在获取过程中,请不要进行其它操作")]),t._v(" "),n("p",[t._v("\n 商品抓取后,默认放入到下架商品中,请手动修改商品相关信息,再提交申请上架\n ")]),t._v(" "),n("p",[t._v("请确保不要将多个平台的商品链接混合输入")]),t._v(" "),n("p",[t._v("每个用户默认拥有1000次商品导入的机会,请慎重使用")])]),t._v(" "),n("el-form",{ref:"form",attrs:{model:t.form,"label-width":"180px"}},[n("el-form-item",{attrs:{label:"商品链接:"}},[n("el-input",{staticStyle:{width:"700px"},attrs:{type:"textarea",autosize:{minRows:4,maxRows:8},placeholder:"请输入其它平台商品的链接,单次最多允许输入10条链接,以英文逗号隔开"},model:{value:t.form.desc,callback:function(e){t.$set(t.form,"desc",e)},expression:"form.desc"}})],1),t._v(" "),n("el-form-item",{attrs:{label:"商品分类:"}},[t.el_valuestatus?n("el-cascader",{ref:"cascaderDom",staticStyle:{width:"350px"},attrs:{props:t.props,options:t.options,placeholder:"请选择"},on:{change:t.elvalueclick},model:{value:t.el_value,callback:function(e){t.el_value=e},expression:"el_value"}}):t._e()],1),t._v(" "),n("el-form-item",[n("el-button",{attrs:{type:"primary"},on:{click:t.onSubmit}},[t._v("立即导入")])],1)],1)],1)],1)},r=[],o=(n("4057"),n("e680"),n("fc02"),n("2ca7"),n("6b1f")),s=n("5a97"),c=(n("ed08"),{name:"freight",data:function(){return{collect_num:0,form:{desc:""},el_valuestatus:!0,el_value:[],options:[],props:{checkStrictly:!1,expandTrigger:"click",emitPath:!0,value:"id",label:"label"}}},components:{},created:function(){this.getData(),this.info()},watch:{},methods:{info:function(){var t=this;Object(o["j"])().then((function(e){1==e.code&&(t.collect_num=e.data.collect_num)}))},onSubmit:function(){var t=this;if(this.collect_num<=0)this.$message({type:"warning",message:"您好,您的导入次数已用完,请您联系我们的工作人员操作充值"});else{var e;if(!this.form.desc)return this.$message.error("请填写需要导入的商品链接!"),!1;if(e=this.form.desc.split(","),!(e.length>0&&e.length<=10))return e.length>10?(this.$message({message:"您单次输入的链接数量超过10条!",type:"warning"}),!1):(this.$message.error("请填写需要导入的商品链接!"),!1);if(Number(e.length)>Number(this.collect_num))this.$message({type:"warning",message:"您好,准备导入的商品条数过多,当前剩余次数不足,请重新输入"});else{if(3!=this.el_value.length)return this.$message.error("请选择商品分类!"),!1;var n={category_id:this.el_value[2],third_url:e};Object(s["f"])(n).then((function(n){var a=0,r=Number(e.length),o="";1===n.code?(1===r?1===Number(n.data)?t.$message({type:"success",message:"您好,商品已导入成功,请在仓库中进行编辑后申请上架"}):t.$message({type:"error",message:"您好,商品导入失败,请您重新导入"}):r>1&&(a=Number(n.data),o="您好,一共导入"+r+"条商品,"+a+"条导入成功,请在仓库中进行编辑后申请上架",t.$message({type:"warning",message:o})),t.el_value=[],t.$refs.cascaderDom.$refs.panel.activePath=[],t.form.desc=""):(o=n.message?n.message:"导入失败",t.$message({type:"error",message:o})),t.info()}))}}},add:function(t,e){var n,a,r,o;try{n=t.toString().split(".")[1].length,a=e.toString().split(".")[1].length}catch(s){n=0,a=0}return r=Math.pow(10,Math.max(n,a)),o=(t*r+e*r)/r,o=o.toFixed(2),o},minus:function(t,e){return this.add(t,-e)},elvalueclick:function(){},getData:function(){var t=this;Object(s["g"])().then((function(e){1==e.code&&(t.options=e.data)}))}}}),u=c,i=(n("fe8e"),n("cba8")),l=Object(i["a"])(u,a,r,!1,null,"9269e492",null);e["default"]=l.exports},eaab:function(t,e,n){},fe8e:function(t,e,n){"use strict";n("eaab")}}]);
\ No newline at end of file
差异被折叠。
差异被折叠。
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0c7ece"],{5360:function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"app-container"},[a("el-form",{ref:"queryForm",attrs:{model:t.queryParams,inline:!0}},[a("el-form-item",{attrs:{label:"字典类型",prop:"dictType"}},[a("el-input",{attrs:{placeholder:"请输入字典类型",clearable:"",size:"small"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleQuery(e)}},model:{value:t.queryParams.dictType,callback:function(e){t.$set(t.queryParams,"dictType",e)},expression:"queryParams.dictType"}})],1),t._v(" "),a("el-form-item",{attrs:{label:"字典标签",prop:"dictLabel"}},[a("el-input",{attrs:{placeholder:"请输入字典标签",clearable:"",size:"small"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleQuery(e)}},model:{value:t.queryParams.dictLabel,callback:function(e){t.$set(t.queryParams,"dictLabel",e)},expression:"queryParams.dictLabel"}})],1),t._v(" "),a("el-form-item",{attrs:{label:"状态",prop:"status"}},[a("el-select",{attrs:{placeholder:"数据状态",clearable:"",size:"small"},model:{value:t.queryParams.status,callback:function(e){t.$set(t.queryParams,"status",e)},expression:"queryParams.status"}},t._l(t.statusOptions.values,(function(t){return a("el-option",{key:t.key,attrs:{label:t.value,value:t.key}})})),1)],1),t._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary",icon:"el-icon-search",size:"mini"},on:{click:t.handleQuery}},[t._v("搜索")]),t._v(" "),a("el-button",{attrs:{icon:"el-icon-refresh",size:"mini"},on:{click:t.resetQuery}},[t._v("重置")])],1)],1),t._v(" "),a("el-row",{staticClass:"mb8",attrs:{gutter:10}},[a("el-col",{attrs:{span:1.5}},[a("el-button",{attrs:{type:"primary",icon:"el-icon-plus",size:"mini"},on:{click:t.handleAdd}},[t._v("新增")])],1),t._v(" "),a("el-col",{attrs:{span:1.5}},[a("el-button",{attrs:{type:"success",icon:"el-icon-edit",size:"mini",disabled:t.single},on:{click:t.handleUpdate}},[t._v("修改")])],1),t._v(" "),a("el-col",{attrs:{span:1.5}},[a("el-button",{attrs:{type:"danger",icon:"el-icon-delete",size:"mini",disabled:t.multiple},on:{click:t.handleDelete}},[t._v("删除")])],1)],1),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],attrs:{data:t.dataList},on:{"selection-change":t.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"55",align:"center"}}),t._v(" "),a("el-table-column",{attrs:{label:"字典编码",align:"center",prop:"dict_code"}}),t._v(" "),a("el-table-column",{attrs:{label:"字典标签",align:"center",prop:"dict_label"}}),t._v(" "),a("el-table-column",{attrs:{label:"字典键值",align:"center",prop:"dict_value"}}),t._v(" "),a("el-table-column",{attrs:{label:"字典排序",align:"center",prop:"dict_sort"}}),t._v(" "),a("el-table-column",{attrs:{label:"状态",align:"center",prop:"status",formatter:t.statusFormat}}),t._v(" "),a("el-table-column",{attrs:{label:"备注",align:"center",prop:"remark","show-overflow-tooltip":!0}}),t._v(" "),a("el-table-column",{attrs:{label:"创建时间",align:"center",prop:"create_time",width:"180"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(t.parseTime(e.row.create_time)))])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"操作",align:"center","class-name":"small-padding fixed-width"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{size:"mini",type:"text",icon:"el-icon-edit"},on:{click:function(a){return t.handleUpdate(e.row)}}},[t._v("修改")]),t._v(" "),a("el-button",{attrs:{size:"mini",type:"text",icon:"el-icon-delete"},on:{click:function(a){return t.handleDelete(e.row)}}},[t._v("删除")])]}}])})],1),t._v(" "),a("pagination",{directives:[{name:"show",rawName:"v-show",value:t.total>0,expression:"total>0"}],attrs:{total:t.total,page:t.queryParams.pageNum,limit:t.queryParams.pageSize},on:{"update:page":function(e){return t.$set(t.queryParams,"pageNum",e)},"update:limit":function(e){return t.$set(t.queryParams,"pageSize",e)},pagination:t.getList}}),t._v(" "),a("el-dialog",{attrs:{title:t.title,visible:t.open,width:"500px","append-to-body":""},on:{"update:visible":function(e){t.open=e}}},[a("el-form",{ref:"form",attrs:{model:t.form,rules:t.rules,"label-width":"80px"}},[a("el-form-item",{attrs:{label:"字典类型"}},[a("el-input",{attrs:{disabled:!0},model:{value:t.form.dictType,callback:function(e){t.$set(t.form,"dictType",e)},expression:"form.dictType"}})],1),t._v(" "),a("el-form-item",{attrs:{label:"数据标签",prop:"dictLabel"}},[a("el-input",{attrs:{placeholder:"请输入数据标签"},model:{value:t.form.dictLabel,callback:function(e){t.$set(t.form,"dictLabel",e)},expression:"form.dictLabel"}})],1),t._v(" "),a("el-form-item",{attrs:{label:"数据键值",prop:"dictValue"}},[a("el-input",{attrs:{placeholder:"请输入数据键值"},model:{value:t.form.dictValue,callback:function(e){t.$set(t.form,"dictValue",e)},expression:"form.dictValue"}})],1),t._v(" "),a("el-form-item",{attrs:{label:"显示排序",prop:"dictSort"}},[a("el-input-number",{attrs:{"controls-position":"right",min:0},model:{value:t.form.dictSort,callback:function(e){t.$set(t.form,"dictSort",e)},expression:"form.dictSort"}})],1),t._v(" "),a("el-form-item",{attrs:{label:"系统默认"}},[a("el-switch",{attrs:{"active-text":"是","inactive-text":"否","active-value":"1","inactive-value":"0"},model:{value:t.form.isDefault,callback:function(e){t.$set(t.form,"isDefault",e)},expression:"form.isDefault"}})],1),t._v(" "),a("el-form-item",{attrs:{label:"状态",prop:"status"}},[a("el-radio-group",{model:{value:t.form.status,callback:function(e){t.$set(t.form,"status",e)},expression:"form.status"}},t._l(t.statusOptions.values,(function(e){return a("el-radio",{key:e.key,attrs:{label:e.key}},[t._v(t._s(e.value))])})),1)],1),t._v(" "),a("el-form-item",{attrs:{label:"备注",prop:"remark"}},[a("el-input",{attrs:{type:"textarea",placeholder:"请输入内容"},model:{value:t.form.remark,callback:function(e){t.$set(t.form,"remark",e)},expression:"form.remark"}})],1)],1),t._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{attrs:{type:"primary"},on:{click:t.submitForm}},[t._v("确 定")]),t._v(" "),a("el-button",{on:{click:t.cancel}},[t._v("取 消")])],1)],1)],1)},l=[],r=(a("1bc7"),a("aa3a")),s={name:"Data",data:function(){return{loading:!0,ids:[],single:!0,multiple:!0,total:0,dataList:[],defaultDictType:"",title:"",open:!1,statusOptions:[],typeOptions:[],queryParams:{pageNum:1,pageSize:10,dictName:void 0,dictType:void 0,status:void 0},form:{},rules:{dictLabel:[{required:!0,message:"数据标签不能为空",trigger:"blur"}],dictValue:[{required:!0,message:"数据键值不能为空",trigger:"blur"}],dictSort:[{required:!0,message:"数据顺序不能为空",trigger:"blur"}]}}},created:function(){var t=this.$route.params&&this.$route.params.dictType;this.queryParams.dictType=t,this.getList()},methods:{getList:function(){var t=this;this.loading=!0,Object(r["f"])(this.queryParams).then((function(e){t.dataList=e.data.list,t.statusOptions=e.data.searchStatus,t.total=e.data.total,t.loading=!1}))},statusFormat:function(t,e){return this.selectDictLabel(this.statusOptions.values,t.status)},cancel:function(){this.open=!1,this.reset()},reset:function(){this.form={dictCode:void 0,dictLabel:void 0,dictValue:void 0,dictSort:0,isDefault:"0",status:"1",remark:void 0},this.resetForm("form")},handleQuery:function(){this.queryParams.pageNum=1,this.getList()},resetQuery:function(){this.resetForm("queryForm"),this.queryParams.dictType=this.defaultDictType,this.handleQuery()},handleAdd:function(){this.reset(),this.open=!0,this.title="添加字典数据",this.form.dictType=this.queryParams.dictType},handleSelectionChange:function(t){this.ids=t.map((function(t){return t.dict_code})),this.single=1!=t.length,this.multiple=!t.length},handleUpdate:function(t){var e=this;this.reset();var a=t.dict_code||this.ids;Object(r["d"])(a).then((function(t){e.form={dictType:t.data.dict_type,dictCode:t.data.dict_code,dictLabel:t.data.dict_label,dictValue:t.data.dict_value,dictSort:t.data.dict_sort,isDefault:""+t.data.is_default,status:""+t.data.status,remark:t.data.remark},e.open=!0,e.title="修改字典数据"}))},submitForm:function(){var t=this;this.$refs["form"].validate((function(e){e&&(void 0!=t.form.dictCode?Object(r["g"])(t.form).then((function(e){0===e.code?(t.msgSuccess("修改成功"),t.open=!1,t.getList()):t.msgError(e.msg)})):Object(r["a"])(t.form).then((function(e){0===e.code?(t.msgSuccess("新增成功"),t.open=!1,t.getList()):t.msgError(e.msg)})))}))},handleDelete:function(t){var e=this,a=t.dict_code||this.ids;this.$confirm('是否确认删除字典编码为"'+a+'"的数据项?',"警告",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){return Object(r["b"])(a)})).then((function(){e.getList(),e.msgSuccess("删除成功")})).catch((function(){}))},handleExport:function(){var t=this,e=this.queryParams;this.$confirm("是否确认导出所有数据项?","警告",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){return Object(r["c"])(e)})).then((function(e){t.download(e.msg)})).catch((function(){}))}}},n=s,o=a("cba8"),c=Object(o["a"])(n,i,l,!1,null,null,null);e["default"]=c.exports}}]);
\ No newline at end of file
差异被折叠。
差异被折叠。
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0f012d"],{"9b8f":function(e,r,n){"use strict";n.r(r);n("8dee");var t,u,a={created:function(){var e=this.$route,r=e.params,n=e.query,t=r.path;this.$router.replace({path:"/"+t,query:n})},render:function(e){return e()}},c=a,o=n("cba8"),p=Object(o["a"])(c,t,u,!1,null,null,null);r["default"]=p.exports}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d22db58"],{f93b:function(n,e,o){"use strict";o.r(e);var t=function(){var n=this,e=n.$createElement,o=n._self._c||e;return o("div")},u=[],c={name:"returnurl",created:function(){},mounted:function(){window.opener=null,window.open("",self),window.close()}},l=c,r=o("cba8"),i=Object(r["a"])(l,t,u,!1,null,null,null);e["default"]=i.exports}}]);
\ No newline at end of file
差异被折叠。
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-57872cf8"],{c707:function(t,e,c){},cc6c:function(t,e,c){t.exports=c.p+"static/img/401.089007e7.gif"},ec55:function(t,e,c){"use strict";c.r(e);var n=function(){var t=this,e=t.$createElement,c=t._self._c||e;return c("div",{staticClass:"errPage-container"},[c("el-button",{staticClass:"pan-back-btn",attrs:{icon:"arrow-left"},on:{click:t.back}},[t._v("\n 返回\n ")]),t._v(" "),c("el-row",[c("el-col",{attrs:{span:12}},[c("h1",{staticClass:"text-jumbo text-ginormous"},[t._v("\n 401错误!\n ")]),t._v(" "),c("h2",[t._v("您没有访问权限!")]),t._v(" "),c("h6",[t._v("对不起,您没有访问权限,请不要进行非法操作!您可以返回主页面")]),t._v(" "),c("ul",{staticClass:"list-unstyled"},[c("li",{staticClass:"link-type"},[c("router-link",{attrs:{to:"/"}},[t._v("\n 回首页\n ")])],1)])]),t._v(" "),c("el-col",{attrs:{span:12}},[c("img",{attrs:{src:t.errGif,width:"313",height:"428",alt:"Girl has dropped her ice cream."}})])],1)],1)},a=[],s=c("cc6c"),r=c.n(s),i={name:"Page401",data:function(){return{errGif:r.a+"?"+ +new Date}},methods:{back:function(){this.$route.query.noGoBack?this.$router.push({path:"/"}):this.$router.go(-1)}}},o=i,l=(c("ecf6"),c("cba8")),u=Object(l["a"])(o,n,a,!1,null,"f2e02586",null);e["default"]=u.exports},ecf6:function(t,e,c){"use strict";c("c707")}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-612d55f9"],{6650:function(o,t,e){},dd7b:function(o,t,e){"use strict";e.r(t);e("7ded"),e("8c92"),e("509f");var n,i,c={name:"Login",data:function(){return{codeUrl:"",cookiePassword:"",gwToken:"",loginForm:{username:"demo",password:"123456",rememberMe:!1,code:"",uuid:""},loginRules:{},loading:!1,redirect:void 0}},watch:{$route:{handler:function(o){this.redirect=o.query&&o.query.redirect},immediate:!0}},created:function(){this.getssourl()},methods:{getssourl:function(){var o=this,t=window.location.host,e={domain:t};this.$store.dispatch("getssourl",e).then((function(t){1==t.code&&(o.ssourl=t.data.sso_url,o.tiaozuan())})).catch((function(){}))},tiaozuan:function(){if(console.log(this.gwToken),""==this.gwToken||null==this.gwToken){var o=window.location.host,t=document.location.protocol,e=this;setTimeout((function(){window.location.href=t+"//"+e.ssourl+"/login.html?redirect="+t+"//"+o+"/platformlogin"}),1e3)}}}},s=c,r=(e("eecc"),e("cba8")),u=Object(r["a"])(s,n,i,!1,null,null,null);t["default"]=u.exports},eecc:function(o,t,e){"use strict";e("6650")}}]);
\ No newline at end of file
差异被折叠。
差异被折叠。
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6cbfafa6"],{"11eb":function(t,e,n){},"47af":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyNpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG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z9R6SR3vjmCgZvpdN6ghXVFbsxikp+u7Df9m5MRWHg38+aFLB9NZCm/+5LFPOGwhW0SbmMfaYWFsZZxTcssOdom4R2WBmtnbqxD9h7NjKuBr2+qgB2FXAhvY/GdCjmNX9Ao8aTSuQ14zVX0LwuolRto4ToVftN9m3jp79lCMZU9dFAzNNLFB1V6r8qRuZqlpdzIR0OGLDk8szbBQb4OMY2rXRbLJo8wg+rvSUNr+FmQvM0WUJuhruukY5JgCDDtCEofeoFGnC1nTB6YpbQs14jTK9nmMZHPZAynp/WTMmt4S0FeokF2nseyfqVlEOnRhh5bfMU3EuoSrkRhlcFA0h5aojLs4VAqWOLpOMQUr63w+XwMHZxJXP5csdvpED7ATsR2g8FGMH08z6P8VDqyXOrZfux9VXlmxDmcASMN9GuhUf5zExZZD7xnuD5GkXQpOxWyr1xvWM9Kj+x54GGOVUKFSw11+5QWTrdRPCfxzgK+CFGeNfNOFivz7qJyzbomOjrTTEsc3aUqvRWkvBYW2cy7aVxgq3TfOCxZJ0kZFjKtlOpro7cG9VYrcgRoq4q/tDCx2ZeNsEgjs5q/Y0x2PxOiTZm6DJnkAzqOzpgSnsmCo0uXsGK6OCuGZJfSWAf9+kh+0smUryFGZL9U6c093+or6CSeU9CvjgHZdayzs5460DlrKbFQjkLMYWzMR1ms0hv6QXvV2qdpW5nuTVPRtlFNvPFzwN26euVyXlrW9MvADcr/iENPirSmyth80J55JifiJfWcwMrm914g2sS8/WqGz65cvhzmqRZnM13KuYkquoc8HJEc/WO2e9abdj7CPNUicU6OLP3MmB31YzyvqPRjPC1hBiuw+GSa+0EtqY3HquAHtfwkrx/U8mvZ5OWjeP8LMAADdln6uCsMhAAAAABJRU5ErkJggg=="},"6b1f":function(t,e,n){"use strict";n.d(e,"g",(function(){return r})),n.d(e,"i",(function(){return c})),n.d(e,"b",(function(){return u})),n.d(e,"d",(function(){return s})),n.d(e,"a",(function(){return i})),n.d(e,"l",(function(){return o})),n.d(e,"j",(function(){return l})),n.d(e,"c",(function(){return d})),n.d(e,"m",(function(){return m})),n.d(e,"e",(function(){return p})),n.d(e,"h",(function(){return b})),n.d(e,"f",(function(){return h})),n.d(e,"k",(function(){return A}));var a=n("b775");function r(t){return Object(a["a"])({url:"/system/index/getInfo",method:"get",params:t})}function c(t){return Object(a["a"])({url:"/local/getOrganization",method:"get",params:t})}function u(t){return Object(a["a"])({url:"/local/organization",method:"post",data:t})}function s(t){return Object(a["a"])({url:"/local/shopbrand",method:"get",params:t})}function i(t){return Object(a["a"])({url:"/local/brands",method:"post",data:t})}function o(t){return Object(a["a"])({url:"/local/upbrands",method:"post",data:t})}function l(t){return Object(a["a"])({url:"/local/getShopInfo",method:"get",params:t})}function d(t){return Object(a["a"])({url:"/local/addShopInfo",method:"post",data:t})}function m(t){return Object(a["a"])({url:"/system/goodsNew/uploadImage",method:"post",data:t})}function p(t){return Object(a["a"])({url:"/local/cate",method:"get",params:t})}function b(t){return Object(a["a"])({url:"/local/check/businessLicense",method:"get",params:t})}function h(t){return Object(a["a"])({url:"/local/check/idCard",method:"get",params:t})}function A(t){return Object(a["a"])({url:"/local/qualification/list",method:"get",params:t})}},"83f1":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"to-review"},[a("div",{staticClass:"logo-bg"},[t._e()]),t._v(" "),a("el-card",{staticClass:"box-card"},[a("div",{staticClass:"clearfix steps",attrs:{slot:"header"},slot:"header"},[a("el-steps",{attrs:{active:3,"align-center":"","finish-status":"success","process-status":"error"}},[a("el-step",{attrs:{title:"注册账号"}}),t._v(" "),a("el-step",{attrs:{title:"填写主体信息"}}),t._v(" "),a("el-step",{attrs:{title:"填写店铺信息"}}),t._v(" "),a("el-step",{attrs:{title:"提交入驻审核"}})],1)],1),t._v(" "),a("div",{staticClass:"main"},[a("div",{staticClass:"main-con"},[a("p",[a("img",{attrs:{src:n("47af"),alt:""}})]),t._v(" "),a("p",[t._v("非常抱歉,您的资料审核不通过!")]),t._v(" "),a("p",[t._v("不通过原因:"+t._s(t.msg)+"!请您重新提交认证资料!")]),t._v(" "),a("p",[t._v("如果您有其它的问题,可以拔打我们的服务电话与我们联系")]),t._v(" "),a("p",{staticStyle:{"padding-top":"40px"}},[a("el-button",{attrs:{type:"primary"},on:{click:t.reSubmit}},[t._v("重新提交")])],1)])])])],1)},r=[],c=n("6b1f"),u={name:"ReviewFail",data:function(){return{msg:"具体原因,请联系售后"}},created:function(){var t=this;this.$route.params.msg&&(this.msg=this.$route.params.msg),Object(c["g"])().then((function(e){1==e.code&&e.data.user&&(1==e.data.user.state&&t.$router.push({path:"/home/index"}),2==e.data.user.state&&t.$router.push({path:"/reviewing"}),3==e.data.user.state&&(t.$router.push({path:"/reviewFail"}),Object(c["j"])().then((function(e){1==e.code&&""!=e.data.Apply.content&&(t.msg=e.data.Apply.content)}))))}))},mounted:function(){history.pushState(null,null,document.URL),window.addEventListener("popstate",(function(){history.pushState(null,null,document.URL)}))},methods:{reSubmit:function(){this.$router.push({path:"/process"})}}},s=u,i=(n("e87f"),n("cba8")),o=Object(i["a"])(s,a,r,!1,null,"5e9840cc",null);e["default"]=o.exports},e87f:function(t,e,n){"use strict";n("11eb")}}]);
\ No newline at end of file
差异被折叠。
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7c2f4fe6"],{"6b1f":function(t,o,e){"use strict";e.d(o,"g",(function(){return r})),e.d(o,"i",(function(){return a})),e.d(o,"b",(function(){return c})),e.d(o,"d",(function(){return u})),e.d(o,"a",(function(){return i})),e.d(o,"l",(function(){return s})),e.d(o,"j",(function(){return l})),e.d(o,"c",(function(){return d})),e.d(o,"m",(function(){return f})),e.d(o,"e",(function(){return h})),e.d(o,"h",(function(){return p})),e.d(o,"f",(function(){return m})),e.d(o,"k",(function(){return g}));var n=e("b775");function r(t){return Object(n["a"])({url:"/system/index/getInfo",method:"get",params:t})}function a(t){return Object(n["a"])({url:"/local/getOrganization",method:"get",params:t})}function c(t){return Object(n["a"])({url:"/local/organization",method:"post",data:t})}function u(t){return Object(n["a"])({url:"/local/shopbrand",method:"get",params:t})}function i(t){return Object(n["a"])({url:"/local/brands",method:"post",data:t})}function s(t){return Object(n["a"])({url:"/local/upbrands",method:"post",data:t})}function l(t){return Object(n["a"])({url:"/local/getShopInfo",method:"get",params:t})}function d(t){return Object(n["a"])({url:"/local/addShopInfo",method:"post",data:t})}function f(t){return Object(n["a"])({url:"/system/goodsNew/uploadImage",method:"post",data:t})}function h(t){return Object(n["a"])({url:"/local/cate",method:"get",params:t})}function p(t){return Object(n["a"])({url:"/local/check/businessLicense",method:"get",params:t})}function m(t){return Object(n["a"])({url:"/local/check/idCard",method:"get",params:t})}function g(t){return Object(n["a"])({url:"/local/qualification/list",method:"get",params:t})}},"74bc":function(t,o,e){"use strict";e.r(o);var n=function(){var t=this,o=t.$createElement,e=t._self._c||o;return e("div")},r=[],a=e("2ca7"),c=e("6b1f"),u=(e("b775"),{name:"Platformlogin",data:function(){return{ssourl:""}},created:function(){this.getssourl()},methods:{getssourl:function(){var t=this,o=window.location.host,e={domain:o};this.$store.dispatch("getssourl",e).then((function(o){1==o.code&&(t.ssourl=o.data.sso_url,t.gotosso())})).catch((function(){}))},gotosso:function(){var t=this,o=this.$route.query.ticket;this.$store.dispatch("Login",{ticket:o}).then((function(o){if(""!=o.token)Object(c["j"])().then((function(o){if(1===o.code)switch(o.data.state){case 0:switch(o.data.status){case 0:t.$router.push({path:"/process"});break;case 1:t.$router.push({path:"/fillShopInf"});break}break;case 1:t.$router.push({path:"/home/index"});break;case 2:t.$router.push({path:"/reviewing"});break;case 3:var e=o.data.Apply.content;t.$router.push({name:"reviewFail",params:{msg:e}});break}else o&&o.msg?a["Notification"].error({title:"提示:",message:o.msg}):a["Notification"].error({title:"提示:",message:"刷新浏览器后,再次登录,若仍不行,请联系我们!"})}));else{t.$store.dispatch("Statistic"),t.$store.dispatch("FedLogOut");var e=window.location.host,n=document.location.protocol,r=t;setTimeout((function(){window.location.href=n+"//"+r.ssourl+"/api/v2/logout?redirect="+n+"//"+e+"/login"}),1e3)}t.loading=!1})).catch((function(){t.$store.dispatch("FedLogOut");var o=window.location.host,e=document.location.protocol,n=t;setTimeout((function(){window.location.href=e+"//"+n.ssourl+"/api/v2/logout?redirect="+e+"//"+o+"/login"}),1e3),t.loading=!1}))}}}),i=u,s=e("cba8"),l=Object(s["a"])(i,n,r,!1,null,null,null);o["default"]=l.exports}}]);
\ No newline at end of file
差异被折叠。
差异被折叠。
差异被折叠。
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-fa6b139a"],{"0e05":function(t,s,i){},"26fc":function(t,s,i){t.exports=i.p+"static/img/404_cloud.0f4bc32b.png"},2754:function(t,s,i){"use strict";i.r(s);var a=function(){var t=this,s=t.$createElement,i=t._self._c||s;return i("div",{staticClass:"wscn-http404-container"},[i("div",{staticClass:"wscn-http404"},[t._m(0),t._v(" "),i("div",{staticClass:"bullshit"},[i("div",{staticClass:"bullshit__oops"},[t._v("\n 404错误!\n ")]),t._v(" "),i("div",{staticClass:"bullshit__headline"},[t._v("\n "+t._s(t.message)+"\n ")]),t._v(" "),i("div",{staticClass:"bullshit__info"},[t._v("\n 对不起,您正在寻找的页面不存在。尝试检查URL的错误,然后按浏览器上的刷新按钮或尝试在我们的应用程序中找到其他内容。\n ")]),t._v(" "),i("router-link",{staticClass:"bullshit__return-home",attrs:{to:"/"}},[t._v("\n 返回首页\n ")])],1)])])},c=[function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("div",{staticClass:"pic-404"},[a("img",{staticClass:"pic-404__parent",attrs:{src:i("a36b"),alt:"404"}}),t._v(" "),a("img",{staticClass:"pic-404__child left",attrs:{src:i("26fc"),alt:"404"}}),t._v(" "),a("img",{staticClass:"pic-404__child mid",attrs:{src:i("26fc"),alt:"404"}}),t._v(" "),a("img",{staticClass:"pic-404__child right",attrs:{src:i("26fc"),alt:"404"}})])}],n={name:"Page404",computed:{message:function(){return"找不到网页!"}}},l=n,e=(i("61b6"),i("cba8")),_=Object(e["a"])(l,a,c,!1,null,"279ea4b2",null);s["default"]=_.exports},"61b6":function(t,s,i){"use strict";i("0e05")},a36b:function(t,s,i){t.exports=i.p+"static/img/404.a57b6f31.png"}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-fa9f02d6"],{"6b1f":function(t,e,n){"use strict";n.d(e,"g",(function(){return c})),n.d(e,"i",(function(){return u})),n.d(e,"b",(function(){return r})),n.d(e,"d",(function(){return i})),n.d(e,"a",(function(){return o})),n.d(e,"l",(function(){return l})),n.d(e,"j",(function(){return s})),n.d(e,"c",(function(){return d})),n.d(e,"m",(function(){return h})),n.d(e,"e",(function(){return m})),n.d(e,"h",(function(){return b})),n.d(e,"f",(function(){return A})),n.d(e,"k",(function(){return f}));var a=n("b775");function c(t){return Object(a["a"])({url:"/system/index/getInfo",method:"get",params:t})}function u(t){return Object(a["a"])({url:"/local/getOrganization",method:"get",params:t})}function r(t){return Object(a["a"])({url:"/local/organization",method:"post",data:t})}function i(t){return Object(a["a"])({url:"/local/shopbrand",method:"get",params:t})}function o(t){return Object(a["a"])({url:"/local/brands",method:"post",data:t})}function l(t){return Object(a["a"])({url:"/local/upbrands",method:"post",data:t})}function s(t){return Object(a["a"])({url:"/local/getShopInfo",method:"get",params:t})}function d(t){return Object(a["a"])({url:"/local/addShopInfo",method:"post",data:t})}function h(t){return Object(a["a"])({url:"/system/goodsNew/uploadImage",method:"post",data:t})}function m(t){return Object(a["a"])({url:"/local/cate",method:"get",params:t})}function b(t){return Object(a["a"])({url:"/local/check/businessLicense",method:"get",params:t})}function A(t){return Object(a["a"])({url:"/local/check/idCard",method:"get",params:t})}function f(t){return Object(a["a"])({url:"/local/qualification/list",method:"get",params:t})}},a0bf:function(t,e,n){"use strict";n("d766")},d766:function(t,e,n){},e4dd:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"to-review"},[a("div",{staticClass:"logo-bg"},[t._e()]),t._v(" "),a("el-card",{staticClass:"box-card"},[a("div",{staticClass:"clearfix steps",attrs:{slot:"header"},slot:"header"},[a("el-steps",{attrs:{active:3,"align-center":"","finish-status":"success"}},[a("el-step",{attrs:{title:"注册账号"}}),t._v(" "),a("el-step",{attrs:{title:"填写主体信息"}}),t._v(" "),a("el-step",{attrs:{title:"填写店铺信息"}}),t._v(" "),a("el-step",{attrs:{title:"提交入驻审核"}})],1)],1),t._v(" "),a("div",{staticClass:"main"},[a("div",{staticClass:"fuck"},[a("p",[a("img",{attrs:{src:n("e9f2"),alt:""}})]),t._v(" "),a("p",[t._v("资料已提交,工作人员审核中。。。")]),t._v(" "),a("p",{staticStyle:{"margin-top":"10px"}},[t._v("感谢您使用云仓!")]),t._v(" "),a("p",[t._v("您的资料已经提交审核,审核周期为1-3个工作日,请您耐心等待审核结果。")]),t._v(" "),a("p",[t._v("如果您有其它的问题,可以拔打我们的服务电话与我们联系!")])])])])],1)},c=[],u=n("6b1f"),r={name:"ReviewSuccess",data:function(){return{}},created:function(){var t=this;Object(u["g"])().then((function(e){1==e.code&&e.data.user&&(1==e.data.user.state&&t.$router.push({path:"/home/index"}),2==e.data.user.state&&t.$router.push({path:"/reviewing"}),3==e.data.user.state&&t.$router.push({path:"/reviewFail"}))}))},mounted:function(){history.pushState(null,null,document.URL),window.addEventListener("popstate",(function(){history.pushState(null,null,document.URL)}))}},i=r,o=(n("a0bf"),n("cba8")),l=Object(o["a"])(i,a,c,!1,null,"7245e274",null);e["default"]=l.exports},e9f2:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyNpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1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2g9HRzTVfg3BdsiYnPbbYZp3cS3HhulutExB+kmRVNZPl7deiF1w0oFDQ/me2W4jWR8qfBPFcYfZsPbwJ8KGqd08yvBNaQEWqYhE0qkyxwXxBmmoWmdoi+hQOKQ4EqhpAyuYviltaDZyjBpg1C3zvE2EVtaVCRtf0n4V0O7BN41b5ANN/MJqRStojMvm1joc3Hhf8sVrRaXUu33C/Cwwi+mDOqGiM0U+DXRXm0MRckMk6ig9oPDcdVOVOaX/hAJyrqJoiN6Wj8lwqsZHMfbNkyqFfHV/zBokRFGOjVsBPYlITJLD8fy9nawE/C/AVaFwGyxnedExEFjSwJsdqHdi+IkpaPMZprQ+AKGC/0KJsvBhSrDxtg2ymp8S4Gq+FwOOjko4vJXnQ5miljJ1W9RmlfAObjj3uZl1uFjMEzEJq9/9MEoLWahZVU5XGFxJa/TLBR708q9ITz+HfFYObGqVBwGz4OhnM15epVH1YtazTz+EYF+UUvHm2l0X6/hvwP3Kt5NAQYA/pvkv1BL/nsAAAAASUVORK5CYII="}}]);
\ No newline at end of file
差异被折叠。
......@@ -9,6 +9,14 @@ export function listGoods(query) {
})
}
// 上传视频
export function uploadVideo(data) {
return request({
url: '/system/goods/uploadVideo',
method: 'post',
data: data
})
}
// 查询类别
export function GetCategory(query) {
return request({
......
......@@ -125,22 +125,7 @@ service.interceptors.response.use(res => {
message: message,
type: "error"
});
// console.log(message);
// --- end ---- 开发时候用这段,把错误彻底抛出来 --- end ---
// --- start --- 正式上线,隐藏报错信息 ----- start ----
// let ssa = window.location.host;
// setTimeout(function () {
// if (ssa == 'localhost:1024') {
// window.location.href = 'http://sso.jxhh.com/logout?redirect=http://' + ssa
// } else {
// window.location.href = 'http://sso.jxhh.com/logout?redirect=http://' + ssa
// }
// }, 1000);
// --- end --- 正式上线,隐藏报错信息 ----- end ----
return Promise.reject(error)
}
)
......
<template>
<div class="goods-after-sale">
<el-card class="box-card" ref="paramsvalue">
<div slot="header" class="clearfix">
<span>商品参数</span> <span style="font-size:13px;padding-left:20px;">参数名称/参数值</span>
</div>
<draggable :list="goodsAfterSaleForm.params" group="article" class="dragArea">
<div v-for="(element,index) in goodsAfterSaleForm.params" :key="index" class="list-complete-item">
<el-row :gutter="24" style="padding-left:50px;">
<el-col :span="8" style="height:50px;">
<el-input
type="text"
placeholder="参数名称"
v-model="element.title"
maxlength="15"
show-word-limit
></el-input>
</el-col>
<el-col :span="12" style="height:50px;">
<el-input
type="text"
placeholder="参数值"
v-model="element.value"
maxlength="60"
show-word-limit
></el-input>
</el-col>
<el-col :span="4" style="height:50px;">
<span v-show="index!=0" style="height:50px;line-height: 40px;" @click="deleteparameter(index)">
<i style="color:#ff4949" class="el-icon-delete curspor" />
</span>
<span style="height:50px;line-height: 40px;">
<i style="color:#ff4949" class="el-icon-rank curspor" />
</span>
</el-col>
</el-row>
</div>
</draggable>
<el-button style="margin-left:50px;margin-bottom:30px;" type="primary" @click="addparameter">添加参数</el-button>
</el-card>
<el-card class="box-card" ref="salesvalue">
<div slot="header" class="clearfix">
<span>售后及服务</span>
</div>
<el-form ref="goodsAfterSaleForm" :model="goodsAfterSaleForm" :rules="goodsAfterSaleRules" label-width="150px" size="small">
<el-form-item label="服务标签:" prop="stags">
......@@ -31,11 +75,61 @@
</el-form-item>
</el-form>
</el-card>
<el-card class="box-card" ref="outhervalue">
<div slot="header" class="clearfix" >
<span>其他设置</span>
</div>
<el-form :model="goodsAfterSaleForm" :rules="goodsAfterSaleRules" ref="goodsAfterSaleForm" label-width="150px" class="demo-goodsInfoForm" size="small">
<el-form-item label='商品关键词:' prop="goods_des">
<el-input v-model.trim="goodsAfterSaleForm.goods_des" placeholder="请输入商品关键词" style="width:420px;"></el-input>
<span class="tip-span ml20">关键词之间用 <strong>英文逗号</strong> 分开,最多可以添加5个</span>
</el-form-item>
<el-form-item label="商品产地:" prop="producing_area">
<el-select v-model.trim="goodsAfterSaleForm.producing_area" placeholder="请选择商品产地" style="width: 420px;">
<el-option
v-for="item in areaOptions"
:key="item.id"
:label="item.name"
:value="item.id"
></el-option>
</el-select>
</el-form-item>
<el-form-item label="商品发货地:" prop="deliver_area">
<el-select v-model.trim="goodsAfterSaleForm.deliver_area" placeholder="请选择商品发货地" style="width: 420px;">
<el-option
v-for="item in areaOptions"
:key="item.id"
:label="item.name"
:value="item.id"
></el-option>
</el-select>
</el-form-item>
<el-form-item label='商品单位:' prop="unit">
<el-input v-model.trim="goodsAfterSaleForm.unit" placeholder="请输入商品单位" style="width:420px;"></el-input>
<!-- <span class="tip-span ml20">关键词之间用逗号分开,最多可以添加5个</span>-->
</el-form-item>
<el-form-item label='市场参考价链接:' prop="web_url">
<el-input v-model.trim="goodsAfterSaleForm.web_url" placeholder="请输入京东或者淘宝的商品链接" style="width:420px;"></el-input>
</el-form-item>
<el-form-item label='商品编码:' prop="out_goods_id">
<el-input v-model.trim="goodsAfterSaleForm.out_goods_id" placeholder="请输入商品编码(非必须)" style="width:420px;"></el-input>
</el-form-item>
</el-form>
</el-card>
</div>
</template>
<script>
import { GetFreight } from '@/api/module/goods'
import { getAreaList } from '@/api/module/retreat/address'
import draggable from 'vuedraggable'
export default {
name: "goodsaftersale",
props: {
......@@ -53,17 +147,54 @@
}
};
return {
areaOptions: [], // 地址 省
list:[
{
key:'1',
value:''
},{
key:'2',
value:''
},
{
key:'3',
value:''
},
{
key:'4',
value:''
},
{
key:'5',
value:''
}
],
goodsAfterSaleForm: {
stags: [],
freight_id: 310,
delay_compensate: 24,
aftersale_time: 7
aftersale_time: 7,
params:[
{
'title':'',
'value':''
}
],//参数
goods_des:'',//关键词
producing_area:'',//产地
deliver_area:'',//发货地
unit:'',//单位
web_url:'',//外部市场链接
out_goods_id:''//商品编码
},
goodsAfterSaleRules: {
stags: [{required: true, validator: checkStags}],
freight_id: [{required: true, message: '请选择邮费模板', trigger: 'change'}],
delay_compensate: [{required: true, message: '请选择发货时效', trigger: 'change'}],
aftersale_time: [{required: true, message: '请选择售后时长', trigger: 'change'}]
aftersale_time: [{required: true, message: '请选择售后时长', trigger: 'change'}],
deliver_area: [{required: true, message: '请选择商品发货地', trigger: 'change'}],
unit: [{required: true, message: '商品单位不能为空', trigger: 'blur'}],
goods_brand: [{required: true, message: '请选择商品品牌', trigger: 'change'}]
},
tagOptions: [
{id: 2, tag: "假一赔十"},
......@@ -75,15 +206,44 @@
freightOptions: []
} // return end
},
components: { draggable },
mounted() {
this.getFreightData();
//debugger
//console.log('售后数据:',this.goodsaftersale);
if(this.goodsaftersale && this.goodsaftersale.stags.length > 0) {
console.log('售后数据:',this.goodsaftersale);
if(this.goodsaftersale) {
this.goodsAfterSaleForm = this.goodsaftersale;
}
},
created() {
// 获取 省
this.getArea();
},
methods: {
// 获取 省
getArea() {
let limboNode = {
pid: 0
};
getAreaList(limboNode).then( res => {
if( res.data && res.data.length > 0) {
this.areaOptions = res.data;
}else {
this.areaOptions = [];
}
});
},
// 添加参数
addparameter(){
let obj = {
title:'',
value:''
}
this.goodsAfterSaleForm.params.push(obj)
},
deleteparameter(index){
this.goodsAfterSaleForm.params.splice(index, 1)
},
/** 售后服务数据 初始化 */
initInfo() {
this.$refs.goodsAfterSaleForm.resetFields();
......@@ -135,4 +295,13 @@
padding: 20px;
margin-bottom:20px;
}
.box-card{
margin-bottom: 50px;
}
.curspor{
font-size: 16px;
}
.curspor:hover{
cursor: pointer;
}
</style>
......@@ -88,6 +88,7 @@ export default {
},
data() {
return {
tableData7:{},
speData: [], // 商品规格总数据
specsGroup: {
spec_name: '', // 规格名称
......@@ -102,6 +103,7 @@ export default {
speNameList: [],
addSpecNameDialog: false,
specName_sm: '',
tablearr: [],
};
},
created() {
......@@ -315,6 +317,7 @@ export default {
/** 规格参数 变化时,对数据进行处理后,再进行笛卡尔积算法,最终计算出商品售价的数据 */
specCalcResult() {
// 商品规格原始数据
let specs_group = []
let orgSpeData = this.deepClone(this.speData);
// 进行数据处理后的数据,
......@@ -340,28 +343,56 @@ export default {
// 当处理后的数据,是一个空数组,则不需要再进行 笛卡尔积 计算,可以直接给出计算结果
if (proSpeData.length === 0) {
let goodsPam = {
pamNameList: [],
pamDataList: [],
pamTableList: [],
specs:[],
isradioguide:1
};
this.$emit('calcSpeTable', goodsPam);
} else {
//speData this.shopTypes
if(this.speData && this.speData.length > 0) {
for (let i = 0; i < this.speData.length; i++) {
this.tablearr.push(this.speData[i].spec_name);
}
}
// goodsParametersList newList
let goodsParametersList = this.cartesian(proSpeData);
let goodsPam = {
pamNameList: [],
pamDataList: [],
pamTableList: [],
};
goodsPam.pamNameList = this.speNameList;
goodsPam.pamDataList = goodsParametersList;
goodsParametersList.forEach((item)=> {
let prePamTable = [
{ js_price:'', sl_price:'', price:'', sc_price:'', stock:'', weight:'', thumb:'',spec_values: [] }
];
goodsPam.pamTableList.push(prePamTable)
});
this.$emit('calcSpeTable',goodsPam);
debugger
for (let index = 0; index < goodsParametersList.length; index++) {
var listobj = {};
listobj["js_price"] = "";
listobj["sl_price"] = "";
listobj["price"] = "";
listobj["sc_price"] = "";
listobj["stock"] = "";
listobj["weight"] = "";
listobj["thumb"] = "";
listobj["spec_values"] = goodsParametersList[index]
for (let i = 0; i < this.speData.length; i++) {
debugger
if(this.speData.length>1){
listobj[this.speData[i].spec_name] = goodsParametersList[index][i];
}
if(this.speData.length==1){
debugger
listobj[this.speData[0].spec_name] = goodsParametersList[index];
}
}
specs_group.push(listobj);
}
// goodsParametersList.forEach((item,index)=> {
// goodsPam.pamTableList.push(prePamTable)
// });
this.tableData7['specs_group'] = specs_group
this.tableData7['specs'] = this.speData
this.tableData7['shopTypes'] = this.cartesian(proSpeData)
this.tableData7['isradioguide'] = 2
this.$emit('calcSpeTable',this.tableData7);
console.log(this.tableData7)
}
},
......@@ -425,6 +456,9 @@ export default {
//console.log(404,this.speData);
},
/** 笛卡尔积算法 */
cartesian(arr) {
if(arr.length < 2) {
......@@ -439,6 +473,7 @@ export default {
res.push(t);
});
});
return res
});
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论