riku
2023-03-06 e902f689c542971a5bbf43c3b68d88d34c32ed8b
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 { $fysp } from './index';
 
const id = 'IF3DgsgKxSWvTM3M';
const name = 'pcheck';
 
export default {
  /**
   * 获取子任务统计信息
   * @param {Number} action 0:问题通过;1:问题不通过;2:整改通过;3整改不通过
   */
  checkProblem({
    pId,
    action,
    remark = '',
    userId = id,
    userName = name,
  }) {
    return $fysp.post('problemlist/check', {
      pId: pId,
      action: action,
      remark: remark,
      userId: userId,
      userName: userName,
    });
  },
};