Procházet zdrojové kódy

多条提示信息

chenrui před 4 roky
rodič
revize
2cfd6364a2

+ 0 - 4
src/views/BasicSettings/Organization.vue

@@ -130,8 +130,6 @@ export default {
               _this.$message.success(res.message)
               _this.$refs.table.refresh(true)
               _this.visible = false
-            } else {
-              _this.$message.error(res.message)
             }
           })
         } else {
@@ -156,8 +154,6 @@ export default {
             if (res.status == 200) {
               _this.$message.success(res.message)
               _this.$refs.table.refresh()
-            } else {
-              _this.$message.error(res.message)
             }
           })
         }

+ 0 - 8
src/views/BasicSettings/StoreAssociatedEquipmentModal.vue

@@ -153,8 +153,6 @@ export default {
         findVsDevice({ id: value }).then(res => {
           if (res.status == 200) {
             this.resultData = res.data
-          } else {
-            this.$message.error(res.message)
           }
         })
       } else {
@@ -184,8 +182,6 @@ export default {
             if (res.status == 200) {
               _this.$message.success(res.message)
               _this.getStoreEquipment(_this.storeCode)
-            } else {
-              _this.$message.error(res.message)
             }
           })
         }
@@ -204,8 +200,6 @@ export default {
               _this.resultData = null
               _this.isFocus = false
               _this.getStoreEquipment(_this.storeCode)
-            } else {
-              _this.$message.error(res.message)
             }
           })
         }
@@ -229,8 +223,6 @@ export default {
               _this.$message.success(res.message)
               _this.visible = false
               _this.getDeviceChannels()
-            } else {
-              _this.$message.error(res.message)
             }
           })
         } else {

+ 0 - 2
src/views/BasicSettings/StoreModal.vue

@@ -166,8 +166,6 @@ export default {
             if (res.status == 200) {
               _this.$message.success(res.message)
               _this.$emit('success')
-            } else {
-              _this.$message.error(res.message)
             }
           })
         } else {

+ 2 - 1
vue.config.js

@@ -108,7 +108,8 @@ const vueConfig = {
     // If you want to turn on the proxy, please remove the mockjs /src/main.jsL11
     proxy: {
       '/api': {
-        target: 'http://192.168.16.100:9102/at-admin/',
+        // target: 'http://192.168.16.100:9102/at-admin/',
+        target: 'https://aitour.test.zyucgj.com/at-admin/',
         ws: false,
         changeOrigin: true,
         pathRewrite: {