import request from '../../utils/request' // 查询文档协作人员 // data为docid function getActor(data) { return request({ url: `/biz/actor/${data}`, method: "get", }) } // 归档 function lockActor(data) { return request({ url: `/biz/actor/${data}`, method: "put", }) } // 添加协作人员 function addActor(num, data) { return request({ url: `/biz/actor/${num}`, method: "post", data }) } // 我发起的 function myCount(data) { return request({ url: `/biz/actor/initiation?${data}`, method: "get" }) } // 我参与的 function myJoin(data) { return request({ url: `/biz/actor/participation?${data}`, method: "get", }) } function createFiles(data) { return request({ url: `/biz/info/create`, method: "get", params: data, }) } function createFilesOfTemp(data) { return request({ url: `/biz/info/tmpl/create`, method: "get", params: data, }) } export default { getActor, addActor, lockActor, myCount, myJoin, createFiles, createFilesOfTemp }