Blame view

src/api/common.js 1.01 KB
9b7e125f   monkeyhouyi   属地页面
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
  // 公司信息
  import request from "@/utils/request";
  
  // 获取系统类型
  export async function getSystemTypeList() {
      return await request({
          url: '/extend/systeminformation/GetSystemTypeList',
          method: 'get',
      });
  }
  
  // 上传文件
  export async function uploader({ type, file }) {
      return await request({
          headers: {
              'Content-Type': 'multipart/form-data',
          },
          url: `/file/Uploader/${type}`,
          method: 'post',
          data: { file }
      });
  }
cb0a72a6   monkeyhouyi   核查处置优化
23
  export function getDownloadUrl(type, fileId, name) {
5330d757   monkeyhouyi   公司信息管理完成
24
      return request({
cb0a72a6   monkeyhouyi   核查处置优化
25
        url: `/file/Download/${type}/${fileId}/${encodeURIComponent(name)}`,
5330d757   monkeyhouyi   公司信息管理完成
26
27
28
        method: 'get'
      })
    }
9b7e125f   monkeyhouyi   属地页面
29
  
5a14192c   monkeyhouyi   1
30
31
32
33
34
35
36
  //   获取特殊备案类型
  export function getSpecialRecordType() {
      return request({
        url: `/system/DictionaryData/590018069787575557`,
        method: 'get'
      })
    }
93adad84   monkeyhouyi   网信执法功能添加
37
38
39
40
41
42
43
    // 获得案件状态字典
  export function getState() {
      return request({
        url: `/Extend/BaseCaseHandling/GetState`,
        method: 'get'
      })
    }
5a14192c   monkeyhouyi   1