update code
parent
bea8384839
commit
78b2ba8750
|
@ -72,7 +72,7 @@
|
|||
</module-one-3-1>
|
||||
</el-col>
|
||||
<el-col :span="6">
|
||||
<module-one-1-1 :label="'专项培训('+WorkTrainCnt1+')'" style="position: relative;">
|
||||
<module-one-1-1 :label="'教育培训('+WorkTrainCnt1+')'" style="position: relative;">
|
||||
<img src="images/icon2001.png"
|
||||
style="position: absolute;cursor: pointer;right: 20px;top: 13px;z-index: 9;"
|
||||
@click="doShowWorkTrain(0)">
|
||||
|
@ -344,7 +344,7 @@ export default {
|
|||
//培训图表2
|
||||
WorkTrainCnt2:0,
|
||||
WorkTrainChart2:[],
|
||||
// 专项培训数据
|
||||
// 教育培训数据
|
||||
workTrainList: [],
|
||||
// 应急演练数据
|
||||
emergencyDrillList: [],
|
||||
|
@ -492,7 +492,7 @@ export default {
|
|||
},
|
||||
doShowDlgTrain(it, type) {
|
||||
if (type == "0") {
|
||||
it.title = "专项培训";
|
||||
it.title = "教育培训";
|
||||
it.typeTitle = "培训";
|
||||
} else {
|
||||
it.title = "应急演练";
|
||||
|
@ -595,13 +595,13 @@ export default {
|
|||
this.$refs.chart4.init(opt2);
|
||||
});
|
||||
},
|
||||
// 获取专项培训列表
|
||||
// 获取教育培训列表
|
||||
getWorkTrainList() {
|
||||
this.$api.workTrain.getWorkTrainList(0, this.dept?.id||0,this.projectInfo?.id||0).then(d => {
|
||||
this.workTrainList = d.rows;
|
||||
});
|
||||
},
|
||||
// 获取专项培训列表
|
||||
// 获取教育培训列表
|
||||
getEmergencyDrillList() {
|
||||
this.$api.workTrain.getWorkTrainList(1, this.dept?.id||0,this.projectInfo?.id||0).then(d => {
|
||||
this.emergencyDrillList = d.rows;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<MyDialog v-if="show" v-model="show" width="1600px" height="740px" class="work-train-dialog">
|
||||
<template slot="title">{{ trainType == 0 ? '专项培训' : '应急演练' }}{{ prjName ? ' - ' + prjName : '' }}</template>
|
||||
<template slot="title">{{ trainType == 0 ? '教育培训' : '应急演练' }}{{ prjName ? ' - ' + prjName : '' }}</template>
|
||||
<div class="head-title-tab" style="padding: 10px 0px;max-width: unset;">
|
||||
<div v-for="(it, idx) in dicts" :key="idx" :class="nav == it.dictValue ? 'head-nav active' : 'head-nav'" @click="doNav(it.dictValue)"
|
||||
>{{ it.dictLabel }}</div>
|
||||
|
@ -75,7 +75,7 @@ export default {
|
|||
methods: {
|
||||
doShowDlgTrain(it) {
|
||||
if (this.trainType == 0) {
|
||||
it.title = "专项培训";
|
||||
it.title = "教育培训";
|
||||
it.typeTitle = "培训";
|
||||
} else {
|
||||
it.title = "应急演练";
|
||||
|
|
Loading…
Reference in New Issue