代码调整

This commit is contained in:
joylink_cuiweidong 2022-09-30 10:34:12 +08:00
parent dcfbe22510
commit 1fa85333ad
2 changed files with 20 additions and 0 deletions

View File

@ -22,6 +22,17 @@ export default {
labelWidth: '120px',
reset: true,
queryObject: {
markKey: {
type: 'text',
label: '配置编码'
},
project:{
type: 'select',
label: '关联项目',
config: {
data: []
}
}
}
},
projectMap:{},
@ -75,6 +86,7 @@ export default {
resp.data.forEach(each=>{
this.projectMap[each.value] = each;
});
this.queryForm.queryObject.project.config.data = Object.values(this.projectMap);
}
}).catch(error => {
console.log(error);

View File

@ -23,6 +23,14 @@ export default {
labelWidth: '120px',
reset: true,
queryObject: {
code: {
type: 'text',
label: '项目编码'
},
name: {
type: 'text',
label: '项目名称'
}
}
},
queryList: {