Explorar el Código

4g和wifi设置增加手动关闭推送设置

wenb hace 1 año
padre
commit
2a56c1e4c6

+ 2 - 1
web/三相/public/i18n/i18n_deguo.js

@@ -470,7 +470,8 @@ const i18n_deguo= {
   "qy":"Aktivieren",
   "xhqd":"Signalintensität",
   "yys":"Betreiber",
-  "tel":"Telefonnummer:"
+  "tel":"Telefonnummer:",
+  "ztts":"Push-Benachrichtigungen pausieren"
 
 
 }

+ 2 - 1
web/三相/public/i18n/i18n_eguo.js

@@ -471,5 +471,6 @@ const i18n_eguo={
   "qy":"Включить",
   "xhqd":"Сила сигнала",
   "yys":"Оператор",
-  "tel":"Номер телефона"
+  "tel":"Номер телефона",
+  "ztts":"Приостановить толкание"
 }

+ 2 - 1
web/三相/public/i18n/i18n_faguo.js

@@ -470,7 +470,8 @@ const i18n_faguo={
   "qy":"Activer",
   "xhqd":"Force du signal",
   "yys":"Opérateur",
-  "tel":"Numéro de téléphone"
+  "tel":"Numéro de téléphone",
+  "ztts":"Suspendre le push"
 
 
 

+ 2 - 1
web/三相/public/i18n/i18n_putaoya.js

@@ -470,7 +470,8 @@ const i18n_putaoya={
   "qy":"Activar",
   "xhqd":"intensidade do sinal",
   "yys":"Operador",
-  "tel":"Número de telefone:"
+  "tel":"Número de telefone:",
+  "ztts":"Pausa o empurramento"
 
 
 

+ 2 - 1
web/三相/public/i18n/i18n_riben.js

@@ -470,7 +470,8 @@ const i18n_riben={
   "qy":"有効化",
   "xhqd":"しんごうきょうど",
   "yys":"オペレータ",
-  "tel":"電話番号"
+  "tel":"電話番号",
+  "ztts":"プッシュの一時停止"
 
 
 

+ 2 - 1
web/三相/public/i18n/i18n_xibanya.js

@@ -470,7 +470,8 @@ const i18n_xibanya={
   "qy":"Habilitar",
   "xhqd":"Intensidad de la señal",
   "yys":"Operadores",
-  "tel":"Número de teléfono"
+  "tel":"Número de teléfono",
+  "ztts":"Suspensión de empuje"
 
 
 

+ 2 - 1
web/三相/public/i18n/i18n_yidali.js

@@ -470,7 +470,8 @@ const i18n_yidali={
   "qy":"Abilita",
   "xhqd":"Fortezza del segnale",
   "yys":"Operatore",
-  "tel":"Numero di telefono:"
+  "tel":"Numero di telefono:",
+  "ztts":"Metti in pausa le notifiche push"
 
 
 

+ 2 - 1
web/三相/public/i18n/i18n_yingguo.js

@@ -470,6 +470,7 @@ const i18n_yingguo={
   "qy":"Enable",
   "xhqd":"Signal strength",
   "yys":"Operator",
-  "tel":"phone number"
+  "tel":"phone number",
+  "ztts":"Pause push notifications"
 
 }

+ 2 - 1
web/三相/public/i18n/i18n_zh_CN.js

@@ -470,7 +470,8 @@ const i18n_zh_CN = {
   "qy":"启用",
   "xhqd":"信号强度",
   "yys":"运营商",
-  "tel":"电话号码"
+  "tel":"电话号码",
+  "ztts":"暂停推送"
 
 
 

+ 6 - 2
web/三相/src/views/txgl/fourgsz/index.vue

@@ -35,9 +35,12 @@
                 <el-form-item    :label="this.$t('tel')" prop="tel">
                   <el-input :readonly="true" v-model="form3.tel"   />
                 </el-form-item>
-
+                <el-form-item    :label="this.$t('ztts')"  >
+                  <input type="checkbox" v-model="isChecked"   />
+                </el-form-item>
               </el-form>
               <div slot="footer" style="float: right;" class="dialog-footer">
+
                 <el-button type="primary" @click="submitForm3">{{$t('sz')}}</el-button>
               </div>
             </template>
@@ -56,6 +59,7 @@
     name: "Server",
     data() {
       return {
+        isChecked: false,
         // 服务器信息
         server: [],
         // 总体状态监控
@@ -119,7 +123,7 @@
       //4G状态
       onSocketMessageTofourgStatus(recvMessage) {
         if (recvMessage.success && recvMessage.data!=null && recvMessage.data.data!='' && recvMessage.data.data!=null) {
-          if(recvMessage.data!=null){
+          if(recvMessage.data!=null && !this.isChecked){
             this.form3.ljzt=recvMessage.data.data.ljzt;
             this.form3.xhqd=recvMessage.data.data.xhqd;
             this.form3.yys=recvMessage.data.data.yys;

+ 6 - 2
web/三相/src/views/txgl/wifisz/index.vue

@@ -45,7 +45,9 @@
                 <el-form-item :label="this.$t('IPadress')"  >
                   <el-input :readonly="true" v-model="form3.IPadress"    />
                 </el-form-item>
-
+                <el-form-item    :label="this.$t('ztts')"  >
+                  <input type="checkbox" v-model="isChecked"   />
+                </el-form-item>
               </el-form>
               <div slot="footer" style="float: right;" class="dialog-footer">
                 <el-button type="primary" @click="submitForm3">{{$t('sz')}}</el-button>
@@ -140,6 +142,7 @@
                 <!--<el-form-item   label="MAC:" prop="mac">-->
                 <!--<el-input v-model="form.mac"    />-->
                 <!--</el-form-item>-->
+
               </el-form>
               <div slot="footer" style="float: right;" class="dialog-footer">
                 <el-button type="primary" @click="submitForm2">{{$t('qd')}}</el-button>
@@ -160,6 +163,7 @@
     name: "Server",
     data() {
       return {
+        isChecked: false,
         // 服务器信息
         server: [],
         // 总体状态监控
@@ -236,7 +240,7 @@
       //wifi状态
       onSocketMessageToWifiStatus(recvMessage) {
         if (recvMessage.success && recvMessage.data!=null && recvMessage.data.data!='' && recvMessage.data.data!=null) {
-          if(recvMessage.data!=null){
+          if(recvMessage.data!=null  && !this.isChecked){
             this.form3.IPadress=recvMessage.data.data.IPadress;
             this.form3.ljzt=recvMessage.data.data.ljzt;
             this.form3.password=recvMessage.data.data.password;