95f2cf91 by lttnew

节点组成显示

1 parent 07e70c68
......@@ -17,6 +17,7 @@
"@jiaminghi/data-view": "^2.10.0",
"@tsparticles/vue3": "^3.0.1",
"@videojs-player/vue": "^1.0.0",
"video.js": "^8.24.0",
"@vueup/vue-quill": "1.1.1",
"@vueuse/core": "^10.1.2",
"axios": "0.27.2",
......
......@@ -131,7 +131,7 @@ const sBase = computed(() => props.sBase)
watch(() => props.historyDate,(newVal) => {
if (isMounted.value) {
nowYear.value = parseInt(newVal.substring(0,4))
nowMonth.value = parseInt(newVal.substring(6,7))
nowMonth.value = parseInt(newVal.split('-')[1])
Year1.value = parseInt(hDate.value.substring(0,4)) - 1
Year1.value = parseInt(hDate.value.substring(0,4)) - 1
Year2.value = parseInt(hDate.value.substring(0,4))
......@@ -259,7 +259,7 @@ const type8 = ref(0)
const month8 = ref([])
const year8 = ref([])
let nowYear = ref(parseInt(hDate.value.substring(0,4)))
let nowMonth = ref(parseInt(hDate.value.substring(6,7)))
let nowMonth = ref(parseInt(hDate.value.split('-')[1]))
let tMonth = ref(0)
const list8 = ref([
{
......@@ -387,7 +387,8 @@ const init = () => {
if (intervalA) {
clearInterval(intervalA);
}
intervalA = setInterval(getdata(), 1000 * 60 * 60);
getdata()
intervalA = setInterval(getdata, 1000 * 60 * 60);
}
async function handelGetYS006() {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!