From b47af5ae31181582dd78d0257f5410bf9a4a2087 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=BE=99=E8=BF=90=E6=A8=A1?= <1724894114@qq.com>
Date: Tue, 9 Jul 2024 09:47:38 +0800
Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E7=B3=BB=E7=BB=9F=E8=AE=BE?=
=?UTF-8?q?=E7=BD=AE=E9=A1=B5=E9=9D=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/earlyManager/index.vue | 55 ++++----
src/views/setting/log/index.vue | 49 ++++---
src/views/setting/partsMag/index.vue | 180 ++++++++++++++++++++++++--
src/views/setting/role/index.vue | 2 +-
src/views/setting/warehouse/index.vue | 175 +++++++++++++++++++++++--
5 files changed, 390 insertions(+), 71 deletions(-)
diff --git a/src/views/earlyManager/index.vue b/src/views/earlyManager/index.vue
index 5d2e8c9..230810f 100644
--- a/src/views/earlyManager/index.vue
+++ b/src/views/earlyManager/index.vue
@@ -23,11 +23,11 @@
- 查询
+ 查询
重置
-
+
@@ -39,17 +39,18 @@
-
+
-
- 查看
- 编辑
-
-
- 删除
-
-
-
+
+
+
+
+ 查看详情
+ 编辑
+ 删除
+
+
+
@@ -83,7 +84,10 @@ export default {
save: false,
permission: false
},
- apiObj: this.$API.orders.order.list,
+ list:{
+ apiObj: {},
+ column:[]
+ },
selection: [],
params: {
keyword: null
@@ -121,8 +125,8 @@ export default {
},
//删除
async table_del(row){
- var reqData = {id: row.id}
- var res = await this.$API.demo.post.post(reqData);
+ const reqData = {id: row.id};
+ const res = await this.$API.demo.post.post(reqData);
if(res.code == 200){
this.$refs.table.refresh()
this.$message.success("删除成功")
@@ -130,7 +134,7 @@ export default {
},
//批量删除
async batch_del(){
- this.$confirm(`确定删除选中的 ${this.selection.length} 项吗?如果删除项中含有子集将会被一并删除`, '提示', {
+ this.$confirm(`确定删除选中的 ${this.selection.length} 项吗?`, '提示', {
type: 'warning'
}).then(() => {
const loading = this.$loading();
@@ -156,25 +160,10 @@ export default {
}, 500)
},
//搜索
- upsearch(){
+ upSearch(){
},
- //根据ID获取树结构
- filterTree(id){
- var target = null;
- function filter(tree){
- tree.forEach(item => {
- if(item.id == id){
- target = item
- }
- if(item.children){
- filter(item.children)
- }
- })
- }
- filter(this.$refs.table.tableData)
- return target
- },
+
//本地更新数据
handleSaveSuccess(data, mode){
if(mode=='add'){
diff --git a/src/views/setting/log/index.vue b/src/views/setting/log/index.vue
index 5863c8e..d40ff7f 100644
--- a/src/views/setting/log/index.vue
+++ b/src/views/setting/log/index.vue
@@ -1,25 +1,35 @@
-
-
-
-
+
+
+
+
+
-
-
-
-
-
+
+
-
-
-
-
-
+
+
+
+
+
+
+
+
-
+
+
+
+
+
+
+ 查询
+ 重置
+
+
+
@@ -58,6 +68,8 @@
},
data() {
return {
+ size:"small",
+
infoDrawer: false,
logsChartOption: {
color: ['#409eff','#e6a23c','#f56c6c'],
@@ -118,7 +130,10 @@
}
],
date: [],
- apiObj: this.$API.system.log.list,
+ list:{
+ apiObj: {},
+ column:[]
+ },
search: {
keyword: ""
}
diff --git a/src/views/setting/partsMag/index.vue b/src/views/setting/partsMag/index.vue
index 350f8e7..20da2cf 100644
--- a/src/views/setting/partsMag/index.vue
+++ b/src/views/setting/partsMag/index.vue
@@ -1,26 +1,186 @@
-
+
+
+
+ 新增备件
+ 批量导入
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+ 重置
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查看详情
+ 编辑
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
-
-
diff --git a/src/views/setting/role/index.vue b/src/views/setting/role/index.vue
index 91516d9..dc656f1 100644
--- a/src/views/setting/role/index.vue
+++ b/src/views/setting/role/index.vue
@@ -3,7 +3,7 @@
新建
- 删除
+
权限设置
diff --git a/src/views/setting/warehouse/index.vue b/src/views/setting/warehouse/index.vue
index 350f8e7..cf08666 100644
--- a/src/views/setting/warehouse/index.vue
+++ b/src/views/setting/warehouse/index.vue
@@ -1,26 +1,181 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+ 重置
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查看详情
+ 编辑
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
-
-