wupengfei
2025-09-26 310e9d899fb8b10beeeba0ac469389ff1a8fd4be
feat: 页面
1个文件已修改
14 ■■■■■ 已修改文件
src/views/EnterpriseManage/components/WechatConfigureView.vue 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/EnterpriseManage/components/WechatConfigureView.vue
@@ -20,12 +20,17 @@
        prop="url"
        :check-rules="[{ type: 'upload', message: '请上传业务办理授权函' }]"
      >
        <div style="display: flex">
        <ProFormUpload
          v-model:file-url="form.url"
          :limit="1"
          :limitFileSize="10"
          accept="png,jpg,jpeg,pdf"
        ></ProFormUpload>
          <el-button style="margin-left: 10px" type="primary" link @click="downloadTemplate"
            >模板下载</el-button
          >
        </div>
      </ProFormItemV2>
      <ProFormItemV2
        label="手机号:"
@@ -124,7 +129,7 @@
} from '@bole-core/components';
import * as enterpriseWalletServices from '@/services/api/enterpriseWallet';
import { useQuery } from '@tanstack/vue-query';
import { convertWalletApiToFiles, convertWalletFilesToApi } from '@/utils';
import { convertWalletApiToFiles, convertWalletFilesToApi, downloadFileByUrl } from '@/utils';
defineOptions({
  name: 'WechatConfigureView',
@@ -179,6 +184,13 @@
  } catch (error) {}
}
function downloadTemplate() {
  downloadFileByUrl(
    'https://parkmanagement.oss-cn-hangzhou.aliyuncs.com/FlexJob/temp/%E4%B8%9A%E5%8A%A1%E5%8A%9E%E7%90%86%E6%8E%88%E6%9D%83%E5%87%BD.png',
    '业务办理授权函'
  );
}
defineExpose({
  onConfirm: enterpriseWalletExpandindirectCreate,
});