diff --git a/src/views/copilot/efficiency/components/sub/chip/ChipRateItem.vue b/src/views/copilot/efficiency/components/sub/chip/ChipRateItem.vue index 8d90011..eea8a76 100644 --- a/src/views/copilot/efficiency/components/sub/chip/ChipRateItem.vue +++ b/src/views/copilot/efficiency/components/sub/chip/ChipRateItem.vue @@ -147,7 +147,7 @@ export default { 月: `${month}月良率`, 年: `${year}良率`, }[this.period]; - console.log(vt[1]); + console.log(vt[0]); const t = getOptions({ // single, color: this.color == 1 ? "#4CF0E8" : "#1065ff", diff --git a/src/views/copilot/efficiency/options/chipOptions.js b/src/views/copilot/efficiency/options/chipOptions.js index 3c50d1d..e9584b4 100644 --- a/src/views/copilot/efficiency/options/chipOptions.js +++ b/src/views/copilot/efficiency/options/chipOptions.js @@ -109,6 +109,9 @@ export default ({ { value: previousSum, name: preName, + tooltip: { + formatter: `${preName} : ${previousSum}` + }, selected: false, itemStyle: { borderJoin: "round", @@ -129,10 +132,11 @@ export default ({ }, }, { - value:previousSum == 0 - ? 1 - : 0, - name: "-", + value:previousSum === 0 ? 1 : 0, + name: preName, + tooltip: { + formatter: `${preName} : ${previousSum}` + }, itemStyle: { color: "transparent" }, label: { show: false }, }, diff --git a/src/views/produce/data/index.vue b/src/views/produce/data/index.vue index ff5ae03..50d3d16 100644 --- a/src/views/produce/data/index.vue +++ b/src/views/produce/data/index.vue @@ -1,8 +1,8 @@