zhaoxiaoqiang1
2026-01-04 f1d30d03186c79ca2cbcfe60d6d2ce7d73fba97b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
/*
 * @Author: Pengjiantian
 * @Date: 2020-06-28 14:20:39
 * @Last Modified by: Pengjiantian
 * @Last Modified time: 2020-07-09 15:06:32
 */
 
import ApiModel from '@/utils/core/apiModel'
// 贷款机构-功能约束子流程定义-列表查询
const formList = [
  {
    type: 'input',
    label: '执行顺序',
    value: '',
    name: 'sequence',
    attrs: ['readonly']
  },
  {
    type: 'select',
    label: '子流程名称',
    value: '',
    name: 'subFlowNameDesc',
    // descName: 'subFlowNameDesc',
    options: [],
    attrs: ['filterable', 'clearable', 'collapse-tags'],
    rules: [{ required: true }]
  },
  {
    type: 'input',
    label: '服务编码',
    value: '',
    name: 'serviceCode'
    // rules: [{ required: true }]
  }
]
 
const tableList = [
  {
    label: '执行顺序',
    prop: 'sequence',
    attrs: { width: 'auto' }
  },
  {
    label: '子流程名称',
    prop: 'subFlowNameDesc'
  },
  {
    label: '服务编码',
    prop: 'serviceCode',
    attrs: { width: 'auto' }
  },
  {
    prop: 'action',
    label: '操作管理',
    attrs: {
      // width: '260px',
      fixed: 'right'
    },
    type: 'buttons'
  }
]
export default options => {
  // 接口地址: required
  const api = 'server/fallBackOrgSubFlowList'
  return new ApiModel({
    api,
    formList,
    tableList,
    request(body) {
      return this.post(body)
    }
  })
}