|
|
@@ -79,7 +79,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script lang="ts" setup>
|
|
|
-import { ref, computed, watch } from 'vue'
|
|
|
+import { computed } from 'vue'
|
|
|
import { PressureCheckTypeMap } from '@/pages/unClaim/types'
|
|
|
import TaskItemInfo from './TaskItemInfo.vue'
|
|
|
|
|
|
@@ -97,22 +97,6 @@ const emit = defineEmits<{
|
|
|
pdfDetail: [businessType: number, signFilePdf: string, orderId: string]
|
|
|
}>()
|
|
|
|
|
|
-const isClaim = ref(props.item.isClaim)
|
|
|
-
|
|
|
-watch(
|
|
|
- () => props.item.isClaim,
|
|
|
- (newVal) => {
|
|
|
- isClaim.value = newVal
|
|
|
- },
|
|
|
-)
|
|
|
-
|
|
|
-// 暴露方法给父组件
|
|
|
-defineExpose({
|
|
|
- setIsClaim: (status: boolean) => {
|
|
|
- isClaim.value = status
|
|
|
- },
|
|
|
-})
|
|
|
-
|
|
|
const isClaimed = () => {
|
|
|
const taskStatus = props.item.taskStatus
|
|
|
return taskStatus !== 100
|