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
| /*
| * @Author: Pengjiantian
| * @Date: 2020-06-12 17:48:10
| * @Last Modified by: Pengjiantian
| * @Last Modified time: 2020-06-15 10:16:44
| */
|
| /**
| * 获取产品名称列表
| */
|
| import ApiModel from '@/utils/core/apiModel'
|
| export default options => {
| // 接口地址: required
| const api = 'server/queryDimenList'
|
| return new ApiModel({
| api,
| request(body) {
| return this.post(body)
| },
| computedItem(item) {
| const { dimensionsName, dimensionCode } = item
| return { label: dimensionsName, value: dimensionCode }
| }
| })
| }
|
|