|
@@ -18,10 +18,12 @@
|
|
|
|
|
|
|
|
<script setup>
|
|
<script setup>
|
|
|
import { ref } from 'vue'
|
|
import { ref } from 'vue'
|
|
|
|
|
+import { onLoad } from '@dcloudio/uni-app'
|
|
|
|
|
|
|
|
const props = defineProps({
|
|
const props = defineProps({
|
|
|
typeList: Array,
|
|
typeList: Array,
|
|
|
- timeList: Array
|
|
|
|
|
|
|
+ timeList: Array,
|
|
|
|
|
+ result_state: Number
|
|
|
})
|
|
})
|
|
|
|
|
|
|
|
const typeValue = ref(0)
|
|
const typeValue = ref(0)
|
|
@@ -29,6 +31,10 @@ const timeValue = ref(0)
|
|
|
|
|
|
|
|
const conveyData = defineEmits(['handLeConveyData'])
|
|
const conveyData = defineEmits(['handLeConveyData'])
|
|
|
|
|
|
|
|
|
|
+onLoad(() => {
|
|
|
|
|
+ typeValue.value = props.result_state
|
|
|
|
|
+})
|
|
|
|
|
+
|
|
|
const onnodeclick = () => {
|
|
const onnodeclick = () => {
|
|
|
conveyData('handLeConveyData', {
|
|
conveyData('handLeConveyData', {
|
|
|
typeIndex: typeValue.value,
|
|
typeIndex: typeValue.value,
|