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
| /**
| * 现场巡查任务相关数据接口
| */
| import { get, post } from '../../services/baseRequset';
| import { inspectUrl, inspectPicUrl } from '../../config/index';
| import { transSceneType } from '../../model/sceneType';
|
| export default {
| /**
| * 获取问题位置选项
| * @param {*} sceneTypeId
| */
| fetchLocation(sceneTypeId) {
| return get(
| {
| url: `/domainitem/location`,
| params: {
| sceneType:sceneTypeId,
| },
| },
| inspectUrl,
| ).then(res => {
| return res.data;
| });
| },
| };
|
|