|
@@ -184,6 +184,9 @@
|
|
ref="chartRef"
|
|
ref="chartRef"
|
|
/>
|
|
/>
|
|
</div>
|
|
</div>
|
|
|
|
+ <span class="chart-source" v-if="chartInfo.SourcesFrom.isShow&&chartInfo.SourcesFrom.text">
|
|
|
|
+ 数据来源:{{ chartInfo.SourcesFrom.text }}
|
|
|
|
+ </span>
|
|
<span class="chart-author"
|
|
<span class="chart-author"
|
|
>{{$t('MsgPrompt.author')}}:{{ chartInfo.SysUserRealName }}</span
|
|
>{{$t('MsgPrompt.author')}}:{{ chartInfo.SysUserRealName }}</span
|
|
>
|
|
>
|
|
@@ -298,6 +301,7 @@
|
|
:type="classifyDiaType"
|
|
:type="classifyDiaType"
|
|
:formData="classifyForm"
|
|
:formData="classifyForm"
|
|
@sucessCallback="sucessCallback"
|
|
@sucessCallback="sucessCallback"
|
|
|
|
+ @closeDia="classifyDia = false"
|
|
/>
|
|
/>
|
|
|
|
|
|
<!-- 加入我的图库弹窗 -->
|
|
<!-- 加入我的图库弹窗 -->
|
|
@@ -349,6 +353,7 @@ import setEnNameDia from "@/views/dataEntry_manage/components/setEnNameDia.vue";
|
|
import { chartSetMixin } from "@/views/dataEntry_manage/mixins/chartPublic";
|
|
import { chartSetMixin } from "@/views/dataEntry_manage/mixins/chartPublic";
|
|
import { copyOtherOptions } from '@/utils/defaultOptions';
|
|
import { copyOtherOptions } from '@/utils/defaultOptions';
|
|
import setLangInfoDia from '@/views/dataEntry_manage/components/setLangInfo.vue'
|
|
import setLangInfoDia from '@/views/dataEntry_manage/components/setLangInfo.vue'
|
|
|
|
+import { baseSourcesFrom } from './utils/config'
|
|
export default {
|
|
export default {
|
|
components: {
|
|
components: {
|
|
changeLang,
|
|
changeLang,
|
|
@@ -853,6 +858,12 @@ export default {
|
|
}, 1200);
|
|
}, 1200);
|
|
})
|
|
})
|
|
if(this.chartInfo.Source === 3) {
|
|
if(this.chartInfo.Source === 3) {
|
|
|
|
+ const SourcesFrom = this.chartInfo.SourcesFrom
|
|
|
|
+ try{
|
|
|
|
+ this.chartInfo.SourcesFrom = SourcesFrom?JSON.parse(SourcesFrom):baseSourcesFrom
|
|
|
|
+ }catch(e){
|
|
|
|
+ this.chartInfo.SourcesFrom = baseSourcesFrom
|
|
|
|
+ }
|
|
this.relevanceChartData = {
|
|
this.relevanceChartData = {
|
|
ChartInfo: res.Data.ChartInfo,
|
|
ChartInfo: res.Data.ChartInfo,
|
|
EdbInfoList: res.Data.EdbInfoList,
|
|
EdbInfoList: res.Data.EdbInfoList,
|
|
@@ -861,7 +872,7 @@ export default {
|
|
YDataList: [
|
|
YDataList: [
|
|
{
|
|
{
|
|
Value: res.Data.YDataList[0].Value,
|
|
Value: res.Data.YDataList[0].Value,
|
|
- Color: "#00f",
|
|
|
|
|
|
+ Color: res.Data.YDataList[0].Color,
|
|
Name: res.Data.ChartInfo.ChartName,
|
|
Name: res.Data.ChartInfo.ChartName,
|
|
NameEn: res.Data.ChartInfo.ChartNameEn
|
|
NameEn: res.Data.ChartInfo.ChartNameEn
|
|
},
|
|
},
|