quanyawei
2024-06-27 e07b984728e0a97473b2954d097afac4a5c8b80a
pages/actionChange/secondLevelData/index.vue
@@ -21,14 +21,14 @@
            </u-input>
         </view>
         <view class="orgSearch" v-else-if="value==='0'">
            <u-form ref="uForm" label-width="80" :model="form">
            <u-form ref="uForm" :model="form">
               <u-form-item border-bottom @click="showeEscalationTime = true ;hideKeyboard('orgName','orgId')">
                  <u-input v-model="form.orgName" disabled disabled-color="#ffffff" customStyle="margin: 0 5px;"
                     placeholder="请选择组织" type="select" />
                  <u-input v-model="form.orgName" disabled disabled-color="#ffffff" placeholder="请选择组织"
                     type="select" />
               </u-form-item>
               <u-form-item border-bottom @click="selectSite">
                  <u-input v-model="form.siteName" disabled disabled-color="#ffffff" customStyle="margin: 0 5px;"
                     placeholder="请选择站点" type="select" />
                  <u-input v-model="form.siteName" disabled disabled-color="#ffffff" placeholder="请选择站点"
                     type="select" />
               </u-form-item>
            </u-form>
            <u-picker :show="showeEscalationTime" :columns="columns" @confirm="selectBack" keyName="name"
@@ -126,7 +126,7 @@
            alarmLevel: null,
            aqi: 0,
            baseUrl: '',
            windDir: 'null',
            windDir: '',
            windDeg: 180,
            wsData2: null,
            // 报警进度条
@@ -150,7 +150,7 @@
      },
      computed: {
         windDirData() {
            if (this.wsData2) {
            if (this.wsData2 && this.windDir) {
               return `${this.windDir} (${this.wsData2.a01008})`
            } else {
               return ''
@@ -166,7 +166,9 @@
      },
      onUnload() {
         let that = this
         this.socketTask.close()
         if (this.socketTask) {
            this.socketTask.close()
         }
         that.isLoading = false
         that.timer = ''
      },
@@ -600,6 +602,10 @@
      /deep/.u-form {
         display: flex;
         justify-content: space-evenly;
         .u-form-item {
            width: 45%;
         }
      }
   }