From 1cab74c1a81df1160f11745b9a53142a21b99d73 Mon Sep 17 00:00:00 2001
From: luoyb <412940104@qq.com>
Date: 星期二, 27 四月 2021 20:22:37 +0800
Subject: [PATCH] fix(bug修复): 员工附件增加了相关证件查询
---
src/views/yunpan/fujian.vue | 28 +++++++++++++++++++++++++++-
1 files changed, 27 insertions(+), 1 deletions(-)
diff --git a/src/views/yunpan/fujian.vue b/src/views/yunpan/fujian.vue
index 4566965..e6c26be 100644
--- a/src/views/yunpan/fujian.vue
+++ b/src/views/yunpan/fujian.vue
@@ -211,6 +211,21 @@
</el-checkbox-group>
</td>
</tr>
+ <tr>
+ <td class="td">相关证件:</td>
+ <td class="td-group">
+ <el-checkbox-group v-model="queryform.certificateList" class="fj-checkbox">
+ <el-checkbox label="" @change="selectAllCertificateList">全部</el-checkbox>
+ <el-checkbox
+ v-for="data in certificateListOptions"
+ :key="data.dicItemName"
+ :label="data.dicItemCode"
+ >
+ {{ data.dicItemName }}
+ </el-checkbox>
+ </el-checkbox-group>
+ </td>
+ </tr>
</table>
</el-col>
</el-row>
@@ -441,7 +456,8 @@
empCardStatus: [],
handbookStatus: [],
empType: [],
- entryType: []
+ entryType: [],
+ certificateList: []
},
total: 0, // 总数量
pagination: { // 分页参数
@@ -530,6 +546,9 @@
})
this.getDicts('INSURANCETYPE').then(response => {
this.insuranceTypeOptions = response.data
+ })
+ this.getDicts('certificateList').then(response => {
+ this.certificateListOptions = response.data
})
},
methods: {
@@ -786,6 +805,13 @@
this.queryform.inOutType = []
}
},
+ selectAllCertificateList(val) {
+ if (val) {
+ this.queryform.certificateList = this.dicListToArr(this.certificateListOptions)
+ } else {
+ this.queryform.certificateList = []
+ }
+ },
// dic列表转为数组
dicListToArr(dicList) {
var arr = []
--
Gitblit v1.8.0