|
|
@@ -450,7 +450,7 @@
|
|
|
function remove(id) {
|
|
|
confirm("提示", '<font color="red">确认删除?</font>', function (r) {
|
|
|
if (r) {
|
|
|
- $.ajax({
|
|
|
+ ajax({
|
|
|
type: "POST",
|
|
|
url: "/web/custom/remove.json",
|
|
|
data: {
|
|
|
@@ -478,7 +478,7 @@
|
|
|
function modifyState(id, sate, title) {
|
|
|
confirm("提示", '<font color="red">' + title + "</font>", function (r) {
|
|
|
if (r) {
|
|
|
- $.ajax({
|
|
|
+ ajax({
|
|
|
type: "POST",
|
|
|
url: "/web/custom/modifyState.json",
|
|
|
data: {
|
|
|
@@ -606,7 +606,7 @@
|
|
|
}
|
|
|
|
|
|
function bind(id, companyId, title) {
|
|
|
- $.ajax({
|
|
|
+ ajax({
|
|
|
type: "POST",
|
|
|
url: "/web/user/addPowerUserBind.json",
|
|
|
data: {
|
|
|
@@ -649,7 +649,7 @@
|
|
|
}
|
|
|
|
|
|
function cancel(id, companyId) {
|
|
|
- $.ajax({
|
|
|
+ ajax({
|
|
|
method: "POST",
|
|
|
url: "/web/user/removePowerUserBind.json",
|
|
|
data: {
|