From 5c025d03ed22751cddbc43f892302d71c6825649 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=BB=84=E5=A4=A7=E4=B8=BE?=
<13970129+huandgaju@user.noreply.gitee.com>
Date: Sat, 30 Mar 2024 09:13:15 +0800
Subject: [PATCH] =?UTF-8?q?3.29=E6=9B=B4=E6=96=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/system/info.js | 10 ++--
src/views/system/dict/index.vue | 3 ++
src/views/system/info/index.vue | 84 +++++++++++----------------------
3 files changed, 36 insertions(+), 61 deletions(-)
diff --git a/src/api/system/info.js b/src/api/system/info.js
index c1bf1ee..09f50df 100644
--- a/src/api/system/info.js
+++ b/src/api/system/info.js
@@ -10,9 +10,9 @@ export function listInfo(query) {
}
// 查询企业管理详细
-export function getInfo(enterpriseId) {
+export function getInfo(deptId) {
return request({
- url: '/system/info/' + enterpriseId,
+ url: '/system/info/' + deptId,
method: 'get'
})
}
@@ -36,9 +36,9 @@ export function updateInfo(data) {
}
// 删除企业管理
-export function delInfo(enterpriseId) {
+export function delInfo(deptId) {
return request({
- url: '/system/info/' + enterpriseId,
- method: 'delete'
+ url: '/system/info/' + deptId,
+ method: 'post'
})
}
diff --git a/src/views/system/dict/index.vue b/src/views/system/dict/index.vue
index ce6c777..d73f74d 100644
--- a/src/views/system/dict/index.vue
+++ b/src/views/system/dict/index.vue
@@ -319,6 +319,7 @@ export default {
}
});
},
+
/** 删除按钮操作 */
handleDelete(row) {
const dictIds = row.dictId || this.ids;
@@ -329,6 +330,8 @@ export default {
this.$modal.msgSuccess("删除成功");
}).catch(() => {});
},
+
+
/** 导出按钮操作 */
handleExport() {
this.download('system/dict/type/export', {
diff --git a/src/views/system/info/index.vue b/src/views/system/info/index.vue
index 3d84d14..08aba10 100644
--- a/src/views/system/info/index.vue
+++ b/src/views/system/info/index.vue
@@ -24,54 +24,26 @@
+
- 新增
+ 新增
+
+
+
+ 修改
- 修改
+ 删除
- 删除
-
-
- 导出
+ 导出
-
+
@@ -94,29 +66,23 @@
-
+
-
-
-
-
-
-
-
+
+
-
-
-
-
+
+
+