slitting en id
This commit is contained in:
@@ -51,7 +51,7 @@
|
||||
<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><view style="width: 220rpx;">{{$t('filter.tubecode')}}</view></th>
|
||||
<th>{{$t('grid.status')}}</th>
|
||||
<th>{{$t('grid.calltime')}}</th>
|
||||
<th>{{$t('grid.operate')}}</th>
|
||||
@@ -61,13 +61,13 @@
|
||||
<tr v-for="(e, i) in dataList" :key="i">
|
||||
<td>{{Number(i) + 1}}</td>
|
||||
<td class="td_2">{{e.resource_name}}</td>
|
||||
<td>{{['上轴', '下轴'][Number(e.up_or_down) - 1]}}</td>
|
||||
<td>{{[$t('select.uppershaft'), $t('select.lowershaft')][Number(e.up_or_down) - 1]}}</td>
|
||||
<td class="wrap">{{e.tube}}</td>
|
||||
<td>{{getStatusText(e.status)}}</td>
|
||||
<td>{{e.start_time}}</td>
|
||||
<td>
|
||||
<view style="display: flex; align-items: center;">
|
||||
<button v-show="e.status === '01'" class="mini-btn" size="mini" type="primary" :disabled="disabled" @tap="_urgentPlan(e)">加急</button>
|
||||
<button v-show="e.status === '01'" class="mini-btn" size="mini" type="primary" :disabled="disabled" @tap="_urgentPlan(e)">{{$t('button.urgent')}}</button>
|
||||
</view>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -267,11 +267,11 @@
|
||||
},
|
||||
getStatusText(status) {
|
||||
const statusMap = {
|
||||
'01': '准备套轴',
|
||||
'02': '正在配送',
|
||||
'03': '配送完成'
|
||||
'01': this.$t('grid.prepare-set-shaft'),
|
||||
'02': this.$t('grid.delivery-in-progress'),
|
||||
'03': this.$t('grid.delivery-completed')
|
||||
}
|
||||
return statusMap[status] || '已完成'
|
||||
return statusMap[status] || this.$t('grid.completed')
|
||||
},
|
||||
async _showManualView () {
|
||||
let res = await showManualView()
|
||||
|
||||
Reference in New Issue
Block a user