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
28 KiB
1 lines
28 KiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-64f0b07e","chunk-2d0da983","chunk-2d0da983"],{1336:function(t,e,n){"use strict";n.d(e,"h",(function(){return a})),n.d(e,"b",(function(){return s})),n.d(e,"c",(function(){return r})),n.d(e,"l",(function(){return o})),n.d(e,"e",(function(){return c})),n.d(e,"k",(function(){return l})),n.d(e,"i",(function(){return u})),n.d(e,"f",(function(){return d})),n.d(e,"a",(function(){return m})),n.d(e,"g",(function(){return f})),n.d(e,"d",(function(){return p})),n.d(e,"j",(function(){return g}));var i=n("0c6d");function a(){return i["a"].get("system/article/category/lst")}function s(){return i["a"].get("system/article/category/select")}function r(){return i["a"].get("system/article/category/create/form")}function o(t){return i["a"].get("system/article/category/update/form/".concat(t))}function c(t){return i["a"].delete("system/article/category/delete/".concat(t))}function l(t,e){return i["a"].post("system/article/category/status/".concat(t),{status:e})}function u(t){return i["a"].get("system/article/article/lst",t)}function d(t){return i["a"].get("system/article/article/detail/".concat(t))}function m(t){return i["a"].post("system/article/article/create",t)}function f(t,e){return i["a"].post("system/article/article/update/".concat(e),t)}function p(t){return i["a"].delete("system/article/article/delete/".concat(t))}function g(t,e){return i["a"].post("system/article/article/status/".concat(t),{status:e})}},"34c2":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"divBox"},[i("el-card",{staticClass:"ivu-mt",attrs:{bordered:!1,"dis-hover":""}},[i("el-row",{staticClass:"ivu-mt box-wrapper"},[!t.$route.params.id&&t.groupAll.length?i("el-col",{staticClass:"left-wrapper",attrs:{xs:24,sm:24,md:6,lg:4}},[i("el-tabs",{attrs:{"tab-position":t.tabPosition},on:{"tab-click":t.handleClick},model:{value:t.name,callback:function(e){t.name=e},expression:"name"}},t._l(t.groupAll,(function(t,e){return i("el-tab-pane",{key:e+"menu",attrs:{label:t.group_name,name:t.group_key,"data-item":JSON.stringify(t)}})})),1)],1):t._e(),t._v(" "),"integral_shop_banner"==t.name?i("el-col",{staticClass:"iframe",attrs:{bordered:!1}},[i("div",{staticClass:"iframe-box"},[i("img",{staticStyle:{width:"100%"},attrs:{src:n("d50d")}}),t._v(" "),i("div",{staticClass:"moddile_goods"},[""==t.tabList.list?i("div",{staticClass:"nofonts"},[t._v("暂无照片,请添加~")]):i("swiper",{staticClass:"pcswiperimg_goods",attrs:{options:t.swiperOption}},t._l(t.tabList.list,(function(t,e){return i("swiper-slide",{key:e,staticClass:"swiperimg_goods"},[i("img",{attrs:{src:t.pic}})])})),1)],1)])]):t._e(),t._v(" "),"sign_day_config"!=t.name&&"integral_shop_banner"!=t.name&&2!=t.guide?i("el-col",{staticClass:"iframe"},[i("iframe",{ref:"iframe",staticClass:"iframe-box",attrs:{src:t.url,id:"iframe",scrolling:"no",frameborder:"0"}}),t._v(" "),i("div",{staticClass:"moddile"}),t._v(" "),"new_home_banner"==t.name||"hot_home_banner"==t.name||"best_home_banner"==t.name||"good_home_banner"==t.name||"points_mall_banner"==t.name?i("div",{staticClass:"moddile_box"},[""==t.tabList.list?i("div",{staticClass:"nofonts"},[t._v("暂无照片,请添加~")]):i("swiper",{staticClass:"swiperimg",attrs:{options:t.swiperOption}},t._l(t.tabList.list,(function(t,e){return i("swiper-slide",{key:e+"c",staticClass:"swiperimg"},[i("img",{attrs:{src:t.pic}})])})),1)],1):t._e(),t._v(" "),"points_mall_district"==t.name?i("div",{staticClass:"district-main"},[""==t.tabList.list?i("div",{staticClass:"nofonts"},[t._v("暂无内容,请添加~")]):i("ul",{staticClass:"district-count"},t._l(t.tabList.list,(function(e,n){return i("li",{key:n+"c",staticClass:"district-list"},[n<=9?[i("img",{staticClass:"image",attrs:{src:e.pic}}),t._v(" "),i("div",{staticClass:"name"},[t._v(t._s(e.name))])]:t._e()],2)})),0),t._v(" "),t.tabList.list.length>10?i("div",{staticClass:"district-pagition"},[i("span",{staticClass:"active",style:"background-color:"+t.bgCol}),t._v(" "),i("span")]):t._e()]):t._e()]):t._e(),t._v(" "),"sign_day_config"==t.name?i("el-col",{staticClass:"iframe"},[i("div",{staticClass:"iframe-box"},[0==t.bgimg?i("img",{attrs:{src:n("fd40")}}):t._e(),t._v(" "),1==t.bgimg?i("img",{attrs:{src:n("713f")}}):t._e(),t._v(" "),2==t.bgimg?i("img",{attrs:{src:n("bceb")}}):t._e(),t._v(" "),3==t.bgimg?i("img",{attrs:{src:n("90be")}}):t._e(),t._v(" "),4==t.bgimg?i("img",{attrs:{src:n("943f")}}):t._e(),t._v(" "),5==t.bgimg?i("img",{attrs:{src:n("89c2")}}):t._e()])]):t._e(),t._v(" "),2==t.guide?i("el-col",[2==t.guide?i("div",{staticClass:"iframe",attrs:{bordered:!1}},[""==t.tabList.list?i("div",{staticClass:"nofonts"},[t._v("暂无照片,请添加~")]):t._e(),t._v(" "),i("swiper",{staticClass:"swiperimg on",attrs:{options:t.swiperOption}},t._l(t.tabList.list,(function(t,e){return i("swiper-slide",{key:e+"a",staticClass:"swiperimg on"},[i("img",{attrs:{src:t.pic,mode:"aspectFill"}})])})),1)],1):t._e()]):t._e(),t._v(" "),"sign_day_config"==t.name?i("el-col",{staticClass:"ml20 right-wrapper",attrs:{xs:24,sm:24,md:14,lg:11}},[i("div",{staticClass:"table_box"},[i("el-row",{attrs:{type:"flex"}},[i("el-col",t._b({},"el-col",t.grid,!1),[i("div",{staticClass:"title"},[t._v("连续签到奖励")]),t._v(" "),i("el-button",{staticClass:"mt30 ml14",attrs:{type:"primary",size:"small"},on:{click:function(e){return t.groupAdd()}}},[t._v("添加数据")])],1)],1),t._v(" "),i("div",{staticClass:"table"},[i("el-table",{ref:"table",staticClass:"mt25",attrs:{data:t.sginList,size:"small",loading:t.loading}},[i("el-table-column",{key:"1",attrs:{prop:"group_data_id",label:"编号",width:"50"}}),t._v(" "),i("el-table-column",{key:"2",attrs:{prop:"sign_day",label:"第几天",width:"120"}}),t._v(" "),i("el-table-column",{key:"3",attrs:{prop:"sign_integral",label:"获取积分",width:"120"}}),t._v(" "),i("el-table-column",{key:"4",attrs:{prop:"status",label:"是否可用",width:"120"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("el-switch",{attrs:{"active-value":1,"inactive-value":0,"active-text":"显示","inactive-text":"隐藏",width:55},on:{change:function(n){return t.onchangeIsShow(e.row)}},model:{value:e.row.status,callback:function(n){t.$set(e.row,"status",n)},expression:"scope.row.status"}})]}}],null,!1,452798548)}),t._v(" "),i("el-table-column",{key:"5",attrs:{prop:"sort",label:"排序",width:"80"}}),t._v(" "),i("el-table-column",{attrs:{fixed:"right",label:"操作",width:"120"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("el-button",{attrs:{type:"text",size:"small"},on:{click:function(n){return t.edit(e.row)}}},[t._v("编辑")]),t._v(" "),i("el-button",{attrs:{type:"text",size:"small"},on:{click:function(n){return t.del(e.row)}}},[t._v("删除")])]}}],null,!1,4099185570)})],1),t._v(" "),i("div",{staticClass:"block"},[i("el-pagination",{attrs:{layout:"prev, pager, next",total:t.total,"page-count":t.total,"page-size":7},on:{"current-change":t.pageChange}})],1)],1)],1)]):t._e(),t._v(" "),"points_mall_scope"==t.name?i("el-col",{staticClass:"ml20 right-wrapper",attrs:{xs:24,sm:24,md:14,lg:11}},[i("div",{staticClass:"table_box"},[i("el-row",{attrs:{type:"flex"}},[i("el-col",t._b({},"el-col",t.grid,!1),[i("div",{staticClass:"title"},[t._v("积分范围设置")]),t._v(" "),i("el-button",{staticClass:"mt30 ml14",attrs:{type:"primary",size:"small"},on:{click:function(e){return t.groupAdd()}}},[t._v("添加数据")])],1)],1),t._v(" "),i("div",{staticClass:"table"},[i("el-table",{ref:"table",staticClass:"mt25",attrs:{data:t.cmsList,size:"small",loading:t.loading}},[i("el-table-column",{key:"6",attrs:{prop:"group_data_id",label:"编号",width:"50"}}),t._v(" "),i("el-table-column",{key:"18",attrs:{prop:"title",label:"标题",width:"120"}}),t._v(" "),i("el-table-column",{key:"7",attrs:{prop:"sign_day",label:"积分范围",width:"120"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("span",[t._v(t._s(e.row.min)+"-"+t._s(e.row.max)+"积分")])]}}],null,!1,1617831770)}),t._v(" "),i("el-table-column",{key:"8",attrs:{prop:"status",label:"是否可用",width:"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("el-switch",{attrs:{"active-value":1,"inactive-value":0,"active-text":"显示","inactive-text":"隐藏",width:55},on:{change:function(n){return t.onchangeIsShow(e.row)}},model:{value:e.row.status,callback:function(n){t.$set(e.row,"status",n)},expression:"scope.row.status"}})]}}],null,!1,452798548)}),t._v(" "),i("el-table-column",{key:"9",attrs:{prop:"sort",label:"排序",width:"80"}}),t._v(" "),i("el-table-column",{attrs:{fixed:"right",label:"操作",width:"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("el-button",{attrs:{type:"text",size:"small"},on:{click:function(n){return t.edit(e.row)}}},[t._v("编辑")]),t._v(" "),i("el-button",{attrs:{type:"text",size:"small"},on:{click:function(n){return t.del(e.row)}}},[t._v("删除")])]}}],null,!1,4099185570)})],1),t._v(" "),i("div",{staticClass:"block"},[i("el-pagination",{attrs:{layout:"prev, pager, next",total:t.total,"page-count":t.total,"page-size":7},on:{"current-change":t.pageChange}})],1)],1)],1)]):t._e(),t._v(" "),2==t.guide?i("el-col",{staticClass:"right-wrapper",attrs:{xs:14,sm:14,md:14,lg:11}},[i("div",{staticClass:"content"},[i("div",{staticClass:"ml20"},[i("div",{staticClass:"hot_imgs"},[i("div",{staticClass:"title"},[t._v("开屏广告设置")]),t._v(" "),i("div",{staticClass:"title-text"},[t._v("建议尺寸:750 * 1334px,拖拽图片可调整图片顺序哦,最多添加五张")]),t._v(" "),i("div",{staticClass:"list-box"},[i("div",[i("el-form",{attrs:{model:t.formItem,"label-width":"80px"}},[i("el-form-item",{attrs:{label:"开屏广告:"}},[i("el-switch",{attrs:{"active-value":1,"inactive-value":0,width:55,"active-text":"开启","inactive-text":"关闭"},model:{value:t.formItem.open_screen_switch,callback:function(e){t.$set(t.formItem,"open_screen_switch",e)},expression:"formItem.open_screen_switch"}})],1),t._v(" "),i("el-form-item",{attrs:{label:"停留时间:"}},[i("el-input-number",{staticStyle:{width:"150px"},attrs:{type:"number",size:"small",min:1,placeholder:"请输入开屏广告时间"},model:{value:t.formItem.open_screen_time,callback:function(e){t.$set(t.formItem,"open_screen_time",t._n(e))},expression:"formItem.open_screen_time"}}),t._v("(单位:秒)\n ")],1),t._v(" "),i("el-form-item",{attrs:{label:"间隔时间:"}},[i("el-input-number",{staticStyle:{width:"150px"},attrs:{type:"number",size:"small",min:0,placeholder:"请输入广告间隔时间"},model:{value:t.formItem.open_screen_space,callback:function(e){t.$set(t.formItem,"open_screen_space",t._n(e))},expression:"formItem.open_screen_space"}}),t._v("(单位:小时)\n "),i("div",{staticStyle:{color:"#999999"}},[t._v("备注:弹广告的频次,即N小时内进入不再显示广告页,0为每次进入都显示")])],1)],1)],1),t._v(" "),i("draggable",{staticClass:"dragArea list-group",attrs:{list:t.tabList.list,group:"peoples",handle:".move-icon"}},t._l(t.tabList.list,(function(e,n){return i("div",{key:n+"d",staticClass:"item"},[i("div",{staticClass:"move-icon"},[i("span",{staticClass:"iconfont icondrag2"})]),t._v(" "),i("div",{staticClass:"img-box",on:{click:function(e){return t.modalPicTap("单选",n)}}},[e.pic?i("img",{attrs:{src:e.pic,alt:""}}):i("div",{staticClass:"upload-box"},[i("i",{staticClass:"el-icon-camera-solid"})])]),t._v(" "),i("div",{staticClass:"info"},[i("div",{staticClass:"info-item"},[i("span",[t._v("图片名称:")]),t._v(" "),i("div",{staticClass:"input-box"},[i("el-input",{attrs:{size:"small",placeholder:"请填写名称"},model:{value:e.name,callback:function(n){t.$set(e,"name",n)},expression:"item.name"}})],1)]),t._v(" "),i("div",{staticClass:"info-item"},[i("span",[t._v("链接地址:")]),t._v(" "),i("div",{staticClass:"input-box",on:{click:function(e){return t.link(n)}}},[i("el-input",{attrs:{size:"small","suffix-icon":"el-icon-arrow-right",readonly:"",placeholder:"选择链接"},model:{value:e.url,callback:function(n){t.$set(e,"url",n)},expression:"item.url"}})],1)])]),t._v(" "),i("div",{staticClass:"delect-btn",on:{click:function(i){return i.stopPropagation(),t.bindDelete(e,n)}}},[i("i",{staticClass:"el-icon-error"})])])})),0)],1),t._v(" "),[i("div",{staticClass:"add-btn"},[i("el-button",{staticClass:"btn-add",attrs:{size:"small"},on:{click:t.addBox}},[t._v("添加图片")])],1)]],2)])])]):i("el-col",["sign_day_config"!=t.name&&"points_mall_scope"!=t.name?i("div",{staticClass:"content"},[i("div",{staticClass:"ml20"},[i("div",{staticClass:"hot_imgs"},[i("div",{staticClass:"title"},[t._v(t._s("points_mall_district"!=t.name?"轮播图设置":"积分金刚区设置"))]),t._v(" "),"points_mall_district"!=t.name?i("div",{staticClass:"title-text"},[t._v("建议尺寸:690 * 240px,拖拽图片可调整图片顺序哦,最多添加五张")]):i("div",{staticClass:"title-text"},[t._v("建议尺寸:90 * 90px,拖拽图片可调整图片顺序哦,图片名称建议四个字以内")]),t._v(" "),i("div",{staticClass:"list-box"},[i("draggable",{staticClass:"dragArea list-group",attrs:{list:t.tabList.list,group:"peoples",handle:".move-icon"}},t._l(t.tabList.list,(function(e,n){return i("div",{key:n+"f",staticClass:"item"},[i("div",{staticClass:"move-icon"},[i("span",{staticClass:"iconfont icondrag2"})]),t._v(" "),i("div",{staticClass:"img-box",on:{click:function(e){return t.modalPicTap("单选",n)}}},[e.pic?i("img",{attrs:{src:e.pic,alt:""}}):i("div",{staticClass:"upload-box"},[i("i",{staticClass:"el-icon-camera-solid"})])]),t._v(" "),i("div",{staticClass:"info"},[i("div",{staticClass:"info-item"},[i("span",[t._v("图片名称:")]),t._v(" "),i("div",{staticClass:"input-box"},[i("el-input",{attrs:{size:"small",placeholder:"请填写名称"},model:{value:e.name,callback:function(n){t.$set(e,"name",n)},expression:"item.name"}})],1)]),t._v(" "),i("div",{staticClass:"info-item"},[i("span",[t._v("链接地址:")]),t._v(" "),i("div",{staticClass:"input-box",on:{click:function(e){return t.link(n)}}},[i("el-input",{attrs:{"suffix-icon":"el-icon-arrow-right",size:"small",readonly:"",placeholder:"选择链接"},model:{value:e.url,callback:function(n){t.$set(e,"url",n)},expression:"item.url"}})],1)])]),t._v(" "),i("div",{staticClass:"delect-btn",on:{click:function(i){return i.stopPropagation(),t.bindDelete(e,n)}}},[i("i",{staticClass:"el-icon-error"})])])})),0)],1),t._v(" "),[i("div",{staticClass:"add-btn"},[i("el-button",{staticClass:"btn-add",attrs:{size:"small"},on:{click:t.addBox}},[t._v("添加图片")])],1)]],2)])]):t._e()])],1)],1),t._v(" "),i("el-card",{staticClass:"fixed-card",style:{left:t.isCollapse&&!t.sideBar1?"54px":!t.isCollapse&&t.sideBar1?"270px":t.isCollapse||t.sideBar1?"130px":"180px"},attrs:{bordered:!1,"dis-hover":""}},[i("div",{staticClass:"acea-row row-center-wrapper"},[i("el-button",{attrs:{type:"primary",size:"small",loading:t.loadingExist},on:{click:t.save}},[t._v("保存")])],1)]),t._v(" "),i("linkaddress",{ref:"linkaddres",on:{linkUrl:t.linkUrl}})],1)},a=[],s=n("c80c"),r=(n("ac6a"),n("96cf"),n("3b8d")),o=(n("7f7f"),n("db72")),c=n("a069"),l=n("bbcc"),u=n("2f62"),d=n("90e7"),m=n("8593"),f=n("1980"),p=n.n(f),g=n("7af3"),_={name:"list",components:{draggable:p.a,linkaddress:g["a"],WangEditor:c["a"]},computed:Object(o["a"])(Object(o["a"])({bgcolors:function(){return{"--color-theme":this.bgCol}}},Object(u["d"])({sidebar:function(t){return t.app.sidebar}})),{},{isCollapse:function(){return!this.sidebar.opened}}),data:function(){return{sideBar1:"a"!=window.localStorage.getItem("sidebarStyle"),formValidate:{content:""},agreementList:[{name:"隐私协议",type:"privacy"},{name:"用户协议",type:"user"},{name:"注销协议",type:"cancel"}],tabPosition:"left",ruleValidate:{},myConfig:{autoHeightEnabled:!1,initialFrameHeight:500,initialFrameWidth:"100%",UEDITOR_HOME_URL:"/admin/UEditor/",serverUrl:""},agreementType:0,bgimg:0,columns1:[],bgCol:"",name:"new_home_banner",grid:{xl:7,lg:7,md:12,sm:24,xs:24},loading:!1,sginList:[],swiperOption:{pagination:{el:".swiper-pagination"},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},autoplay:{delay:2e3,disableOnInteraction:!1},loop:!1},url:"",BaseURL:l["a"].httpUrl||"http://localhost:8080",pageId:0,theme3:"light",tabList:{},lastObj:{add_time:"",name:"",gid:"",id:"",pic:"",link:"",sort:"",status:1},isChoice:"单选",modalPic:!1,groupAll:[],activeIndex:0,sortName:null,activeIndexs:0,cmsList:[],loadingExist:!1,formItem:{time:"",type:"pic",status:1,value:[],video_link:""},guide:0,colorTheme:"default",total:0,signFrom:{page:1,limit:20}}},created:function(){this.color(),this.$store.commit("settings/STOREDIY",0),console.log(this.BaseURL)},mounted:function(){this.getGroupAll();var t=1e3*(new Date).getTime();this.url=this.BaseURL+"/pages/columnGoods/HotNewGoods/index?inner_frame=1&type=new&time="+t},methods:{getEditorContent:function(t){this.formValidate.content=t},linkUrl:function(t){this.$set(this.tabList.list[this.activeIndexs],"url",t)},color:function(){var t=this;Object(d["x"])().then((function(e){switch(e.data.global_theme){case"purple":t.bgCol="#905EFF",t.bgimg=0;break;case"blue":t.bgCol="#3875EA",t.bgimg=1;break;case"green":t.bgCol="#00C050",t.bgimg=2;break;case"default":t.bgCol="#E93323",t.bgimg=3;break;case"pink":t.bgCol="#FF448F",t.bgimg=4;break;case"orange":t.bgCol="#FE5C2D",t.bgimg=5;break}})).catch((function(e){t.$message.error(e)}))},groupAdd:function(){var t=this;this.$modalForm(Object(m["B"])(this.pageId)).then((function(){t.url=t.BaseURL+"pages/users/user_sgin/index?inner_frame=1",t.info(t.name)}))},info:function(t){var e=this;Object(m["E"])(t,this.signFrom).then(function(){var n=Object(r["a"])(Object(s["a"])().mark((function n(i){return Object(s["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:i.data.list.forEach((function(t,e,n){t.pic=t.pic||"",t.url=t.url||""})),e.tabList=i.data,"sign_day_config"==t?(e.sginList=i.data.list,e.total=i.data.count):"points_mall_scope"==t?(e.cmsList=i.data.list,e.total=i.data.count):"open_screen_advertising"==t&&(e.formItem=i.data.config);case 3:case"end":return n.stop()}}),n)})));return function(t){return n.apply(this,arguments)}}()).catch((function(t){e.loading=!1,e.$message.error(t.message)}))},pageChange:function(t){this.signFrom.page=t,this.info(this.name)},handleSizeChange:function(t){this.signFrom.limit=t,this.info(this.name)},handleClick:function(t){this.signFrom.page=1;var e=JSON.parse(t.$el.dataset.item);this.pageId=e.group_id;var n=1e3*(new Date).getTime();if("open_screen_advertising"==this.name)this.guide=2,this.info(this.name);else switch(this.info(this.name),this.guide=0,this.name){case"best_home_banner":this.url="".concat(this.BaseURL,"/pages/columnGoods/HotNewGoods/index?inner_frame=1&type=best&time=").concat(n);break;case"sign_day_config":this.url="";break;case"points_mall_scope":this.url="".concat(this.BaseURL,"/pages/points_mall/index?inner_frame=1&time=").concat(n);break;case"hot_home_banner":this.url="".concat(this.BaseURL,"/pages/columnGoods/HotNewGoods/index?inner_frame=1&type=hot&time=").concat(n);break;case"new_home_banner":this.url="".concat(this.BaseURL,"/pages/columnGoods/HotNewGoods/index?inner_frame=1&type=new&time=").concat(n);break;case"good_home_banner":this.url="".concat(this.BaseURL,"/pages/columnGoods/HotNewGoods/index?inner_frame=1&type=good&time=").concat(n);break;case"points_mall_district":this.url="".concat(this.BaseURL,"/pages/points_mall/index?inner_frame=1&time=").concat(n);break;case"points_mall_banner":this.url="".concat(this.BaseURL,"/pages/points_mall/index?inner_frame=1&time=").concat(n);break}},addBox:function(){if(0==this.tabList.list.length)this.tabList.list.push(this.lastObj),this.lastObj={add_time:"",name:"",gid:"",id:"",pic:"",url:"",sort:"",status:1};else if(5==this.tabList.list.length&&"points_mall_district"!=this.name)this.$message.warning("最多添加五张呦");else{var t=JSON.parse(JSON.stringify(this.lastObj));this.tabList.list.push(t)}},bindDelete:function(t,e){this.tabList.list.splice(e,1)},modalPicTap:function(t,e){this.activeIndex=e;var n=this;this.$modalUpload((function(t){n.tabList.list[e]["pic"]=t[0]}))},getPic:function(t){var e=this;this.$nextTick((function(){"admin_login_slide"==e.name?e.tabList.list[e.activeIndex].slide=t.att_dir:e.tabList.list[e.activeIndex].pic=t.att_dir,e.modalPic=!1}))},save:function(){var t=this;this.loadingExist=!0;var e={data:this.tabList.list};2==this.guide&&(e.config={open_screen_switch:this.formItem.open_screen_switch,open_screen_time:this.formItem.open_screen_time,open_screen_space:this.formItem.open_screen_space}),Object(m["J"])(this.name,e).then((function(e){t.loadingExist=!1,t.$message.success(e.message)})).catch((function(e){t.loadingExist=!1,t.$message.error(e.message)}))},link:function(t){this.activeIndexs=t,this.$refs.linkaddres.modals=!0},edit:function(t){var e=this;this.$modalForm(Object(m["D"])(this.pageId,t.group_data_id)).then((function(){e.info(e.name),e.url=e.BaseURL+"pages/users/user_sgin/index"}))},del:function(t){var e=this;this.$modalSure("删除数据吗").then((function(){Object(m["C"])(t.group_data_id).then((function(t){var n=t.message;e.$message.success(n),e.info(e.name)})).catch((function(t){var n=t.message;e.$message.error(n)}))}))},onchangeIsShow:function(t){var e=this;Object(m["G"])(t.group_data_id,t.status).then(function(){var t=Object(r["a"])(Object(s["a"])().mark((function t(n){return Object(s["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:e.$message.success(n.message),e.info(e.name);case 2:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()).catch((function(t){e.$message.error(t.message)}))},getGroupAll:function(){var t=this;Object(m["A"])().then(function(){var e=Object(r["a"])(Object(s["a"])().mark((function e(n){return Object(s["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:t.groupAll=n.data.menu,t.sortName=n.data.menu[0].group_name,t.pageId=n.data.menu[0].group_id,t.info(n.data.menu[0]["group_key"]);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){t.$message.error(e.message)}))},getContent:function(t){this.formValidate.content=t}}},b=_,v=(n("4d45"),n("2877")),h=Object(v["a"])(b,i,a,!1,null,"f28955f2",null);e["default"]=h.exports},"4d45":function(t,e,n){"use strict";n("7bca")},"6bef":function(t,e,n){"use strict";n.r(e);n("28a5"),n("a481");(function(){if(window.frameElement&&window.frameElement.id){var t=window.parent,e=t.$EDITORUI[window.frameElement.id.replace(/_iframe$/,"")],n=e.editor,i=t.UE,a=i.dom.domUtils,s=i.utils,r=(i.browser,i.ajax,function(t){return document.getElementById(t)});window.nowEditor={editor:n,dialog:e},s.loadFile(document,{href:n.options.themePath+n.options.theme+"/dialogbase.css?cache="+Math.random(),tag:"link",type:"text/css",rel:"stylesheet"});var o=n.getLang(e.className.split("-")[2]);o&&a.on(window,"load",(function(){var t=n.options.langPath+n.options.lang+"/images/";for(var e in o["static"]){var i=r(e);if(i){var c=i.tagName,l=o["static"][e];switch(l.src&&(l=s.extend({},l,!1),l.src=t+l.src),l.style&&(l=s.extend({},l,!1),l.style=l.style.replace(/url\s*\(/g,"url("+t)),c.toLowerCase()){case"var":i.parentNode.replaceChild(document.createTextNode(l),i);break;case"select":for(var u,d=i.options,m=0;u=d[m];)u.innerHTML=l.options[m++];for(var f in l)"options"!=f&&i.setAttribute(f,l[f]);break;default:a.setAttributes(i,l)}}}}))}})()},"713f":function(t,e,n){t.exports=n.p+"system/img/bluesgin.b5512923.png"},"7bca":function(t,e,n){},"89c2":function(t,e,n){t.exports=n.p+"system/img/oragesgin.c157ecce.png"},"90be":function(t,e,n){t.exports=n.p+"system/img/redsgin.02ccdb9e.png"},"943f":function(t,e,n){t.exports=n.p+"system/img/pinksgin.fdd42a27.png"},bceb:function(t,e,n){t.exports=n.p+"system/img/greesgin.633c1226.png"},d50d:function(t,e,n){t.exports=n.p+"system/img/integral.fcfc352b.png"},d8ad:function(t,e,n){"use strict";var i=n("2b0e");e["a"]=new i["default"]},f478:function(t,e,n){"use strict";n.d(e,"t",(function(){return a})),n.d(e,"z",(function(){return s})),n.d(e,"o",(function(){return r})),n.d(e,"n",(function(){return o})),n.d(e,"m",(function(){return c})),n.d(e,"l",(function(){return l})),n.d(e,"X",(function(){return u})),n.d(e,"V",(function(){return d})),n.d(e,"e",(function(){return m})),n.d(e,"v",(function(){return f})),n.d(e,"A",(function(){return p})),n.d(e,"x",(function(){return g})),n.d(e,"B",(function(){return _})),n.d(e,"P",(function(){return b})),n.d(e,"Q",(function(){return v})),n.d(e,"c",(function(){return h})),n.d(e,"r",(function(){return y})),n.d(e,"R",(function(){return w})),n.d(e,"S",(function(){return C})),n.d(e,"i",(function(){return x})),n.d(e,"a",(function(){return k})),n.d(e,"p",(function(){return L})),n.d(e,"C",(function(){return O})),n.d(e,"D",(function(){return I})),n.d(e,"g",(function(){return $})),n.d(e,"d",(function(){return E})),n.d(e,"s",(function(){return j})),n.d(e,"j",(function(){return U})),n.d(e,"T",(function(){return B})),n.d(e,"U",(function(){return S})),n.d(e,"b",(function(){return z})),n.d(e,"q",(function(){return F})),n.d(e,"h",(function(){return N})),n.d(e,"E",(function(){return R})),n.d(e,"F",(function(){return A})),n.d(e,"u",(function(){return G})),n.d(e,"f",(function(){return T})),n.d(e,"k",(function(){return P})),n.d(e,"O",(function(){return D})),n.d(e,"N",(function(){return H})),n.d(e,"M",(function(){return J})),n.d(e,"L",(function(){return V})),n.d(e,"J",(function(){return M})),n.d(e,"H",(function(){return W})),n.d(e,"G",(function(){return q})),n.d(e,"K",(function(){return K})),n.d(e,"I",(function(){return Q})),n.d(e,"y",(function(){return X})),n.d(e,"W",(function(){return Y}));var i=n("0c6d");function a(t){return i["a"].get("store/category/list",t)}function s(t){return i["a"].get("diy/product/lst",t)}function r(t,e){return i["a"].post("diy/create/".concat(t),e)}function o(t){return i["a"].get("diy/lst",t)}function c(t){return i["a"].get("diy/detail/".concat(t))}function l(t,e){return i["a"].delete("diy/delete/".concat(t),e)}function u(t){return i["a"].post("diy/status/".concat(t))}function d(t){return i["a"].get("diy/recovery/".concat(t))}function m(){return i["a"].get("/cms/category_list")}function f(t){return i["a"].get("diy/link/list",t)}function p(t){return i["a"].get("diy/get_routine_code/".concat(t))}function g(){return i["a"].get("diy/user_index")}function _(t){return i["a"].post("diy/user_index",t)}function b(t){return i["a"].get("diy/categroy/options",t)}function v(t,e){return i["a"].get("diy/link/getLinks/".concat(t),e)}function h(){return i["a"].get("diy/categroy/form")}function y(t){return i["a"].get("diy/categroy/".concat(t,"/form"))}function w(t){return i["a"].get("diy/categroy/lst",t)}function C(t,e){return i["a"].post("diy/categroy/status/".concat(t),{status:e})}function x(t){return i["a"].delete("diy/categroy/delete/".concat(t))}function k(){return i["a"].get("diy/mer_categroy/form")}function L(t){return i["a"].get("diy/mer_categroy/".concat(t,"/form"))}function O(t){return i["a"].get("diy/mer_categroy/lst",t)}function I(t,e){return i["a"].post("diy/mer_categroy/status/".concat(t),{status:e})}function $(t){return i["a"].delete("diy/mer_categroy/delete/".concat(t))}function E(){return i["a"].get("diy/link/form")}function j(t){return i["a"].get("diy/link/".concat(t,"/form"))}function U(t){return i["a"].delete("diy/link/delete/".concat(t))}function B(t){return i["a"].get("diy/link/lst",t)}function S(t,e){return i["a"].post("diy/link/status/".concat(t),{status:e})}function z(){return i["a"].get("diy/mer_link/form")}function F(t){return i["a"].get("diy/mer_link/".concat(t,"/form"))}function N(t){return i["a"].delete("diy/mer_link/delete/".concat(t))}function R(t){return i["a"].get("diy/mer_link/lst",t)}function A(t,e){return i["a"].post("diy/mer_link/status/".concat(t),{status:e})}function G(){return i["a"].get("diy/store_street")}function T(t){return i["a"].post("diy/store_street",t)}function P(t){return i["a"].get("diy/copy/".concat(t))}function D(t,e){return i["a"].post("micro/create/".concat(t),e)}function H(t){return i["a"].get("micro/lst",t)}function J(t){return i["a"].get("micro/detail/".concat(t))}function V(t,e){return i["a"].delete("micro/delete/".concat(t),e)}function M(t){return i["a"].get("mer_diy/lst",t)}function W(t,e){return i["a"].delete("mer_diy/delete/".concat(t),e)}function q(t){return i["a"].get("mer_diy/copy/".concat(t))}function K(t,e){return i["a"].post("mer_diy/create/".concat(t),e)}function Q(t){return i["a"].get("mer_diy/detail/".concat(t))}function X(t){return i["a"].get("mer_diy/scope/".concat(t))}function Y(t,e){return i["a"].post("mer_diy/scope/".concat(t),e)}},fd40:function(t,e,n){t.exports=n.p+"system/img/purplesign.24006e5d.png"}}]); |