全部版块 我的主页
论坛 数据科学与人工智能 IT基础 JAVA语言开发
507 0
2022-08-30
``clike
<!-- 是否涉及处罚 -->
          <el-table-column
            label="是否涉及处罚"
            align="center"
            prop="punish"
            width="140"
            :formatter="formatterPunish"
          />
          <el-table-column
            label="是否离职"
            align="center"
            width="80"
            prop="punish"
          >
            <template slot-scope="scope">
              <dict-tag :options="punishOptions" :value="scope.row.punish" />
            </template>
          </el-table-column>
          <el-table-column
            label="处罚信息"
            align="center"
            prop="information"
            :show-overflow-tooltip="true"
          />

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
formatterPunish(row, column) {
if (row.punish == “0”) {
return 是;
} else {
return 否;
}
},


二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群