南昌市物联网技防平台-前端
shuishen
2021-04-26 f99e2eaf9c8da76924176161497d6b354bf400fd
logo调整
1 files modified
13 ■■■■■ changed files
src/page/index/logo.vue 13 ●●●●● patch | view | raw | blame | history
src/page/index/logo.vue
@@ -381,20 +381,17 @@
          id: jid,
        },
      }).then(function (response) {
        console.log(response, 123)
        var userId = JSON.parse(
          window.localStorage.getItem("物联网安保云服务平台-userInfo")
        ).content.user_id;
        if (response.data.data.length > 0) {
          // that.deviceId = response.data.data[0].id;
          that.form = response.data.data[0];
        if (response.data.data.records.length > 0) {
          that.form = response.data.data.records[0];
          if (
            response.data.data[0].waringType == "紧急求救" &&
            response.data.data[0].alarmId == userId
            response.data.data.records[0].waringType == "紧急求救" &&
            response.data.data.records[0].alarmId == userId
          ) {
            response.data.data[0].waringType = "一键求助";
            response.data.data.records[0].waringType = "一键求助";
            that.peopleList = [
              { label: that.form.oneContacts, value: that.form.onePhone },