1 |
- (window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-696689d6"],{"90e7":function(t,e,n){"use strict";n.d(e,"x",(function(){return u})),n.d(e,"k",(function(){return o})),n.d(e,"Jb",(function(){return c})),n.d(e,"Ib",(function(){return a})),n.d(e,"j",(function(){return i})),n.d(e,"db",(function(){return s})),n.d(e,"kb",(function(){return d})),n.d(e,"gb",(function(){return f})),n.d(e,"hb",(function(){return m})),n.d(e,"d",(function(){return l})),n.d(e,"eb",(function(){return h})),n.d(e,"Nb",(function(){return p})),n.d(e,"ib",(function(){return b})),n.d(e,"p",(function(){return g})),n.d(e,"o",(function(){return O})),n.d(e,"c",(function(){return j})),n.d(e,"U",(function(){return v})),n.d(e,"mb",(function(){return y})),n.d(e,"T",(function(){return _})),n.d(e,"nb",(function(){return w})),n.d(e,"xb",(function(){return k})),n.d(e,"K",(function(){return P})),n.d(e,"wb",(function(){return x})),n.d(e,"s",(function(){return E})),n.d(e,"q",(function(){return T})),n.d(e,"r",(function(){return F})),n.d(e,"t",(function(){return L})),n.d(e,"u",(function(){return C})),n.d(e,"X",(function(){return D})),n.d(e,"Y",(function(){return G})),n.d(e,"V",(function(){return M})),n.d(e,"W",(function(){return $})),n.d(e,"M",(function(){return S})),n.d(e,"E",(function(){return q})),n.d(e,"I",(function(){return U})),n.d(e,"H",(function(){return W})),n.d(e,"z",(function(){return J})),n.d(e,"J",(function(){return z})),n.d(e,"B",(function(){return B})),n.d(e,"G",(function(){return H})),n.d(e,"A",(function(){return I})),n.d(e,"y",(function(){return N})),n.d(e,"L",(function(){return A})),n.d(e,"i",(function(){return K})),n.d(e,"e",(function(){return Q})),n.d(e,"f",(function(){return R})),n.d(e,"Kb",(function(){return V})),n.d(e,"Lb",(function(){return X})),n.d(e,"Mb",(function(){return Y})),n.d(e,"lb",(function(){return Z})),n.d(e,"yb",(function(){return tt})),n.d(e,"N",(function(){return et})),n.d(e,"Ab",(function(){return nt})),n.d(e,"zb",(function(){return rt})),n.d(e,"Bb",(function(){return ut})),n.d(e,"Cb",(function(){return ot})),n.d(e,"Db",(function(){return ct})),n.d(e,"Eb",(function(){return at})),n.d(e,"Ob",(function(){return it})),n.d(e,"Pb",(function(){return st})),n.d(e,"O",(function(){return dt})),n.d(e,"g",(function(){return ft})),n.d(e,"Qb",(function(){return mt})),n.d(e,"ob",(function(){return lt})),n.d(e,"pb",(function(){return ht})),n.d(e,"F",(function(){return pt})),n.d(e,"C",(function(){return bt})),n.d(e,"jb",(function(){return gt})),n.d(e,"qb",(function(){return Ot})),n.d(e,"rb",(function(){return jt})),n.d(e,"sb",(function(){return vt})),n.d(e,"D",(function(){return yt})),n.d(e,"fb",(function(){return _t})),n.d(e,"cb",(function(){return wt})),n.d(e,"P",(function(){return kt})),n.d(e,"S",(function(){return Pt})),n.d(e,"Q",(function(){return xt})),n.d(e,"R",(function(){return Et})),n.d(e,"h",(function(){return Tt})),n.d(e,"w",(function(){return Ft})),n.d(e,"v",(function(){return Lt})),n.d(e,"Z",(function(){return Ct})),n.d(e,"tb",(function(){return Dt})),n.d(e,"vb",(function(){return Gt})),n.d(e,"b",(function(){return Mt})),n.d(e,"ub",(function(){return $t})),n.d(e,"n",(function(){return St})),n.d(e,"a",(function(){return qt})),n.d(e,"m",(function(){return Ut})),n.d(e,"l",(function(){return Wt})),n.d(e,"Fb",(function(){return Jt})),n.d(e,"Gb",(function(){return zt})),n.d(e,"Hb",(function(){return Bt})),n.d(e,"ab",(function(){return Ht})),n.d(e,"bb",(function(){return It}));var r=n("b6bd");function u(t){return Object(r.a)({url:"setting/config/header_basics",method:"get",params:t})}function o(t,e){return Object(r.a)({url:e,method:"get",params:t})}function c(t){return Object(r.a)({url:t.url,method:"get",params:t.data})}function a(){return Object(r.a)({url:"notify/sms/temp/create",method:"get"})}function i(t){return Object(r.a)({url:"serve/login",method:"post",data:t})}function s(){return Object(r.a)({url:"serve/info",method:"get"})}function d(t){return Object(r.a)({url:"serve/sms/open",method:"get",params:t})}function f(t){return Object(r.a)({url:"serve/opn_express",method:"post",data:t})}function m(t){return Object(r.a)({url:"serve/open",method:"get",params:t})}function l(t){return Object(r.a)({url:"serve/checkCode",method:"post",data:t})}function h(t){return Object(r.a)({url:"serve/modify",method:"post",data:t})}function p(t){return Object(r.a)({url:"serve/update_phone",method:"post",data:t})}function b(t){return Object(r.a)({url:"serve/record",method:"get",params:t})}function g(t){return Object(r.a)({url:"serve/export_temp",method:"get",params:t})}function O(){return Object(r.a)({url:"serve/export_all",method:"get"})}function j(t){return Object(r.a)({url:"serve/captcha",method:"post",data:t})}function v(t){return Object(r.a)({url:"serve/register",method:"post",data:t})}function y(t){return Object(r.a)({url:"serve/meal_list",method:"get",params:t})}function _(t){return Object(r.a)({url:"serve/pay_meal",method:"post",data:t})}function w(t){return Object(r.a)({url:"notify/sms/record",method:"get",params:t})}function k(){return Object(r.a)({url:"merchant/store",method:"GET"})}function P(){return Object(r.a)({url:"merchant/store/address",method:"GET"})}function x(t){return Object(r.a)({url:"merchant/store/".concat(t.id),method:"POST",data:t})}function E(t){return Object(r.a)({url:"freight/express",method:"get",params:t})}function T(){return Object(r.a)({url:"/freight/express/create",method:"get"})}function F(t){return Object(r.a)({url:"freight/express/".concat(t,"/edit"),method:"get"})}function L(t){return Object(r.a)({url:"freight/express/set_status/".concat(t.id,"/").concat(t.status),method:"PUT"})}function C(){return Object(r.a)({url:"freight/express/sync_express",method:"get"})}function D(t){return Object(r.a)({url:"setting/role",method:"GET",params:t})}function G(t){return Object(r.a)({url:"setting/role/set_status/".concat(t.id,"/").concat(t.status),method:"PUT"})}function M(t){return Object(r.a)({url:"setting/role/".concat(t.id),method:"post",data:t})}function $(t){return Object(r.a)({url:"setting/role/".concat(t,"/edit"),method:"get"})}function S(){return Object(r.a)({url:"setting/role/create",method:"get"})}function q(t){return Object(r.a)({url:"app/wechat/kefu",method:"get",params:t})}function U(t){return Object(r.a)({url:"app/wechat/kefu/create",method:"get",params:t})}function W(){return Object(r.a)({url:"app/wechat/kefu/add",method:"get"})}function J(t){return Object(r.a)({url:"app/wechat/kefu",method:"post",data:t})}function z(t){return Object(r.a)({url:"app/wechat/kefu/set_status/".concat(t.id,"/").concat(t.account_status),method:"PUT"})}function B(t){return Object(r.a)({url:"app/wechat/kefu/".concat(t,"/edit"),method:"GET"})}function H(t,e){return Object(r.a)({url:"app/wechat/kefu/record/".concat(e),method:"GET",params:t})}function I(t){return Object(r.a)({url:"app/wechat/kefu/chat_list",method:"GET",params:t})}function N(){return Object(r.a)({url:"notify/sms/is_login",method:"GET"})}function A(){return Object(r.a)({url:"notify/sms/logout",method:"GET"})}function K(t){return Object(r.a)({url:"setting/city/list/".concat(t),method:"get"})}function Q(t){return Object(r.a)({url:"setting/city/add/".concat(t),method:"get"})}function R(t){return Object(r.a)({url:"setting/city/".concat(t,"/edit"),method:"get"})}function V(t){return Object(r.a)({url:"setting/shipping_templates/list",method:"get",params:t})}function X(t){return Object(r.a)({url:"setting/shipping_templates/city_list",method:"get"})}function Y(t,e){return Object(r.a)({url:"setting/shipping_templates/save/".concat(t),method:"post",data:e})}function Z(t){return Object(r.a)({url:"setting/shipping_templates/".concat(t,"/edit"),method:"get"})}function tt(){return Object(r.a)({url:"merchant/store/get_header",method:"get"})}function et(t){return Object(r.a)({url:"merchant/store",method:"get",params:t})}function nt(t,e){return Object(r.a)({url:"merchant/store/set_show/".concat(t,"/").concat(e),method:"put"})}function rt(t){return Object(r.a)({url:"merchant/store/get_info/".concat(t),method:"get"})}function ut(t){return Object(r.a)({url:"merchant/store_staff",method:"get",params:t})}function ot(){return Object(r.a)({url:"merchant/store_staff/create",method:"get"})}function ct(t){return Object(r.a)({url:"merchant/store_staff/".concat(t,"/edit"),method:"get"})}function at(t,e){return Object(r.a)({url:"merchant/store_staff/set_show/".concat(t,"/").concat(e),method:"put"})}function it(t){return Object(r.a)({url:"merchant/verify_order",method:"get",params:t})}function st(t){return Object(r.a)({url:"merchant/verify/spread_info/".concat(t),method:"get"})}function dt(){return Object(r.a)({url:"merchant/store_list",method:"get"})}function ft(){return Object(r.a)({url:"setting/city/clean_cache",method:"get"})}function mt(t){return Object(r.a)({url:"app/wechat/speechcraft",method:"get",params:t})}function lt(t){return Object(r.a)({url:"app/wechat/speechcraft/create",method:"get",params:t})}function ht(t){return Object(r.a)({url:"app/wechat/speechcraft/".concat(t,"/edit"),method:"get"})}function pt(t){return Object(r.a)({url:"app/wechat/kefu/login/".concat(t),method:"get"})}function bt(t){return Object(r.a)({url:"app/feedback",method:"get",params:t})}function gt(t){return Object(r.a)({url:"serve/sms/sign",method:"PUT",data:t})}function Ot(){return Object(r.a)({url:"app/wechat/speechcraftcate",method:"get"})}function jt(){return Object(r.a)({url:"app/wechat/speechcraftcate/create",method:"get"})}function vt(t){return Object(r.a)({url:"app/wechat/speechcraftcate/".concat(t,"/edit"),method:"get"})}function yt(t){return Object(r.a)({url:"app/feedback/".concat(t,"/edit"),method:"get"})}function _t(){return Object(r.a)({url:"serve/open",method:"get"})}function wt(){return Object(r.a)({url:"serve/dump_open",method:"get"})}function kt(t){return Object(r.a)({url:"setting/system_out/index",method:"get",params:t})}function Pt(t,e){return Object(r.a)({url:"setting/system_out/set_status/".concat(t,"/").concat(e),method:"put"})}function xt(t){return Object(r.a)({url:"setting/system_out/save",method:"post",params:t})}function Et(t,e){return Object(r.a)({url:"setting/system_out/update/".concat(t),method:"post",params:e})}function Tt(t){return Object(r.a)({url:"city",method:"get",params:t})}function Ft(t){return Object(r.a)({url:"setting/config/edit_new_build/"+t,method:"get"})}function Lt(){return Object(r.a)({url:"/setting/config/image",method:"get"})}function Ct(t){return Object(r.a)({url:"setting/config/save_basics",method:"post",data:t})}function Dt(t){return Object(r.a)({url:"/setting/config/storage",method:"get",params:t})}function Gt(t){return Object(r.a)({url:"/setting/config/storage/synch/".concat(t),method:"put"})}function Mt(t){return Object(r.a)({url:"/setting/config/storage/create/".concat(t),method:"get"})}function $t(t){return Object(r.a)({url:"/setting/config/storage/status/".concat(t),method:"put"})}function St(t){return Object(r.a)({url:"/setting/config/storage/domain/".concat(t),method:"get"})}function qt(t){return Object(r.a)({url:"/setting/config/storage/form/".concat(t),method:"get"})}function Ut(t){return Object(r.a)({url:"/order/delivery_order/list",method:"get",params:t})}function Wt(t){return Object(r.a)({url:"/order/delivery_order/cancelForm/".concat(t),method:"get"})}function Jt(t,e){return Object(r.a)({url:"/system/form/save/".concat(t),method:"post",data:e})}function zt(t,e){return Object(r.a)({url:"/system/form/info/".concat(t),method:"get",params:e})}function Bt(t){return Object(r.a)({url:"/system/form/index",method:"get",params:t})}function Ht(t){return Object(r.a)({url:"setting/config/storage/save_type/".concat(t),method:"get"})}function It(t){return Object(r.a)({url:"/file/scan/upload",method:"post",headers:{"content-type":"multipart/form-data;"},data:t})}},dd51:function(t,e,n){"use strict";n.r(e);var r=n("a34a"),u=n.n(r),o=n("2f62"),c=n("d708"),a=n("90e7");function i(t,e,n,r,u,o,c){try{var a=t[o](c),i=a.value}catch(t){return void n(t)}a.done?e(i):Promise.resolve(i).then(r,u)}function s(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function d(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var f={name:"form_list",data:function(){return{roterPre:c.a.roterPre,grid:{xl:7,lg:7,md:12,sm:24,xs:24},loading:!1,columns1:[{title:"页面ID",key:"id",width:80},{title:"模板名称",key:"name",minWidth:150},{title:"添加时间",key:"add_time",minWidth:150},{title:"更新时间",key:"update_time",minWidth:150},{title:"操作",slot:"action",fixed:"right",width:150}],listFrom:{page:1,limit:15},formList:[],total:0}},computed:function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?s(n,!0).forEach((function(e){d(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):s(n).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},Object(o.e)("admin/layout",["isMobile"]),{labelWidth:function(){return this.isMobile?void 0:75},labelPosition:function(){return this.isMobile?"top":"left"}}),created:function(){this.getList()},methods:{add:function(){this.$router.push({path:"".concat(this.roterPre,"/setting/system/create"),query:{id:0}})},getList:function(){var t=this;this.loading=!0,Object(a.Hb)(this.listFrom).then(function(){var e,n=(e=u.a.mark((function e(n){var r;return u.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=n.data,t.formList=r.list,t.total=r.count,t.loading=!1;case 4:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(r,u){var o=e.apply(t,n);function c(t){i(o,r,u,c,a,"next",t)}function a(t){i(o,r,u,c,a,"throw",t)}c(void 0)}))});return function(t){return n.apply(this,arguments)}}()).catch((function(e){t.loading=!1,t.$Message.error(e.msg)}))},pageChange:function(t){this.listFrom.page=t,this.getList()},edit:function(t){this.$router.push({path:"".concat(this.roterPre,"/setting/system/create"),query:{id:t}})},del:function(t,e,n){var r=this,u={title:e,num:n,url:"/system/form/del/".concat(t.id),method:"DELETE",ids:""};this.$modalSure(u).then((function(t){r.$Message.success(t.msg),r.formList.splice(n,1),r.formList.length||(r.listFrom.page=1==r.listFrom.page?1:r.listFrom.page-1),r.getList()})).catch((function(t){r.$Message.error(t.msg)}))},details:function(t){this.$router.push({path:"".concat(this.roterPre,"/setting/system_form/data"),query:{id:t}})}}},m=n("2877"),l=Object(m.a)(f,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("Card",{staticClass:"ivu-mt",attrs:{bordered:!1,"dis-hover":""}},[n("Row",{attrs:{type:"flex"}},[n("Col",t._b({},"Col",t.grid,!1),[n("Button",{attrs:{type:"primary"},on:{click:t.add}},[t._v("添加表单")])],1)],1),n("Table",{ref:"table",staticClass:"mt25",attrs:{columns:t.columns1,data:t.formList,loading:t.loading,"highlight-row":"","no-userFrom-text":"暂无数据","no-filtered-userFrom-text":"暂无筛选结果"},scopedSlots:t._u([{key:"action",fn:function(e){var r=e.row,u=e.index;return[n("a",{directives:[{name:"auth",rawName:"v-auth",value:["setting-system_form-data"],expression:"['setting-system_form-data']"}],on:{click:function(e){return t.details(r.id)}}},[t._v("查看")]),n("Divider",{attrs:{type:"vertical"}}),n("a",{on:{click:function(e){return t.edit(r.id)}}},[t._v("编辑")]),n("Divider",{attrs:{type:"vertical"}}),n("a",{on:{click:function(e){return t.del(r,"删除分组",u)}}},[t._v("删除")])]}}])}),n("div",{staticClass:"acea-row row-right page"},[n("Page",{attrs:{total:t.total,"show-elevator":"","show-total":"","page-size":t.listFrom.limit},on:{"on-change":t.pageChange}})],1)],1)],1)}),[],!1,null,null,null);e.default=l.exports}}]);
|