riku
2024-11-21 c4bcc6e78ecaec6e9ea68802be7c1d3a7b063512
src/views/fysp/check/components/CompLedgerPhoto.vue
@@ -1,5 +1,6 @@
<template>
  <FYImageSelectDialog
    v-loading="loading"
    title="台账图片"
    :typeList="typeList"
    :typeImgMap="typeImgMap"
@@ -11,7 +12,7 @@
import userApi from '@/api/fysp/userApi.js';
import { svToTz } from '@/enum/scene';
import { $fytz } from '@/api/index';
import { useCloned } from '@vueuse/core';
const loading = ref(true)
const props = defineProps({
  // 展示模式
  mode: {
@@ -27,6 +28,7 @@
const typeImgMap = ref(new Map());
function getList() {
  userApi.getTzId(props.subtask.sceneId).then((res) => {
    loading.value = true
    let tzUserId = res.tzUserId;
    problemApiFytz
@@ -62,7 +64,7 @@
            typeImgMap.value.get(type.typeId).push(item);
          });
        }
      });
      }).finally(() => loading.value = false);
  });
}
function getMonth() {