From 7c8b715a0316f967b70a6a8b6bd7248f3e2ca49e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A7=9A=E4=B8=B9ab?= <1421553879@qq.com> Date: Mon, 21 Aug 2023 17:33:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E4=BF=A1=E7=BB=91=E5=AE=9A=E2=80=94?= =?UTF-8?q?=E2=80=94=E5=AD=A6=E7=94=9F=E3=80=81=E6=95=99=E5=B8=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/static/js/jlw/student/index.js | 26 ++++++++++++++++++- .../resources/static/js/jlw/teacher/index.js | 26 ++++++++++++++++++- 2 files changed, 50 insertions(+), 2 deletions(-) diff --git a/web/src/main/resources/static/js/jlw/student/index.js b/web/src/main/resources/static/js/jlw/student/index.js index f83736e9..eec3213a 100644 --- a/web/src/main/resources/static/js/jlw/student/index.js +++ b/web/src/main/resources/static/js/jlw/student/index.js @@ -90,11 +90,12 @@ layui.define(['form', 'laydate', 'table'], function (exports) { title: '操作', align: "center", fixed: "right", - width: 200, + width: 300, templet: function (d) { var htm = '编辑'; htm += '删除'; htm += '初始化密码'; + htm += '微信绑定'; return htm; } } @@ -186,6 +187,29 @@ layui.define(['form', 'laydate', 'table'], function (exports) { } }); }); + }else if(obj.event === "WeChatBinding"){ + var ret = Common.getAjax("/wx/api/getQrCodeAdmin",{id:data.studentId}); + var qrCode = ""; + if (ret.code == 0) { + qrCode = ret.data.imgUrl; + } + Common.info(ret.data) + var htm = '
微信扫一扫绑定
\n' + + '微信扫一扫绑定
\n' + + '