From 3f91a6737fc06b45461ce11eae5660cbbf766f7e Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期二, 29 十月 2024 16:20:02 +0800 Subject: [PATCH] 推广人员-》地推权限 创建时间-》注册时间 --- CoreCms.Net.Web.Admin/wwwroot/views/user/userInfo/index.html | 26 +++++++++++++++++++++++++- 1 files changed, 25 insertions(+), 1 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..a15c63e 100644 --- a/CoreCms.Net.Web.Admin/wwwroot/views/user/userInfo/index.html +++ b/CoreCms.Net.Web.Admin/wwwroot/views/user/userInfo/index.html @@ -108,6 +108,17 @@ </div> </div> <div class="layui-inline layui-input-wrap layui-input-wrap-prefix"> + <div class="layui-input-inline" style="width: 200px;"> + + <select name="isBaifenPromotion" id="isBaifenPromotion"> + <option value="">璇烽�夋嫨鏄惁鏄帹骞夸汉鍛�</option> + + <option value="1">鏄帹骞夸汉鍛�</option> + <option value="0">涓嶆槸鎺ㄥ箍浜哄憳</option> + </select> + </div> + </div> + <div class="layui-inline layui-input-wrap layui-input-wrap-prefix"> <button class="layui-btn layui-btn-sm" lay-submit lay-filter="LAY-app-CoreCmsUser-search"><i class="layui-icon layui-icon-search"></i>绛涢��</button> </div> </div> @@ -175,6 +186,7 @@ [ { type: "checkbox", fixed: "left" }, { field: 'id', title: '搴忓垪', sort: false, width: 70 }, + { field: 'createTime', title: '娉ㄥ唽鏃堕棿', width: 130, sort: false }, { field: 'mobile', title: '鎵嬫満鍙�', sort: false, width: 100 }, { field: 'sex', title: '鎬у埆', sort: false, width: 60, templet: function (data) { @@ -244,7 +256,6 @@ } } }, - { field: 'createTime', title: '鍒涘缓鏃堕棿', width: 130, sort: false }, { field: 'status', title: '鐘舵��', sort: false, width: 65, templet: function (data) { if (data.status) { @@ -267,6 +278,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 +692,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 +727,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