From 7fdf7d7bd39cd0381c3969ad6302be0e693cad2d Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期二, 02 四月 2024 10:56:33 +0800 Subject: [PATCH] Merge branch 'master' of http://47.108.235.38:8080/r/baifenbaishop --- CoreCms.Net.Web.Admin/wwwroot/views/user/userInfo/index.html | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/CoreCms.Net.Web.Admin/wwwroot/views/user/userInfo/index.html b/CoreCms.Net.Web.Admin/wwwroot/views/user/userInfo/index.html index eb825ab..adcdabd 100644 --- a/CoreCms.Net.Web.Admin/wwwroot/views/user/userInfo/index.html +++ b/CoreCms.Net.Web.Admin/wwwroot/views/user/userInfo/index.html @@ -267,6 +267,7 @@ } } }, + { field: 'isBaifenPromotion', title: '鎺ㄥ箍浜哄憳', width: 120, templet: '#switch_IsBaifenPromotion', sort: false, unresize: true }, //{ field: 'isDelete', title: '鍒犻櫎鏍囧織', width: 105, templet: '#switch_isDelete', sort: false, unresize: true }, { width: 282, align: 'center', title: '鎿嶄綔', fixed: 'right', toolbar: '#LAY-app-CoreCmsUser-tableBox-bar' } ] @@ -680,6 +681,13 @@ }); }); } + + layui.form.on('switch(switch_IsBaifenPromotion)', function (obj) { + coreHelper.Post("Api/CoreCmsUser/DoSetIsBaiFenBingfaP", { id: this.value, data: obj.elem.checked }, function (e) { + + layer.msg(e.msg); + }); + }); //鐩戝惉 琛ㄦ牸澶嶉�夋鎿嶄綔 layui.form.on('switch(switch_isDelete)', function (obj) { @@ -708,4 +716,9 @@ <!--璁剧疆鍒犻櫎鏍囧織 鏈夋暟鎹氨鏄垹闄�--> <script type="text/html" id="switch_isDelete"> <input type="checkbox" name="switch_isDelete" value="{{d.id}}" lay-skin="switch" lay-text="宸插垹闄姝e父" lay-filter="switch_isDelete" {{ d.isDelete ? 'checked' : '' }}> +</script> + +<!--璁剧疆鏄惁鐑棬--> +<script type="text/html" id="switch_IsBaifenPromotion"> + <input type="checkbox" name="switch_IsBaifenPromotion" value="{{d.id}}" lay-skin="switch" lay-text="鏄瘄鍚�" lay-filter="switch_IsBaifenPromotion" {{ d.isBaifenPromotion? 'checked' : '' }}> </script> \ No newline at end of file -- Gitblit v1.9.1