From 68bcb554b91c0da1b7765142cc95ba0b5ade1a5a Mon Sep 17 00:00:00 2001
From: liaoxujun@qq.com <liaoxujun@qq.com>
Date: 星期一, 01 四月 2024 17:25:15 +0800
Subject: [PATCH] 完成供应商收集相关逻辑
---
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