1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
| /*
| * @Author: Pengjiantian
| * @Date: 2020-02-27 16:44:17
| * @Last Modified by: Pengjiantian
| * @Last Modified time: 2020-02-27 16:44:17
| */
| import ApiModel from "@/utils/core/apiModel";
|
| // 公共码值字典接口
| export default options => {
| // 接口地址: required
| const api = "server/queryCodeValueList";
|
| return new ApiModel({
| api,
| request(body) {
| return this.post(body);
| },
| computedItem(item) {
| let { taskKey, taskName } = item;
| return { label: taskName, value: taskKey };
| }
| });
| };
|
|