1 line
10 KiB
JavaScript
1 line
10 KiB
JavaScript
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-015023cf"],{"0bce":function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"divBox"},[i("div",[i("el-card",{staticClass:"box-card",attrs:{bordered:!1}},[i("div",[i("el-tabs",{on:{"tab-click":t.changeTab},model:{value:t.currentTab,callback:function(e){t.currentTab=e},expression:"currentTab"}},t._l(t.headerList,(function(t,e){return i("el-tab-pane",{key:e+"-only",attrs:{label:t.label,name:t.value.toString()}})})),1)],1),t._v(" "),i("el-row",{staticClass:"mb20 mt-1",attrs:{type:"flex"}},[i("el-col",[i("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["admin:wechat:routine:sync"],expression:"['admin:wechat:routine:sync']"}],attrs:{type:"primary",icon:"el-icon-document"},on:{click:function(e){return t.syncRoutine()}}},[t._v("同步小程序订阅消息")]),t._v(" "),i("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["admin:wechat:whcbqhn:sync"],expression:"['admin:wechat:whcbqhn:sync']"}],attrs:{type:"primary",icon:"el-icon-document"},on:{click:function(e){return t.syncWechat()}}},[t._v("同步微信模版消息")])],1)],1),t._v(" "),i("div",{staticClass:"description"},[i("p",[i("span",{staticClass:"iconfont iconxiaochengxu"}),t._v(" 小程序经营类目:生活服务 > 百货/超市/便利店")]),t._v(" "),i("p",[i("span",{staticClass:"iconfont icongongzhonghao"}),t._v(" 公众号经营类目:IT科技/互联网|电子商务,IT科技/IT软件与服务\n ")])]),t._v(" "),i("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loadingList,expression:"loadingList"}],ref:"table",staticClass:"mt25",attrs:{data:t.levelLists,size:"small","header-cell-style":{fontWeight:"bold"}}},[i("el-table-column",{attrs:{label:"ID",prop:"id",width:"80"}}),t._v(" "),i("el-table-column",{attrs:{label:"通知类型",prop:"type"}}),t._v(" "),i("el-table-column",{attrs:{label:"通知场景说明",prop:"description"}}),t._v(" "),i("el-table-column",{attrs:{label:"标识",prop:"mark"}}),t._v(" "),"1"==t.currentTab?i("el-table-column",{attrs:{label:"公众号模板",prop:"isWechat"},scopedSlots:t._u([{key:"default",fn:function(e){return[0!==e.row.isWechat?i("el-switch",{attrs:{"active-value":1,"inactive-value":2,"active-text":"启用","inactive-text":"禁用"},on:{change:function(i){return t.changeWechat(e.row)}},model:{value:e.row.isWechat,callback:function(i){t.$set(e.row,"isWechat",i)},expression:"scope.row.isWechat"}}):i("span",[t._v(t._s(e.row.isWechat?"启用":"禁用"))])]}}],null,!1,4199812261)}):t._e(),t._v(" "),"1"==t.currentTab?i("el-table-column",{attrs:{label:"小程序订阅",prop:"isRoutine"},scopedSlots:t._u([{key:"default",fn:function(e){return[0!==e.row.isRoutine?i("el-switch",{attrs:{"active-value":1,"inactive-value":2,"active-text":"启用","inactive-text":"禁用"},on:{change:function(i){return t.changeRoutine(e.row)}},model:{value:e.row.isRoutine,callback:function(i){t.$set(e.row,"isRoutine",i)},expression:"scope.row.isRoutine"}}):i("span",[t._v(t._s(e.row.isRoutine?"启用":"禁用"))])]}}],null,!1,2587045413)}):t._e(),t._v(" "),i("el-table-column",{attrs:{label:"发送短信",prop:"isSms"},scopedSlots:t._u([{key:"default",fn:function(e){return[0!==e.row.isSms?i("el-switch",{attrs:{"active-value":1,"inactive-value":2,"active-text":"启用","inactive-text":"禁用"},on:{change:function(i){return t.changeSms(e.row)}},model:{value:e.row.isSms,callback:function(i){t.$set(e.row,"isSms",i)},expression:"scope.row.isSms"}}):i("span",[t._v(t._s(e.row.isSms?"启用":"禁用"))])]}}])}),t._v(" "),i("el-table-column",{attrs:{label:"设置",prop:"id"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["admin:system:notification:detail"],expression:"['admin:system:notification:detail']"}],attrs:{type:"text"},on:{click:function(i){return t.setting(e.row)}}},[t._v("详情")])]}}])})],1)],1)],1),t._v(" "),i("el-dialog",{attrs:{title:"通知详情",visible:t.centerDialogVi
|