Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
liangzhen
/
framework-tools-web
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 849bde7e
authored
May 24, 2024
by
xiehao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:修复了系统删除无效
1 parent
cfb32572
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
40 deletions
src/api/index.js
src/views/systemInfoManage/index.vue
src/api/index.js
View file @
849bde7
...
...
@@ -561,6 +561,10 @@ export function addasystemInfoManageTable(params) {
export
function
editDeleteSystemInfoManageTable
(
params
)
{
return
post
(
EADC_ARRCHITECTURE
+
'/app-info/upd'
,
params
)
}
// 系统信息管理,删除
export
function
deleteSystemInfoManageTable
(
params
)
{
return
post
(
EADC_ARRCHITECTURE
+
'/app-info/dPrj'
,
params
)
}
// 项目信息管理,表格
export
function
queryProjectInfoManageTable
(
params
)
{
return
post
(
EADC_ARRCHITECTURE
+
'/prj-info/'
,
params
)
...
...
src/views/systemInfoManage/index.vue
View file @
849bde7
...
...
@@ -171,21 +171,8 @@
"
>
</el-table-column>
<el-table-column
prop=
"projectManager"
label=
"项目经理"
align=
"center"
></el-table-column>
<el-table-column
prop=
"createMan"
label=
"创建人"
align=
"center"
></el-table-column>
<el-table-column
prop=
"createTime"
label=
"创建时间"
align=
"center"
></el-table-column>
<el-table-column
prop=
"projectManager"
label=
"项目经理"
align=
"center"
/>
<el-table-column
prop=
"createTime"
label=
"创建时间"
align=
"center"
/>
<el-table-column
label=
"操作"
width=
"260"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<div
...
...
@@ -339,7 +326,7 @@ import {
addasystemInfoManageTable
,
editDeleteSystemInfoManageTable
,
getDeptOption
,
getOrgOption
getOrgOption
,
deleteSystemInfoManageTable
}
from
'@/api/index.js'
import
{
MessageBox
,
Message
}
from
'element-ui'
import
{
getDictTypeOptions
}
from
'@/utils'
...
...
@@ -483,33 +470,30 @@ export default {
customClass
:
'messageClass'
,
confirmButtonClass
:
'confirmClass'
,
type
:
'warning'
,
})
.
then
(()
=>
{
const
params
=
{
appId
:
row
.
appId
,
delFlag
:
1
,
}).
then
(()
=>
{
const
params
=
{
ids
:
[
row
.
appId
]
}
deleteSystemInfoManageTable
(
params
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
get_table
()
Message
({
type
:
'success'
,
message
:
'删除成功!'
,
})
}
else
{
Message
({
type
:
'error'
,
message
:
res
.
msg
,
})
}
editDeleteSystemInfoManageTable
(
params
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
get_table
()
Message
({
type
:
'success'
,
message
:
'删除成功!'
,
})
}
else
{
Message
({
type
:
'error'
,
message
:
res
.
msg
,
})
}
})
})
.
catch
(()
=>
{
Message
({
type
:
'info'
,
message
:
'已取消'
,
})
}).
catch
(()
=>
{
Message
({
type
:
'info'
,
message
:
'已取消'
,
})
})
},
openAddDialog
()
{
//打开新建系统窗口
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment