|
|
@@ -300,7 +300,6 @@
|
|
|
|
|
|
</el-row>
|
|
|
</el-form>
|
|
|
-
|
|
|
<el-form class="formDataInfo" label-position="top" ref="EntityFormCert" :model="supplierData">
|
|
|
<el-row :gutter="60">
|
|
|
<el-col :span="8">
|
|
|
@@ -370,6 +369,34 @@
|
|
|
</el-row>
|
|
|
|
|
|
</el-form>
|
|
|
+ <el-card class="box-card" v-if="supplierData.HseTraining === '1'">
|
|
|
+ <div slot="header" class="clearfix">
|
|
|
+ <span>HSE培训成绩</span>
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ <el-table size="mini" :data="HSEList" border>
|
|
|
+ <el-table-column label="序号" width="150" align="center" type="index"></el-table-column>
|
|
|
+ <el-table-column label="企业名称" min-width="300px" prop="SupplierName" sortable align="center"></el-table-column>
|
|
|
+ <el-table-column label="姓名" width="120px" prop="Name" sortable align="center"></el-table-column>
|
|
|
+ <el-table-column label="有效期" width="120px" prop="ApplyTime" sortable align="center">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ {{ jstimehandle(scope.row.ApplyTime+'') }}
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column label="考试成绩" width="120px" prop="Score" sortable align="center"></el-table-column>
|
|
|
+ <el-table-column label="培训开始日期" width="120px" prop="StartTime" sortable align="center">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ {{ jstimehandle(scope.row.StartTime+'') }}
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column label="培训结束日期" width="120px" prop="EndTime" sortable align="center">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ {{ jstimehandle(scope.row.EndTime+'') }}
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ </el-table>
|
|
|
+ </div>
|
|
|
+ </el-card>
|
|
|
</el-tab-pane>
|
|
|
<el-tab-pane label="企业情况">
|
|
|
<el-card class="box-card">
|
|
|
@@ -864,6 +891,7 @@
|
|
|
import PerformanceList from '@/components/oilsupplier/performancelist'
|
|
|
import PatentList from '@/components/oilsupplier/patentlist'
|
|
|
import WinningList from '@/components/oilsupplier/winninglist'
|
|
|
+ import hseApi from '@/api/hsescore/hsescore'
|
|
|
// v-viewer
|
|
|
import Vue from 'vue'
|
|
|
import Viewer from 'v-viewer'
|
|
|
@@ -911,6 +939,7 @@
|
|
|
}
|
|
|
}
|
|
|
return {
|
|
|
+ HSEList: [],
|
|
|
is_todo: '0',
|
|
|
equipmentList: [], // 企业主要设备
|
|
|
performanceList: [], // 近三年主要业绩
|
|
|
@@ -1274,6 +1303,19 @@
|
|
|
// this.changeOrgUnit(this.selectDept)
|
|
|
},
|
|
|
methods: {
|
|
|
+ hseList() {
|
|
|
+ if (this.formData.SupplierId) {
|
|
|
+ let params = {
|
|
|
+ SupplierId: this.formData.SupplierId,
|
|
|
+ IsThree: 1
|
|
|
+ }
|
|
|
+ hseApi.getSupplierHSEList(params, this.$axios).then(res => {
|
|
|
+ this.HSEList = res.data.items
|
|
|
+ }).catch(err => {
|
|
|
+ console.error(err)
|
|
|
+ })
|
|
|
+ }
|
|
|
+ },
|
|
|
initDatas () {
|
|
|
if (this.formData.Id) {
|
|
|
suppapi.getEntityAndCert(this.formData.SupplierCertId, this.$axios).then(res => {
|
|
|
@@ -1350,6 +1392,7 @@
|
|
|
this.getSupplierData()
|
|
|
this.isAccess()
|
|
|
this.initDatas()
|
|
|
+ this.hseList()
|
|
|
// 显示公司名
|
|
|
_this.supplierOptions = _this.formData.SupplierId.toString()
|
|
|
}).catch(err => {
|
|
|
@@ -2209,6 +2252,12 @@
|
|
|
} else if (val.BeChangeInfo == '5') {
|
|
|
return '内部多元准入'
|
|
|
}
|
|
|
+ } else if (val.SelectItem === 'HseTraining') {
|
|
|
+ if (val.BeChangeInfo === '0') {
|
|
|
+ return '否'
|
|
|
+ } else if (val.BeChangeInfo === '1') {
|
|
|
+ return '是'
|
|
|
+ }
|
|
|
} else if (val.SelectItem === 'CredentialFlag') {
|
|
|
if (val.BeChangeInfo == '1') {
|
|
|
return '三证合一'
|
|
|
@@ -2240,6 +2289,12 @@
|
|
|
} else if (val.ChangeInfo === '2') {
|
|
|
return '多元内部'
|
|
|
}
|
|
|
+ } else if (val.SelectItem === 'HseTraining') {
|
|
|
+ if (val.ChangeInfo === '0') {
|
|
|
+ return '否'
|
|
|
+ } else if (val.ChangeInfo === '1') {
|
|
|
+ return '是'
|
|
|
+ }
|
|
|
} else if (val.SelectItem === 'InStyle') {
|
|
|
if (val.ChangeInfo === '1') {
|
|
|
return '评审准入'
|