From ea3473a9fe7318a132daf65689a46cccdf9bceb9 Mon Sep 17 00:00:00 2001
From: vincent <1341870251@qq.com>
Date: 星期一, 25 五月 2020 10:38:15 +0800
Subject: [PATCH] #
---
src/main/webapp/static/js/basWrkIotype/basWrkIotype.js | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/main/webapp/static/js/basWrkIotype/basWrkIotype.js b/src/main/webapp/static/js/basWrkIotype/basWrkIotype.js
index 19fecb4..47f1fee 100644
--- a/src/main/webapp/static/js/basWrkIotype/basWrkIotype.js
+++ b/src/main/webapp/static/js/basWrkIotype/basWrkIotype.js
@@ -10,7 +10,7 @@
tableIns = table.render({
elem: '#basWrkIotype',
headers: {token: localStorage.getItem('token')},
- url: '/basWrkIotype/list/auth',
+ url: baseUrl+'/basWrkIotype/list/auth',
page: true,
limit: 16,
skin: 'line',
@@ -111,7 +111,7 @@
} else {
layer.confirm('纭畾鍒犻櫎'+(data.length===1?'姝�':data.length)+'鏉℃暟鎹悧', function(){
$.ajax({
- url: "/basWrkIotype/delete/auth",
+ url: baseUrl+"/basWrkIotype/delete/auth",
headers: {'token': localStorage.getItem('token')},
data: {param: JSON.stringify(data)},
method: 'POST',
@@ -149,7 +149,7 @@
'fields': fields
};
$.ajax({
- url: "/basWrkIotype/export/auth",
+ url: baseUrl+"/basWrkIotype/export/auth",
headers: {'token': localStorage.getItem('token')},
data: JSON.stringify(param),
dataType:'json',
@@ -227,7 +227,7 @@
content: '../user/user_detail.html',
success: function(layero, index){
$.ajax({
- url: "/user/"+ param +"/auth",
+ url: baseUrl+"/user/"+ param +"/auth",
headers: {'token': localStorage.getItem('token')},
method: 'GET',
success: function (res) {
@@ -263,7 +263,7 @@
content: '../user/user_detail.html',
success: function(layero, index){
$.ajax({
- url: "/user/"+ param +"/auth",
+ url: baseUrl+"/user/"+ param +"/auth",
headers: {'token': localStorage.getItem('token')},
method: 'GET',
success: function (res) {
@@ -318,7 +318,7 @@
};
$.ajax({
- url: "/basWrkIotype/"+name+"/auth",
+ url: baseUrl+"/basWrkIotype/"+name+"/auth",
headers: {'token': localStorage.getItem('token')},
data: top.reObject(data),
method: 'POST',
--
Gitblit v1.9.1