forked from github/dataease
Merge pull request #4085 from dataease/pr@dev@refactor_app-template
refactor(应用): 优化应用复用历史数据源
This commit is contained in:
commit
a48ea79e9b
@ -57,30 +57,6 @@
|
|||||||
@setParams="setParams"
|
@setParams="setParams"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div
|
|
||||||
v-if="positionCheck('appMarket') && attachForm.datasourceFrom === 'history'"
|
|
||||||
class="de-ds-bottom"
|
|
||||||
>
|
|
||||||
<div
|
|
||||||
class="apply"
|
|
||||||
style="width: 100%"
|
|
||||||
>
|
|
||||||
<template v-if="canEdit">
|
|
||||||
<deBtn
|
|
||||||
secondary
|
|
||||||
@click="closeDraw"
|
|
||||||
>{{ $t('commons.cancel') }}
|
|
||||||
</deBtn>
|
|
||||||
<deBtn
|
|
||||||
v-if="formType === 'add'"
|
|
||||||
type="primary"
|
|
||||||
@click="saveAppMarketHistory"
|
|
||||||
>{{ $t('commons.save') }}
|
|
||||||
</deBtn>
|
|
||||||
</template>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
@ -325,7 +325,8 @@ export default {
|
|||||||
},
|
},
|
||||||
configFromTabs: {
|
configFromTabs: {
|
||||||
type: Object,
|
type: Object,
|
||||||
default: () => {}
|
default: () => {
|
||||||
|
}
|
||||||
},
|
},
|
||||||
canEdit: {
|
canEdit: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
@ -1308,12 +1309,11 @@ export default {
|
|||||||
display: flex;
|
display: flex;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
padding: 12px 24px 24px 24px;
|
|
||||||
background: #f5f6f7;
|
|
||||||
|
|
||||||
.de-ds-inner {
|
.de-ds-inner {
|
||||||
|
padding: 12px 24px 24px 24px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100;
|
height: 100%;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
@ -1327,4 +1327,27 @@ export default {
|
|||||||
padding-top: 24px;
|
padding-top: 24px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.de-ds-bottom {
|
||||||
|
display: flex;
|
||||||
|
text-align: right;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
height: 56px;
|
||||||
|
padding: 12px 24px;
|
||||||
|
box-shadow: 2px 2px 4px rgba(31, 35, 41, 0.08);
|
||||||
|
|
||||||
|
.name {
|
||||||
|
font-family: 'PingFang SC';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 500;
|
||||||
|
font-size: 16px;
|
||||||
|
line-height: 24px;
|
||||||
|
color: var(--deTextPrimary, #1f2329);
|
||||||
|
}
|
||||||
|
|
||||||
|
i {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
Loading…
Reference in New Issue
Block a user