xyg 6 mesiacov pred
rodič
commit
d1369af914

+ 3 - 3
nngkxxdp/src/main/resources/static/naxsb/dqfw.html

@@ -13,6 +13,7 @@
     <script src="https://unpkg.com/element-ui/lib/index.js"></script>
     <!-- jquery-->
     <script src="js/jquery-3.5.1.min.js"></script>
+    <script src="urljson.js"></script>
     <style>
         * {
             padding: 0;
@@ -286,7 +287,6 @@
         },
         methods: {
             menuChange(id, topid) {
-                console.log(topid)
                 this.currtopId = topid;
                 this.currentTab = id;
                 this.getrightData(id);
@@ -294,7 +294,7 @@
             getParkData(id) {
                 let that = this;
                 $.ajax({
-                    url: that.reqPtah + "/partyService/listAll/" + id,
+                    url: conpath + "/partyService/listAll/" + id,
                     type: "get",
                     dataType: "json",
                     success: function (data) {
@@ -319,7 +319,7 @@
             getrightData(id) {
                 let that = this;
                 $.ajax({
-                    url: that.reqPtah + "/partyService/" + id,
+                    url: conpath + "/partyService/" + id,
                     type: "get",
                     dataType: "json",
                     success: function (data) {

+ 2 - 2
nngkxxdp/src/main/resources/static/naxsb/floorone.html

@@ -149,7 +149,7 @@
                 @click="floorChange(tab.id)">
                 {{tab.name}}
             </div>
-            <div class="list" @click="backsw">返回室外{{currentFloor}}</div>
+            <div class="list" @click="backsw">返回室外</div>
         </div>
         <div id="lines" style="display: none;"></div>
         <div id="lineh" style="display: none;"></div>
@@ -456,7 +456,7 @@
             getItemList(currentPage, businessId) {
                 var that = this;
                 $.ajax({
-                    url: "/handleBusiness/query",
+                    url: conpath + "/handleBusiness/query",
                     type: "post",
                     contentType: 'application/json',
                     data: JSON.stringify({

+ 3 - 3
nngkxxdp/src/main/resources/static/naxsb/indexcygyy.html

@@ -463,7 +463,7 @@
             getSellBuild(id) {
                 let that = this;
                 $.ajax({
-                    url: that.reqPtah + "/sellBuild",
+                    url: conpath + "/sellBuild",
                     type: "post",
                     contentType: 'application/json',
                     data: JSON.stringify({
@@ -485,7 +485,7 @@
             getParkData() {
                 let that = this;
                 $.ajax({
-                    url: that.reqPtah + "/parkData/",
+                    url: conpath + "/parkData/",
                     type: "get",
                     dataType: "json",
                     success: function (data) {
@@ -501,7 +501,7 @@
             getDetailData(id) {
                 let that = this;
                 $.ajax({
-                    url: that.reqPtah + "/parkData/" + id,
+                    url: conpath + "/parkData/" + id,
                     type: "get",
                     dataType: "json",
                     success: function (data) {

+ 1 - 1
nngkxxdp/src/main/resources/static/naxsb/indexsyyg.html

@@ -301,7 +301,7 @@
             getParkData() {
                 let that = this;
                 $.ajax({
-                    url: "/parkData/",
+                    url: conpath + "/parkData/",
                     type: "get",
                     dataType: "json",
                     success: function (data) {

+ 1 - 0
nngkxxdp/src/main/resources/static/naxsb/js/urljson.js

@@ -0,0 +1 @@
+var conpath = '';

+ 6 - 6
nngkxxdp/src/main/resources/static/naxsb/syyggyy.html

@@ -16,6 +16,7 @@
     <script src="js/jquery-3.5.1.min.js"></script>
     <script type="text/javascript" src="https://api.map.baidu.com/api?v=2.0&ak=7XivTux4H2e1ifKLjvEhxfuayDYxAluq">
     </script>
+    <script src="js/urljson.js"></script>
     <style>
         .toplogo img {
             margin-bottom: 17px;
@@ -352,7 +353,6 @@ border: 1px solid #EFA34E;color: #EFA34E;"><span>企业人才</span><span>服务
         el: '#ggyq',
         data: function () {
             return {
-                reqPtah: '',
                 pageSize: 20,
                 jbqk: {},
                 qwysList: [],
@@ -400,7 +400,7 @@ border: 1px solid #EFA34E;color: #EFA34E;"><span>企业人才</span><span>服务
             getJBQK(id) {
                 let that = this;
                 $.ajax({
-                    url: that.reqPtah + "/parkData/" + id,
+                    url: conpath + "/parkData/" + id,
                     type: "get",
                     dataType: "json",
                     success: function (data) {
@@ -520,7 +520,7 @@ border: 1px solid #EFA34E;color: #EFA34E;"><span>企业人才</span><span>服务
             getDetail(id) {
                 let that = this;
                 $.ajax({
-                    url: that.reqPtah + "/parkData/details/" + id,
+                    url: conpath + "/parkData/details/" + id,
                     type: "get",
                     dataType: "json",
                     success: function (data) {
@@ -545,7 +545,7 @@ border: 1px solid #EFA34E;color: #EFA34E;"><span>企业人才</span><span>服务
             getSellBuild(id) {
                 let that = this;
                 $.ajax({
-                    url: that.reqPtah + "/sellBuild",
+                    url: conpath + "/sellBuild",
                     type: "post",
                     contentType: 'application/json',
                     data: JSON.stringify({
@@ -566,7 +566,7 @@ border: 1px solid #EFA34E;color: #EFA34E;"><span>企业人才</span><span>服务
             getSellLand(id) {
                 let that = this;
                 $.ajax({
-                    url: that.reqPtah + "/sellLand",
+                    url: conpath + "/sellLand",
                     type: "post",
                     contentType: 'application/json',
                     data: JSON.stringify({
@@ -584,7 +584,7 @@ border: 1px solid #EFA34E;color: #EFA34E;"><span>企业人才</span><span>服务
             getParkActivity(id) {
                 let that = this;
                 $.ajax({
-                    url: that.reqPtah + "/parkActivity",
+                    url: conpath + "/parkActivity",
                     type: "post",
                     contentType: 'application/json',
                     data: JSON.stringify({

+ 1 - 1
nngkxxdp/src/main/resources/static/naxsb/tdcr.html

@@ -337,7 +337,7 @@
             getLandDetail(id) {
                 let that = this;
                 $.ajax({
-                    url: that.reqPtah + "/sellLand/" + id,
+                    url: conpath + "/sellLand/" + id,
                     type: "get",
                     async: false,
                     dataType: "json",

+ 3 - 3
nngkxxdp/src/main/resources/static/naxsb/tdcrlist.html

@@ -270,7 +270,7 @@
             getSellLand(id) {
                 let that = this;
                 $.ajax({
-                    url: that.reqPtah + "/sellLand",
+                    url: conpath + "/sellLand",
                     type: "post",
                     contentType: 'application/json',
                     data: JSON.stringify({
@@ -290,7 +290,7 @@
             getParkDetail() {
                 let that = this;
                 $.ajax({
-                    url: that.reqPtah + "/parkData/" + that.currentPq,
+                    url: conpath + "/parkData/" + that.currentPq,
                     type: "get",
                     dataType: "json",
                     success: function (data) {
@@ -335,7 +335,7 @@
             getSellBuild(id) {
                 let that = this;
                 $.ajax({
-                    url: that.reqPtah + "/sellBuild",
+                    url: conpath + "/sellBuild",
                     type: "post",
                     contentType: 'application/json',
                     data: JSON.stringify({

+ 1 - 1
nngkxxdp/src/main/resources/static/naxsb/tsfw.html

@@ -229,7 +229,7 @@
             getParkData(id) {
                 let that = this;
                 $.ajax({
-                    url: that.reqPtah + "/specialService/list/" + id,
+                    url: conpath + "/specialService/list/" + id,
                     type: "get",
                     dataType: "json",
                     success: function (data) {

+ 2 - 2
nngkxxdp/src/main/resources/static/naxsb/wybdb.html

@@ -539,7 +539,7 @@
                         this.form.imgKey = sessionStorage.getItem("registerImageCodeKey");
                         let formData = this.form; // 获取表单数据
                         $.ajax({
-                            url: this.reqPtah + '/proxyDemand',
+                            url: conpath + '/proxyDemand',
                             type: 'POST',
                             contentType: 'application/json; charset=utf-8',
                             data: JSON.stringify(formData), // 传递表单数据
@@ -585,7 +585,7 @@
                     sessionStorage.setItem("registerImageCodeKey", imageCodeKey);
                 }
                 $.ajax({
-                    url: that.reqPtah + '/reserveOvertime/code/' + imageCodeKey,
+                    url: conpath + '/reserveOvertime/code/' + imageCodeKey,
                     type: 'post',
                     dataType: 'json',
                     success: function (data) {

+ 2 - 2
nngkxxdp/src/main/resources/static/naxsb/wyyy.html

@@ -251,7 +251,7 @@
                         const formData = this.form;
                         // AJAX 请求
                         $.ajax({
-                            url: this.reqPtah + '/reserveOvertime',
+                            url: conpath + '/reserveOvertime',
                             type: 'post',
                             contentType: 'application/json; charset=utf-8',
                             data: JSON.stringify(formData), // 传递表单数据
@@ -298,7 +298,7 @@
                     sessionStorage.setItem("registerImageCodeKey", imageCodeKey);
                 }
                 $.ajax({
-                    url: that.reqPtah + '/reserveOvertime/code/' + imageCodeKey,
+                    url: conpath + '/reserveOvertime/code/' + imageCodeKey,
                     type: 'post',
                     dataType: 'json',
                     success: function (data) {

+ 1 - 1
nngkxxdp/src/main/resources/static/naxsb/znxz.html

@@ -263,7 +263,7 @@
             getParkData(id) {
                 let that = this;
                 $.ajax({
-                    url: that.reqPtah + "/selectionAddr/listAll/" + id,
+                    url: conpath + "/selectionAddr/listAll/" + id,
                     type: "get",
                     dataType: "json",
                     success: function (data) {

+ 1 - 1
nngkxxdp/src/main/resources/static/naxsb/ztcrdetail.html

@@ -314,7 +314,7 @@
             getBuildDetail(id) {
                 let that = this;
                 $.ajax({
-                    url: that.reqPtah + "/sellBuild/" + id,
+                    url: conpath + "/sellBuild/" + id,
                     type: "get",
                     dataType: "json",
                     success: function (data) {

+ 3 - 3
nngkxxdp/src/main/resources/static/naxsb/ztcrlist.html

@@ -344,7 +344,7 @@
             getParkDetail() {
                 let that = this;
                 $.ajax({
-                    url: that.reqPtah + "/parkData/" + that.currentPq,
+                    url: conpath + "/parkData/" + that.currentPq,
                     type: "get",
                     dataType: "json",
                     success: function (data) {
@@ -394,7 +394,7 @@
                     title: "全部"
                 });
                 $.ajax({
-                    url: that.reqPtah + "/parkData",
+                    url: conpath + "/parkData",
                     type: "get",
                     dataType: "json",
                     success: function (data) {
@@ -407,7 +407,7 @@
             getSellBuild() {
                 let that = this;
                 $.ajax({
-                    url: that.reqPtah + "/sellBuild",
+                    url: conpath + "/sellBuild",
                     type: "post",
                     contentType: 'application/json',
                     data: JSON.stringify({

+ 2 - 2
nngkxxdp/src/main/resources/static/naxsb/zwfwtyy.html

@@ -298,7 +298,7 @@
                         const formData = this.form;
                         // AJAX 请求
                         $.ajax({
-                            url: this.reqPtah + '/experienceApply',
+                            url: conpath + '/experienceApply',
                             type: 'post',
                             contentType: 'application/json; charset=utf-8',
                             data: JSON.stringify(formData), // 传递表单数据
@@ -343,7 +343,7 @@
                     sessionStorage.setItem("registerImageCodeKey", imageCodeKey);
                 }
                 $.ajax({
-                    url: that.reqPtah + '/reserveOvertime/code/' + imageCodeKey,
+                    url: conpath + '/reserveOvertime/code/' + imageCodeKey,
                     type: 'post',
                     dataType: 'json',
                     success: function (data) {