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
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
23 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) {
...
@@ -561,6 +561,10 @@ export function addasystemInfoManageTable(params) {
export
function
editDeleteSystemInfoManageTable
(
params
)
{
export
function
editDeleteSystemInfoManageTable
(
params
)
{
return
post
(
EADC_ARRCHITECTURE
+
'/app-info/upd'
,
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
)
{
export
function
queryProjectInfoManageTable
(
params
)
{
return
post
(
EADC_ARRCHITECTURE
+
'/prj-info/'
,
params
)
return
post
(
EADC_ARRCHITECTURE
+
'/prj-info/'
,
params
)
...
...
src/views/systemInfoManage/index.vue
View file @
849bde7
...
@@ -171,21 +171,8 @@
...
@@ -171,21 +171,8 @@
"
"
>
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
prop=
"projectManager"
label=
"项目经理"
align=
"center"
/>
prop=
"projectManager"
<el-table-column
prop=
"createTime"
label=
"创建时间"
align=
"center"
/>
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
label=
"操作"
width=
"260"
align=
"center"
>
<el-table-column
label=
"操作"
width=
"260"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<div
<div
...
@@ -339,7 +326,7 @@ import {
...
@@ -339,7 +326,7 @@ import {
addasystemInfoManageTable
,
addasystemInfoManageTable
,
editDeleteSystemInfoManageTable
,
editDeleteSystemInfoManageTable
,
getDeptOption
,
getDeptOption
,
getOrgOption
getOrgOption
,
deleteSystemInfoManageTable
}
from
'@/api/index.js'
}
from
'@/api/index.js'
import
{
MessageBox
,
Message
}
from
'element-ui'
import
{
MessageBox
,
Message
}
from
'element-ui'
import
{
getDictTypeOptions
}
from
'@/utils'
import
{
getDictTypeOptions
}
from
'@/utils'
...
@@ -483,13 +470,11 @@ export default {
...
@@ -483,13 +470,11 @@ export default {
customClass
:
'messageClass'
,
customClass
:
'messageClass'
,
confirmButtonClass
:
'confirmClass'
,
confirmButtonClass
:
'confirmClass'
,
type
:
'warning'
,
type
:
'warning'
,
})
}).
then
(()
=>
{
.
then
(()
=>
{
const
params
=
{
const
params
=
{
appId
:
row
.
appId
,
ids
:
[
row
.
appId
]
delFlag
:
1
,
}
}
editD
eleteSystemInfoManageTable
(
params
).
then
((
res
)
=>
{
d
eleteSystemInfoManageTable
(
params
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
if
(
res
.
code
==
200
)
{
this
.
get_table
()
this
.
get_table
()
Message
({
Message
({
...
@@ -503,8 +488,7 @@ export default {
...
@@ -503,8 +488,7 @@ export default {
})
})
}
}
})
})
})
}).
catch
(()
=>
{
.
catch
(()
=>
{
Message
({
Message
({
type
:
'info'
,
type
:
'info'
,
message
:
'已取消'
,
message
:
'已取消'
,
...
...
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