|
@@ -273,62 +273,7 @@ export default {
|
|
|
mounted() {
|
|
|
this.echarts_ld = this.$refs.echarts_ld;
|
|
|
this.userInfo = JSON.parse(oSessionStorage.getItem("userInfo"));
|
|
|
- //查询用户下边的计划
|
|
|
- this.searchTarget();
|
|
|
- //获取渠道信息
|
|
|
- // this.option.radar.indicator=[] //name
|
|
|
- this.option = {
|
|
|
- title: {
|
|
|
- // text: 'Basic Radar Chart'
|
|
|
- },
|
|
|
- legend: {
|
|
|
- // data: ['Allocated Budget', 'Actual Spending']
|
|
|
- },
|
|
|
- radar: {
|
|
|
- shape: "square", //设置雷达图形状,值有circle、square,默认为方形
|
|
|
- splitNumber: 3, // 雷达图圈数设置
|
|
|
- // shape: 'circle',
|
|
|
- indicator: this.echarts_name_list,
|
|
|
- name: {
|
|
|
- //修改indicator文字的颜色
|
|
|
- textStyle: {
|
|
|
- // color: "#999999",
|
|
|
- },
|
|
|
- },
|
|
|
- },
|
|
|
- series: [
|
|
|
- {
|
|
|
- type: "radar",
|
|
|
- symbolSize: 6,
|
|
|
- data: [
|
|
|
- {
|
|
|
- value: this.echarts_data_list,
|
|
|
- lineStyle: {
|
|
|
- normal: {
|
|
|
- color: "#FF1E00",
|
|
|
- },
|
|
|
- },
|
|
|
- //折线拐点颜色
|
|
|
- itemStyle: {
|
|
|
- normal: {
|
|
|
- color: "#FF1E00",
|
|
|
- borderWidth: 3, //拐点边框大小
|
|
|
- },
|
|
|
- // emphasis: {
|
|
|
- // color: '#000000'//hover拐点颜色定义
|
|
|
- // }
|
|
|
- },
|
|
|
- // name: 'Actual Spending'
|
|
|
- areaStyle: {
|
|
|
- //阴影区域背景
|
|
|
- // color: 'rgba(255, 228, 52, 0.6)'
|
|
|
- color: "#F8B4AB",
|
|
|
- },
|
|
|
- },
|
|
|
- ],
|
|
|
- },
|
|
|
- ],
|
|
|
- };
|
|
|
+
|
|
|
},
|
|
|
methods: {
|
|
|
forMatCom(val) {
|
|
@@ -530,6 +475,61 @@ export default {
|
|
|
open(val) {
|
|
|
this.proDataLin = val;
|
|
|
this.dialogVisible = true;
|
|
|
+ //查询用户下边的计划
|
|
|
+ //获取渠道信息
|
|
|
+ // this.option.radar.indicator=[] //name
|
|
|
+ this.option = {
|
|
|
+ title: {
|
|
|
+ // text: 'Basic Radar Chart'
|
|
|
+ },
|
|
|
+ legend: {
|
|
|
+ // data: ['Allocated Budget', 'Actual Spending']
|
|
|
+ },
|
|
|
+ radar: {
|
|
|
+ shape: "square", //设置雷达图形状,值有circle、square,默认为方形
|
|
|
+ splitNumber: 3, // 雷达图圈数设置
|
|
|
+ // shape: 'circle',
|
|
|
+ indicator: this.echarts_name_list,
|
|
|
+ name: {
|
|
|
+ //修改indicator文字的颜色
|
|
|
+ textStyle: {
|
|
|
+ // color: "#999999",
|
|
|
+ },
|
|
|
+ },
|
|
|
+ },
|
|
|
+ series: [
|
|
|
+ {
|
|
|
+ type: "radar",
|
|
|
+ symbolSize: 6,
|
|
|
+ data: [
|
|
|
+ {
|
|
|
+ value: this.echarts_data_list,
|
|
|
+ lineStyle: {
|
|
|
+ normal: {
|
|
|
+ color: "#FF1E00",
|
|
|
+ },
|
|
|
+ },
|
|
|
+ //折线拐点颜色
|
|
|
+ itemStyle: {
|
|
|
+ normal: {
|
|
|
+ color: "#FF1E00",
|
|
|
+ borderWidth: 3, //拐点边框大小
|
|
|
+ },
|
|
|
+ // emphasis: {
|
|
|
+ // color: '#000000'//hover拐点颜色定义
|
|
|
+ // }
|
|
|
+ },
|
|
|
+ // name: 'Actual Spending'
|
|
|
+ areaStyle: {
|
|
|
+ //阴影区域背景
|
|
|
+ // color: 'rgba(255, 228, 52, 0.6)'
|
|
|
+ color: "#F8B4AB",
|
|
|
+ },
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ };
|
|
|
this.searchTarget();
|
|
|
},
|
|
|
edit(val) {
|