|
@@ -127,6 +127,26 @@ $(function () {
|
|
|
</div>\
|
|
|
</div>\
|
|
|
</div>\
|
|
|
+ <div class="account-item required clearfloat">\
|
|
|
+ <div class="item-tip"><span class="red">*</span>订餐提醒:</div>\
|
|
|
+ <div class="item-con">\
|
|
|
+ <div class="radio-wp">\
|
|
|
+ <span class="radio-input">\
|
|
|
+ <input type="radio" id="push" class="radio-item push-type" data-status="1" name="pushType" <%if(pushState==1){%>checked<%}%>/>\
|
|
|
+ <span class="radio-inner"></span>\
|
|
|
+ </span>\
|
|
|
+ <label class="radio-con" for="push">开启</label>\
|
|
|
+ </div>\
|
|
|
+ <div class="radio-wp">\
|
|
|
+ <span class="radio-input">\
|
|
|
+ <input type="radio" id="push1" class="radio-item push-type" data-status="0" name="pushType" <%if(pushState==0){%>checked<%}%>/>\
|
|
|
+ <span class="radio-inner"></span>\
|
|
|
+ </span> \
|
|
|
+ <label class="radio-con" for="push1">关闭</label>\
|
|
|
+ </div>\
|
|
|
+ </div>\
|
|
|
+ </div>\
|
|
|
+ </div>\
|
|
|
</div>\
|
|
|
<div class="dialog-btns">\
|
|
|
<button class="sure-add-btn btn-red">确定</button>\
|
|
@@ -546,6 +566,17 @@ $(function () {
|
|
|
title: '姓名',
|
|
|
minWidth: 200
|
|
|
}, {
|
|
|
+ field: 'pushState',
|
|
|
+ title: '订餐提醒',
|
|
|
+ minWidth: 200,
|
|
|
+ templet: function (data) {
|
|
|
+ if (data.pushState == 1) {
|
|
|
+ return '开启'
|
|
|
+ } else {
|
|
|
+ return '关闭'
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }, {
|
|
|
field: 'integral',
|
|
|
title: '积分余额',
|
|
|
minWidth: 200
|
|
@@ -881,6 +912,7 @@ $(function () {
|
|
|
mobile: '',
|
|
|
userName: '',
|
|
|
roleType: '',
|
|
|
+ pushState: '',
|
|
|
orgId: $orgId.length?orgId:'',
|
|
|
virtualArchId: '',
|
|
|
dept: ''
|
|
@@ -895,6 +927,7 @@ $(function () {
|
|
|
mobile: $("#conditionform .loginName").val(),
|
|
|
userName: $("#conditionform .userName").val(),
|
|
|
roleType: $("#conditionform .roleType").val(),
|
|
|
+ pushState: $("#conditionform .pushState").val(),
|
|
|
orgId: orgId,
|
|
|
virtualArchId: $("#companyId").attr('com__id') || '',
|
|
|
dept: $("#departmentId").attr('dep__id') || ''
|
|
@@ -1085,6 +1118,8 @@ $(function () {
|
|
|
|
|
|
//类型
|
|
|
formdata.append("userType", $(".user-type:checked").data("status"));
|
|
|
+ //订餐提醒
|
|
|
+ formdata.append("pushState", $(".push-type:checked").data("status"));
|
|
|
if (!id) {
|
|
|
_this.ajaxAdd(formdata, function () {
|
|
|
callback();
|
|
@@ -1512,6 +1547,7 @@ $(function () {
|
|
|
mobile: $("#conditionform .loginName").val(),
|
|
|
userName: $("#conditionform .userName").val(),
|
|
|
roleType: $("#conditionform .roleType").val(),
|
|
|
+ pushState: $("#conditionform .pushState").val(),
|
|
|
orgId: $("#conditionform #orgId").attr('org__id'),
|
|
|
virtualArchId: $("#companyId").attr('com__id') || '',
|
|
|
dept: $("#departmentId").attr('dep__id') || ''
|