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 80afc910
authored
May 29, 2024
by
xiehao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:选择系统后重置筛选条件
1 parent
dc366db0
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
src/api/index.js
src/views/batchPlanManagement/index.vue
src/api/index.js
View file @
80afc91
...
...
@@ -712,6 +712,11 @@ export function editBatchPlan(params) {
return
post
(
EADC_ARRCHITECTURE
+
'/bat-plan-info/upd'
,
params
)
}
// 批量批次计划
export
function
updBatchPlan
(
params
)
{
return
post
(
EADC_ARRCHITECTURE
+
'/bat-plan-info/updBatch'
,
params
)
}
// 审批批次计划
export
function
approveBatchPlan
(
params
)
{
return
post
(
EADC_ARRCHITECTURE
+
'/bat-plan-info/ae'
,
params
)
...
...
src/views/batchPlanManagement/index.vue
View file @
80afc91
...
...
@@ -56,7 +56,7 @@ import TableConfig from '@/components/TableConfig.vue'
import
Add
from
'./Add.vue'
import
ApprovalDialog
from
'./ApprovalDialog.vue'
import
{
editBatchPlan
,
postBatchPlan
}
from
'@/api/index.js'
import
{
editBatchPlan
,
postBatchPlan
,
updBatchPlan
}
from
'@/api/index.js'
import
{
batchPlanManagement
}
from
'@/api/interface'
import
{
approvalStatusOptions
}
from
'@/utils/dictionary'
export
default
{
...
...
@@ -239,10 +239,10 @@ export default {
})
.
then
(()
=>
{
const
params
=
{
...
row
,
batPlanId
:
[
row
.
batPlanId
]
,
delFlag
:
1
,
}
edit
BatchPlan
(
params
).
then
((
res
)
=>
{
upd
BatchPlan
(
params
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
$message
.
success
(
'删除成功'
)
this
.
$refs
.
searchTable
.
queryData
()
...
...
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