12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- import { request } from "@/utils/request";
- /**
- * 项目管理接口集合
- * @method Record 记录列表
- * @method Details 记录详情
- * @method ReadFlag 记录已读
- * @method ProjectsList 项目下拉
- * @method Insert 项目提交
- */
- export function projectApi() {
- return {
- Record(data) {
- return request({
- url: "/service-iot/pmWorkContent/page",
- method: "GET",
- data: data,
- });
- },
- Details(data) {
- return request({
- url: "/service-iot/pmWorkContent/reportRecord",
- method: "GET",
- data: data,
- });
- },
- ReadFlag(data) {
- return request({
- url: "/service-iot/pmReceive/updateReadFlag",
- method: "GET",
- data: data,
- });
- },
- ProjectsList(data) {
- return request({
- url: '/service-iot/pmProject/projects',
- method: 'get',
- data: data
- })
- },
- Insert(data) {
- return request({
- url: '/service-iot/pmWorkReport/add',
- method: 'POST',
- data: data
- })
- }
- };
- }
|