|
@@ -63,6 +63,7 @@ const intro = ref('')
|
|
const chartInfo = ref(null)
|
|
const chartInfo = ref(null)
|
|
const calendarType = ref('')
|
|
const calendarType = ref('')
|
|
const loading = ref(false)
|
|
const loading = ref(false)
|
|
|
|
+const WaterMark=ref(null)
|
|
async function getChartDetail() {
|
|
async function getChartDetail() {
|
|
loading.value = true
|
|
loading.value = true
|
|
const res = await apiETAChart.chartDetail({
|
|
const res = await apiETAChart.chartDetail({
|
|
@@ -75,6 +76,7 @@ async function getChartDetail() {
|
|
intro.value = res.Data.ChartInfo.Description
|
|
intro.value = res.Data.ChartInfo.Description
|
|
chartInfo.value = res.Data.ChartInfo
|
|
chartInfo.value = res.Data.ChartInfo
|
|
calendarType.value = res.Data.ChartInfo.Calendar
|
|
calendarType.value = res.Data.ChartInfo.Calendar
|
|
|
|
+ WaterMark.value=res.Data.WaterMark
|
|
//初始化上下限
|
|
//初始化上下限
|
|
isUseSelfLimit.value = true
|
|
isUseSelfLimit.value = true
|
|
setLimitData(res.Data)
|
|
setLimitData(res.Data)
|
|
@@ -143,6 +145,8 @@ function handleGoEdbSource(data) {
|
|
>来源:{{ JSON.parse(chartInfo.SourcesFrom).text }}</span
|
|
>来源:{{ JSON.parse(chartInfo.SourcesFrom).text }}</span
|
|
>
|
|
>
|
|
</div>
|
|
</div>
|
|
|
|
+ <!-- 图表水印 -->
|
|
|
|
+ <div class="chart-water-mark" :style="{backgroundImage:`url(${WaterMark})`}"></div>
|
|
</div>
|
|
</div>
|
|
<div class="table-wrap">
|
|
<div class="table-wrap">
|
|
<t-table
|
|
<t-table
|
|
@@ -194,8 +198,21 @@ function handleGoEdbSource(data) {
|
|
overflow: auto;
|
|
overflow: auto;
|
|
.chart-render-wrap {
|
|
.chart-render-wrap {
|
|
margin-bottom: 20px;
|
|
margin-bottom: 20px;
|
|
|
|
+ position: relative;
|
|
|
|
+ .chart-water-mark{
|
|
|
|
+ position: absolute;
|
|
|
|
+ left: 10%;
|
|
|
|
+ top: 10%;
|
|
|
|
+ width: 80%;
|
|
|
|
+ height: 80%;
|
|
|
|
+ background-size: contain;
|
|
|
|
+ background-repeat: no-repeat;
|
|
|
|
+ background-position: center center;
|
|
|
|
+ }
|
|
.chart-box {
|
|
.chart-box {
|
|
height: 600px;
|
|
height: 600px;
|
|
|
|
+ position: relative;
|
|
|
|
+ z-index: 10
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.instructions-wrap {
|
|
.instructions-wrap {
|