You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
2.6 KiB
1 lines
2.6 KiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-3602f5d4"],{"2ee6":function(t,e,n){},a7a4:function(t,e,n){"use strict";n.d(e,"a",(function(){return a})),n.d(e,"j",(function(){return c})),n.d(e,"b",(function(){return o})),n.d(e,"d",(function(){return u})),n.d(e,"c",(function(){return i})),n.d(e,"e",(function(){return s})),n.d(e,"h",(function(){return f})),n.d(e,"f",(function(){return d})),n.d(e,"g",(function(){return l})),n.d(e,"i",(function(){return m}));var r=n("0c6d");function a(t){return r["a"].get("config/".concat(t))}function c(){return r["a"].get("upload/config")}function o(){return r["a"].get("delivery/config/form")}function u(t){return r["a"].get("delivery/station/lst",t)}function i(t){return r["a"].get("delivery/station/detail/".concat(t))}function s(t){return r["a"].post("service/reply/create",t)}function f(t,e){return r["a"].get("service/reply/list",{page:t,limit:e})}function d(t){return r["a"].delete("service/reply/delete/".concat(t))}function l(t,e){return r["a"].post("service/reply/update/".concat(t),e)}function m(t,e){return r["a"].post("service/reply/status/".concat(t),{status:e})}},e104:function(t,e,n){"use strict";n("2ee6")},f7ac:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"divBox"},[n("el-card",{staticClass:"box-card FromData"},[t.FromData?n("form-create",{attrs:{option:t.option,rule:t.FromData.rule},on:{submit:t.onSubmit}}):t._e()],1)],1)},a=[],c=n("c80c"),o=(n("96cf"),n("3b8d")),u=n("db72"),i=n("2f62"),s=n("30ba"),f=n.n(s),d=n("a7a4"),l=n("0c6d"),m=n("83d6"),p={name:"Basics",components:{formCreate:f.a.$form()},data:function(){return{roterPre:m["roterPre"],option:{form:{labelWidth:"150px"},global:{upload:{props:{onSuccess:function(t,e){200===t.status&&(e.url=t.data.src)}}}}},FromData:null,titles:""}},mounted:function(){this.getFrom()},computed:Object(u["a"])({},Object(i["b"])(["menuList"])),created:function(){},methods:{getFrom:function(){var t=this;Object(d["b"])().then(function(){var e=Object(o["a"])(Object(c["a"])().mark((function e(n){return Object(c["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:t.FromData=n.data;case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){t.$message.error(e.message)}))},onSubmit:function(t){var e=this;l["a"][this.FromData.method.toLowerCase()](this.FromData.api,t).then((function(t){e.$message.success(t.message||"提交成功")})).catch((function(t){e.$message.error(t.message||"提交失败")}))}}},b=p,g=(n("e104"),n("2877")),h=Object(g["a"])(b,r,a,!1,null,"1338aee8",null);e["default"]=h.exports}}]); |