This commit is contained in:
2025-06-18 13:38:27 +08:00
parent 9f78abce1d
commit 3e3aa08ce5
13 changed files with 149 additions and 77 deletions

View File

@@ -5,41 +5,41 @@
<view class="zd_content">
<view class="zd_wrapper">
<view class="filter_item">
<view class="filter_label">区域</view>
<view class="filter_label">{{$t('filter.area')}}</view>
<view class="filter_input_wraper">
<uni-data-select v-model="index1" :localdata="options1" @change="selectChange1"></uni-data-select>
<uni-data-select v-model="index1" :placeholder="$t('uni.dataSelect.placeholder')" :localdata="options1" @change="selectChange1"></uni-data-select>
</view>
</view>
<view class="filter_item">
<view class="filter_label_wraper">
<span class="filter_label">设备</span>
<span class="filter_label">{{$t('filter.device')}}</span>
</view>
<view class="filter_input_wraper">
<uni-data-select v-model="index2" :localdata="options2" @change="selectChange2"></uni-data-select>
<uni-data-select v-model="index2" :placeholder="$t('uni.dataSelect.placeholder')" :localdata="options2" @change="selectChange2"></uni-data-select>
</view>
</view>
<view class="filter_item">
<view class="filter_label">上轴左</view>
<view class="filter_label">{{$t('filter.uppershaft-l')}}</view>
<view class="filter_input_wraper">
<uni-data-select v-model="upL" :searchInput="true" :localdata="newaxis1" @handleChange="handleChange1" @showSelector="showSelector1"></uni-data-select>
<uni-data-select v-model="upL" :searchInput="true" :placeholder="$t('uni.dataSelect.placeholder')" :localdata="newaxis1" @handleChange="handleChange1" @showSelector="showSelector1"></uni-data-select>
</view>
</view>
<view class="filter_item">
<view class="filter_label">上轴右</view>
<view class="filter_label">{{$t('filter.uppershaft-r')}}</view>
<view class="filter_input_wraper">
<uni-data-select v-model="upR" :searchInput="true" :localdata="newaxis2" @handleChange="handleChange2" @showSelector="showSelector2"></uni-data-select>
<uni-data-select v-model="upR" :searchInput="true" :placeholder="$t('uni.dataSelect.placeholder')" :localdata="newaxis2" @handleChange="handleChange2" @showSelector="showSelector2"></uni-data-select>
</view>
</view>
<view class="filter_item">
<view class="filter_label">下轴左</view>
<view class="filter_label">{{$t('filter.lowershaft-l')}}</view>
<view class="filter_input_wraper">
<uni-data-select v-model="lowL" :searchInput="true" :localdata="newaxis3" @handleChange="handleChange3" @showSelector="showSelector3"></uni-data-select>
<uni-data-select v-model="lowL" :searchInput="true" :placeholder="$t('uni.dataSelect.placeholder')" :localdata="newaxis3" @handleChange="handleChange3" @showSelector="showSelector3"></uni-data-select>
</view>
</view>
<view class="filter_item">
<view class="filter_label">下轴右</view>
<view class="filter_label">{{$t('filter.lowershaft-r')}}</view>
<view class="filter_input_wraper">
<uni-data-select v-model="lowR" :searchInput="true" :localdata="newaxis4" @handleChange="handleChange4" @showSelector="showSelector4"></uni-data-select>
<uni-data-select v-model="lowR" :searchInput="true" :placeholder="$t('uni.dataSelect.placeholder')" :localdata="newaxis4" @handleChange="handleChange4" @showSelector="showSelector4"></uni-data-select>
</view>
</view>
</view>
@@ -48,13 +48,13 @@
<table>
<thead>
<tr>
<th>序号</th>
<th class="th_2">设备</th>
<th>位置</th>
<th>{{$t('grid.number')}}</th>
<th class="th_2">{{$t('filter.device')}}</th>
<th>{{$t('grid.place')}}</th>
<th><view style="width: 220rpx;">tube</view></th>
<th>状态</th>
<th>呼叫时间</th>
<th>操作</th>
<th>{{$t('grid.status')}}</th>
<th>{{$t('grid.calltime')}}</th>
<th>{{$t('grid.operate')}}</th>
</tr>
</thead>
<tbody>
@@ -77,9 +77,9 @@
</view>
</view>
<view class="zd-row submitbar">
<button class="zd-col-5 btn-submit btn-default letter-30" @tap="clearUp">清空</button>
<button class="zd-col-8 btn-submit btn-success letter-30" :class="{'btn-info': !index2 || (!upL && !upR && !lowL && !lowR)}" :disabled="disabled" @tap="_forcedFeedShaft">送轴</button>
<button class="zd-col-8 btn-submit btn-success" @tap="_showManualView">刷新</button>
<button class="zd-col-5 btn-submit btn-default letter-30" @tap="clearUp">{{$t('button.clear')}}</button>
<button class="zd-col-8 btn-submit btn-success letter-30" :class="{'btn-info': !index2 || (!upL && !upR && !lowL && !lowR)}" :disabled="disabled" @tap="_forcedFeedShaft">{{$t('button.sendaxis')}}</button>
<button class="zd-col-8 btn-submit btn-success" @tap="_showManualView">{{$t('button.refresh')}}</button>
</view>
<up-top ref="UT" :scrollTop="top"></up-top>
</view>