我的待办:设备审批增加 设备名称显示字段

This commit is contained in:
guoyue 2022-10-17 14:39:29 +08:00
parent 587c728a74
commit b66a781b81
1 changed files with 9 additions and 2 deletions

View File

@ -12,15 +12,22 @@
<el-table v-loading="dataListLoading" :data="dataList" border style="width: 100%"> <el-table v-loading="dataListLoading" :data="dataList" border style="width: 100%">
<el-table-column prop="title" label="申请标题" header-align="center" align="center"></el-table-column> <el-table-column prop="title" label="申请标题" header-align="center" align="center"></el-table-column>
<el-table-column prop="name" label="申请人信息" header-align="center" align="center"></el-table-column> <el-table-column prop="name" label="申请人信息" header-align="center" align="center"></el-table-column>
<el-table-column label="设备名称" header-align="center" align="center">
<template slot-scope="scope">
<span class="demand-text">{{
(scope.row && scope.row.tbDeviceDTO && scope.row.tbDeviceDTO.name)
}}</span>
</template>
</el-table-column>
<el-table-column prop="state" label="审批状态" header-align="center" align="center"> <el-table-column prop="state" label="审批状态" header-align="center" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{wrjStateObj[scope.row.state]}}</span> <span>{{wrjStateObj[scope.row.state]}}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="phone" label="电话" header-align="center" align="center"></el-table-column> <!-- <el-table-column prop="phone" label="电话" header-align="center" align="center"></el-table-column>
<el-table-column prop="dept" label="单位" header-align="center" align="center"></el-table-column> <el-table-column prop="dept" label="单位" header-align="center" align="center"></el-table-column>
<el-table-column prop="applicationSystem" label="应用系统" header-align="center" align="center"> <el-table-column prop="applicationSystem" label="应用系统" header-align="center" align="center">
</el-table-column> </el-table-column> -->
<el-table-column label="应用领域" header-align="center" align="center"> <el-table-column label="应用领域" header-align="center" align="center">
<template slot-scope="scope" v-if="scope.row.applicationArea"> <template slot-scope="scope" v-if="scope.row.applicationArea">
<span class="area-text" v-for="(x,i) in JSON.parse(scope.row.applicationArea)" <span class="area-text" v-for="(x,i) in JSON.parse(scope.row.applicationArea)"