Conformance: processing time, waiting time, cycle time, add show activity selector not done.

This commit is contained in:
chiayin
2023-08-28 09:30:08 +08:00
parent 45e7d5a0a1
commit 83485fa8aa
3 changed files with 269 additions and 85 deletions

View File

@@ -1,6 +1,6 @@
<template>
<ul>
<li class="flex justify-start items-center py-1 pr-4" v-for="(act, index) in datadata" :key="index + act">
<li class="flex justify-start items-center py-1 pr-4" v-for="(act, index) in data" :key="index + act">
<span class="material-symbols-outlined disc text-sm align-middle mr-1">fiber_manual_record</span>
<span class="mr-2 block w-12">{{ act.category }}</span>
<span class="px-2 py-1 border border-neutral-500 w-full whitespace-nowrap break-keep text-ellipsis overflow-hidden block">{{ act.task }}</span>
@@ -13,16 +13,21 @@ export default {
props:['timeResultData', 'select'],
data() {
return {
datadata: null,
data: null,
}
},
watch: {
timeResultData: function(newValue) {
this.datadata = newValue;
}
timeResultData: {
handler(newValue) {
console.log(newValue);
this.data = newValue;
},
immediate: true,
deep: true,
},
},
created() {
this.datadata = this.select;
this.data = this.select;
},
}
</script>