From 714ebb0caed4d340b526b3ce876a5e755dfccce1 Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@63.com> Date: 星期四, 07 四月 2022 15:28:14 +0800 Subject: [PATCH] # --- static/js/utils/DataShow.js | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/static/js/utils/DataShow.js b/static/js/utils/DataShow.js index 0902ffc..7db8b66 100644 --- a/static/js/utils/DataShow.js +++ b/static/js/utils/DataShow.js @@ -6,7 +6,7 @@ DataShow.prototype.showHint = function(){ let htmlText=''; - switch (type) { + switch (this.type) { case 'locNo': htmlText += '<p>搴撲綅缂栧彿锛�'+ this.uuid +'</p>'; $.ajax({ @@ -19,7 +19,13 @@ break case "wrkNo": htmlText+='<p>浠诲姟缂栧彿锛�'+ this.uuid +'</p>'; - + $.ajax({ + url: top.baseUrl + '/three/query/wrk/detl/v1?wrkNo=' + this.uuid, + type: "GET", + success: function (res) { + console.log(res); + } + }) break default: break -- Gitblit v1.9.1