Commit b7de8631 by 张立顺

Merge branch 'SAAS+V4.54.0-0630' of http://192.168.3.233:8090/saas_plus/dj-car-l…

…ife-system into SAAS+V4.54.0-0630
2 parents 1e53bf3f ab7f7996
......@@ -19,6 +19,11 @@
<auth-button category="Button" />
</d2-table-header>
<d2-table ref="tmplTable" :get-list-api="getListApi" :search-form="searchFormSearch" :table-params="tableParams" :before-search-fn="beforeSearchFn">
<el-tooltip slot="fieldNames" slot-scope="scope" effect="dark" :content="scope.scope.fieldNames" placement="top">
<span class="fields-txt">
{{scope.scope.fieldNames}}
</span>
</el-tooltip>
<auth-button slot="auth-button" slot-scope="scope" :data="scope.scope" />
</d2-table>
</div>
......@@ -77,6 +82,7 @@ export default {
label: '对账字段',
prop: 'fieldNames',
width: '346px',
addHtml: 'fieldNames'
}, {
label: '创建人',
prop: 'createdBy',
......@@ -193,4 +199,11 @@ export default {
box-sizing: border-box;
margin-right: 10px;
}
.fields-txt {
width: 346px;
display: inline-block;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
</style>
......@@ -223,7 +223,7 @@ export default {
}
}
</script>
<style lang="scss">
<style lang="scss" scoped>
.relateEmp .tableCon {
display: flex;
gap: 10px;
......@@ -261,6 +261,12 @@ export default {
}
}
}
::v-deep .el-form {
display: flex;
}
::v-deep .el-form-item__content {
display: inline-block !important;
}
}
.service-store .relateEmp .el-table .cell,
.d2-form .relateEmp .el-table .cell {
......
......@@ -602,7 +602,6 @@ export default {
isOverlapping(range1, range2) {
const [min1, max1] = range1
const [min2, max2] = range2
console.log(range1, range2, Math.max(min1, min2), Math.min(max1, max2))
return Math.max(min1, min2) < Math.min(max1, max2)
},
// 范围校验器
......@@ -652,6 +651,11 @@ export default {
::v-deep .el-divider--horizontal {
margin: 16px 0;
}
::v-deep
.el-form-item.is-required:not(.is-no-asterisk)
> .el-form-item__label:before {
color: #f5f7fa;
}
}
.wrap {
padding: 16px 0;
......
......@@ -28,11 +28,14 @@
<template v-if="scope.scope.businessTypeList && scope.scope.businessTypeList.length">
<template v-for="(k, kIdx) in scope.scope.businessTypeList">
<div class="tb-row" v-if="k.businessSceneType != null" :key="kIdx">
<el-tooltip class="item" effect="dark" :content="scope.columnsObj.formatter(scope.scope, kIdx)" placement="top">
<span type="text">
{{scope.columnsObj.formatter(scope.scope, kIdx)}}
</span>
</el-tooltip>
<div v-if="['areaSupervisionList', 'onlineSupervisionList'].includes(scope.columnsObj.prop)">
<el-tooltip class="item" effect="dark" :content="scope.columnsObj.formatter(scope.scope, kIdx)" placement="top">
<span class="ellipsis-txt">
{{scope.columnsObj.formatter(scope.scope, kIdx)}}
</span>
</el-tooltip>
</div>
<span v-else>{{scope.columnsObj.formatter(scope.scope, kIdx)}}</span>
</div>
</template>
</template>
......@@ -42,11 +45,14 @@
<div v-if="scope.scope.businessTypeList && scope.scope.businessTypeList.length" :key="mIdx">
<template v-for="(k, kIdx) in scope.scope.businessTypeList">
<div class="tb-row" v-if="k.businessSceneType != null" :key="kIdx">
<el-tooltip class="item" effect="dark" :content="scope.columnsObj.formatter(scope.scope, kIdx)" placement="top">
<span type="text">
{{scope.columnsObj.formatter(scope.scope, kIdx)}}
</span>
</el-tooltip>
<div v-if="['areaSupervisionList', 'onlineSupervisionList'].includes(scope.columnsObj.prop)">
<el-tooltip class="item" effect="dark" :content="scope.columnsObj.formatter(scope.scope, kIdx)" placement="top">
<span class="ellipsis-txt">
{{scope.columnsObj.formatter(scope.scope, kIdx)}}
</span>
</el-tooltip>
</div>
<span v-else>{{scope.columnsObj.formatter(scope.scope, kIdx)}}</span>
</div>
</template>
</div>
......@@ -1491,4 +1497,12 @@ export default {
.m-t-40 {
margin-top: 40px;
}
.ellipsis-txt {
width: 150px;
display: inline-block;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
</style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!