|
@@ -21,6 +21,7 @@ const SaveVisible = ref(false)
|
|
|
interface ManagementItem {
|
|
interface ManagementItem {
|
|
|
title: string
|
|
title: string
|
|
|
switchValue: boolean
|
|
switchValue: boolean
|
|
|
|
|
+ isRevenueDisplay: boolean
|
|
|
text: string
|
|
text: string
|
|
|
id: number
|
|
id: number
|
|
|
title1: string
|
|
title1: string
|
|
@@ -799,9 +800,10 @@ const ClickParams = (val: any) => {
|
|
|
<div class="management_content" v-for="(item, index) in Management" :key="index">
|
|
<div class="management_content" v-for="(item, index) in Management" :key="index">
|
|
|
<div class="management_flex">
|
|
<div class="management_flex">
|
|
|
<div class="content_title">{{ item.title }}</div>
|
|
<div class="content_title">{{ item.title }}</div>
|
|
|
- <div><el-switch v-model="item.switchValue" /></div>
|
|
|
|
|
|
|
+ <div><el-switch v-model="item.switchValue" :disabled="item.isRevenueDisplay != undefined && item.isRevenueDisplay == false" /></div>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="content_text">{{ item.text }}</div>
|
|
<div class="content_text">{{ item.text }}</div>
|
|
|
|
|
+ <div class="content_text_warining" v-if="item.title == 'Revenue Spent'">*To ensure the accuracy of the data display, this report needs to be configured and displayed after communicating clearly with Sales.</div>
|
|
|
</div>
|
|
</div>
|
|
|
<el-divider />
|
|
<el-divider />
|
|
|
<div class="tips">
|
|
<div class="tips">
|
|
@@ -1265,6 +1267,11 @@ const ClickParams = (val: any) => {
|
|
|
font-size: var(--font-size-2);
|
|
font-size: var(--font-size-2);
|
|
|
line-height: 16px;
|
|
line-height: 16px;
|
|
|
}
|
|
}
|
|
|
|
|
+.content_text_warining {
|
|
|
|
|
+ color: var(--color-warning);
|
|
|
|
|
+ font-size: var(--font-size-2);
|
|
|
|
|
+ line-height: 16px;
|
|
|
|
|
+}
|
|
|
.tips {
|
|
.tips {
|
|
|
display: flex;
|
|
display: flex;
|
|
|
justify-content: center;
|
|
justify-content: center;
|