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.
crmeb_php/public/system/js/chunk-24c73eba.715a0905.js

1 line
12 KiB

1 year ago
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-24c73eba"],{"0d83":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"divBox"},[n("el-card",{staticClass:"box-card"},[n("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[n("div",{staticClass:"filter-container"},[n("el-form",{attrs:{size:"small"}},[n("el-form-item",{staticClass:"mr10",attrs:{label:""}},[n("el-button",{attrs:{type:"primary",icon:"el-icon-s-tools"},on:{click:t.syncApplet}},[t._v("同步小程序订阅消息")]),t._v(" "),n("el-button",{attrs:{type:"success",icon:"el-icon-s-tools"},on:{click:t.syncPublic}},[t._v("同步公众号模板消息")])],1),t._v(" "),n("el-form-item",{staticClass:"mr10",attrs:{label:""}},[n("el-collapse",{attrs:{accordion:""},model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[n("el-collapse-item",{attrs:{name:"1"}},[n("template",{slot:"title"},[n("div",{staticStyle:{"font-size":"14px","font-weight":"bold",color:"#1890ff"}},[t._v("同步消息必读 "),n("i",{staticClass:"header-icon el-icon-info"})])]),t._v(" "),n("div",{staticStyle:{"font-weight":"bold"}},[t._v("小程序订阅消息")]),t._v(" "),n("div",[t._v("登录微信小程序后台,基本设置,服务类目增加《生活服务 > 百货/超市/便利店》 "),n("span",{staticStyle:{color:"#FF9400"}},[t._v("(否则同步小程序订阅消息会报错)")])]),t._v(" "),n("div",[t._v("同步小程序订阅消息 是在小程序后台未添加订阅消息模板的前提下使用的,会新增一个模板消息并把信息同步过来,如果小程序后台已经添加过的,会跳过不会更新本项目数据库。")]),t._v(" "),n("div",{staticStyle:{"font-weight":"bold"}},[t._v("微信模板消息")]),t._v(" "),n("div",[t._v("登录微信公众号后台,选择模板消息,将模板消息的所在行业修改副行业为《其他/其他》 "),n("span",{staticStyle:{color:"#FF9400"}},[t._v("(否则同步模板消息不成功)")])]),t._v(" "),n("div",[t._v("同步公众号模板消息 同步公众号模板会删除公众号后台现有的模板,并重新添加新的模板,然后同步信息到数据库,如果多个项目使用同一个公众号的模板,请谨慎操作。")])],2)],1)],1)],1)],1),t._v(" "),t.headeNum.length>0?n("el-tabs",{on:{"tab-click":function(e){return t.getList(1)}},model:{value:t.tableForm.type,callback:function(e){t.$set(t.tableForm,"type",e)},expression:"tableForm.type"}},t._l(t.headeNum,(function(t,e){return n("el-tab-pane",{key:e,attrs:{name:t.type.toString(),label:t.title}})})),1):t._e()],1),t._v(" "),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],staticClass:"table",staticStyle:{width:"100%"},attrs:{data:t.tableData.data,size:"mini","highlight-current-row":""}},[n("el-table-column",{attrs:{label:"ID",prop:"notice_config_id","min-width":"90"}}),t._v(" "),n("el-table-column",{attrs:{prop:"notice_title",label:"通知类型","min-width":"150"}}),t._v(" "),n("el-table-column",{attrs:{prop:"notice_info",label:"通知场景说明","min-width":"150"}}),t._v(" "),n("el-table-column",{attrs:{label:"公众号模板","min-width":"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[0==e.row.notice_wechat||1==e.row.notice_wechat?n("el-switch",{attrs:{"active-value":1,"inactive-value":0,"active-text":"开启","inactive-text":"关闭"},nativeOn:{click:function(n){return t.onchangeIsShow(e.row,"notice_wechat")}},model:{value:e.row.notice_wechat,callback:function(n){t.$set(e.row,"notice_wechat",n)},expression:"scope.row.notice_wechat"}}):t._e()]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"小程序订阅","min-width":"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[0==e.row.notice_routine||1==e.row.notice_routine?n("el-switch",{attrs:{"active-value":1,"inactive-value":0,"active-text":"开启","inactive-text":"关闭"},nativeOn:{click:function(n){return t.onchangeIsShow(e.row,"notice_routine")}},model:{value:e.row.n