中建四(安全教育):添加入职培训教育类型

This commit is contained in:
骆乐 2022-09-17 15:59:01 +08:00
parent 34b1d91daf
commit 03501b6c0f
5 changed files with 27 additions and 6 deletions

View File

@ -14,10 +14,11 @@ var PROJECT = {
local_test: 'common', // 普通版 local_test: 'common', // 普通版
online_hq: 'hengqin', // 横琴 online_hq: 'hengqin', // 横琴
online_zjsj: 'zjsj', // 中建四局 online_zjsj: 'zjsj', // 中建四局
online_gxlt: 'gxlt', // 中建四局
} }
var PROJECT_TYPE = PROJECT.local_test var PROJECT_TYPE = PROJECT.online_zjsj
var headerShow = true; // 是否显示头部 var headerShow = true; // 是否显示头部
var tabsShow = true; // 是否显示tabs var tabsShow = true; // 是否显示tabs

View File

@ -61,6 +61,18 @@ export default {
'每日交底(安全技术交底)', '每日交底(安全技术交底)',
'每日交底(大工程交底)', '每日交底(大工程交底)',
], ],
educateTypeList2:[
'入场安全教育',
'日常安全教育',
'每日安全交底',
'VR安全教育',
'班前教育',
'日常教育(日常违规教育)',
'每日交底(专项方案交底)',
'每日交底(安全技术交底)',
'每日交底(大工程交底)',
'入职培训'
],
signInInfo:'签到信息', signInInfo:'签到信息',
trainVideo:'教学视频上传', trainVideo:'教学视频上传',
photo:'培训照片', photo:'培训照片',

View File

@ -382,7 +382,7 @@ function getPubKey(callback) {
// 监听滚动条 // 监听滚动条
window.addEventListener('scroll', () => { window.addEventListener('scroll', () => {
console.log('滚动条') // console.log('滚动条')
if(oWebControl != null){ if(oWebControl != null){
width = document.getElementById('videoOverview').offsetWidth-20 width = document.getElementById('videoOverview').offsetWidth-20
height = document.getElementById('videoOverview').offsetHeight-18 height = document.getElementById('videoOverview').offsetHeight-18

View File

@ -45,8 +45,8 @@ export default new Vuex.Store({
// UPLOADURL:'http://10.0.1.43:6023/upload/image',//测试 // UPLOADURL:'http://10.0.1.43:6023/upload/image',//测试
// FILEURL:'http://10.0.1.43:6023/image/',//测试 // FILEURL:'http://10.0.1.43:6023/image/',//测试
BASEURL: baseUrl ? baseUrl : window.location.protocol + '//' + window.location.host + '/', // BASEURL: baseUrl ? baseUrl : window.location.protocol + '//' + window.location.host + '/', //
UPLOADURL: window.location.protocol + '//' + window.location.host + '/upload/image', // // UPLOADURL: window.location.protocol + '//' + window.location.host + '/upload/image', //
FILEURL: window.location.protocol + '//' + window.location.host + '/image/', //测试 // tag: 本地测试接口 // FILEURL: window.location.protocol + '//' + window.location.host + '/image/', //测试 // tag: 本地测试接口
/* 2022-05-16 */ /* 2022-05-16 */
// tag: 部署河南项目时,需要打开这两行代码 // tag: 部署河南项目时,需要打开这两行代码
// UPLOADURL: 'http://124.71.178.44:100/upload/image', // UPLOADURL: 'http://124.71.178.44:100/upload/image',
@ -56,8 +56,8 @@ export default new Vuex.Store({
// UPLOADURL: 'http://182.90.224.237:7000/upload/image', // UPLOADURL: 'http://182.90.224.237:7000/upload/image',
// FILEURL: 'http://182.90.224.237:7000/image/', // FILEURL: 'http://182.90.224.237:7000/image/',
// 邱平毅的 // 邱平毅的
// UPLOADURL: 'http://192.168.34.216:6023/upload/image', UPLOADURL: 'http://192.168.34.216:6023/upload/image',
// FILEURL: 'http://192.168.34.216:6023/image/', FILEURL: 'http://192.168.34.216:6023/image/',
// UPLOADURL:'http://'+"61.190.32.219:9050"+'/upload/image',//正式 // UPLOADURL:'http://'+"61.190.32.219:9050"+'/upload/image',//正式
// FILEURL:'http://'+"61.190.32.219:9050"+'/image/',//正式 // FILEURL:'http://'+"61.190.32.219:9050"+'/image/',//正式

View File

@ -577,10 +577,18 @@ export default {
isAdd: false, isAdd: false,
allPersonList: [], allPersonList: [],
educateTypeList: this.$t("message.laborDev.educateTypeList"), educateTypeList: this.$t("message.laborDev.educateTypeList"),
projectType: "",
selectWorkerDialog: false, selectWorkerDialog: false,
detailDialog: false, detailDialog: false,
}; };
}, },
created(){
this.projectType = PROJECT_TYPE;
if(this.projectType == "zjsj"){
this.educateTypeList = this.$t("message.laborDev.educateTypeList2")
}
},
mounted() { mounted() {
this.loadAllPerson(); this.loadAllPerson();
this.loadCardData(); this.loadCardData();