style: 明细导出等样式调整

This commit is contained in:
wangjiahao 2023-01-03 17:26:33 +08:00
parent 6c1cf41828
commit e225a60b95
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' return this.curComponent.type === 'view' && this.terminal === 'pc' && this.curComponent.propValue.innerType !== 'richTextView'
}, },
enlargeShow() { 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() { selectFieldShow() {
return this.activeModel === 'edit' && this.curComponent.type === 'view' && this.curComponent.propValue.innerType === 'richTextView' && this.curComponent.editing 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 return this.$store.state.panel.mainActiveName
}, },
showUnpublishedArea() { showUnpublishedArea() {
if (this.canvasId !== 'canvas-main') {
return false
}
if (this.showPosition === 'edit') { if (this.showPosition === 'edit') {
return false return false
} else if (this.panelInfo && this.panelInfo.showType === 'view') { } else if (this.panelInfo && this.panelInfo.showType === 'view') {

View File

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

View File

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

View File

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

View File

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