企业库修改
This commit is contained in:
parent
e8088fa2a9
commit
5c27491af5
|
|
@ -82,9 +82,11 @@ export default {
|
|||
},
|
||||
// 获取详情
|
||||
async getDetail() {
|
||||
const res = await getDetailDataAPI({ enterpriseId: this.enterpriseId })
|
||||
console.log('res:', res);
|
||||
this.detailData = res.data;
|
||||
if (this.type === 'edit') {
|
||||
const res = await getDetailDataAPI({ enterpriseId: this.enterpriseId })
|
||||
console.log('res:', res);
|
||||
this.detailData = res.data;
|
||||
}
|
||||
},
|
||||
// 保存
|
||||
async handleSave() {
|
||||
|
|
@ -123,7 +125,7 @@ export default {
|
|||
}
|
||||
|
||||
console.log('所有表单校验通过,完整数据:', formData)
|
||||
|
||||
|
||||
let allFiles = formData.allFiles.map(file => {
|
||||
return file?.response?.fileRes ? {
|
||||
...file.response.fileRes,
|
||||
|
|
|
|||
|
|
@ -248,7 +248,7 @@ export default {
|
|||
.app-container {
|
||||
padding: 20px;
|
||||
background: linear-gradient( 180deg, #F1F6FF 20%, #E5EFFF 100%);
|
||||
max-height: 100vh;
|
||||
min-height: calc(100vh - 85px);
|
||||
}
|
||||
|
||||
.page-header {
|
||||
|
|
|
|||
Loading…
Reference in New Issue