| | |
| | | value-format="yyyy-MM-dd" |
| | | start-placeholder="开始日期" |
| | | end-placeholder="结束日期" |
| | | :picker-options="pickerOptions" |
| | | style="width: 400px;" |
| | | /> |
| | | </el-col> |
| | |
| | | <el-table-column type="selection" width="55" /> |
| | | <el-table-column label="操作" width="100"> |
| | | <template slot-scope="scope"> |
| | | <el-button type="text" size="small" @click="editEmpBase(scope.row)">编辑 |
| | | </el-button> |
| | | <el-button |
| | | type="text" |
| | | size="small" |
| | | @click="editArchives(scope.row)" |
| | | > |
| | | 档案</el-button> |
| | | <el-button type="text" size="small" @click="editEmpBase(scope.row)">编辑</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="deptName" label="护卫点" width="100" /> |
| | |
| | | <el-button type="primary" @click="showDcyg(2)">确 定</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | <archives-edit |
| | | ref="article" |
| | | :dialog-visible="dialog.isVisible" |
| | | :title="dialog.title" |
| | | :type="dialog.type" |
| | | @close="editClose" |
| | | /> |
| | | </div> |
| | | </template> |
| | | <script> |
| | | |
| | | import { getToken } from '@/utils/auth' |
| | | import Pagination from '@/components/Pagination' |
| | | import Treeselect from '@riophae/vue-treeselect' |
| | | import '@riophae/vue-treeselect/dist/vue-treeselect.css' |
| | | import { calculateSeniority, toCardGetUserInfo } from '@/utils/myUtil' |
| | | import ArchivesEdit from './archivesEdit' |
| | | |
| | | export default { |
| | | components: { |
| | | ArchivesEdit, |
| | | Pagination, Treeselect |
| | | }, |
| | | data() { |
| | | return { |
| | | dialog: { |
| | | isVisible: false, |
| | | title: '', |
| | | type: '' |
| | | }, |
| | | total: 0, // 总数量 |
| | | queryParams: { |
| | | empNumb: '', |
| | |
| | | pagination: { // 分页参数 |
| | | size: 10, |
| | | num: 1 |
| | | }, |
| | | baseicInformationForm: { |
| | | }, |
| | | empBaseInfoForm: { |
| | | empId: '', |
| | |
| | | this.initDept() |
| | | }, |
| | | methods: { |
| | | editArchives(row) { |
| | | this.$refs.article.setArchives(row) |
| | | this.dialog.title = '档案管理' |
| | | this.dialog.isVisible = true |
| | | }, |
| | | editClose() { |
| | | this.dialog.isVisible = false |
| | | }, |
| | | resetSearch() { |
| | | this.queryParams = { |
| | | empNumb: '', |