Commit d25902c7 by crushh

update: dist

parent 54fc2704
.section[data-v-1e1b0726]{margin:20px 0 40px 0}.flex-gap[data-v-1e1b0726],.flex[data-v-1e1b0726]{display:-webkit-box;display:-ms-flexbox;display:flex}.flex-gap[data-v-1e1b0726]{gap:20px}.multiBox[data-v-1e1b0726]{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;border:1px solid #dcdfe6;padding:10px 20px}.multiBox-line[data-v-1e1b0726]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.multi[data-v-1e1b0726]{padding:10px 20px 20px 20px;background:#f7f8fa}.flex-column[data-v-1e1b0726]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.checkBoxContainer[data-v-1e1b0726]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.checkBoxContainer .el-checkbox+.el-checkbox[data-v-1e1b0726]{margin-left:0}.tips[data-v-1e1b0726]{font-size:12px;color:#909399;line-height:17px;cursor:default}.dm-form-bottom[data-v-1e1b0726]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:fixed;right:0;bottom:0;z-index:100;height:56px;background:#fff;width:calc(100% - 200px);-webkit-box-shadow:1px -2px 8px 0 rgba(220,223,230,.6);box-shadow:1px -2px 8px 0 rgba(220,223,230,.6)}.temlpatePrizeImg[data-v-1e1b0726] .el-form-item__label{line-height:14px}
\ No newline at end of file
.section[data-v-0f44b693]{margin:20px 0 40px 0}.flex-gap[data-v-0f44b693],.flex[data-v-0f44b693]{display:-webkit-box;display:-ms-flexbox;display:flex}.flex-gap[data-v-0f44b693]{gap:20px}.multiBox[data-v-0f44b693]{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;border:1px solid #dcdfe6;padding:10px 20px}.multiBox-line[data-v-0f44b693]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.multi[data-v-0f44b693]{padding:10px 20px 20px 20px;background:#f7f8fa}.flex-column[data-v-0f44b693]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.checkBoxContainer[data-v-0f44b693]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;width:1116px}.checkBoxContainer .el-checkbox+.el-checkbox[data-v-0f44b693]{margin-left:0}.checkBoxContainer[data-v-0f44b693] .el-checkbox__label{width:140px;overflow:hidden;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex}.tips[data-v-0f44b693]{font-size:12px;color:#909399;line-height:17px;cursor:default}.dm-form-bottom[data-v-0f44b693]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:fixed;right:0;bottom:0;z-index:100;height:56px;background:#fff;width:calc(100% - 200px);-webkit-box-shadow:1px -2px 8px 0 rgba(220,223,230,.6);box-shadow:1px -2px 8px 0 rgba(220,223,230,.6)}.temlpatePrizeImg[data-v-0f44b693] .el-form-item__label{line-height:14px}.colorBtn[data-v-0f44b693]{color:#2f54eb;border-color:#2f54eb}
\ No newline at end of file
.table-row:hover .deactive[data-v-011c7087]{color:#606266;display:block;cursor:-webkit-grabbing;cursor:grabbing}
\ No newline at end of file
.table-row:hover .deactive[data-v-01f8fe8e]{color:#606266;display:block;cursor:-webkit-grabbing;cursor:grabbing}
\ No newline at end of file
<!DOCTYPE html><html lang=cn><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=/gic-marketing-operation/favicon2.ico><link rel=stylesheet type=text/css href=//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.68.css><link rel=stylesheet href=//at.alicdn.com/t/font_2995156_rf810o69kh.css><link rel=stylesheet href=//at.alicdn.com/t/font_2859043_3i96mi4mdy2.css><title>实施运维</title><link href=/gic-marketing-operation/css/chunk-181c7f3a.8d7ba5d1.css rel=prefetch><link href=/gic-marketing-operation/css/chunk-23d5a356.ee74c307.css rel=prefetch><link href=/gic-marketing-operation/css/chunk-25e9efa9.5a7992ea.css rel=prefetch><link href=/gic-marketing-operation/css/chunk-323b34bd.092677a6.css rel=prefetch><link href=/gic-marketing-operation/css/chunk-358db6e9.2420d837.css rel=prefetch><link href=/gic-marketing-operation/css/chunk-3c8e61f9.91919a21.css rel=prefetch><link href=/gic-marketing-operation/css/chunk-40784f34.8070c7ae.css rel=prefetch><link href=/gic-marketing-operation/css/chunk-4d05c9c2.a78c0148.css rel=prefetch><link href=/gic-marketing-operation/css/chunk-579d39b4.a745441e.css rel=prefetch><link href=/gic-marketing-operation/css/chunk-63502675.ca3245d5.css rel=prefetch><link href=/gic-marketing-operation/css/chunk-696ad248.836e070a.css rel=prefetch><link href=/gic-marketing-operation/css/chunk-74ea1fe8.62fd728d.css rel=prefetch><link href=/gic-marketing-operation/css/chunk-7b1cf69a.3f8d4acd.css rel=prefetch><link href=/gic-marketing-operation/css/chunk-b9842a10.97597fac.css rel=prefetch><link href=/gic-marketing-operation/css/chunk-eaf899f2.4b1b9817.css rel=prefetch><link href=/gic-marketing-operation/js/chunk-0455f82a.dee55319.js rel=prefetch><link href=/gic-marketing-operation/js/chunk-0647d46f.f2e90450.js rel=prefetch><link href=/gic-marketing-operation/js/chunk-181c7f3a.801facb3.js rel=prefetch><link href=/gic-marketing-operation/js/chunk-23d5a356.d43da598.js rel=prefetch><link href=/gic-marketing-operation/js/chunk-25e9efa9.71a7b445.js rel=prefetch><link href=/gic-marketing-operation/js/chunk-2d212b99.fbe1ef17.js rel=prefetch><link href=/gic-marketing-operation/js/chunk-323b34bd.a330f325.js rel=prefetch><link href=/gic-marketing-operation/js/chunk-358db6e9.595c93ef.js rel=prefetch><link href=/gic-marketing-operation/js/chunk-395d477c.c96dba97.js rel=prefetch><link href=/gic-marketing-operation/js/chunk-3c8e61f9.fbce20a2.js rel=prefetch><link href=/gic-marketing-operation/js/chunk-40784f34.e7e28432.js rel=prefetch><link href=/gic-marketing-operation/js/chunk-4d05c9c2.841f5379.js rel=prefetch><link href=/gic-marketing-operation/js/chunk-579d39b4.0f069738.js rel=prefetch><link href=/gic-marketing-operation/js/chunk-63502675.98309312.js rel=prefetch><link href=/gic-marketing-operation/js/chunk-696ad248.a5c37512.js rel=prefetch><link href=/gic-marketing-operation/js/chunk-69e3e419.9d1394a5.js rel=prefetch><link href=/gic-marketing-operation/js/chunk-74ea1fe8.8b6352c7.js rel=prefetch><link href=/gic-marketing-operation/js/chunk-7b1cf69a.42010e2b.js rel=prefetch><link href=/gic-marketing-operation/js/chunk-7ca26874.7ce9868f.js rel=prefetch><link href=/gic-marketing-operation/js/chunk-b9842a10.255fc211.js rel=prefetch><link href=/gic-marketing-operation/js/chunk-eaf899f2.0604fed7.js rel=prefetch><link href=/gic-marketing-operation/css/app.13796a5e.css rel=preload as=style><link href=/gic-marketing-operation/js/app.5d0c12ca.js rel=preload as=script><link href=/gic-marketing-operation/js/chunk-vendors.20653c28.js rel=preload as=script><link href=/gic-marketing-operation/css/app.13796a5e.css rel=stylesheet></head><body class=damolish><noscript><strong>We're sorry but damolish doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script>(function() {
<!DOCTYPE html><html lang=cn><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=/gic-marketing-operation/favicon2.ico><link rel=stylesheet type=text/css href=//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.68.css><link rel=stylesheet href=//at.alicdn.com/t/font_2995156_rf810o69kh.css><link rel=stylesheet href=//at.alicdn.com/t/font_2859043_3i96mi4mdy2.css><title>实施运维</title><link href=/gic-marketing-operation/css/chunk-181c7f3a.8d7ba5d1.css rel=prefetch><link href=/gic-marketing-operation/css/chunk-23d5a356.ee74c307.css rel=prefetch><link href=/gic-marketing-operation/css/chunk-323b34bd.092677a6.css rel=prefetch><link href=/gic-marketing-operation/css/chunk-358db6e9.2420d837.css rel=prefetch><link href=/gic-marketing-operation/css/chunk-3c8e61f9.91919a21.css rel=prefetch><link href=/gic-marketing-operation/css/chunk-4a39ad7e.029806be.css rel=prefetch><link href=/gic-marketing-operation/css/chunk-4d05c9c2.a78c0148.css rel=prefetch><link href=/gic-marketing-operation/css/chunk-579d39b4.a745441e.css rel=prefetch><link href=/gic-marketing-operation/css/chunk-63502675.ca3245d5.css rel=prefetch><link href=/gic-marketing-operation/css/chunk-696ad248.836e070a.css rel=prefetch><link href=/gic-marketing-operation/css/chunk-74ea1fe8.62fd728d.css rel=prefetch><link href=/gic-marketing-operation/css/chunk-7b1cf69a.3f8d4acd.css rel=prefetch><link href=/gic-marketing-operation/css/chunk-b9842a10.97597fac.css rel=prefetch><link href=/gic-marketing-operation/css/chunk-ca00aa7a.b66ce923.css rel=prefetch><link href=/gic-marketing-operation/css/chunk-eaf899f2.4b1b9817.css rel=prefetch><link href=/gic-marketing-operation/js/chunk-0455f82a.dee55319.js rel=prefetch><link href=/gic-marketing-operation/js/chunk-0647d46f.f2e90450.js rel=prefetch><link href=/gic-marketing-operation/js/chunk-181c7f3a.801facb3.js rel=prefetch><link href=/gic-marketing-operation/js/chunk-23d5a356.d43da598.js rel=prefetch><link href=/gic-marketing-operation/js/chunk-2d212b99.fbe1ef17.js rel=prefetch><link href=/gic-marketing-operation/js/chunk-323b34bd.a330f325.js rel=prefetch><link href=/gic-marketing-operation/js/chunk-358db6e9.595c93ef.js rel=prefetch><link href=/gic-marketing-operation/js/chunk-395d477c.c96dba97.js rel=prefetch><link href=/gic-marketing-operation/js/chunk-3c8e61f9.fbce20a2.js rel=prefetch><link href=/gic-marketing-operation/js/chunk-4a39ad7e.8a141db2.js rel=prefetch><link href=/gic-marketing-operation/js/chunk-4d05c9c2.841f5379.js rel=prefetch><link href=/gic-marketing-operation/js/chunk-579d39b4.0f069738.js rel=prefetch><link href=/gic-marketing-operation/js/chunk-63502675.98309312.js rel=prefetch><link href=/gic-marketing-operation/js/chunk-696ad248.a5c37512.js rel=prefetch><link href=/gic-marketing-operation/js/chunk-69e3e419.9d1394a5.js rel=prefetch><link href=/gic-marketing-operation/js/chunk-74ea1fe8.8b6352c7.js rel=prefetch><link href=/gic-marketing-operation/js/chunk-7b1cf69a.42010e2b.js rel=prefetch><link href=/gic-marketing-operation/js/chunk-7ca26874.7ce9868f.js rel=prefetch><link href=/gic-marketing-operation/js/chunk-b9842a10.255fc211.js rel=prefetch><link href=/gic-marketing-operation/js/chunk-ca00aa7a.379def1a.js rel=prefetch><link href=/gic-marketing-operation/js/chunk-eaf899f2.0604fed7.js rel=prefetch><link href=/gic-marketing-operation/css/app.13796a5e.css rel=preload as=style><link href=/gic-marketing-operation/js/app.96eab13d.js rel=preload as=script><link href=/gic-marketing-operation/js/chunk-vendors.20653c28.js rel=preload as=script><link href=/gic-marketing-operation/css/app.13796a5e.css rel=stylesheet></head><body class=damolish><noscript><strong>We're sorry but damolish doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script>(function() {
var src = '/component/static/import-component.js?timestrap=' + new Date().getTime();
var host = window.location.host;
host = host.indexOf('localhost') > -1 || host.indexOf('192.168') > -1 ? 'gicdev.demogic.com' : host;
document.write('<script src="//' + host + src + '"><\/script>');
})();</script><script src=//web-1251519181.file.myqcloud.com/components/user-info.1.0.3.js></script><script src=//web-1251519181.file.myqcloud.com/components/pagination.1.0.8.js></script><script src=/gic-marketing-operation/js/chunk-vendors.20653c28.js></script><script src=/gic-marketing-operation/js/app.5d0c12ca.js></script></body></html>
\ No newline at end of file
})();</script><script src=//web-1251519181.file.myqcloud.com/components/user-info.1.0.3.js></script><script src=//web-1251519181.file.myqcloud.com/components/pagination.1.0.8.js></script><script src=/gic-marketing-operation/js/chunk-vendors.20653c28.js></script><script src=/gic-marketing-operation/js/app.96eab13d.js></script></body></html>
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-25e9efa9"],{"0b82":function(t,e,a){},"57b1":function(t,e,a){"use strict";a.r(e);var l=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"pt10 pb10 pl20 border-bottom"},[a("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[a("el-breadcrumb-item",{attrs:{to:{path:"/activity/template-config"}}},[t._v("营销游戏配置")]),a("el-breadcrumb-item",[t._v("模板列表")])],1)],1),a("div",{staticStyle:{padding:"20px"}},[a("el-row",{attrs:{type:"flex",justify:"space-between"}},[a("el-row",{staticStyle:{"margin-right":"10px"},attrs:{type:"flex",align:"middle"}},[a("el-input",{staticStyle:{width:"260px","margin-right":"10px"},attrs:{placeholder:"请输入模板名称","prefix-icon":"el-icon-search",clearable:""},on:{change:t.getList},model:{value:t.searchParams.templateName,callback:function(e){t.$set(t.searchParams,"templateName",e)},expression:"searchParams.templateName"}}),a("el-select",{attrs:{clearable:"",placeholder:"模板状态"},on:{change:t.getList},model:{value:t.searchParams.statusFlag,callback:function(e){t.$set(t.searchParams,"statusFlag",e)},expression:"searchParams.statusFlag"}},t._l(t.statusList,(function(t){return a("el-option",{key:t.label,attrs:{label:t.label,value:t.val}})})),1)],1),a("el-row",{attrs:{type:"flex",align:"middle"}},[a("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.addTemplate()}}},[t._v("新增模板")])],1)],1),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"sortTable",staticStyle:{"margin-top":"20px"},attrs:{"row-key":"sort","row-class-name":"table-row",data:t.list}},[a("el-table-column",{attrs:{width:"40","label-class-name":"tag-head"}},[[a("el-tooltip",{attrs:{placement:"top",content:"拖动排序",trigger:"hover",effect:"dark","popper-class":"drag-tooltip"}},[a("i",{staticClass:"iconfont-components3 icon-cp-tuozhuaipaixu deactive"})])]],2),a("el-table-column",{attrs:{label:"模板名称","min-width":"290px",prop:"templateName"}}),a("el-table-column",{attrs:{label:"展示数量","min-width":"310px",prop:"viewPrize"}}),a("el-table-column",{attrs:{label:"模板状态","min-width":"306px",prop:"statusFlag"},scopedSlots:t._u([{key:"default",fn:function(e){var l=e.row;return[a("el-switch",{attrs:{"active-value":1,"inactive-value":0},on:{change:function(e){return t.handleSwitch(l.statusFlag,l.templateId)}},model:{value:l.statusFlag,callback:function(e){t.$set(l,"statusFlag",e)},expression:"row.statusFlag"}})]}}])}),a("el-table-column",{attrs:{label:"操作","min-width":"255px"},scopedSlots:t._u([{key:"default",fn:function(e){var l=e.row;return[a("el-row",{attrs:{type:"flex"}},[a("el-button",{attrs:{type:"text"},on:{click:function(e){return t.edit(l)}}},[t._v("编辑")])],1)]}}])})],1)],1)])},n=[],i=a("aa47"),s=a("c356"),r={data:function(){return{searchParams:{templateName:"",statusFlag:"",templateType:this.$route.query.type},loading:!1,list:[],statusList:[{label:"关闭",val:0},{label:"开启",val:1}]}},mounted:function(){this.drag(),this.getList()},methods:{getList:function(){var t=this;this.loading=!0,s["a"].getGameTemplatList(this.searchParams).then((function(e){var a=e.result;t.list=a})).finally((function(e){t.loading=!1}))},addTemplate:function(){this.$router.push("/activity/template-detail/".concat(this.$route.query.type))},edit:function(t){this.$router.push({path:"/activity/template-detail/".concat(this.$route.query.type),query:{id:t.templateId}})},handleSwitch:function(t,e){var a=this;this.$confirm("".concat(0==t?"关闭后,商户在创建此类型游戏时将无法选用此游戏模板,确认关闭":"开启后,商户将可引用次模板,确认开启","?"),"".concat(0==t?"关闭":"开启","提示"),{distinguishCancelAndClose:!0,type:"warning",confirmButtonText:"".concat(0==t?"关闭":"开启"),cancelButtonText:"取消"}).then((function(){s["a"].updateTemplateStatus({statusFlag:t,templateId:e}).then((function(t){a.getList()})).catch((function(l){a.list.filter((function(t){return t.templateId==e}))[0].statusFlag=0==t?1:0}))}))},drag:function(){var t=this,e=this.$refs.sortTable.$el.querySelector(".el-table__body tbody"),a=i["default"].create(e,{onChoose:function(t){var e=t.originalEvent.target.classList.contains("icon-cp-tuozhuaipaixu");a.option("sort",e)},onEnd:function(e){var a=e.newIndex,l=e.oldIndex,n=t.list.splice(l,1)[0];t.list.splice(a,0,n);var i=t.list.map((function(t,e){return{sort:e,templateId:t.templateId}}));t.batchupdateTemplateSort(i)}})},batchupdateTemplateSort:function(t){var e=this;s["a"].batchupdateTemplateSort(t).then((function(t){e.getList()}))}}},o=r,c=(a("8f8e"),a("2877")),u=Object(c["a"])(o,l,n,!1,null,"011c7087",null);e["default"]=u.exports},"8f8e":function(t,e,a){"use strict";a("0b82")}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-ca00aa7a"],{"57b1":function(t,e,a){"use strict";a.r(e);var l=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"pt10 pb10 pl20 border-bottom"},[a("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[a("el-breadcrumb-item",{attrs:{to:{path:"/activity/template-config"}}},[t._v("营销游戏配置")]),a("el-breadcrumb-item",[t._v("模板列表")])],1)],1),a("div",{staticStyle:{padding:"20px"}},[a("el-row",{attrs:{type:"flex",justify:"space-between"}},[a("el-row",{staticStyle:{"margin-right":"10px"},attrs:{type:"flex",align:"middle"}},[a("el-input",{staticStyle:{width:"260px","margin-right":"10px"},attrs:{placeholder:"请输入模板名称","prefix-icon":"el-icon-search",clearable:""},on:{change:t.getList},model:{value:t.searchParams.templateName,callback:function(e){t.$set(t.searchParams,"templateName",e)},expression:"searchParams.templateName"}}),a("el-select",{attrs:{clearable:"",placeholder:"模板状态"},on:{change:t.getList},model:{value:t.searchParams.statusFlag,callback:function(e){t.$set(t.searchParams,"statusFlag",e)},expression:"searchParams.statusFlag"}},t._l(t.statusList,(function(t){return a("el-option",{key:t.label,attrs:{label:t.label,value:t.val}})})),1)],1),a("el-row",{attrs:{type:"flex",align:"middle"}},[a("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.addTemplate()}}},[t._v("新增模板")])],1)],1),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"sortTable",staticStyle:{"margin-top":"20px"},attrs:{"row-key":"sort","row-class-name":"table-row",data:t.list}},[a("el-table-column",{attrs:{width:"40","label-class-name":"tag-head"}},[[a("el-tooltip",{attrs:{placement:"top",content:"拖动排序",trigger:"hover",effect:"dark","popper-class":"drag-tooltip"}},[a("i",{staticClass:"iconfont-components3 icon-cp-tuozhuaipaixu deactive"})])]],2),a("el-table-column",{attrs:{label:"模板名称","min-width":"290px",prop:"templateName"}}),a("el-table-column",{attrs:{label:"展示数量","min-width":"310px",prop:"viewPrize"}}),a("el-table-column",{attrs:{label:"模板状态","min-width":"306px",prop:"statusFlag"},scopedSlots:t._u([{key:"default",fn:function(e){var l=e.row;return[a("el-switch",{attrs:{"active-value":1,"inactive-value":0},on:{change:function(e){return t.handleSwitch(l.statusFlag,l.templateId)}},model:{value:l.statusFlag,callback:function(e){t.$set(l,"statusFlag",e)},expression:"row.statusFlag"}})]}}])}),a("el-table-column",{attrs:{label:"操作","min-width":"155px"},scopedSlots:t._u([{key:"default",fn:function(e){var l=e.row;return[a("el-row",{attrs:{type:"flex"}},[a("el-button",{attrs:{type:"text"},on:{click:function(e){return t.edit(l)}}},[t._v("编辑")])],1)]}}])})],1)],1)])},n=[],i=a("aa47"),s=a("c356"),r={data:function(){return{searchParams:{templateName:"",statusFlag:"",templateType:this.$route.query.type},loading:!1,list:[],statusList:[{label:"关闭",val:0},{label:"开启",val:1}]}},mounted:function(){this.drag(),this.getList()},methods:{getList:function(){var t=this;this.loading=!0,s["a"].getGameTemplatList(this.searchParams).then((function(e){var a=e.result;t.list=a})).finally((function(e){t.loading=!1}))},addTemplate:function(){this.$router.push("/activity/template-detail/".concat(this.$route.query.type))},edit:function(t){this.$router.push({path:"/activity/template-detail/".concat(this.$route.query.type),query:{id:t.templateId}})},handleSwitch:function(t,e){var a=this;this.$confirm("".concat(0==t?"关闭后,商户在创建此类型游戏时将无法选用此游戏模板,确认关闭":"开启后,商户将可引用次模板,确认开启","?"),"".concat(0==t?"关闭":"开启","提示"),{distinguishCancelAndClose:!0,type:"warning",confirmButtonText:"".concat(0==t?"关闭":"开启"),cancelButtonText:"取消"}).then((function(){s["a"].updateTemplateStatus({statusFlag:t,templateId:e}).then((function(t){a.getList()})).catch((function(l){a.list.filter((function(t){return t.templateId==e}))[0].statusFlag=0==t?1:0}))}))},drag:function(){var t=this,e=this.$refs.sortTable.$el.querySelector(".el-table__body tbody"),a=i["default"].create(e,{onChoose:function(t){var e=t.originalEvent.target.classList.contains("icon-cp-tuozhuaipaixu");a.option("sort",e)},onEnd:function(e){var a=e.newIndex,l=e.oldIndex,n=t.list.splice(l,1)[0];t.list.splice(a,0,n);var i=t.list.map((function(t,e){return{sort:e,templateId:t.templateId}}));t.batchupdateTemplateSort(i)}})},batchupdateTemplateSort:function(t){var e=this;s["a"].batchupdateTemplateSort(t).then((function(t){e.getList()}))}}},o=r,c=(a("db66"),a("2877")),u=Object(c["a"])(o,l,n,!1,null,"01f8fe8e",null);e["default"]=u.exports},"6f92":function(t,e,a){},db66:function(t,e,a){"use strict";a("6f92")}}]);
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment