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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
/*
 * @Author: Pengjiantian
 * @Date: 2020-06-30 16:44:57
 * @Last Modified by: Pengjiantian
 * @Last Modified time: 2020-08-03 16:08:12
 */
 
import ApiModel from '@/utils/core/apiModel'
// 资金单元-出资机构清单
const formList = [
  {
    type: 'filterSelect',
    label: '出资机构编码',
    value: '',
    name: 'orgCode',
    attrs: ['filterable', 'clearable', 'collapse-tags'],
    rules: [{ required: true }]
  },
  {
    type: 'input',
    label: '出资机构名称',
    value: '',
    name: 'orgName',
    rules: [{ required: true }]
  },
  {
    type: 'select',
    label: '出资机构类型',
    value: '',
    name: 'orgType',
    options: [],
    attrs: ['filterable', 'clearable', 'collapse-tags'],
    rules: [{ required: true }]
  },
  {
    type: 'input',
    label: '出资比例(%)',
    value: '',
    isMoney: true,
    name: 'contributionProportion',
    rules: [{ required: true }]
  },
  {
    type: 'select',
    label: '收益分配方式',
    value: '',
    name: 'incomeDistributionMode',
    options: [],
    attrs: ['filterable', 'clearable', 'collapse-tags'],
    rules: [{ required: true }]
  },
  {
    type: 'input',
    label: '收益比例(%)',
    value: '',
    isMoney: true,
    name: 'incomeRatio',
    rules: [{ required: true }]
  },
  {
    type: 'input',
    label: '资金成本(年化利率%)',
    value: '',
    isMoney: true,
    name: 'capitalCost',
    rules: [{ required: true }]
  },
  {
    type: 'input',
    label: '保证金比例(%)',
    value: '',
    isMoney: true,
    name: 'marginLevel',
    rules: [{ required: true }]
  }
]
 
const tableList = [
  {
    label: '出资机构编码',
    prop: 'orgCode',
    attrs: { width: 'auto' }
  },
  {
    label: '出资机构名称',
    prop: 'orgName',
    attrs: { width: 'auto' }
  },
  {
    label: '出资机构类型',
    prop: 'orgTypeDesc',
    attrs: { width: 'auto' }
  },
  {
    label: '出资比例(%)',
    prop: 'contributionProportion',
    isMoney: true,
    attrs: { width: 'auto' }
  },
  {
    label: '收益分配方式',
    prop: 'incomeDistributionModeDesc',
    attrs: { width: 'auto' }
  },
  {
    label: '收益比例(%)',
    prop: 'incomeRatio',
    isMoney: true,
    attrs: { width: 'auto' }
  },
  {
    label: '资金成本(年化利率%)',
    prop: 'capitalCost',
    isMoney: true,
    attrs: { width: 'auto' }
  },
  {
    label: '保证金比例(%)',
    prop: 'marginLevel',
    isMoney: true,
    attrs: { width: 'auto' }
  },
  {
    prop: 'action',
    label: '操作管理',
    attrs: {
      // width: '260px',
      fixed: 'right'
    },
    type: 'buttons'
  }
]
export default options => {
  // 接口地址: required
  const api = 'server/queryFundUnitContributionOrgList'
  return new ApiModel({
    api,
    formList,
    tableList,
    request(body) {
      return this.post(body)
    }
  })
}