|
@@ -264,9 +264,9 @@ const { form, projectsCheck, projectsList, userList, userDate, saveTime } = toRe
|
|
|
* @初始化
|
|
|
*/
|
|
|
function init() {
|
|
|
- dUserList().then((res) => {
|
|
|
- state.userDate = res.data;
|
|
|
- });
|
|
|
+ // dUserList().then((res) => {
|
|
|
+ // state.userDate = res.data;
|
|
|
+ // });
|
|
|
|
|
|
|
|
|
}
|
|
@@ -468,7 +468,8 @@ watch(
|
|
|
state.projectsCheck.push(e.projectId);
|
|
|
});
|
|
|
var ccTo = state.form.ccTo.length > 0 ? state.form.ccTo.split(",").map((num) => Number(num)) : [];
|
|
|
- // setTimeout(function () {
|
|
|
+ dUserList().then((res) => {
|
|
|
+ state.userDate = res.data;
|
|
|
state.userDate.forEach((e) => {
|
|
|
if (ccTo.includes(e.userId)) {
|
|
|
state.userList.push({
|
|
@@ -487,7 +488,7 @@ watch(
|
|
|
});
|
|
|
}
|
|
|
});
|
|
|
- // }, 300);
|
|
|
+ });
|
|
|
|
|
|
if(!state.form.id){
|
|
|
storageSystem.set("project", state);
|