From f523efefe73b0ba3b4da11d43b63099a354b9dcf Mon Sep 17 00:00:00 2001 From: TiaStars Date: Wed, 25 Dec 2024 16:44:16 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B5=84=E4=BA=A7=E8=87=AA=E5=AE=A1=E6=A0=B8?= =?UTF-8?q?=EF=BC=8C=E8=87=AA=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/auditPagesApi/index.js | 186 ++++++++++++++-- .../unitAutonomicFill/assetsAuth.vue | 8 +- .../auditPages/unitAutonomicFill/index.vue | 48 +++-- src/views/components/myAssetsType/index.vue | 4 +- .../components/myAssetsType/index_v1.vue | 178 ++++++++++++---- .../components/myAssetsType/index_v2.vue | 199 +++++++++++++----- .../components/myAssetsType/index_v3.vue | 167 ++++++++++++--- .../components/myAssetsType/index_v4.vue | 171 +++++++++++---- src/views/unitPages/assetRecord/index.vue | 48 +++-- src/views/unitPages/myAssets/email.vue | 2 +- src/views/unitPages/myAssets/index.vue | 2 +- .../unitPages/myAssets/mobileApplication.vue | 2 +- .../unitPages/myAssets/officialAccount.vue | 2 +- src/views/unitPages/myAssets/program.vue | 2 +- 14 files changed, 801 insertions(+), 218 deletions(-) diff --git a/src/api/auditPagesApi/index.js b/src/api/auditPagesApi/index.js index a86f9c5..628a75f 100644 --- a/src/api/auditPagesApi/index.js +++ b/src/api/auditPagesApi/index.js @@ -243,7 +243,9 @@ export function schema(type){ }) } -// 单位端资产编辑 +// ----------------------------------------- + +// web资产--单位端资产编辑 export function unitEdit(data){ return request({ url:"/tc/assetCurrent/unitEdit", @@ -252,33 +254,189 @@ export function unitEdit(data){ }) } -// 单位端资产重新编辑 -export function againUnitEdit(data){ + +// web资产--管理端资产审核 +export function assetAudit(data){ return request({ - url:"/tc/assetCurrent/againUnitEdit", + url:"/tc/assetCurrent/audit", method:"post", data }) } -// 管理端资产审核 -export function assetAudit(data){ +// web资产--分页查询管理端/单位端审核列表 +export function getAuditList(params){ return request({ - url:"/tc/assetCurrent/audit", + url:"/tc/assetCurrent/getAuditList", + method:"get", + params + }) +} + +// web资产--单位端查看中间数据详情 +export function lookInfo(id){ + return request({ + url:"/tc/assetCurrent/lookInfo/" + id, + method:"get", + }) +} + +// ------------------------------------------ + +// 小程序资产--单位端资产编辑 +export function miniProgramsUnitEdit(data){ + return request({ + url:"/tc/miniPrograms/unitEdit", method:"post", data }) } -// 分页查询管理端/单位端审核列表 -export function getAuditList(params){ + +// 小程序资产--管理端资产审核 +export function miniProgramsAudit(data){ return request({ - url:"/tc/assetCurrent/getAuditList", + url:"/tc/miniPrograms/audit", + method:"post", + data + }) +} + +// 小程序资产--分页查询管理端/单位端审核列表 +export function miniProgramsGetAuditList(params){ + return request({ + url:"/tc/miniPrograms/getAuditList", + method:"get", + params + }) +} + +// 小程序资产--单位端查看中间数据详情 +export function miniProgramsLookInfo(id){ + return request({ + url:"/tc/miniPrograms/lookInfo/" + id, + method:"get", + }) +} + + +// ------------------------------------------ + +// 公众号资产--单位端资产编辑 +export function gzhUnitEdit(data){ + return request({ + url:"/tc/assetOfficialAccount/unitEdit", + method:"post", + data + }) +} + + +// 公众号资产--管理端资产审核 +export function gzhAudit(data){ + return request({ + url:"/tc/assetOfficialAccount/audit", + method:"post", + data + }) +} + +// 公众号资产--分页查询管理端/单位端审核列表 +export function gzhGetAuditList(params){ + return request({ + url:"/tc/assetOfficialAccount/getAuditList", + method:"get", + params + }) +} + +// 公众号资产--单位端查看中间数据详情 +export function gzhLookInfo(id){ + return request({ + url:"/tc/assetOfficialAccount/lookInfo/" + id, + method:"get", + }) +} + + +// ------------------------------------------ + +// 电子邮件资产--单位端资产编辑 +export function EmailUnitEdit(data){ + return request({ + url:"/tc/assetEmail/unitEdit", + method:"post", + data + }) +} + + +// 电子邮件资产--管理端资产审核 +export function EmailAudit(data){ + return request({ + url:"/tc/assetEmail/audit", + method:"post", + data + }) +} + +// 电子邮件资产--分页查询管理端/单位端审核列表 +export function EmailList(params){ + return request({ + url:"/tc/assetEmail/getAuditList", method:"get", params }) } +// 电子邮件资产--单位端查看中间数据详情 +export function EmailLookInfo(id){ + return request({ + url:"/tc/assetEmail/lookInfo/" + id, + method:"get", + }) +} + + +// ------------------------------------------ + +// 移动应用系统资产--单位端资产编辑 +export function assetAppUnitEdit(data){ + return request({ + url:"/tc/assetApp/unitEdit", + method:"post", + data + }) +} + + +// 移动应用系统资产--管理端资产审核 +export function AppAudit(data){ + return request({ + url:"/tc/assetApp/audit", + method:"post", + data + }) +} + +// 移动应用系统资产--分页查询管理端/单位端审核列表 +export function AppList(params){ + return request({ + url:"/tc/assetApp/getAuditList", + method:"get", + params + }) +} + +// 移动应用系统资产--单位端查看中间数据详情 +export function AppLookInfo(id){ + return request({ + url:"/tc/assetApp/lookInfo/" + id, + method:"get", + }) +} + + // 单位查看自己单位具体信息 export function unitOwnInfo(){ return request({ @@ -294,12 +452,4 @@ export function unitEditOwn(data){ method:"post", data }) -} - -// 单位端查看中间数据详情 -export function lookInfo(id){ - return request({ - url:"/tc/assetCurrent/lookInfo/" + id, - method:"get", - }) } \ No newline at end of file diff --git a/src/views/auditPages/unitAutonomicFill/assetsAuth.vue b/src/views/auditPages/unitAutonomicFill/assetsAuth.vue index 59c208d..c196d69 100644 --- a/src/views/auditPages/unitAutonomicFill/assetsAuth.vue +++ b/src/views/auditPages/unitAutonomicFill/assetsAuth.vue @@ -1,9 +1,9 @@