Merge branch 'dev' of https://git.cloud.tencent.com/joylink/jl-nclient into dev
This commit is contained in:
commit
b06f4d1ad4
@ -42,20 +42,19 @@ export default {
|
|||||||
getCourseInformationFail: 'Failed to get course information'
|
getCourseInformationFail: 'Failed to get course information'
|
||||||
},
|
},
|
||||||
demon: {
|
demon: {
|
||||||
// 试用时间:
|
trialTime: 'Trial time: ',
|
||||||
// 派班计划
|
dispatchingPlan: 'Dispatching Plan',
|
||||||
// 退出剧本
|
exitScript: 'Exit Script',
|
||||||
// 按计划行车
|
drivingByPlan: 'Driving By Plan',
|
||||||
// 退出计划
|
exitPlan: 'Exit Plan',
|
||||||
// 返回
|
back: 'Back',
|
||||||
// 三维视图
|
threeDimensionalView: 'Three-Dimensional View',
|
||||||
// 任务操作成功!
|
taskOperateSuccess: 'Task Operate success',
|
||||||
// 获取时间失败
|
getTimeFail: 'Failed to get time',
|
||||||
// 开始仿真失败,请返回重试
|
startSimulationFail: 'Start simulation failed, please go back and try again',
|
||||||
// 结束仿真失败,请返回
|
endSimulationFail: 'End simulation failed, please go back',
|
||||||
// 退出任务失败
|
exitTaskFail: 'Failed to Exit task',
|
||||||
// 司机视角
|
driverPerspective: 'Driver Perspective'
|
||||||
// 三维视图
|
|
||||||
},
|
},
|
||||||
systemTime: {
|
systemTime: {
|
||||||
timePause: 'Pausing'
|
timePause: 'Pausing'
|
||||||
@ -63,5 +62,18 @@ export default {
|
|||||||
screen: {
|
screen: {
|
||||||
trialTime: 'Trial time: ',
|
trialTime: 'Trial time: ',
|
||||||
getTimeFail: 'Failed to get time'
|
getTimeFail: 'Failed to get time'
|
||||||
|
},
|
||||||
|
replay: {
|
||||||
|
pleaseSelect: 'Please select',
|
||||||
|
back: 'Back',
|
||||||
|
pause: 'Pause',
|
||||||
|
play: 'Play'
|
||||||
|
},
|
||||||
|
plan: {
|
||||||
|
drivingByPlan: 'Driving By Plan',
|
||||||
|
exitPlan: 'Exit Plan',
|
||||||
|
back: 'Back',
|
||||||
|
startPlanFail: 'Start planning failed, please go back and try again',
|
||||||
|
endPlanFail: 'End plan failed, please go back'
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
@ -83,7 +83,40 @@ export default {
|
|||||||
trainingNotStart: "{name}'s room hasn't started yet",
|
trainingNotStart: "{name}'s room hasn't started yet",
|
||||||
inputRoomNumber: 'Please enter the room number.',
|
inputRoomNumber: 'Please enter the room number.',
|
||||||
chooseRoom: 'Choose Room',
|
chooseRoom: 'Choose Room',
|
||||||
|
|
||||||
month: ' month',
|
month: ' month',
|
||||||
|
indexA: ' piece',
|
||||||
|
purchasePrice: 'Total Price: ',
|
||||||
|
permissionNum: 'Permission Num: ',
|
||||||
|
submitOrders: 'Submit orders',
|
||||||
|
completePayment: 'Complete payment',
|
||||||
|
weChatPay: 'WeChat Pay',
|
||||||
|
alipayPayment: 'AliPay',
|
||||||
|
clickRefresh: 'Please click to refresh',
|
||||||
|
checkstand: 'Checkstand',
|
||||||
|
permissionType: 'Permission Type: ',
|
||||||
|
productName: 'Product Name',
|
||||||
|
simulationPrice: 'Simulation Unit Price',
|
||||||
|
yuanMonth: 'yuan/month',
|
||||||
|
permissions: ' permissions',
|
||||||
|
purchaseDuration: 'Purchase Duration: ',
|
||||||
|
custom: 'custom',
|
||||||
|
january: 'One month',
|
||||||
|
march: 'Three months',
|
||||||
|
year: 'One year',
|
||||||
|
twoYears: 'Two years',
|
||||||
|
fiveYears: 'Five years',
|
||||||
|
tenYears: 'Ten years',
|
||||||
|
orderCode: 'Order Code: ',
|
||||||
|
creationTime: 'Create Time: ',
|
||||||
|
amountPayable: 'Amounts Payable: ',
|
||||||
|
|
||||||
|
buyProject: 'The products you will purchase are virtual content services. After purchase, you will not be able to return, transfer or exchange. Please confirm.',
|
||||||
|
relatedServices: 'You can view and use the related services in the “Permissions Details” area after purchase.',
|
||||||
|
paymentSuccessful: 'Payment successful,click to return',
|
||||||
|
cancelSuccessfully: 'Cancel success,click to return',
|
||||||
|
paymentFailed: 'Payment failed,click to return',
|
||||||
|
|
||||||
putaway: 'Putaway',
|
putaway: 'Putaway',
|
||||||
soldOut: 'Sold out',
|
soldOut: 'Sold out',
|
||||||
exportMap: 'Export Map',
|
exportMap: 'Export Map',
|
||||||
|
@ -42,20 +42,19 @@ export default {
|
|||||||
getCourseInformationFail: '获取课程信息失败'
|
getCourseInformationFail: '获取课程信息失败'
|
||||||
},
|
},
|
||||||
demon: {
|
demon: {
|
||||||
// 试用时间:
|
trialTime: '试用时间:',
|
||||||
// 派班计划
|
dispatchingPlan: '派班计划',
|
||||||
// 退出剧本
|
exitScript: '退出剧本',
|
||||||
// 按计划行车
|
drivingByPlan: '按计划行车',
|
||||||
// 退出计划
|
exitPlan: '退出计划',
|
||||||
// 返回
|
back: '返回',
|
||||||
// 三维视图
|
threeDimensionalView: '三维视图',
|
||||||
// 任务操作成功!
|
taskOperateSuccess: '任务操作成功',
|
||||||
// 获取时间失败
|
getTimeFail: '获取时间失败',
|
||||||
// 开始仿真失败,请返回重试
|
startSimulationFail: '开始仿真失败,请返回重试',
|
||||||
// 结束仿真失败,请返回
|
endSimulationFail: '结束仿真失败,请返回',
|
||||||
// 退出任务失败
|
exitTaskFail: '退出任务失败',
|
||||||
// 司机视角
|
driverPerspective: '司机视角'
|
||||||
// 三维视图
|
|
||||||
},
|
},
|
||||||
systemTime: {
|
systemTime: {
|
||||||
timePause: '暂停中'
|
timePause: '暂停中'
|
||||||
@ -63,6 +62,19 @@ export default {
|
|||||||
screen: {
|
screen: {
|
||||||
trialTime: '试用时间:',
|
trialTime: '试用时间:',
|
||||||
getTimeFail: '获取时间失败'
|
getTimeFail: '获取时间失败'
|
||||||
|
},
|
||||||
|
replay: {
|
||||||
|
pleaseSelect: '请选择',
|
||||||
|
back: '返回',
|
||||||
|
pause: '暂停',
|
||||||
|
play: '播放'
|
||||||
|
},
|
||||||
|
plan: {
|
||||||
|
drivingByPlan: '按计划行车',
|
||||||
|
exitPlan: '退出计划',
|
||||||
|
back: '返回',
|
||||||
|
startPlanFail: '开始计划失败,请返回重试',
|
||||||
|
endPlanFail: '结束计划失败,请返回'
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
@ -2,21 +2,21 @@
|
|||||||
<div>
|
<div>
|
||||||
<div class="display-card" :style="{top: offset+'px'}">
|
<div class="display-card" :style="{top: offset+'px'}">
|
||||||
<el-row>
|
<el-row>
|
||||||
<span v-if="countTime" class="display-score">试用时间:{{ countTime }}</span>
|
<span v-if="countTime" class="display-score">{{$t('display.demon.trialTime')}} {{ countTime }}</span>
|
||||||
</el-row>
|
</el-row>
|
||||||
</div>
|
</div>
|
||||||
<div class="display-draft">
|
<div class="display-draft">
|
||||||
<el-button-group>
|
<el-button-group>
|
||||||
<el-button v-if="isShowScheduling" type="primary" @click="jumpScheduling">派班计划</el-button>
|
<el-button v-if="isShowScheduling" type="primary" @click="jumpScheduling">{{$t('display.demon.dispatchingPlan')}}</el-button>
|
||||||
<el-button type="jumpjlmap3d" @click="jumpjlmap3d">{{ jl3dname }}</el-button>
|
<el-button type="jumpjlmap3d" @click="jumpjlmap3d">{{ jl3dname }}</el-button>
|
||||||
<template v-if="isShowQuest">
|
<template v-if="isShowQuest">
|
||||||
<el-button type="danger" @click="handleQuitQuest">退出剧本</el-button>
|
<el-button type="danger" @click="handleQuitQuest">{{$t('display.demon.exitScript')}}</el-button>
|
||||||
</template>
|
</template>
|
||||||
<template v-else>
|
<template v-else>
|
||||||
<el-button type="success" :disabled="isDisable" @click="selectBeginTime">按计划行车</el-button>
|
<el-button type="success" :disabled="isDisable" @click="selectBeginTime">{{$t('display.demon.drivingByPlan')}}</el-button>
|
||||||
<el-button type="danger" :disabled="!isDisable" @click="end">退出计划</el-button>
|
<el-button type="danger" :disabled="!isDisable" @click="end">{{$t('display.demon.exitPlan')}}</el-button>
|
||||||
</template>
|
</template>
|
||||||
<el-button type="primary" @click="back">返回</el-button>
|
<el-button type="primary" @click="back">{{$t('display.demon.back')}}</el-button>
|
||||||
</el-button-group>
|
</el-button-group>
|
||||||
</div>
|
</div>
|
||||||
<set-time ref="setTime" @ConfirmSelectBeginTime="start" />
|
<set-time ref="setTime" @ConfirmSelectBeginTime="start" />
|
||||||
@ -72,7 +72,7 @@ export default {
|
|||||||
name: '',
|
name: '',
|
||||||
remarks: ''
|
remarks: ''
|
||||||
},
|
},
|
||||||
jl3dname: '三维视图'
|
jl3dname: this.$t('display.demon.threeDimensionalView')
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
@ -88,8 +88,8 @@ export default {
|
|||||||
this.group && this.initLoadPage();
|
this.group && this.initLoadPage();
|
||||||
},
|
},
|
||||||
'$store.state.socket.tipOperateCount': function (val) {
|
'$store.state.socket.tipOperateCount': function (val) {
|
||||||
this.$alert('任务操作成功!', '提示', {
|
this.$alert(this.$t('display.demon.taskOperateSuccess') , this.$t('global.tips'), {
|
||||||
confirmButtonText: '确定',
|
confirmButtonText: this.$t('global.confirm'),
|
||||||
callback: action => {
|
callback: action => {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@ -142,7 +142,7 @@ export default {
|
|||||||
}, 1000);
|
}, 1000);
|
||||||
}
|
}
|
||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
this.$messageBox(`获取时间失败`);
|
this.$messageBox(this.$t('display.demon.getTimeFail'));
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
selectBeginTime() {
|
selectBeginTime() {
|
||||||
@ -156,7 +156,7 @@ export default {
|
|||||||
});
|
});
|
||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
this.isDisable = false;
|
this.isDisable = false;
|
||||||
this.$messageBox('开始仿真失败,请返回重试');
|
this.$messageBox(this.$t('display.demon.startSimulationFail'));
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
end() {
|
end() {
|
||||||
@ -170,14 +170,14 @@ export default {
|
|||||||
});
|
});
|
||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
this.isDisable = true;
|
this.isDisable = true;
|
||||||
this.$messageBox('结束仿真失败,请返回');
|
this.$messageBox(this.$t('display.demon.endSimulationFail'));
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
handleQuitQuest() {
|
handleQuitQuest() {
|
||||||
quitScript(this.group).then(resp => {
|
quitScript(this.group).then(resp => {
|
||||||
this.$emit('quitQuest');
|
this.$emit('quitQuest');
|
||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
this.$messageBox('退出任务失败');
|
this.$messageBox(this.$t('display.demon.exitTaskFail'));
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
back() {
|
back() {
|
||||||
@ -208,9 +208,9 @@ export default {
|
|||||||
},
|
},
|
||||||
change3dname() {
|
change3dname() {
|
||||||
if (this.$route.query.prdType == '04') {
|
if (this.$route.query.prdType == '04') {
|
||||||
this.jl3dname = '司机视角';
|
this.jl3dname = this.$t('display.demon.driverPerspective');
|
||||||
} else {
|
} else {
|
||||||
this.jl3dname = '三维视图';
|
this.jl3dname = this.$t('display.demon.threeDimensionalView');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="display-draft">
|
<div class="display-draft">
|
||||||
<el-button-group>
|
<el-button-group>
|
||||||
<el-button type="success" :disabled="isDisable" @click="selectBeginTime">按计划行车</el-button>
|
<el-button type="success" :disabled="isDisable" @click="selectBeginTime">{{$t('display.plan.drivingByPlan')}}</el-button>
|
||||||
<el-button type="danger" :disabled="!isDisable" @click="end">退出计划</el-button>
|
<el-button type="danger" :disabled="!isDisable" @click="end">{{$t('display.plan.exitPlan')}}</el-button>
|
||||||
<el-button type="primary" @click="back">返回</el-button>
|
<el-button type="primary" @click="back">{{$t('display.plan.back')}}</el-button>
|
||||||
</el-button-group>
|
</el-button-group>
|
||||||
<set-time ref="setTime" @ConfirmSelectBeginTime="start" />
|
<set-time ref="setTime" @ConfirmSelectBeginTime="start" />
|
||||||
</div>
|
</div>
|
||||||
@ -74,7 +74,7 @@ export default {
|
|||||||
});
|
});
|
||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
this.isDisable = false;
|
this.isDisable = false;
|
||||||
this.$messageBox('开始计划失败,请返回重试');
|
this.$messageBox(this.$t('display.plan.startPlanFail'));
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
end() {
|
end() {
|
||||||
@ -88,7 +88,7 @@ export default {
|
|||||||
});
|
});
|
||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
this.isDisable = true;
|
this.isDisable = true;
|
||||||
this.$messageBox('结束计划失败,请返回');
|
this.$messageBox(this.$t('display.plan.endPlanFail'));
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
async back() {
|
async back() {
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
<div class="draft-menu">
|
<div class="draft-menu">
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="4">
|
<el-col :span="4">
|
||||||
<el-select v-model="speed" placeholder="请选择" @change="changeSpeed">
|
<el-select v-model="speed" :placeholder="$t('display.replay.pleaseSelect')" @change="changeSpeed">
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in optionsList"
|
v-for="item in optionsList"
|
||||||
:key="item.value"
|
:key="item.value"
|
||||||
@ -24,7 +24,7 @@
|
|||||||
<el-progress class="progress" :percentage="progress" style="width: 100%" :show-text="false" />
|
<el-progress class="progress" :percentage="progress" style="width: 100%" :show-text="false" />
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="2">
|
<el-col :span="2">
|
||||||
<el-button type="primary" class="back" @click="back">返回</el-button>
|
<el-button type="primary" class="back" @click="back">{{$t('display.replay.back')}}</el-button>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
</div>
|
</div>
|
||||||
@ -92,7 +92,7 @@ export default {
|
|||||||
'mapDeviceStatus'
|
'mapDeviceStatus'
|
||||||
]),
|
]),
|
||||||
playName() {
|
playName() {
|
||||||
return this.isPlay ? '暂停' : '播放';
|
return this.isPlay ? this.$t('display.replay.pause') : this.$t('display.replay.play');
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
|
Loading…
Reference in New Issue
Block a user