|
|
@@ -388,7 +388,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-import { listEmployee, listEmployee, delEmployee, addEmployee, updateEmployee, exportEmployee } from "@/api/personnel/employee/index";
|
|
|
+import { listEmployee, getEmployee, delEmployee, addEmployee, updateEmployee, exportEmployee } from "@/api/personnel/employee/index";
|
|
|
import Treeselect from "@riophae/vue-treeselect";
|
|
|
import "@riophae/vue-treeselect/dist/vue-treeselect.css";
|
|
|
import { listDept } from "@/api/system/dept";
|
|
|
@@ -552,7 +552,7 @@ export default {
|
|
|
handleDetail(row) {
|
|
|
this.reset();
|
|
|
const id = row.id;
|
|
|
- listEmployee(id).then(response => {
|
|
|
+ getEmployee(id).then(response => {
|
|
|
this.form = response.data;
|
|
|
this.openDetail = true;
|
|
|
this.title = "详情";
|
|
|
@@ -562,7 +562,7 @@ export default {
|
|
|
handleUpdate(row) {
|
|
|
this.reset();
|
|
|
const id = row.id;
|
|
|
- listEmployee(id).then(response => {
|
|
|
+ getEmployee(id).then(response => {
|
|
|
this.form = response.data;
|
|
|
this.open = true;
|
|
|
this.title = "修改";
|