This commit is contained in:
zk
2023-12-18 18:34:19 +08:00
parent 2cc8886c2d
commit 580a4fc5c6
50 changed files with 2343 additions and 223 deletions
@@ -9,7 +9,7 @@
</div>
</template>
<script setup lang="ts">
import { ref, unref, onMounted } from 'vue';
import { ref, unref, onMounted, watch } from 'vue';
import * as echarts from 'echarts';
import PublicTitle from '/@/components/publicTitle.vue';
import { useSpin } from '/@/components/body-d-left/bodyLeftHooks.ts';
@@ -21,13 +21,16 @@
orgCode: String,
type: String,
});
watch(
props,
() => {
init();
},
{ immediate: true }
);
const { setSpin, spinning } = useSpin();
const healthChart = ref<HTMLElement>();
const color = ref(['#B750BE', '#6C63F0', '#3AACFF', '#ED589D', '#FB466C']);
onMounted(() => {
init();
});
const { stepData, total, setStep } = useStep();
async function init() {