diff --git a/src/api/ManageApi/index.js b/src/api/ManageApi/index.js
index 24d6d15..aa9e2dc 100644
--- a/src/api/ManageApi/index.js
+++ b/src/api/ManageApi/index.js
@@ -1,6 +1,42 @@
// src/api/ManageApi/index.js
import request from '@/utils/request';
+import { getToken } from '@/utils/auth';
+
+// 企业--基本信息==下载模板(基本信息模板)
+export function exportBasicInformationTemplate() {
+ return request({
+ url: '/gysl/basicInformation/importTemplate',
+ method: 'post',
+ responseType: 'blob',
+ headers: {
+ 'Authorization': `Bearer ${getToken()}`
+ }
+ });
+}
+// 分页查询所有数据
+export function getBasicInformationPage(params) {
+ return request({
+ url:'/gysl/basicInformation/page',
+ method: 'get',
+ params
+ })
+}
+// 企业基本信息--的导入功能
+export function importBasicInformation(data) {
+ const formData = new FormData();
+ formData.append('file', data.file);
+
+ return request({
+ url: '/gysl/basicInformation/import',
+ method: 'post',
+ data: formData,
+ headers: {
+ 'Content-Type': 'multipart/form-data',
+ 'Authorization': `Bearer ${getToken()}`,
+ },
+ });
+}
// 企业--基本信息==展示
export function getBasicInformationById(id) {
return request({
@@ -26,14 +62,6 @@ export function exportBasicInformation(params) {
responseType: 'blob'
});
}
-// 分页查询所有数据
-export function getBasicInformationPage(params) {
- return request({
- url:'/gysl/basicInformation/page',
- method: 'get',
- params
- })
-}
// 项目详情 规划信息
// 修改规划信息
export function updateProgrammeInformation(data) {
@@ -488,4 +516,14 @@ export function getxmmmbById(id) {
method:'get',
params:{id}
})
+}
+
+//单片材料管理
+//新增数据
+export function getclglPage(data) {
+ return request({
+ url:'/gysl/dpclgl/add',
+ method:'post',
+ data
+ })
}
\ No newline at end of file
diff --git a/src/assets/images/icon-关闭-项目备忘录@2x.png b/src/assets/images/icon-关闭-项目备忘录@2x.png
new file mode 100644
index 0000000..4e5141e
Binary files /dev/null and b/src/assets/images/icon-关闭-项目备忘录@2x.png differ
diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue
index 411cd70..c0c3de8 100644
--- a/src/layout/components/Navbar.vue
+++ b/src/layout/components/Navbar.vue
@@ -25,13 +25,7 @@
-
-
-
+
退出登录
@@ -228,7 +222,7 @@ export default {
cursor: pointer;
position: absolute;
right: -20px;
- top: 25px;
+ top: 15px;
font-size: 12px;
}
}
diff --git a/src/views/compilation/knowledge/index.vue b/src/views/compilation/knowledge/index.vue
index 3a8241b..2425153 100644
--- a/src/views/compilation/knowledge/index.vue
+++ b/src/views/compilation/knowledge/index.vue
@@ -49,9 +49,9 @@
- 详情
- 编辑
- 删除
+ 详情
+ 编辑
+ 删除
@@ -71,6 +71,10 @@
:value="dict.value">
+
+
+
+
@@ -100,6 +104,9 @@
:value="dict.value">
+
+
+
diff --git a/src/views/compilation/onecailiao/index.vue b/src/views/compilation/onecailiao/index.vue
index c491df5..22ec3f7 100644
--- a/src/views/compilation/onecailiao/index.vue
+++ b/src/views/compilation/onecailiao/index.vue
@@ -65,8 +65,7 @@
-
-
+
+
+ 已提交
+
@@ -84,8 +84,7 @@
import Title from '../components/ProjectDetails/Title.vue';
import Basic from '../components/ProjectDetails/Basic.vue';
import Buildings from '../components/ProjectDetails/Buildings.vue';
-import Projectpicturetwo22 from '../components/ProjectDetails/Projectpicturetwo22.vue';
-// import Companyenter from '../components/ProjectDetails/companyenter.vue';
+import Companyenter from '../components/ProjectDetails/companyenter.vue';
import Liver from '../components/ProjectDetails/Liver.vue';
import Memo from '../components/ProjectDetails/Memo.vue';
import Models from '../components/ProjectDetails/Models.vue';
@@ -95,14 +94,14 @@ import Projectgift from '../components/ProjectDetails/Projectgift.vue';
import Projectpicture from '../components/ProjectDetails/Projectpicture.vue';
import Projectpicturetwo from '../components/ProjectDetails/Projectpicturetwo.vue';
import Others from '../components/ProjectDetails/Others.vue';
+import { checkPermi, checkRole } from "@/utils/permission"; // 权限判断函数
export default {
components: {
Title,
Basic,
Buildings,
- Projectpicturetwo22,
- // Companyenter,
+ Companyenter,
Liver,
Memo,
Models,
@@ -130,7 +129,9 @@ export default {
{ id: 'memo', label: '项目备忘录' },
{ id: 'others', label: '其他信息' }
],
- projectId: null
+ projectId: null,
+ isContainerVisible: true, // 控制 containerbody 的显示状态
+ isSubmitted: false // 控制提交审核按钮的状态和文本内容
};
},
created() {
@@ -139,6 +140,8 @@ export default {
this.loadData();
},
methods: {
+ checkPermi,
+ checkRole,
loadData() {
// 根据 projectId 加载数据的逻辑
console.log('Loading data for project ID:', this.projectId);
@@ -163,6 +166,31 @@ export default {
goBack() {
this.$router.go(-1); // 返回上一个页面
},
+ submitReview() {
+ this.$confirm('确定要提交审核吗?', '提示', {
+ confirmButtonText: '确定',
+ cancelButtonText: '取消',
+ type: 'warning'
+ }).then(() => {
+ // 提交审核的逻辑
+ console.log('提交审核');
+ // 隐藏 containerbody
+ this.isContainerVisible = false;
+ // 设置按钮为已提交状态
+ this.isSubmitted = true;
+ // 可以在这里调用提交审核的 API
+ // submitReviewApi(this.projectId).then(response => {
+ // console.log('审核提交成功', response);
+ // }).catch(error => {
+ // console.error('审核提交失败', error);
+ // });
+ }).catch(() => {
+ this.$message({
+ type: 'info',
+ message: '已取消提交'
+ });
+ });
+ }
}
};
diff --git a/src/views/manage/index.vue b/src/views/manage/index.vue
index 5c18256..91ad6e4 100644
--- a/src/views/manage/index.vue
+++ b/src/views/manage/index.vue
@@ -47,10 +47,26 @@
项目清单
- 下载模板
- 批量导入
+ 下载模板
+ 导入
+
+
+
+
+ 将文件拖到此处,或点击上传
+
+ 仅允许导入xls、xlsx格式文件。
+
+
+
+
@@ -77,7 +93,7 @@
-
+
{{ scope.row.begainTime }} 至 {{ scope.row.endTime }}
@@ -103,15 +119,16 @@
diff --git a/src/views/models/manages/index.vue b/src/views/models/manages/index.vue
index 90564bd..4c5e52c 100644
--- a/src/views/models/manages/index.vue
+++ b/src/views/models/manages/index.vue
@@ -1,106 +1,146 @@
-
+
+
-
-
新增要素
+
+
新增要素
-
-
-
+
+
+
模型信息填报
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+ 提交
+ 重置
+ 取消
+
+
+
+
-
-
\ No newline at end of file
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/vue.config.js b/vue.config.js
index 619d314..5389993 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -31,12 +31,13 @@ module.exports = {
// webpack-dev-server 相关配置
devServer: {
host: '0.0.0.0',
+ public:'192.168.0.119',
port: port,
open: true,
proxy: {
// detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: {
- target: `http://192.168.0.111:7071`,
+ target: `http://192.168.0.111:7071/`,
changeOrigin: true,
pathRewrite: {
['^' + process.env.VUE_APP_BASE_API]: ''