加序号

main
15036302109 3 months ago
parent 367a5fad28
commit a01234f924

@ -202,6 +202,11 @@
<el-table v-loading="loading" :data="ehsEnterpriseList" @selection-change="handleSelectionChange"> <el-table v-loading="loading" :data="ehsEnterpriseList" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center" /> <el-table-column type="selection" width="55" align="center" />
<!-- <el-table-column label="" align="center" prop="enterpriseId" />--> <!-- <el-table-column label="" align="center" prop="enterpriseId" />-->
<el-table-column label="序号" align="center">
<template slot-scope="scope">
<span>{{ Number(scope.$index) + 1 }}</span>
</template>
</el-table-column>
<el-table-column label="登记部门" align="center" prop="deptName" v-if="this.$store.state.user.parentId==0"/> <el-table-column label="登记部门" align="center" prop="deptName" v-if="this.$store.state.user.parentId==0"/>
<el-table-column label="社会信用代码" align="center" prop="enterpriseCode" /> <el-table-column label="社会信用代码" align="center" prop="enterpriseCode" />
<el-table-column label="名称" align="center" prop="enterpriseName" /> <el-table-column label="名称" align="center" prop="enterpriseName" />

@ -255,6 +255,11 @@
<el-table v-loading="loading" :data="ehsHiddenDangerList" @selection-change="handleSelectionChange" max-height="550" style="width: 100%" :row-class-name="tableRowClassName"> <el-table v-loading="loading" :data="ehsHiddenDangerList" @selection-change="handleSelectionChange" max-height="550" style="width: 100%" :row-class-name="tableRowClassName">
<!-- <el-table-column type="selection" width="55" align="center" />--> <!-- <el-table-column type="selection" width="55" align="center" />-->
<!-- <el-table-column label="主键" align="center" prop="hiddenDangerId" />--> <!-- <el-table-column label="主键" align="center" prop="hiddenDangerId" />-->
<el-table-column label="序号" align="center">
<template slot-scope="scope">
<span>{{ Number(scope.$index) + 1 }}</span>
</template>
</el-table-column>
<el-table-column label="上报部门" align="center" prop="deptName" v-if="deptShow"/> <el-table-column label="上报部门" align="center" prop="deptName" v-if="deptShow"/>
<el-table-column label="单位名称" align="center" prop="enterpriseName" > <el-table-column label="单位名称" align="center" prop="enterpriseName" >
<template slot-scope="scope"> <template slot-scope="scope">

@ -160,7 +160,11 @@
<el-table v-loading="loading" :data="ehsLawEnforceList" @selection-change="handleSelectionChange"> <el-table v-loading="loading" :data="ehsLawEnforceList" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center" /> <el-table-column type="selection" width="55" align="center" />
<el-table-column label="序号" align="center">
<template slot-scope="scope">
<span>{{ Number(scope.$index) + 1 }}</span>
</template>
</el-table-column>
<el-table-column label="单位名称" align="center" prop="enterpriseName" /> <el-table-column label="单位名称" align="center" prop="enterpriseName" />
<el-table-column label="地址" align="center" prop="location" /> <el-table-column label="地址" align="center" prop="location" />
<el-table-column label="负责人" align="center" prop="responsiblePerson" /> <el-table-column label="负责人" align="center" prop="responsiblePerson" />

@ -239,6 +239,11 @@
<el-table v-loading="loading" :data="ehsRiskList" @selection-change="handleSelectionChange" max-height="650" style="width: 100%"> <el-table v-loading="loading" :data="ehsRiskList" @selection-change="handleSelectionChange" max-height="650" style="width: 100%">
<el-table-column type="selection" width="55" align="center" /> <el-table-column type="selection" width="55" align="center" />
<el-table-column label="序号" align="center">
<template slot-scope="scope">
<span>{{ Number(scope.$index) + 1 }}</span>
</template>
</el-table-column>
<!-- <el-table-column label="" align="center" prop="riskId" />--> <!-- <el-table-column label="" align="center" prop="riskId" />-->
<el-table-column label="上报部门" align="center" prop="deptName" v-if="this.$store.state.user.parentId==0"/> <el-table-column label="上报部门" align="center" prop="deptName" v-if="this.$store.state.user.parentId==0"/>
<el-table-column label="风险点等级" align="center" prop="riskGrade"> <el-table-column label="风险点等级" align="center" prop="riskGrade">

Loading…
Cancel
Save