canyin-project/ybcy/views/channel/index/static/js/chunk-7865b80a.36a89f46.js

1 line
5.3 KiB
JavaScript
Raw Permalink Normal View History

2024-11-01 16:07:54 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7865b80a"],{"1e3d":function(t,e,s){t.exports=s.p+"static/img/msg.ab85bf5d.png"},8111:function(t,e,s){"use strict";var i=s("814b"),a=s.n(i);a.a},"814b":function(t,e,s){},"99f5":function(t,e,s){"use strict";s.r(e);var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"outmain ba_f"},[t._m(0),s("div",{staticClass:"t_c"},[s("div",{staticClass:"fon_22 lh36 mar_b30"},[t._v("微信接单助手")]),s("div",{staticClass:"color_9 mar_b30"},[t._v("关注接单小助手微信服务号后,新订单将通过服务号提醒")]),s("div",{staticClass:"mar_b30 curs color-green",on:{click:function(e){t.dialogVisible=!0}}},[t._v("已绑定"),s("span",[t._v(t._s(t.count))]),t._v(" 个微信 "),s("Icon",{attrs:{type:"ios-arrow-forward"}})],1),s("div",{staticClass:"mar_b30 curs color-1989FA",on:{click:function(e){t.dialogFormVisible=!0}}},[t._v("去添加 "),s("Icon",{attrs:{type:"ios-arrow-forward"}})],1),t._m(1),s("div",{staticClass:"mar_t40 flex-x-center"},[s("div",{staticClass:"step"},[s("img",{staticClass:"wid bor_de",staticStyle:{height:"140px"},attrs:{src:t.icon}}),t._m(2)]),s("div",{staticClass:"mar_lr20"},[s("Icon",{staticClass:"fon_22 color_9 mar_t60",attrs:{type:"ios-arrow-forward"}})],1),t._m(3)])]),s("el-dialog",{attrs:{title:"绑定列表",visible:t.dialogVisible,width:"30%","close-on-click-modal":!1},on:{"update:visible":function(e){t.dialogVisible=e}}},t._l(t.list,(function(e){return s("div",{key:e.id,staticClass:"flex flex-center mar_b10"},[s("div",{staticClass:"icon mar_r20 bor_rad5"},[s("img",{staticClass:"wid",attrs:{src:e.portrait}})]),s("div",{},[s("div",[t._v(t._s(e.userName))]),s("div",{staticClass:"fon_12 color_9"},[t._v(t._s(e.createdAt)+" 绑定")])]),s("el-button",{staticClass:"mar_l30",attrs:{size:"medium"},on:{click:function(s){return t.unBundOperation(e.id)}}},[t._v("解绑")])],1)})),0),s("el-dialog",{attrs:{title:"提示",visible:t.dialogFormVisible,width:"30%","close-on-click-modal":!1},on:{"update:visible":function(e){t.dialogFormVisible=e}}},[s("el-form",{ref:"form",attrs:{model:t.form,"label-width":"120px"}},[s("el-form-item",{attrs:{label:"微信openID"}},[s("el-input",{attrs:{autocomplete:"off",placeholder:"请输入提醒人的微信openID"},model:{value:t.form.openId,callback:function(e){t.$set(t.form,"openId","string"===typeof e?e.trim():e)},expression:"form.openId"}}),s("div",{staticClass:"yb_margin lh16"},[t._v("绑定后,请不要取消关注接单公众号,否则会收不到订单提醒")])],1)],1),s("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[s("el-button",{on:{click:function(e){t.dialogFormVisible=!1}}},[t._v("取 消")]),s("el-button",{attrs:{type:"primary"},on:{click:t.onSubmit}},[t._v("立即绑定")])],1)],1)],1)},a=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"shuju_title mar_b20"},[s("div",{staticClass:"shuju_title_text"},[s("span",[t._v("接单助手")])])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"helper rel mar_t40"},[s("div",{staticClass:"hr"}),s("p",{staticClass:"hrtext ab ba_f"},[t._v("如何绑定微信接单小助手")])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("p",{staticClass:"mar_t10 color_6 lh16",staticStyle:{width:"143px"}},[t._v("1. 微信扫描下方二维码"),s("br"),t._v("关注服务号")])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"step"},[i("img",{staticClass:"wid bor_de",attrs:{src:s("1e3d")}}),i("p",{staticClass:"mar_t10 color_6 lh16"},[t._v("2. 关注服务号后"),i("br"),t._v("联系管理员获取您的openID,绑定即可")])])}],r=(s("96cf"),s("1da1")),n=(s("365c"),s("f8b7")),o={data:function(){return{form:{openId:""},dialogVisible:!1,dialogFormVisible:!1,icon:"",list:[],count:""}},created:function(){this.getBundList()},methods:{getBundList:function(){var t=this;return Object(r["a"])(regeneratorRuntime.mark((function e(){var s,i,a;return regeneratorRuntime.wrap((functio