| | |
| | | style="width: 100%;color: #000;" |
| | | > |
| | | <el-table-column type="selection" width="55" /> |
| | | <el-table-column label="操作" width="120"> |
| | | <el-table-column label="操作" width="130"> |
| | | <template slot-scope="scope"> |
| | | <!-- <el-button--> |
| | | <!-- type="text"--> |
| | |
| | | <!-- <el-button type="text" size="small" @click="editEmpBase(scope.row)">编辑</el-button>--> |
| | | |
| | | <span |
| | | style="color: #a00515;display: inline-block;width: 45%;cursor: pointer" |
| | | style="color: #a00515;display: inline-block;width: 40%;cursor: pointer" |
| | | @click="editArchives(scope.row)" |
| | | >档案</span> |
| | | <span |
| | | style="color: #a00515;display: inline-block;width: 45%;cursor: pointer" |
| | | style="color: #a00515;display: inline-block;width: 40%;cursor: pointer" |
| | | @click="editEmpBase(scope.row)" |
| | | >编辑</span> |
| | | </template> |
| | |
| | | }, // 查询参数 |
| | | sort: {}, // 排序 |
| | | pagination: { // 分页参数 |
| | | size: 10, |
| | | size: 12, |
| | | num: 1 |
| | | }, |
| | | baseicInformationForm: {}, |
| | |
| | | this.$refs[formName].validate((valid) => { |
| | | if (valid) { |
| | | if (this.isAdd) { |
| | | this.$post('hr/empBaseInfo', { ...this.empBaseInfoForm }).then(() => { |
| | | this.$post('hr/empBaseInfo', { ...this.empBaseInfoForm }).then((r) => { |
| | | r.data |
| | | this.buttonLoading = false |
| | | this.$message({ |
| | | message: this.$t('tips.createSuccess'), |