|
@@ -1,5 +1,8 @@
|
|
|
import { getAction,deleteAction,putAction,postAction} from '@/api/manage'
|
|
|
|
|
|
+/**
|
|
|
+ * 企业公告
|
|
|
+ */
|
|
|
|
|
|
//查询分页数据
|
|
|
const enterpriseEList= (params)=>getAction("/oa/cdEnterpriseEnnouncement/list",params);
|
|
@@ -10,6 +13,15 @@ const enterpriseEAdd= (params)=>postAction("/oa/cdEnterpriseEnnouncement/add",pa
|
|
|
const enterpriseEQueryById = (params)=>getAction("/oa/cdEnterpriseEnnouncement/queryById",params);
|
|
|
//修改
|
|
|
const enterpriseEUpdate= (params)=>postAction("/oa/cdEnterpriseEnnouncement/edit",params);
|
|
|
+/**
|
|
|
+ * 发布与取消发布接口
|
|
|
+ * @param {*} params
|
|
|
+ * {
|
|
|
+ * id:'',//需修改的id
|
|
|
+ * isRelease:''//修改成需要的发布状态
|
|
|
+ * }
|
|
|
+ */
|
|
|
+const enterpriseEReleseUpdate= (params)=>getAction("/oa/cdEnterpriseEnnouncement/releaseUpdate",params);
|
|
|
|
|
|
export {
|
|
|
enterpriseEList,
|