From aa861e83f2a7a5f99ed30d448c129c2032b71af6 Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Tue, 09 May 2023 09:39:58 +0800 Subject: [PATCH] 微信支付 --- src/main/resources/templates/febs/views/modules/mallMember/mallMemberList.html | 35 +++++++++++++++++++++++++++-------- 1 files changed, 27 insertions(+), 8 deletions(-) diff --git a/src/main/resources/templates/febs/views/modules/mallMember/mallMemberList.html b/src/main/resources/templates/febs/views/modules/mallMember/mallMemberList.html index 3cf4be6..920fa9a 100644 --- a/src/main/resources/templates/febs/views/modules/mallMember/mallMemberList.html +++ b/src/main/resources/templates/febs/views/modules/mallMember/mallMemberList.html @@ -25,12 +25,14 @@ <select name="level"> <option value="">请选择</option> <option value="NORMAL">普通会员</option> - <option value="V1">V1</option> - <option value="V2">V2</option> - <option value="V3">V3</option> - <option value="V4">V4</option> - <option value="V5">V5</option> - <option value="V6">V6</option> + <option value="V1">个体户</option> + <option value="V2">经销商</option> + <option value="V3">区代理</option> + <option value="V4">市代理</option> + <option value="V5">省代理</option> + <option value="V6">运营中心</option> + <option value="FANS">粉丝</option> + <option value="V_DIRECTOR">董事</option> </select> </div> </div> @@ -89,6 +91,13 @@ <input type="checkbox" value={{d.id}} lay-text="是|否" checked lay-skin="switch" lay-filter="switchDirector"> {{# } else { }} <input type="checkbox" value={{d.id}} lay-text="是|否" lay-skin="switch" lay-filter="switchDirector"> + {{# } }} +</script> +<script type="text/html" id="switchPartner"> + {{# if(d.partner === 1) { }} + <input type="checkbox" value={{d.id}} lay-text="是|否" checked lay-skin="switch" lay-filter="switchPartner"> + {{# } else { }} + <input type="checkbox" value={{d.id}} lay-text="是|否" lay-skin="switch" lay-filter="switchPartner"> {{# } }} </script> <style> @@ -234,7 +243,7 @@ {field: 'name', title: '名称', minWidth: 100,align:'left'}, {field: 'inviteId', title: '邀请码', minWidth: 100,align:'left'}, {field: 'balance', title: '余额', minWidth: 100,align:'left',totalRow: '{{= parseInt(d.balance) }}'}, - {field: 'score', title: '积分', minWidth: 100,align:'left',totalRow: '{{= parseInt(d.score) }}'}, + {field: 'score', title: 'H金劵', minWidth: 100,align:'left',totalRow: '{{= parseInt(d.score) }}'}, // {field: 'prizeScore', title: '竞猜积分', minWidth: 100,align:'left'}, // {field: 'commission', title: '佣金', minWidth: 100,align:'left'}, {field: 'referrerName', title: '推荐人', minWidth: 100,align:'left'}, @@ -256,12 +265,14 @@ return '<span">普通会员</span>' } else if (d.level === 'V_DIRECTOR') { return '<span">董事</span>' + } else if (d.level === 'FANS') { + return '<span">粉丝</span>' }else{ return '' } }, minWidth: 100,align:'center'}, // {field: 'storeMaster', title: '店长', templet:'#switchStoreMaster', minWidth: 100}, - // {field: 'director', title: '总监', templet:'#switchDirector', minWidth: 100}, + {field: 'partner', title: '合伙人', templet:'#switchPartner', minWidth: 100}, {field: 'accountType', title: '账号类型', templet: function (d) { if (d.accountType === 2) { @@ -408,5 +419,13 @@ changeIdentityNo(1, data.value); } }) + + form.on('switch(switchPartner)', function (data) { + if (data.elem.checked) { + changeIdentityYes(3, data.value); + } else { + changeIdentityNo(3, data.value); + } + }) }) </script> \ No newline at end of file -- Gitblit v1.9.1