Merge remote-tracking branch 'origin/dev_2nd_20230213' into dev_2nd_20230213

This commit is contained in:
高嵩
2023-02-13 15:41:28 +08:00
2 changed files with 23 additions and 8 deletions
+13
View File
@@ -193,4 +193,17 @@
padding-top: 12px!important; padding-top: 12px!important;
padding-bottom: 12px!important; padding-bottom: 12px!important;
} }
.ant-tooltip-inner {
color: #333;
background-color: #fff !important;
}
.ant-tooltip-arrow::before {
background-color: #fff !important;
}
.ant-menu-inline-collapsed-tooltip a {
color: #333 !important;
}
</style> </style>
@@ -7,7 +7,7 @@
:components="drag(columns,'columns')" :components="drag(columns,'columns')"
:row-selection="{ fixed: true, selectedRowKeys: selectedRowKeys, onChange: onSelectChange }" :row-selection="{ fixed: true, selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
:pagination="false" :pagination="false"
:scroll="{x: true}" :scroll="{x: '100%'}"
:data-source="dataSource" :data-source="dataSource"
:loading="loading" :loading="loading"
:columns="columns" :columns="columns"
@@ -25,7 +25,7 @@
<span slot="operation" slot-scope="record" class="operate"> <span slot="operation" slot-scope="record" class="operate">
<a v-for="(ol,index) in OperationList" <a v-for="(ol,index) in OperationList"
@click="OperationClick(ol,record)"> @click="OperationClick(ol,record)">
<span class="text" v-if="ol.text==$t('edit')" v-has="'split:sarFileSplitItems:update'"> <span v-if="ol.text==$t('edit')" v-has="'split:sarFileSplitItems:update'">
{{ol.text}} {{ol.text}}
</span> </span>
<span class="text" v-if="ol.text==$t('delete')" v-has="'split:sarFileSplitItems:delete'"> <span class="text" v-if="ol.text==$t('delete')" v-has="'split:sarFileSplitItems:delete'">
@@ -35,12 +35,14 @@
</span> </span>
<span slot="urlClick" slot-scope="text,record"> <span slot="urlClick" slot-scope="text,record">
<a class="text" :title="text" @click="urlClick(text)"> <a class="text" :title="text" @click="urlClick(text)">
{{text && text.length > 18?text.slice(0,17)+'...':text}} <!-- {{text && text.length > 18?text.slice(0,17)+'...':text}}-->
{{text}}
</a> </a>
</span> </span>
<span slot="detailText" slot-scope="text,record"> <span slot="detailText" slot-scope="text,record">
<span class="text" :title="text"> <span :title="text">
{{text && text.length > 18?text.slice(0,17)+'...':text}} <!-- {{text && text.length > 18?text.slice(0,17)+'...':text}}-->
{{text}}
</span> </span>
</span> </span>
</a-table> </a-table>
@@ -186,7 +188,7 @@
customRender: 'urlClick' customRender: 'urlClick'
} }
}else if(res.db_field_name=='iterms_conditions'){ }else if(res.db_field_name=='iterms_conditions'){
this.columns[index].width='500' this.columns[index].width= 500
this.columns[index].scopedSlots = { this.columns[index].scopedSlots = {
customRender: 'showContent' customRender: 'showContent'
} }
@@ -296,7 +298,7 @@
.table{ .table{
.ant-table-row-cell-break-word{ .ant-table-row-cell-break-word{
span{ span{
display: block; //display: block;
width: inherit; width: inherit;
} }
@@ -317,7 +319,7 @@
} }
</style> </style>
<style lang="less" scoped> <style lang="less" scoped>
@import '~@assets/less/common.less'; @import'~@assets/less/common.less';
.ant-table td { .ant-table td {
white-space: nowrap; white-space: nowrap;