Merge pull request #4261 from dataease/pr@dev@refactor_details-style

style: 明细导出等样式调整
This commit is contained in:
王嘉豪 2023-01-03 17:37:38 +08:00 committed by GitHub
commit 8ca993a5db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 52 additions and 50 deletions

View File

@ -284,7 +284,7 @@ export default {
return this.curComponent.type === 'view' && this.terminal === 'pc' && this.curComponent.propValue.innerType !== 'richTextView'
},
enlargeShow() {
return this.curComponent.type === 'view' && this.curComponent.propValue.innerType !== 'richTextView'
return this.curComponent.type === 'view' && this.curComponent.propValue.innerType !== 'richTextView' && !this.curComponent.propValue.innerType.includes('table')
},
selectFieldShow() {
return this.activeModel === 'edit' && this.curComponent.type === 'view' && this.curComponent.propValue.innerType === 'richTextView' && this.curComponent.editing

View File

@ -287,6 +287,9 @@ export default {
return this.$store.state.panel.mainActiveName
},
showUnpublishedArea() {
if (this.canvasId !== 'canvas-main') {
return false
}
if (this.showPosition === 'edit') {
return false
} else if (this.panelInfo && this.panelInfo.showType === 'view') {

View File

@ -226,7 +226,7 @@ export default {
.condition-main {
position: absolute;
overflow: auto;
overflow: hidden;
top: 0px;
right: 0px;
bottom: 0px;

View File

@ -93,7 +93,7 @@
</template>
<script>
import { loadTree, loadShareOutTree, removePanelShares } from '@/api/panel/share'
import { loadShareOutTree, loadTree, removePanelShares } from '@/api/panel/share'
import { uuid } from 'vue-uuid'
import { initPanelData, viewPanelLog } from '@/api/panel/panel'
import { proxyInitPanelData } from '@/api/panel/shareProxy'
@ -142,7 +142,6 @@ export default {
refreshMyShareOut() {
this.initOutData().then(res => {
this.outData = res.data
this.setMainNull()
})
},
initData() {
@ -228,57 +227,57 @@ export default {
</script>
<style lang="scss" scoped>
.header-title {
font-size: 14px;
flex: 1;
color: var(--TextPrimary, #606266);
font-weight: bold;
display: block;
height: 100%;
/*line-height: 36px;*/
}
.header-title {
font-size: 14px;
flex: 1;
color: var(--TextPrimary, #606266);
font-weight: bold;
display: block;
height: 100%;
/*line-height: 36px;*/
}
.msg-node-class {
.msg-node-class {
color: red;
::v-deep i {
color: red;
::v-deep i {
color: red;
}
}
}
.custom-tree-node {
flex: 1;
display: flex;
align-items: center;
justify-content: space-between;
font-size: 14px;
padding-right: 8px;
}
.custom-tree-node {
flex: 1;
display: flex;
align-items: center;
justify-content: space-between;
font-size: 14px;
padding-right: 8px;
}
.custom-tree-node-list {
flex: 1;
display: flex;
align-items: center;
justify-content: space-between;
font-size: 14px;
padding: 0 8px;
}
.custom-tree-node-list {
flex: 1;
display: flex;
align-items: center;
justify-content: space-between;
font-size: 14px;
padding: 0 8px;
}
.father .child {
/*display: none;*/
visibility: hidden;
}
.father .child {
/*display: none;*/
visibility: hidden;
}
.father:hover .child {
/*display: inline;*/
visibility: visible;
}
.father:hover .child {
/*display: inline;*/
visibility: visible;
}
.unpublished {
color: #b2b2b2
}
.unpublished {
color: #b2b2b2
}
.publish {
}
.publish {
}
</style>

View File

@ -79,7 +79,7 @@ export default {
}
},
activeName: function(newVal, oldVal) {
if (newVal !== 'PanelMain') {
if (newVal !== 'PanelList') {
this.clear()
}
}

View File

@ -17,7 +17,7 @@
style="border-bottom: 1px solid;border-bottom-color:#E6E6E6;"
>
<div style="height: 100%;">
<share-head />
<share-head/>
</div>
</el-row>
<el-row
@ -76,7 +76,7 @@
width="400"
trigger="click"
>
<panel-detail-info />
<panel-detail-info/>
<i
slot="reference"
class="el-icon-warning-outline icon-class"