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