|
|
|
|
@ -1,12 +1,15 @@
|
|
|
|
|
|
|
|
|
|
// const URL = 'http://123.132.248.154:9223'
|
|
|
|
|
let URL = netBASE_URL
|
|
|
|
|
|
|
|
|
|
$(document).ready(function () {
|
|
|
|
|
|
|
|
|
|
//测试地址
|
|
|
|
|
$.ajax({
|
|
|
|
|
url: "http://123.132.248.154:9223/api/Grid/LoadGridXZ",
|
|
|
|
|
url: URL + "/api/Grid/LoadGridXZ",
|
|
|
|
|
type: 'GET',
|
|
|
|
|
headers: {
|
|
|
|
|
"X-Token": "aabec9cc"
|
|
|
|
|
"X-Token":localStorage.getItem("Token"),
|
|
|
|
|
},
|
|
|
|
|
success: function (data) {
|
|
|
|
|
let result = data.data
|
|
|
|
|
@ -120,16 +123,16 @@ function wgTreeAnimation() {
|
|
|
|
|
function showWgDetail(id) {
|
|
|
|
|
// /api/Grid/LoadChildGridUser
|
|
|
|
|
$.ajax({
|
|
|
|
|
url: `http://123.132.248.154:9223/api/Grid/LoadChildGridUser?id=${id}`,
|
|
|
|
|
url: `${URL}/api/Grid/LoadChildGridUser?id=${id}`,
|
|
|
|
|
type: 'GET',
|
|
|
|
|
headers: {
|
|
|
|
|
"X-Token": "aabec9cc",
|
|
|
|
|
"X-Token":localStorage.getItem("Token"),
|
|
|
|
|
},
|
|
|
|
|
success: function (data) {
|
|
|
|
|
let res = data.data
|
|
|
|
|
$('#wg-ri-card').empty()
|
|
|
|
|
$("#show-wg-img").attr("data-url",res.imaUrl);
|
|
|
|
|
$("#wg-ri-image-card").find("img").attr("src","http://123.132.248.154:9223/"+res.imaUrl);
|
|
|
|
|
$("#wg-ri-image-card").find("img").attr("src",URL+"/"+res.imaUrl);
|
|
|
|
|
res.dataInfo.forEach((item) => {
|
|
|
|
|
let html = `
|
|
|
|
|
<ul class="wg-ri-item">
|
|
|
|
|
|