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 08e88da5
authored
May 24, 2024
by
xiehao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:修复了项目删除无效
1 parent
849bde7e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
9 deletions
src/api/index.js
src/views/projectInfoManage/index.vue
src/api/index.js
View file @
08e88da
...
@@ -563,7 +563,7 @@ export function editDeleteSystemInfoManageTable(params) {
...
@@ -563,7 +563,7 @@ export function editDeleteSystemInfoManageTable(params) {
}
}
// 系统信息管理,删除
// 系统信息管理,删除
export
function
deleteSystemInfoManageTable
(
params
)
{
export
function
deleteSystemInfoManageTable
(
params
)
{
return
post
(
EADC_ARRCHITECTURE
+
'/app-info/
dPrj
'
,
params
)
return
post
(
EADC_ARRCHITECTURE
+
'/app-info/
rApp
'
,
params
)
}
}
// 项目信息管理,表格
// 项目信息管理,表格
export
function
queryProjectInfoManageTable
(
params
)
{
export
function
queryProjectInfoManageTable
(
params
)
{
...
@@ -577,6 +577,10 @@ export function addProjectManageTable(params) {
...
@@ -577,6 +577,10 @@ export function addProjectManageTable(params) {
export
function
editDeleteProjectInfoManageTable
(
params
)
{
export
function
editDeleteProjectInfoManageTable
(
params
)
{
return
post
(
EADC_ARRCHITECTURE
+
'/prj-info/upd'
,
params
)
return
post
(
EADC_ARRCHITECTURE
+
'/prj-info/upd'
,
params
)
}
}
// 项目信息管理删除
export
function
deleteProjectInfoManageTable
(
params
)
{
return
post
(
EADC_ARRCHITECTURE
+
'/prj-info/dPrj'
,
params
)
}
// 文档在线编辑,查询目录树
// 文档在线编辑,查询目录树
export
function
queryDocumentCatalog
(
params
)
{
export
function
queryDocumentCatalog
(
params
)
{
return
post
(
EADC_KNOWLEDGE_POOL
+
'/kl-doc-parser/qryTitleTree'
,
params
)
return
post
(
EADC_KNOWLEDGE_POOL
+
'/kl-doc-parser/qryTitleTree'
,
params
)
...
...
src/views/projectInfoManage/index.vue
View file @
08e88da
...
@@ -746,7 +746,8 @@ import {
...
@@ -746,7 +746,8 @@ import {
addProjectManageTable
,
addProjectManageTable
,
getPrjInfoDetail
,
getPrjInfoDetail
,
getDeptOption
,
getDeptOption
,
getOrgOption
getOrgOption
,
deleteProjectInfoManageTable
}
from
'@/api/index.js'
}
from
'@/api/index.js'
import
{
MessageBox
,
Message
}
from
'element-ui'
import
{
MessageBox
,
Message
}
from
'element-ui'
import
$
from
'jquery'
import
$
from
'jquery'
...
@@ -992,13 +993,11 @@ export default {
...
@@ -992,13 +993,11 @@ export default {
customClass
:
'messageClass'
,
customClass
:
'messageClass'
,
confirmButtonClass
:
'confirmClass'
,
confirmButtonClass
:
'confirmClass'
,
type
:
'warning'
,
type
:
'warning'
,
})
}).
then
(()
=>
{
.
then
(()
=>
{
const
params
=
{
const
params
=
{
prjId
:
row
.
prjId
,
ids
:
[
row
.
prjId
]
delFlag
:
1
,
}
}
editD
eleteProjectInfoManageTable
(
params
).
then
((
res
)
=>
{
d
eleteProjectInfoManageTable
(
params
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
if
(
res
.
code
==
200
)
{
this
.
get_table
()
this
.
get_table
()
Message
({
Message
({
...
@@ -1012,8 +1011,7 @@ export default {
...
@@ -1012,8 +1011,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