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