Commit 80afc910 by xiehao

fix:选择系统后重置筛选条件

1 parent dc366db0
......@@ -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)
......
......@@ -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,
}
editBatchPlan(params).then((res) => {
updBatchPlan(params).then((res) => {
if (res.code === 200) {
this.$message.success('删除成功')
this.$refs.searchTable.queryData()
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!