fix:禅道349
This commit is contained in:
parent
33c97c1bd9
commit
3e9fc7f2c8
|
|
@ -67,6 +67,7 @@ const drawerVisible = ref(false);
|
||||||
const mode = ref('add');
|
const mode = ref('add');
|
||||||
const t_id = ref(null);
|
const t_id = ref(null);
|
||||||
const handleAdd = () => {
|
const handleAdd = () => {
|
||||||
|
t_id.value = null;
|
||||||
mode.value = 'add';
|
mode.value = 'add';
|
||||||
drawerVisible.value = true;
|
drawerVisible.value = true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -121,6 +121,20 @@ export default {
|
||||||
this.localMode = newVal;
|
this.localMode = newVal;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
beforeMount() {
|
||||||
|
this.formData = {
|
||||||
|
name: "",
|
||||||
|
description: "",
|
||||||
|
leader: null,
|
||||||
|
leader_name: "",
|
||||||
|
participants: "",
|
||||||
|
start_date: null,
|
||||||
|
end_date: null,
|
||||||
|
files: [],
|
||||||
|
files_: [],
|
||||||
|
note: "",
|
||||||
|
}
|
||||||
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
if (this.t_id) {
|
if (this.t_id) {
|
||||||
this.getTid();
|
this.getTid();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue