Commit 849bde7e by xiehao

fix:修复了系统删除无效

1 parent cfb32572
......@@ -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)
......
......@@ -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,13 +470,11 @@ export default {
customClass: 'messageClass',
confirmButtonClass: 'confirmClass',
type: 'warning',
})
.then(() => {
}).then(() => {
const params = {
appId: row.appId,
delFlag: 1,
ids: [row.appId]
}
editDeleteSystemInfoManageTable(params).then((res) => {
deleteSystemInfoManageTable(params).then((res) => {
if (res.code == 200) {
this.get_table()
Message({
......@@ -503,8 +488,7 @@ export default {
})
}
})
})
.catch(() => {
}).catch(() => {
Message({
type: 'info',
message: '已取消',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!