需求修改
This commit is contained in:
@@ -15,26 +15,21 @@
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{{$t('command.task-number')}}</th>
|
||||
<th>{{$t('startequip')}}</th>
|
||||
<th>{{$t('targetquip')}}</th>
|
||||
<th>{{$t('state')}}</th>
|
||||
<th>{{$t('command.vnumber')}}</th>
|
||||
|
||||
<th>{{$t('command.priority')}}</th>
|
||||
<th>{{$t('time')}}</th>
|
||||
<th>任务号</th>
|
||||
<th>起始设备</th>
|
||||
<th>目标设备</th>
|
||||
<th>状态</th>
|
||||
<th>载具号</th>
|
||||
<th>优先级</th>
|
||||
<th>时间</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr v-for="(e, i) in dataList" :key="i" @click="toCheck(e)" :class="{'checked': e.task_uuid === pkId}">
|
||||
<td>{{e.task_no}}</td>
|
||||
<td v-if="$i18n.locale === 'en'">{{e.start_en_devicecode}}</td>
|
||||
<td v-if="$i18n.locale === 'ko'">{{e.start_ko_devicecode}}</td>
|
||||
<td v-if="$i18n.locale === 'zh-Hans'">{{e.start_devicecode}}</td>
|
||||
<td v-if="$i18n.locale === 'en'">{{e.next_en_devicecode}}</td>
|
||||
<td v-if="$i18n.locale === 'ko'">{{e.next_ko_devicecode}}</td>
|
||||
<td v-if="$i18n.locale === 'zh-Hans'">{{e.next_devicecode}}</td>
|
||||
<td>{{[$t('ready'), $t('progress'), $t('complete')][Number(e.task_status)]}}</td>
|
||||
<td>{{e.start_devicecode}}</td>
|
||||
<td>{{e.next_devicecode}}</td>
|
||||
<td>{{['就绪', '执行中', '完成'][Number(e.task_status)]}}</td>
|
||||
<td>{{e.carrier}}</td>
|
||||
<td>{{e.priority}}</td>
|
||||
<td>{{e.create_time}}</td>
|
||||
@@ -45,14 +40,14 @@
|
||||
</view>
|
||||
</view>
|
||||
<view class="zd-row submit-bar">
|
||||
<button class="zd-col-11 button-primary" :class="{'button-info': !pkId}" :disabled="disabled" @tap="_handTaskoperation('1')">{{$t('regenerate')}}</button>
|
||||
<button class="zd-col-11 button-primary" :class="{'button-info': !pkId}" :disabled="disabled" @tap="_handTaskoperation('2')">{{$t('forced-completion')}}</button>
|
||||
<button class="zd-col-11 button-primary" :class="{'button-info': !pkId}" :disabled="disabled" @tap="_handTaskoperation('1')">重新生成</button>
|
||||
<button class="zd-col-11 button-primary" :class="{'button-info': !pkId}" :disabled="disabled" @tap="_handTaskoperation('2')">强制完成</button>
|
||||
</view>
|
||||
<view class="zd_content msg_wrapper" :class="show ? 'popshow' : 'pophide'">
|
||||
<view class="msg_content">
|
||||
<view class="zd-row border-bottom">
|
||||
<view class="zd-col-6">
|
||||
<span class="filter_label">{{$t('keyword')}}</span>
|
||||
<span class="filter_label">关键字</span>
|
||||
</view>
|
||||
<view class="zd-col-17">
|
||||
<input type="text" class="filter_input" v-model="val1">
|
||||
@@ -60,7 +55,7 @@
|
||||
</view>
|
||||
<view class="zd-row border-bottom">
|
||||
<view class="zd-col-6">
|
||||
<span class="filter_label">{{$t('startequip')}}</span>
|
||||
<span class="filter_label">起始设备</span>
|
||||
</view>
|
||||
<view class="zd-col-17">
|
||||
<search-box
|
||||
@@ -70,7 +65,7 @@
|
||||
</view>
|
||||
<view class="zd-row">
|
||||
<view class="zd-col-6">
|
||||
<span class="filter_label">{{$t('targetquip')}}</span>
|
||||
<span class="filter_label">目标设备</span>
|
||||
</view>
|
||||
<view class="zd-col-17">
|
||||
<search-box
|
||||
@@ -80,9 +75,9 @@
|
||||
</view>
|
||||
</view>
|
||||
<view class="zd-row submit-bar">
|
||||
<button class="zd-col-7 button-default" @tap.stop="show = false">{{$t('button.cancel')}}</button>
|
||||
<button class="zd-col-7 button-default" @tap.stop="clearUp">{{$t('button.empty')}}</button>
|
||||
<button class="zd-col-7 button-primary" @tap="_handTasks">{{$t('button.search')}}</button>
|
||||
<button class="zd-col-7 button-default" @tap.stop="show = false">取消</button>
|
||||
<button class="zd-col-7 button-default" @tap.stop="clearUp">清空</button>
|
||||
<button class="zd-col-7 button-primary" @tap="_handTasks">查询</button>
|
||||
</view>
|
||||
</view>
|
||||
<view v-if="show" class="msg_mask"></view>
|
||||
@@ -101,7 +96,7 @@
|
||||
data() {
|
||||
return {
|
||||
show: false,
|
||||
state: [{id:'-1', text: this.$t('whole')}, {id:'0', text: this.$t('ready')}, {id:'1', text: this.$t('progress')}, {id:'2', text: this.$t('complete')}],
|
||||
state: [{id:'-1', text: '全部'}, {id:'0', text: '就绪'}, {id:'1', text: '执行中'}, {id:'2', text: '完成'}],
|
||||
tab: '-1',
|
||||
title: '',
|
||||
val1: '',
|
||||
|
||||
Reference in New Issue
Block a user