|
@@ -155,15 +155,15 @@
|
|
|
/* 启动状态显示 */
|
|
|
function statusTools(row) {
|
|
|
if (row.alertStatus == 0) {
|
|
|
- return '<i class=\"fa fa-toggle-off text-info fa-2x\" onclick="enable(\'' + row.alertId + ',' + row.userType + ',' + row.salesLevel + ',' + row.orgCode + '\')"></i> ';
|
|
|
+ return '<i class=\"fa fa-toggle-off text-info fa-2x\" onclick="enable(\'' + row.alertId + '&' + row.userType + '&' + row.salesLevel + '&' + row.orgCode + '\')"></i> ';
|
|
|
} else {
|
|
|
- return '<i class=\"fa fa-toggle-on text-info fa-2x\" onclick="disable(\'' + row.alertId + ',' + row.userType + ',' + row.salesLevel + ',' + row.orgCode + '\')"></i> ';
|
|
|
+ return '<i class=\"fa fa-toggle-on text-info fa-2x\" onclick="disable(\'' + row.alertId + '&' + row.userType + '&' + row.salesLevel + '&' + row.orgCode + '\')"></i> ';
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/* 停用 */
|
|
|
function disable(row) {
|
|
|
- var arrayTingyong = row.split(',');
|
|
|
+ var arrayTingyong = row.split('&');
|
|
|
$.modal.confirm("确认关闭该通知吗?", function() {
|
|
|
$.operate.post(prefix + "/release", { "alertId": arrayTingyong[0], "alertStatus": 0, "userType": arrayTingyong[1], "salesLevel": arrayTingyong[2], "orgCode": arrayTingyong[3] });
|
|
|
})
|
|
@@ -171,7 +171,7 @@
|
|
|
|
|
|
/* 启用 */
|
|
|
function enable(row) {
|
|
|
- var arrayQiyong = row.split(',');
|
|
|
+ var arrayQiyong = row.split('&');
|
|
|
$.modal.confirm("确认启用该通知吗?", function() {
|
|
|
$.operate.post(prefix + "/release", { "alertId": arrayQiyong[0], "alertStatus": 1, "userType": arrayQiyong[1], "salesLevel": arrayQiyong[2], "orgCode": arrayQiyong[3] });
|
|
|
})
|