diff --git a/src/api/ManageApi/index.js b/src/api/ManageApi/index.js
index e139bb9..cf29690 100644
--- a/src/api/ManageApi/index.js
+++ b/src/api/ManageApi/index.js
@@ -18,14 +18,35 @@ export function updateBasicInformation(data) {
});
}
-// 通过主键查询单条基本信息(企业规划信息)
-export function getProgrammeInformationById(id) {
+// 项目详情 规划信息
+// 新增规划信息
+export function addProgrammeInformation(data) {
return request({
- url: `/gysl/planInformation/${id}`,
- method: 'get'
+ url: '/gysl/planInformation/add',
+ method: 'post',
+ data
+ });
+}
+
+// 修改规划信息
+export function updateProgrammeInformation(data) {
+ return request({
+ url: '/gysl/planInformation/edit',
+ method: 'post',
+ data
+ });
+}
+
+// 分页查询所有规划信息
+export function getProgrammeInformationPage(params) {
+ return request({
+ url: '/gysl/planInformation/page',
+ method: 'get',
+ params
});
}
+
// 基本信息的导出功能
export function exportBasicInformation(params) {
return request({
@@ -45,6 +66,32 @@ export function getProjectEvaluationList(params) {
params
});
}
+// 修改项目评价清单
+export function updateProjectEvaluationList(data) {
+ return request({
+ url: '/gysl/xmpjqd/edit',
+ method: 'post',
+ data
+ });
+}
+// 新增项目评价清单
+export function addProjectEvaluationList(data) {
+ return request({
+ url: '/gysl/xmpjqd/add',
+ method: 'post',
+ data
+ });
+}
+// 删除项目评价清单
+export function deleteProjectEvaluationList(idList) {
+ return request({
+ url: '/gysl/xmpjqd/delete',
+ method: 'delete',
+ params: { idList }
+ });
+}
+//评价清单结束
+
// 项目评价配置接口
// 新增数据
@@ -82,15 +129,7 @@ export function getProjectEvaluationPage(params) {
params
});
}
-
-// 修改规划信息
-export function updateProgrammeInformation(data) {
- return request({
- url: `/gysl/planInformation/edit`,
- method: 'post',
- data
- });
-}
+// 评价配置结束
// 要素指标管理
// 新增要素或者指标
@@ -208,4 +247,38 @@ export function getXmzskById(id) {
url: `/gysl/xmzsk/${id}`,
method: 'get'
});
+}
+
+//项目巡礼
+//新增项目巡礼
+export function addXmxl(data) {
+ return request({
+ url: '/gysl/xmxl/add',
+ method: 'post',
+ data
+ });
+}
+//删除项目巡礼
+export function deleteXmxl(idList) {
+ return request({
+ url: '/gysl/xmxl/delete',
+ method: 'delete',
+ params: { idList }
+ });
+}
+//修改项目巡礼
+export function updateXmxl(data) {
+ return request({
+ url: '/gysl/xmxl/edit',
+ method: 'post',
+ data
+ });
+}
+//分页查询所有项目巡礼
+export function getXmxlPage(params) {
+ return request({
+ url: '/gysl/xmxl/page',
+ method: 'get',
+ params
+ });
}
\ No newline at end of file
diff --git a/src/assets/images/detailsicon/icon-delet@2x.png b/src/assets/images/detailsicon/icon-delet@2x.png
new file mode 100644
index 0000000..aca8bef
Binary files /dev/null and b/src/assets/images/detailsicon/icon-delet@2x.png differ
diff --git a/src/layout/index.vue b/src/layout/index.vue
index 1478e97..7467fa1 100644
--- a/src/layout/index.vue
+++ b/src/layout/index.vue
@@ -96,8 +96,8 @@ export default {
}
.main-container {
- display: flex;
- border-radius: 1rem;
+ display: flex;
+ border-radius: 1rem 1rem 0 0 ;
margin-right: .3rem;
flex: 1;
overflow: hidden;
diff --git a/src/main.js b/src/main.js
index 7b01b0d..7082981 100644
--- a/src/main.js
+++ b/src/main.js
@@ -12,6 +12,7 @@ import "leaflet/dist/leaflet.css";
import "leaflet";
import "mars2d/mars2d.css";
+import * as mars2d from 'mars2d'
import App from "./App";
import store from "./store";
@@ -64,6 +65,7 @@ Vue.prototype.selectDictLabels = selectDictLabels;
Vue.prototype.download = download;
Vue.prototype.handleTree = handleTree;
Vue.prototype.$echarts = echarts;
+Vue.prototype.mars2d = mars2d;
// 全局组件挂载
Vue.component("DictTag", DictTag);
diff --git a/src/views/components/ProjectDetails/Basic.vue b/src/views/components/ProjectDetails/Basic.vue
index 9149e44..192598c 100644
--- a/src/views/components/ProjectDetails/Basic.vue
+++ b/src/views/components/ProjectDetails/Basic.vue
@@ -24,7 +24,7 @@
-
![项目代表性照片]()
+
@@ -498,7 +498,20 @@ export default {
.picturediv {
width: 18.31rem;
height: 25rem;
- /* background-color: lightblue; */
+ position: relative;
+ overflow: hidden;
+}
+
+.picturediv img {
+ width: 100%;
+ height: auto;
+ object-fit: cover;
+ position: absolute;
+ top: 0;
+ left: 0;
+ right: 0;
+ bottom: 0;
+ margin: auto;
}
.descriptionsdiv {
diff --git a/src/views/components/ProjectDetails/Memo.vue b/src/views/components/ProjectDetails/Memo.vue
index 1121a02..21ac32c 100644
--- a/src/views/components/ProjectDetails/Memo.vue
+++ b/src/views/components/ProjectDetails/Memo.vue
@@ -13,6 +13,12 @@
style="width: 0.6rem; height: 0.6rem; margin-right: 4px;">
编辑
+
+
+ 新增
+
@@ -44,6 +50,26 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -63,6 +89,12 @@ export default {
type: [],
resource: '',
desc: ''
+ },
+ dialogVisible: false,
+ newMemo: {
+ name: '',
+ date: '',
+ content: ''
}
};
},
@@ -74,14 +106,12 @@ export default {
handleClose(tag) {
this.dynamicTags.splice(this.dynamicTags.indexOf(tag), 1);
},
-
showInput() {
this.inputVisible = true;
this.$nextTick(_ => {
this.$refs.saveTagInput.$refs.input.focus();
});
},
-
handleInputConfirm() {
let inputValue = this.inputValue;
if (inputValue) {
@@ -89,6 +119,19 @@ export default {
}
this.inputVisible = false;
this.inputValue = '';
+ },
+ handleAdd() {
+ this.dialogVisible = true;
+ },
+ handleAddMemo() {
+ console.log('新增备忘录:', this.newMemo);
+ // 在这里可以将新备忘录添加到列表中或提交到服务器
+ this.dialogVisible = false;
+ this.newMemo = {
+ name: '',
+ date: '',
+ content: ''
+ };
}
}
};
diff --git a/src/views/components/ProjectDetails/Months.vue b/src/views/components/ProjectDetails/Months.vue
index 9bf43a6..05aa036 100644
--- a/src/views/components/ProjectDetails/Months.vue
+++ b/src/views/components/ProjectDetails/Months.vue
@@ -25,36 +25,36 @@
-
-
- {{ scope.row.name }}
-
+
-
+
{{ scope.row.status }}
-
+
-
+
-
+
-
+
-
+
-
+
+
+ 编辑
+ 删除
+
+
@@ -66,50 +66,82 @@ export default {
return {
tableData: [
{
- date: '2016-05-02',
- name: '大众电脑生成制造基地',
- number:1000,
- address: ' 编辑 删除',
- data: '1000',
- status: '在建'
+ month: '2016-05',
+ status: '未更新',
+ monthlyInvestment: 1000,
+ cumulativeInvestment: 1000,
+ cumulativeArea: 1000,
+ loanAmount: 500,
+ progressDetails: '项目进展详情1',
},
{
- date: '2016-05-04',
- name: '大众电脑生成制造基地',
- number:1000,
- address: ' 编辑 删除',
- data: '1500',
- status: '拟建'
+ month: '2016-06',
+ status: '已更新',
+ monthlyInvestment: 1000,
+ cumulativeInvestment: 2000,
+ cumulativeArea: 1500,
+ loanAmount: 600,
+ progressDetails: '项目进展详情2',
},
{
- date: '2016-05-01',
- name: '大众电脑生成制造基地',
- number:1000,
- address: ' 编辑 删除',
- data: '2000',
- status: '已建'
+ month: '2016-07',
+ status: '未更新',
+ monthlyInvestment: 1000,
+ cumulativeInvestment: 3000,
+ cumulativeArea: 2000,
+ loanAmount: 700,
+ progressDetails: '项目进展详情3',
},
{
- date: '2016-05-03',
- name: '大众电脑生成制造基地',
- number:1000,
- address: ' 编辑 删除',
- data: '2500',
- status: '在建'
+ month: '2016-08',
+ status: '已更新',
+ monthlyInvestment: 1000,
+ cumulativeInvestment: 4000,
+ cumulativeArea: 2500,
+ loanAmount: 800,
+ progressDetails: '项目进展详情4',
}
],
+ currentPage: 1,
+ pageSize: 10,
+ total: 40,
}
},
methods: {
getStatusColor(status) {
switch (status) {
- case '在建':
+ case '未更新':
return 'color: #2DD29F;';
- case '拟建':
- return 'color: #F08445;';
- case '已建':
+ case '已更新':
return 'color: #2B62F1;';
}
+ },
+ handleEdit(row) {
+ console.log('编辑:', row);
+ // 实现编辑逻辑
+ },
+ handleDelete(row) {
+ this.$confirm('你确定要删除此条记录吗?', '提示', {
+ confirmButtonText: '确定',
+ cancelButtonText: '取消',
+ type: 'warning'
+ }).then(() => {
+ console.log('删除:', row);
+ // 实现删除逻辑
+ const index = this.tableData.indexOf(row);
+ if (index !== -1) {
+ this.tableData.splice(index, 1);
+ }
+ this.$message({
+ type: 'success',
+ message: '删除成功!'
+ });
+ }).catch(() => {
+ this.$message({
+ type: 'info',
+ message: '已取消删除'
+ });
+ });
}
}
}
@@ -134,7 +166,6 @@ export default {
height: auto;
display: flex;
justify-content: space-between;
- padding: .7rem 0;
padding: .5rem;
border-bottom: 1px solid #E5E5E5;
}
@@ -179,10 +210,11 @@ export default {
.two-row-item {
height: 20rem;
}
-.block{
+
+.block {
width: 100%;
display: flex;
justify-content: space-between;
margin-top: 1rem;
}
-
+
\ No newline at end of file
diff --git a/src/views/components/ProjectDetails/Others.vue b/src/views/components/ProjectDetails/Others.vue
index 15d2539..87a105d 100644
--- a/src/views/components/ProjectDetails/Others.vue
+++ b/src/views/components/ProjectDetails/Others.vue
@@ -9,7 +9,7 @@
+ style="border: none;background-color: rgba(43,98,241,0.1);color: #2B62F1;" @click="dialogVisible = true">
新增
@@ -24,22 +24,121 @@
+
+
+
+
+
+
+
+
+
+
@@ -263,18 +287,6 @@ export default {
right: 0;
}
-.map-thumbnail {
- width: 80rem;
- height: 25rem;
- cursor: pointer;
- position: relative;
-}
-
-#map-container {
- width: 100%;
- height: 100%;
-}
-
.topleft {
width: 8rem;
display: flex;
@@ -313,17 +325,18 @@ export default {
justify-content: center;
align-items: center;
font-size: .7rem;
+ z-index: 999;
}
-.mapbox {
- width: 60rem;
- height: 25rem;
-}
.map-thumbnail {
- width: 80rem;
+ width: 76rem;
height: 25rem;
- cursor: pointer;
position: relative;
}
+
+.mars2d-container {
+ width: 76rem;
+ height: 25rem;
+}
\ No newline at end of file
diff --git a/src/views/components/ProjectDetails/luotugongnengshifan.vue b/src/views/components/ProjectDetails/luotugongnengshifan.vue
new file mode 100644
index 0000000..41c4dfa
--- /dev/null
+++ b/src/views/components/ProjectDetails/luotugongnengshifan.vue
@@ -0,0 +1,311 @@
+
+
+
+
+
+

+
项目图例
+
+
+
+
+ 编辑
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 落图
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/evalute/evalist/index.vue b/src/views/evalute/evalist/index.vue
index 1e17fb7..cf61459 100644
--- a/src/views/evalute/evalist/index.vue
+++ b/src/views/evalute/evalist/index.vue
@@ -5,28 +5,20 @@
-
-
+
+
-
-
+
+
-
-
+
+
@@ -34,8 +26,7 @@
-
-
+
@@ -54,47 +45,142 @@
-
-
-
+
+
+
+
+ {{ xzflMap[scope.row.xzfl] || scope.row.xzfl }}
+
+
- 详情
- 修改
- 删除
+ 详情
+ 修改
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file