Просмотр исходного кода

蝶阀执行器新增开关阀安全时间区间设置功能

qymljy 11 месяцев назад
Родитель
Сommit
fb9f59be9f

+ 2 - 2
src/optionSystem/selectOption/components/DieFaModel.vue

@@ -354,8 +354,8 @@
           </div>
           <div style="margin-left: 20px;display: flex;justify-content: left">
             <div class="label" style="margin-top:2px;">{{$t(`开关阀安全时间:`)}}</div>
-            <el-input style="width: 160px;margin-right: 10px" size="small" v-model="mintime" placeholder="开关阀安全时间"></el-input> -
-            <el-input style="width: 160px;margin-left: 10px" size="small" v-model="maxtime" placeholder="开关阀安全时间"></el-input>
+            <el-input style="width: 160px;margin-right: 10px" size="small" v-model="mintime" :placeholder="$t(`开关阀安全时间`)"></el-input> -
+            <el-input style="width: 160px;margin-left: 10px" size="small" v-model="maxtime" :placeholder="$t(`开关阀安全时间`)"></el-input>
           </div>
           <el-button type="primary" style="margin-left: 10px" size="small" @click="Search('excelParam')">{{$t(`查询`)}}</el-button>
         </div>

+ 2 - 2
src/optionSystem/valveOption/DieFa.vue

@@ -576,8 +576,8 @@
           </div>
           <div style="margin-left: 20px;display: flex;justify-content: left">
             <div class="label" style="margin-top:2px;">{{$t(`开关阀安全时间:`)}}</div>
-            <el-input style="width: 160px;margin-right: 10px" size="small" v-model="mintime" placeholder="开关阀安全时间"></el-input> -
-            <el-input style="width: 160px;margin-left: 10px" size="small" v-model="maxtime" placeholder="开关阀安全时间"></el-input>
+            <el-input style="width: 160px;margin-right: 10px" size="small" v-model="mintime" :placeholder="$t(`开关阀安全时间`)"></el-input> -
+            <el-input style="width: 160px;margin-left: 10px" size="small" v-model="maxtime" :placeholder="$t(`开关阀安全时间`)"></el-input>
           </div>
           <el-button type="primary" style="margin-left: 10px" size="small" @click="Search('excelParam')">{{$t(`查询`)}}</el-button>
         </div>