zhengyiming
4 天以前 d54c9c48c0b4f7c609e0aa65671a6c3fd26f94b4
src/views/Home/Home.vue
@@ -58,6 +58,7 @@
            type="primary"
            style="margin-right: 10px"
            link
            v-if="isSjbAccount"
            >职业类型对照表</el-button
          >
          <el-button @click="handleDownload()" type="primary" style="margin-right: 10px" link
@@ -162,6 +163,7 @@
import dayjs from 'dayjs';
import _ from 'lodash';
import InsureInstructionsDialog from './components/InsureInstructionsDialog.vue';
import { useUserInsureProductSetting } from '@/hooks';
// import { Recorder } from '@/utils/record';
defineOptions({
@@ -437,8 +439,14 @@
  onConfirm: handleUpload,
});
const { isSjbAccount } = useUserInsureProductSetting();
function handleOpenInstructions() {
  dialogInstructionsState.dialogVisible = true;
  if (isSjbAccount.value) {
    dialogInstructionsState.dialogVisible = true;
  } else {
    handleUpload();
  }
}
async function handleUpload() {