bug修复

This commit is contained in:
jjLv 2024-09-23 16:50:04 +08:00
parent 70a71def55
commit e9bd05f01f
1 changed files with 2 additions and 4 deletions

View File

@ -146,11 +146,11 @@ export default {
},
components: {},
created() {
// this.getRanges();
},
async mounted() {
this.open = true
await this.getRanges();
console.log(this.editParams);
if (this.editParams) {
await Object.assign(this.projectParams, this.editParams);
//
@ -264,14 +264,12 @@ export default {
let deptRes = await queryProjDeptListApi({
isAll: 0,
});
console.log(deptRes);
this.departRange = deptRes.data.map((item) => {
return {
label: item.departName,
value: item.dictCode,
value: item.id,
};
});
console.log(this.departRange);
//
let projRes = await queryProjApi({
isAll: 0,