This commit is contained in:
2023-12-01 14:05:32 +08:00
parent dca358ac3f
commit 29eef3f6a3
4 changed files with 59 additions and 32 deletions

View File

@@ -8,7 +8,7 @@ module.exports = {
login: 'Login'
},
homeinfo: {
topinfo: 'device info',
topinfo: 'Device information',
deviceinfo: 'Device information',
task: 'Current task',
status: 'Task status',
@@ -17,18 +17,31 @@ module.exports = {
error: 'AGV Fault'
},
carrypoint: {
topinfo: 'pickup point',
button1: 'auto pickup',
button2: 'auto release',
button3: 'set target site'
topinfo: 'Pickup point',
button1: 'Auto pickup',
button2: 'Auto release',
button3: 'Set target site'
},
tasklists: {
topinfo: 'Task management',
select: 'Select',
ordernumber: 'Order number',
tasknumber: 'Task number',
targetpoint: 'Target point',
taskstatus: 'Task status',
createTime: 'createTime',
button1: 'Move up',
button2: 'Move down',
button3: 'Task cancel',
button4: 'Task submit'
},
errorinfo: {
topinfo: 'error info',
ordernumber: 'order number',
errorname: 'error name',
errortype: 'error type',
errorcontent: 'error content',
solution: 'solution'
topinfo: 'Error info',
ordernumber: 'Order number',
errorname: 'Error name',
errortype: 'Error type',
errorcontent: 'Error content',
solution: 'Solution'
},
user: {
usermanagement: 'User management',

View File

@@ -9,12 +9,12 @@ module.exports = {
},
homeinfo: {
topinfo: '设备信息',
deviceinfo: '设备信息',
task: '当前任务',
status: '任务状态',
tasknum: '任务数量',
speed: '当前速度',
error: 'AGV障'
deviceinfo: '设 备 信 息',
task: '当 前 任 务',
status: '任 务 状 态',
tasknum: '任 务 数 量',
speed: '当 前 速 度',
error: 'AGV障'
},
carrypoint: {
topinfo: '搬运起点',
@@ -22,6 +22,19 @@ module.exports = {
button2: '自动放货',
button3: '定位目标站点'
},
tasklists: {
topinfo: '任务管理',
select: '选中',
ordernumber: '序号',
tasknumber: '任务号',
targetpoint: '目标站点',
taskstatus: '任务状态',
createTime: '生成时间',
button1: '任务上移',
button2: '任务下移',
button3: '任务取消',
button4: '任务提交'
},
errorinfo: {
topinfo: '故障信息',
ordernumber: '序号',

View File

@@ -157,6 +157,7 @@ export default {
height 102px
font-size 36px
font-style italic
// font-family YouSheBiaoTiHei
color #F6F9FE
background center / 100% 100% url(../../../images/new/bg-home-r1.png) no-repeat
.rttxt
@@ -180,7 +181,7 @@ export default {
float left
display inline-block
color #f6f9fe
width 48%
width 47%
.txt01
float left
display inline-block
@@ -200,7 +201,7 @@ export default {
float left
display inline-block
color #f6f9fe
width 48%
width 47%
.txt
float left
display inline-block
@@ -214,7 +215,7 @@ export default {
float left
display inline-block
color #f6f9fe
width 48%
width 47%
.txt
float left
display inline-block
@@ -222,7 +223,7 @@ export default {
// margin-left 34px
font-size 30px
.speed-bg
width 513px
width 633px
height 12px
background center / 100% 100% url(../../../images/new/bg-home-r3.png) no-repeat
position relative

View File

@@ -3,18 +3,18 @@
<div class="right_side">
<div class="content_wrap">
<div class="title_wrap">
<h2>任务管理</h2>
<h2>{{ $t('tasklists.topinfo') }}</h2>
</div>
<div class="page_container">
<div class="grid_wrapper">
<table>
<tr>
<th>选中</th>
<th>序号</th>
<th>任务号</th>
<th>目标站点</th>
<th>任务状态</th>
<th>生成时间</th>
<th>{{ $t('tasklists.select') }}</th>
<th>{{ $t('tasklists.ordernumber') }}</th>
<th>{{ $t('tasklists.tasknumber') }}</th>
<th>{{ $t('tasklists.targetpoint') }}</th>
<th>{{ $t('tasklists.taskstatus') }}</th>
<th>{{ $t('tasklists.createTime') }}</th>
</tr>
<tr v-for="(e, i) in dataList" :key="i" @click="toRadio(e, i)">
<!-- <td>
@@ -30,10 +30,10 @@
</table>
</div>
<div class="buttons_wrapper">
<button class="button_control button_control_disabled" @click="toUp(dataList, selectIndex)"><p>任务上移</p></button>
<button class="button_control button_control_disabled" @click="toDown(dataList, selectIndex)"><p>任务下移</p></button>
<button class="button_control button_control_disabled" @click="toDel(selectIndex)"><p>任务取消</p></button>
<button class="button_control" @click="updateTask"><p>任务提交</p></button>
<button class="button_control button_control_disabled" @click="toUp(dataList, selectIndex)"><p>{{ $t('tasklists.button1') }}</p></button>
<button class="button_control button_control_disabled" @click="toDown(dataList, selectIndex)"><p>{{ $t('tasklists.button2') }}</p></button>
<button class="button_control button_control_disabled" @click="toDel(selectIndex)"><p>{{ $t('tasklists.button3') }}</p></button>
<button class="button_control" @click="updateTask"><p>{{ $t('tasklists.button4') }}</p></button>
</div>
</div>
</div>