From aed1adb622e592a6cc5f944bb2dc272255f7804f Mon Sep 17 00:00:00 2001 From: yanfeiyong <2060201549@qq.com> Date: Mon, 31 Mar 2025 16:02:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/ManageApi/index.js | 126 +++- src/views/compilation/onecailiao/index.vue | 219 ++++--- src/views/components/ProjectDetails/Basic.vue | 9 +- .../ProjectDetails/Companyenter.vue | 105 ++-- .../ProjectDetails/Projectpicture.vue | 125 +++- src/views/components/analysis/daiban.vue | 175 ++++-- src/views/components/qiyexinxi/qiyexinxi.vue | 72 ++- src/views/components/tianbao/tianbao.vue | 88 +++ .../components/zhengwuxinxi/zhengwuxinxi.vue | 2 +- src/views/evalute/evalist/index.vue | 98 +-- src/views/manage-info/index.vue | 3 +- src/views/models/badlist/index.vue | 584 ++++++++---------- src/views/models/manages/index.vue | 200 +++--- src/views/orientedtwo/content/index.vue | 343 +++++----- src/views/orientedtwo/subdivide/index.vue | 233 ++++--- src/views/tongjifenxi/index.vue | 121 ++-- vue.config.js | 4 +- 17 files changed, 1492 insertions(+), 1015 deletions(-) create mode 100644 src/views/components/tianbao/tianbao.vue diff --git a/src/api/ManageApi/index.js b/src/api/ManageApi/index.js index ca024ab..f675264 100644 --- a/src/api/ManageApi/index.js +++ b/src/api/ManageApi/index.js @@ -161,11 +161,10 @@ export function addElement(data) { } // 查询所有要素 -export function getAllElements(params) { +export function getAllElements() { return request({ url: '/gysl/mx/page', method: 'get', - params }); } @@ -193,7 +192,9 @@ export function addCatalog(data) { return request({ url: '/gysl/ml/add', method: 'post', - data + data: { + ml: data // 同样包装在ml对象中 + } }); } @@ -211,7 +212,9 @@ export function editCatalog(data) { return request({ url: '/gysl/ml/edit', method: 'post', - data + data: { + ml: data // 按照接口要求,将数据包装在ml对象中 + } }); } @@ -347,6 +350,32 @@ export function getqyrzById(id) { method: 'get' }); } +//企业基本信息 +// 修改企业基本信息 +export function updateqyBasicInformation(data) { + return request({ + url: '/gysl/enterprise/edit', + method: 'post', + data + }); +} + +// 删除企业基本信息 +export function deleteqyBasicInformation(idList) { + return request({ + url: '/gysl/enterprise/delete', + method: 'delete', + params: { idList } + }); +} + +// 通过主键查询单条企业基本信息 +export function getqyBasicInformationById(id) { + return request({ + url: `/gysl/enterprise/${id}`, + method: 'get' + }); +} //建筑信息表 @@ -522,12 +551,40 @@ export function getxmmmbById(id) { //单片材料管理 //新增数据 -export function getclglPage(data) { +// 新增数据 +export function addClgl(data) { return request({ - url:'/gysl/dpclgl/add', - method:'post', + url: '/gysl/dpclgl/add', + method: 'post', data - }) + }); +} + +// 删除数据 +export function deleteClgl(idList) { + return request({ + url: '/gysl/dpclgl/delete', + method: 'delete', + params: { idList: idList.join(',') } // 将数组转换为逗号分隔的字符串 + }); +} + +// 修改数据 +export function updateClgl(data) { + return request({ + url: '/gysl/dpclgl/edit', + method: 'put', + data + }); +} + +// 分页查询所有数据 +export function getClglPage(params) { + return request({ + url: '/gysl/dpclgl/page', + method: 'get', + params + }); } // 富文本编辑接口 export function exportToPdf(params) { @@ -604,4 +661,57 @@ export function getAllMessagestwo(){ url:'/gysl/qyStats/qyNotice', method:'get' }) +} + +//通过主键查询项目画像 +export function getpicture(id){ + return request({ + url:`/gysl/xmpjqd/oneXmhx/${id}`, + method:'get' + }) +} +//通过主键查询单条项目评价清单 +export function getpicturelist(id){ + return request({ + url:`/gysl/xmpjqd/${id}`, + method:'get' + }) +} + +// 细分产业管理 + +// 新增数据 +export function addXfcygl(data) { + return request({ + url: '/gysl/xfcygl/add', + method: 'post', + data + }); +} + +// 删除数据 +export function deleteXfcygl(idList) { + return request({ + url: '/gysl/xfcygl/delete', + method: 'delete', + params: { idList } + }); +} + +// 修改数据 +export function updateXfcygl(data) { + return request({ + url: '/gysl/xfcygl/edit', + method: 'put', + data + }); +} + +// 分页查询所有数据 +export function getXfcyglPage(params) { + return request({ + url: '/gysl/xfcygl/page', + method: 'get', + params + }); } \ No newline at end of file diff --git a/src/views/compilation/onecailiao/index.vue b/src/views/compilation/onecailiao/index.vue index b14278e..25dbadd 100644 --- a/src/views/compilation/onecailiao/index.vue +++ b/src/views/compilation/onecailiao/index.vue @@ -6,18 +6,18 @@ - + - + - 查询 - 重置 + 查询 + 重置 @@ -36,7 +36,7 @@ - +