diff --git a/src/api/dataList/technology-project.js b/src/api/dataList/technology-project.js
new file mode 100644
index 0000000..e8758f6
--- /dev/null
+++ b/src/api/dataList/technology-project.js
@@ -0,0 +1,47 @@
+import request from "@/utils/request";
+
+// 科研项目列表
+export function technologyProjectList(params) {
+ return request({
+ url: "/business/technologyProject/list",
+ method: "GET",
+ params,
+ });
+}
+
+
+// 科研项目信息添加
+export function technologyProjectAdd(data) {
+ return request({
+ url: "/business/technologyProject",
+ method: "post",
+ data,
+ });
+}
+
+// 科研项目信息修改
+export function technologyProjectEdit(data) {
+ return request({
+ url: "/business/technologyProject",
+ method: "PUT",
+ data,
+ });
+}
+
+
+export function technologyProjectDetail(id) {
+ return request({
+ url: `/business/technologyProject/${id}`,
+ method: "GET",
+ });
+}
+
+
+export function technologyProjectDelete(ids) {
+ return request({
+ url: `/business/technologyProject/${ids}`,
+ method: "DELETE",
+ });
+}
+
+
diff --git a/src/api/website/news.js b/src/api/website/news.js
index 2d0b3d0..7a01adf 100644
--- a/src/api/website/news.js
+++ b/src/api/website/news.js
@@ -12,3 +12,20 @@ export const addNews = data => request({
method: "POST",
data,
});
+
+
+export const deleteNews = (ids) => request({
+ url: `/business/news/${ids}`,
+ method: "DELETE",
+});
+
+export const getNews = (id) => request({
+ url: `/business/news/${id}`,
+ method: "GET",
+});
+
+export const updateNews = (data) => request({
+ url: `/business/news`,
+ method: "PUT",
+ data
+});
\ No newline at end of file
diff --git a/src/constant/dict.js b/src/constant/dict.js
index da5b099..24ae379 100644
--- a/src/constant/dict.js
+++ b/src/constant/dict.js
@@ -105,3 +105,22 @@ export const comeFromDict = [
field: "research",
}
];
+
+
+export const newsTypeDict = [
+ {
+ value: "0",
+ label: "新闻动态",
+ elTagType: "primary",
+ },
+ {
+ value: "1",
+ label: "政策解读",
+ elTagType: "success",
+ },
+ {
+ value: "2",
+ label: "通知公告",
+ elTagType: "warning",
+ },
+];
\ No newline at end of file
diff --git a/src/views/dataAuditList/Enterpriseproducts/index.vue b/src/views/dataAuditList/Enterpriseproducts/index.vue
index ca2621e..08603f1 100644
--- a/src/views/dataAuditList/Enterpriseproducts/index.vue
+++ b/src/views/dataAuditList/Enterpriseproducts/index.vue
@@ -17,11 +17,11 @@
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
-
- 搜索
-
- 重置
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/dataList/technology-project/index.vue b/src/views/dataList/technology-project/index.vue
new file mode 100644
index 0000000..5916b76
--- /dev/null
+++ b/src/views/dataList/technology-project/index.vue
@@ -0,0 +1,84 @@
+
+
+
+
+
+
+
+
+
+ 搜索
+
+ 重置
+
+
+
+
+
+
+
+
+
+ {{ row.role === '1' ? '承担单位' : row.role === '2' ? '参与单位' : null }}
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/website/news/index.vue b/src/views/website/news/index.vue
index 77f1c0f..0f63a3f 100644
--- a/src/views/website/news/index.vue
+++ b/src/views/website/news/index.vue
@@ -1,14 +1,19 @@
+
+
+
+ 新闻动态
+ 政策解读
+ 通知公告
+
+
+
新增
-
-
-
-
-
- {{ row.content }}
-
+
+
+
+
+
-
-
+
+
+
+
+
+
- 删除
- 编辑
+ 删除
+ 编辑
-
-
+
+
-
-
-
+
+
+
-
+
-
+
-
+
-
+
-
+
- 取消
+ 取消
提交