1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
| /**
| * 获取码表对象列表
| */
|
| import ApiModel from '@/utils/core/apiModel';
|
| export default options => {
| // 接口地址: required
| const api = 'server/queryCodeObject';
|
| return new ApiModel({
| api,
| request(body) {
| return this.post(body);
| },
| computedItem(item) {
| let { itemname, itemno, attribute4 } = item;
| // console.log(attribute4, itemno);
| return { label: itemname, value: itemname, itemno, attribute4 };
| }
| });
| };
|
|