chunk-18c25a5a.e3143b80.js 9.8 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-18c25a5a"],{c4c8:function(t,n,e){"use strict";e.d(n,"Z",(function(){return o})),e.d(n,"X",(function(){return u})),e.d(n,"bb",(function(){return c})),e.d(n,"Y",(function(){return a})),e.d(n,"ab",(function(){return i})),e.d(n,"l",(function(){return s})),e.d(n,"j",(function(){return d})),e.d(n,"n",(function(){return f})),e.d(n,"k",(function(){return l})),e.d(n,"m",(function(){return p})),e.d(n,"q",(function(){return g})),e.d(n,"o",(function(){return m})),e.d(n,"s",(function(){return h})),e.d(n,"p",(function(){return b})),e.d(n,"r",(function(){return v})),e.d(n,"I",(function(){return w})),e.d(n,"T",(function(){return y})),e.d(n,"t",(function(){return _})),e.d(n,"x",(function(){return k})),e.d(n,"H",(function(){return x})),e.d(n,"S",(function(){return C})),e.d(n,"K",(function(){return V})),e.d(n,"V",(function(){return E})),e.d(n,"w",(function(){return L})),e.d(n,"Q",(function(){return U})),e.d(n,"O",(function(){return O})),e.d(n,"M",(function(){return P})),e.d(n,"N",(function(){return S})),e.d(n,"v",(function(){return $})),e.d(n,"y",(function(){return D})),e.d(n,"R",(function(){return I})),e.d(n,"J",(function(){return R})),e.d(n,"U",(function(){return j})),e.d(n,"L",(function(){return H})),e.d(n,"W",(function(){return B})),e.d(n,"u",(function(){return F})),e.d(n,"P",(function(){return z})),e.d(n,"cb",(function(){return J})),e.d(n,"A",(function(){return M})),e.d(n,"z",(function(){return T})),e.d(n,"D",(function(){return W})),e.d(n,"G",(function(){return A})),e.d(n,"E",(function(){return N})),e.d(n,"F",(function(){return q})),e.d(n,"B",(function(){return G})),e.d(n,"C",(function(){return K})),e.d(n,"d",(function(){return Q})),e.d(n,"e",(function(){return X})),e.d(n,"c",(function(){return Y})),e.d(n,"f",(function(){return Z})),e.d(n,"i",(function(){return tt})),e.d(n,"b",(function(){return nt})),e.d(n,"a",(function(){return et})),e.d(n,"h",(function(){return rt})),e.d(n,"g",(function(){return ot}));var r=e("0c6d");function o(){return r["a"].get("store/category/lst")}function u(){return r["a"].get("store/category/create/form")}function c(t){return r["a"].get("store/category/update/form/".concat(t))}function a(t){return r["a"].delete("store/category/delete/".concat(t))}function i(t,n){return r["a"].post("store/category/status/".concat(t),{status:n})}function s(t){return r["a"].get("store/brand/category/lst",t)}function d(){return r["a"].get("store/brand/category/create/form")}function f(t){return r["a"].get("store/brand/category/update/form/".concat(t))}function l(t){return r["a"].delete("store/brand/category/delete/".concat(t))}function p(t,n){return r["a"].post("store/brand/category/status/".concat(t),{status:n})}function g(t){return r["a"].get("store/brand/lst",t)}function m(){return r["a"].get("store/brand/create/form")}function h(t){return r["a"].get("store/brand/update/form/".concat(t))}function b(t){return r["a"].delete("store/brand/delete/".concat(t))}function v(t,n){return r["a"].post("store/brand/status/".concat(t),{status:n})}function w(t){return r["a"].get("store/product/lst",t)}function y(t){return r["a"].get("seckill/product/lst",t)}function _(){return r["a"].get("store/category/list")}function k(){return r["a"].get("system/merchant/category_lst")}function x(t){return r["a"].get("store/product/detail/".concat(t))}function C(t){return r["a"].get("seckill/product/detail/".concat(t))}function V(t){return r["a"].post("store/product/status",t)}function E(t){return r["a"].post("seckill/product/status",t)}function L(){return r["a"].get("store/product/lst_filter")}function U(){return r["a"].get("seckill/product/lst_filter")}function O(t){return r["a"].get("store/reply/lst",t)}function P(t){return r["a"].get(t?"store/reply/create/form/".concat(t):"store/reply/create/form")}function S(t){return r["a"].delete("store/reply/delete/".concat(t))}function $(t){return r["a"].get("store/product/list",t)}function D(){return r["a"].get("store/product/mer_select")}function I(){return r["a"].get("seckill/product/mer_select")}function R(t){return r["a"].post("store/product/status",t)}function j(t){return r["a"].post("seckill/product/status",t)}function H(t,n){return r["a"].post("store/product/update/".concat(t),n)}function B(t,n){return r["a"].post("seckill/product/update/".concat(t),n)}function F(t,n){return r["a"].post("store/product/change/".concat(t),{status:n})}function z(t,n){return r["a"].post("seckill/product/change/".concat(t),{status:n})}function J(t){return r["a"].get("store/product/ficti/form/".concat(t))}function M(t){return r["a"].get("store/product/presell/lst",t)}function T(t){return r["a"].get("store/product/presell/get/".concat(t))}function W(t){return r["a"].get("store/product/presell/detail/".concat(t))}function A(t,n){return r["a"].post("store/product/presell/update/".concat(t),n)}function N(t){return r["a"].post("store/product/presell/status",t)}function q(t,n){return r["a"].post("store/product/presell/is_show/".concat(t),{status:n})}function G(){return r["a"].get("store/product/presell/agree")}function K(t){return r["a"].post("store/product/presell/agree",t)}function Q(t){return r["a"].get("store/product/assist/lst",t)}function X(t){return r["a"].get("store/product/assist/get/".concat(t))}function Y(t){return r["a"].get("store/product/assist/detail/".concat(t))}function Z(t){return r["a"].post("store/product/assist/status",t)}function tt(t,n){return r["a"].post("store/product/assist/is_show/".concat(t),{status:n})}function nt(t){return r["a"].get("store/product/assist/set/lst",t)}function et(t,n){return r["a"].get("store/product/assist/set/detail/".concat(t),n)}function rt(t){return r["a"].get("store/product/assist/get/".concat(t))}function ot(t,n){return r["a"].post("store/product/assist/update/".concat(t),n)}},cf2b:function(t,n,e){"use strict";var r=e("f7eb"),o=e.n(r);o.a},cf6d:function(t,n,e){"use strict";e.r(n);var r=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"divBox"},[e("el-card",{staticClass:"box-card"},[e("el-form",{directives:[{name:"loading",rawName:"v-loading",value:t.fullscreenLoading,expression:"fullscreenLoading"}],ref:"formValidate",staticClass:"formValidate mt20",attrs:{model:t.formValidate,"label-width":"100px"},nativeOn:{submit:function(t){t.preventDefault()}}},[e("el-col",{attrs:{span:24}},[e("el-form-item",[e("h3",{staticClass:"title"},[t._v("预售协议")]),t._v(" "),e("ueditor-from",{staticStyle:{width:"100%"},attrs:{content:t.formValidate.agree},model:{value:t.formValidate.agree,callback:function(n){t.$set(t.formValidate,"agree",n)},expression:"formValidate.agree"}})],1)],1),t._v(" "),e("el-form-item",{staticStyle:{"margin-top":"30px"}},[e("el-button",{staticClass:"submission",attrs:{type:"primary",size:"small"},on:{click:t.previewProtol}},[t._v("预览")]),t._v(" "),e("el-button",{staticClass:"submission",attrs:{type:"primary",size:"small"},on:{click:function(n){return t.handleSubmit("formValidate")}}},[t._v("提交")])],1)],1)],1),t._v(" "),e("div",{staticClass:"Box"},[t.modals?e("el-dialog",{staticClass:"addDia",attrs:{visible:t.modals,title:"",height:"30%","custom-class":"dialog-scustom"},on:{"update:visible":function(n){t.modals=n}}},[e("div",{staticClass:"agreement"},[e("h3",[t._v("预售协议")]),t._v(" "),e("div",{staticClass:"content"},[e("div",{domProps:{innerHTML:t._s(t.formValidate.agree)}})])])]):t._e()],1)],1)},o=[],u=(e("96cf"),e("3b8d")),c=e("ef0d"),a=e("c4c8"),i={name:"ProductExamine1",components:{ueditorFrom:c["a"]},data:function(){return{modals:!1,props:{emitPath:!1},formValidate:{agree:""},content:"",fullscreenLoading:!1}},mounted:function(){this.getInfo()},methods:{getInfo:function(){var t=this;this.fullscreenLoading=!0,Object(a["B"])().then((function(n){var e=n.data;t.formValidate={agree:e.sys_product_presell_agree},t.fullscreenLoading=!1})).catch((function(n){t.$message.error(n.message),t.fullscreenLoading=!1}))},handleSubmit:function(t){var n=this;""!==this.formValidate.agree&&this.formValidate.agree?Object(a["C"])(this.formValidate).then(function(){var t=Object(u["a"])(regeneratorRuntime.mark((function t(e){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:n.fullscreenLoading=!1,n.$message.success(e.message);case 2:case"end":return t.stop()}}),t)})));return function(n){return t.apply(this,arguments)}}()).catch((function(t){n.fullscreenLoading=!1,n.$message.error(t.message)})):this.$message.warning("请输入协议信息!")},previewProtol:function(){this.modals=!0}}},s=i,d=(e("cf2b"),e("2877")),f=Object(d["a"])(s,r,o,!1,null,"3139c2aa",null);n["default"]=f.exports},ef0d:function(t,n,e){"use strict";var r=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",[e("vue-ueditor-wrap",{staticStyle:{width:"90%"},attrs:{config:t.myConfig},on:{beforeInit:t.addCustomDialog},model:{value:t.contents,callback:function(n){t.contents=n},expression:"contents"}})],1)},o=[],u=e("6625"),c=e.n(u),a=e("83d6"),i={name:"Index",components:{VueUeditorWrap:c.a},scrollerHeight:{content:String,default:""},props:{content:{type:String,default:""}},data:function(){return{contents:this.content,myConfig:{autoHeightEnabled:!1,initialFrameHeight:500,initialFrameWidth:"100%",UEDITOR_HOME_URL:"/UEditor/",elementPathEnabled:!1,wordCount:!1,enableAutoSave:!1}}},watch:{content:function(t){this.contents=this.content},contents:function(t){this.$emit("input",t)}},created:function(){},methods:{addCustomDialog:function(t){window.UE.registerUI("test-dialog",(function(t,n){var e=new window.UE.ui.Dialog({iframeUrl:a["roterPre"]+"/setting/uploadPicture?field=dialog",editor:t,name:n,title:"上传图片",cssRules:"width:1000px;height:620px;padding:20px;"});this.dialog=e;var r=new window.UE.ui.Button({name:"dialog-button",title:"上传图片",cssRules:"background-image: url(@/assets/images/icons.png);background-position: -726px -77px;",onclick:function(){e.render(),e.open()}});return r}),37)}}},s=i,d=e("2877"),f=Object(d["a"])(s,r,o,!1,null,"20a9303c",null);n["a"]=f.exports},f7eb:function(t,n,e){}}]);