Update dailyInspection.vue

This commit is contained in:
TimSpan 2024-11-08 16:52:10 +08:00
parent 13e96aef22
commit 59d96b7d17
1 changed files with 2 additions and 2 deletions

View File

@ -80,7 +80,7 @@ import './dailyInspection.scss'
import { ref, computed, reactive, watch } from 'vue' import { ref, computed, reactive, watch } from 'vue'
import api from '@/request/index' import api from '@/request/index'
import { useDailyStore } from '@/store/daily' import { useDailyStore } from '@/store/daily'
const starRating = ref<any[]>([])
const store = useDailyStore() const store = useDailyStore()
const daily = computed(() => store.getdailyinspection) const daily = computed(() => store.getdailyinspection)
const base64_1 = computed(() => store.get_base64_1) const base64_1 = computed(() => store.get_base64_1)
@ -124,7 +124,7 @@ const mydailycolorschools = ref('')
useLoad(async () => { useLoad(async () => {
await getUnitEnterprisesUnitList() await getUnitEnterprisesUnitList()
}) })
const starRating = ref<any[]>([])
const Onrating = function (name: string, snowFlakeId: string) { const Onrating = function (name: string, snowFlakeId: string) {
let index = starRating.value.findIndex((item) => item.snowFlakeId === snowFlakeId) let index = starRating.value.findIndex((item) => item.snowFlakeId === snowFlakeId)
Taro.navigateTo({ Taro.navigateTo({