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' login: 'Login'
}, },
homeinfo: { homeinfo: {
topinfo: 'device info', topinfo: 'Device information',
deviceinfo: 'Device information', deviceinfo: 'Device information',
task: 'Current task', task: 'Current task',
status: 'Task status', status: 'Task status',
@@ -17,18 +17,31 @@ module.exports = {
error: 'AGV Fault' error: 'AGV Fault'
}, },
carrypoint: { carrypoint: {
topinfo: 'pickup point', topinfo: 'Pickup point',
button1: 'auto pickup', button1: 'Auto pickup',
button2: 'auto release', button2: 'Auto release',
button3: 'set target site' 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: { errorinfo: {
topinfo: 'error info', topinfo: 'Error info',
ordernumber: 'order number', ordernumber: 'Order number',
errorname: 'error name', errorname: 'Error name',
errortype: 'error type', errortype: 'Error type',
errorcontent: 'error content', errorcontent: 'Error content',
solution: 'solution' solution: 'Solution'
}, },
user: { user: {
usermanagement: 'User management', usermanagement: 'User management',

View File

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

View File

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

View File

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