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
29
30
31
32
33
34
| import { $fysp } from '../index';
|
| /**
| * 工地夜间施工许可证相关API
| */
| export default {
| /**
| * 查询工地夜间施工许可证
| */
| fetchRecord({ cityCode, districtCode, page, perPage = 20 }) {
| return $fysp
| .get(`nightwork/record/all`, {
| params: { cityCode, districtCode, page, perPage }
| })
| .then((res) => res.data);
| },
|
| /**
| * 更新工地夜间施工许可证
| * @param {*} param0
| * @returns
| */
| updateRecord({ recordId, userId, sceneId }) {
| return $fysp
| .post(
| `nightwork/record`,
| {},
| {
| params: { recordId, userId, sceneId }
| }
| )
| .then((res) => res.data);
| }
| };
|
|