bug修复
This commit is contained in:
parent
70a71def55
commit
e9bd05f01f
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue