XMLWAN 4 anni fa
parent
commit
cb3713a905
1 ha cambiato i file con 2 aggiunte e 5 eliminazioni
  1. 2 5
      src/xt_pages/management/home.vue

+ 2 - 5
src/xt_pages/management/home.vue Vedi File

@@ -2974,7 +2974,7 @@ export default {
2974 2974
             if (response.data.state === 1) {
2975 2975
               var addmacher = response.data.data.addmacher
2976 2976
               console.log('addmacher----', addmacher)
2977
-  
2977
+
2978 2978
               this.$message.success('修改成功')
2979 2979
               // this.$router.push({ path: '/device/home?index=' + this.tabIndex })
2980 2980
               // this.getAllMachine()
@@ -4263,10 +4263,7 @@ export default {
4263 4263
       getTimeWarning(id) {
4264 4264
         getTimeWarning(id).then(response => {
4265 4265
           if (response.data.state === 1) {
4266
-            var information = response.data.data.informations
4267
-            // console.log('码字', information)
4268
-            // console.log('当前时间', this.getTimestamp(this.userform.date))
4269
-            // console.log('存入时间', information.stime)
4266
+            var information = response.data.data.information
4270 4267
             var time = this.getTimestamp(this.userform.date) - information.stime
4271 4268
             console.log('时间', time)
4272 4269
             // if (time < 2678400) {