maqingyang пре 11 месеци
родитељ
комит
83efd24cea
3 измењених фајлова са 5 додато и 5 уклоњено
  1. 1 1
      package.json
  2. 4 4
      src/views/system/business.vue
  3. 0 0
      src/views/system/temp.vue

+ 1 - 1
package.json

@@ -4,7 +4,7 @@
   "private": true,
   "scripts": {
     
-    "serve": "vue-cli-service serve",
+    "serve": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve",
     "build": "vue-cli-service build"
   },
   "dependencies": {

+ 4 - 4
src/views/system/business.vue

@@ -221,7 +221,7 @@ export default {
         selectBusiness(this.currentPage,this.pagesize,this.input,this.businessType).then(
               res=>
               {
-                this.selectBusinessData=res.data.business_list.list;
+                this.selectBusinessData=res.data.select_business.list;
                 this.businessShowData = this.selectBusinessData
               }
           )
@@ -242,7 +242,7 @@ export default {
           selectBusiness(this.currentPage,this.pagesize,this.input,this.businessType).then(
               res=>
               {
-                this.selectBusinessData=res.data.business_list.list;
+                this.selectBusinessData=res.data.select_business.list;
                 this.businessShowData = this.selectBusinessData
               }
           )
@@ -342,9 +342,9 @@ export default {
         selectBusiness(this.currentPage,this.pagesize,this.input,this.businessType).then(
               res=>
               {
-                this.selectBusinessData=res.data.business_list.list;
+                this.selectBusinessData=res.data.select_business.list;
                 this.businessShowData = this.selectBusinessData
-                var j = parseInt(res.data.business_list.total)
+                var j = parseInt(res.data.select_business.total)
                 this.totalSize = j
                 this.showSize = this.totalSize
   

+ 0 - 0
src/views/system/temp.vue