|
@@ -101,7 +101,7 @@ export default defineComponent({
|
|
|
}
|
|
|
},
|
|
|
grid: {
|
|
|
- left: 5,
|
|
|
+ left: 8,
|
|
|
top: 5,
|
|
|
right: 5,
|
|
|
bottom: 5,
|
|
@@ -231,7 +231,7 @@ export default defineComponent({
|
|
|
noMemberNum: Math.floor(Math.random() * 1000),
|
|
|
noPassNum: Math.floor(Math.random() * 1000),
|
|
|
passNum: Math.floor(Math.random() * 1000),
|
|
|
- practiceRate: parseFloat((Math.random() * 100).toFixed(2))
|
|
|
+ practiceRate: Math.ceil(Math.random() * 100)
|
|
|
},
|
|
|
practiceThisWeeks: new Array(Math.ceil(Math.random() * 9)).fill(1).map((n, i) => {
|
|
|
return {
|
|
@@ -252,7 +252,7 @@ export default defineComponent({
|
|
|
handleInit({ content: resulst })
|
|
|
}
|
|
|
onMounted(() => {
|
|
|
- // handleMock()
|
|
|
+ handleMock()
|
|
|
listenerMessage('setAccomanyEcharts', handleInit)
|
|
|
postMessage({
|
|
|
api: 'setAccomanyEcharts'
|
|
@@ -278,7 +278,6 @@ export default defineComponent({
|
|
|
<div class={styles.head}>
|
|
|
<div
|
|
|
class={styles.headLeft}
|
|
|
- onClick={() => handleMock()}
|
|
|
>
|
|
|
<img class={styles.icon} src={iconEnsemble} />
|
|
|
<div>总体情况</div>
|