1 line
9.4 KiB
JavaScript
1 line
9.4 KiB
JavaScript
![]() |
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6e1e6edf"],{"0d21":function(e,t,a){},2045:function(e,t,a){"use strict";var n=a("3703"),r=a.n(n);r.a},"2ee5":function(e,t,a){e.exports=a.p+"static/img/gz.6514d1ea.png"},3703:function(e,t,a){},"762f":function(e,t,a){"use strict";a.d(t,"d",(function(){return r})),a.d(t,"a",(function(){return i})),a.d(t,"c",(function(){return s})),a.d(t,"b",(function(){return c}));var n=a("b775");function r(e){return Object(n["a"])({url:"channel/drag/get-drag-list",method:"get",params:e})}function i(e){return Object(n["a"])({url:"channel/drag/change-drag",method:"post",data:e})}function s(e){return Object(n["a"])({url:"channel/drag/drag-save",method:"post",data:e})}function c(e){return Object(n["a"])({url:"channel/drag/drag-del",method:"post",data:e})}},"81f7":function(e,t,a){e.exports=a.p+"static/img/sy.a74c0550.png"},"82c7":function(e,t,a){"use strict";var n=a("0d21"),r=a.n(n);r.a},b9ca:function(e,t,a){e.exports=a.p+"static/img/zy.e10c982f.png"},c152:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"outmain ba_f"},[a("el-tabs",{on:{"tab-click":e.handleClick},model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[a("el-tab-pane",{attrs:{label:"装修列表",name:"1"}})],1),a("div",{staticClass:"flex-bet mar_t20 pad_lr_20"},[a("div",[a("el-button",{attrs:{type:"primary",size:"medium"},on:{click:e.handleEdit}},[e._v("添加页面")])],1),a("div")]),a("div",{staticClass:"tabledata mar_t20"},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.listLoading,expression:"listLoading"}],staticStyle:{width:"100%"},attrs:{data:e.list,"element-loading-text":e.elementLoadingText,stripe:""}},[a("el-table-column",{attrs:{prop:"sort",label:"排序"}}),a("el-table-column",{attrs:{prop:"name",label:"页面名称"}}),a("el-table-column",{attrs:{prop:"page",label:"页面类型"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",["1"==t.row.page?a("div",[a("el-tag",{attrs:{effect:"dark",size:"mini"}},[e._v("门店首页")])],1):e._e(),"2"==t.row.page?a("div",[a("el-tag",{attrs:{effect:"dark",type:"success",size:"mini"}},[e._v("个人中心")])],1):e._e(),"3"==t.row.page?a("div",[a("el-tag",{attrs:{effect:"dark",type:"warning",size:"mini"}},[e._v("自定义页面")])],1):e._e()])]}}])}),a("el-table-column",{attrs:{prop:"changeAt",label:"修改时间"}}),a("el-table-column",{attrs:{prop:"display",label:"状态"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-switch",{attrs:{"active-value":"1","inactive-value":"2"},on:{change:function(a){return e.changeSwitch(t.row)}},model:{value:t.row.display,callback:function(a){e.$set(t.row,"display",a)},expression:"scope.row.display"}})]}}])}),a("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"flex"},[a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.handleEdit(t.row)}}},[e._v("编辑")]),a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.handleEditClick(t.row)}}},[e._v("装修")]),a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.handleDelete(t.row)}}},[e._v("删除")])],1)]}}])})],1),a("el-pagination",{attrs:{background:"",layout:"prev, pager, next",total:e.page.total,"page-size":e.page.size,"current-page":e.page.currentPage},on:{"update:currentPage":function(t){return e.$set(e.page,"currentPage",t)},"update:current-page":function(t){return e.$set(e.page,"currentPage",t)},"current-change":e.handleCurrentChange}}),a("edit",{ref:"edit",on:{fetchData:e.fetchData}})],1)],1)},r=[],i=(a("d81d"),a("b0c0"),a("ac1f"),a("466d"),a("96cf"),a("1da1")),s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{},[a("el-dialog",{attrs:{title:e.title,visible:e.dialogFormVisible,width:"800px","close-on-click-modal":!1},on:{"update:visible":function(t){e.dialogFormVisible=t},close:e.close}},[a("el-form",{ref:"form",attrs:{model:e.form,"label-width":"120px"}},[a("el-form-item",{directives:[{
|