1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
| /**
| * 获取需联动的字典列表
| */
|
| import ApiModel from '@comprehensive/serve/core/ApiModel'
|
| export default options => {
| // 接口地址,required
| const api = 'customerServer/selectCustomerSubCodeList'
|
| return new ApiModel({
| api,
| request(params) {
| return this.post(params)
| },
| computedItem(item) {
| let { itemno, itemname, ...other } = item
| return { ...other, label: itemname, value: itemno }
| }
| })
| }
|
|