|
@@ -122,7 +122,7 @@ import Treeselect from "@riophae/vue-treeselect";
|
|
|
import "@riophae/vue-treeselect/dist/vue-treeselect.css";
|
|
|
|
|
|
export default {
|
|
|
- name: "Leave",
|
|
|
+ name: "LeaveSelect",
|
|
|
components: { Treeselect },
|
|
|
dicts: ["app_leave"],
|
|
|
data() {
|
|
@@ -163,6 +163,7 @@ export default {
|
|
|
deptName: null,
|
|
|
leaveUserId: null,
|
|
|
leaveUserName: null,
|
|
|
+ id:null
|
|
|
},
|
|
|
// 表单参数
|
|
|
form: {},
|
|
@@ -199,6 +200,7 @@ export default {
|
|
|
},
|
|
|
};
|
|
|
},
|
|
|
+
|
|
|
created() {
|
|
|
this.queryParams.type = this.$route.query.type;
|
|
|
this.getList();
|