Commit 849bde7e by xiehao

fix:修复了系统删除无效

1 parent cfb32572
...@@ -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)
......
...@@ -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,
} }
editDeleteSystemInfoManageTable(params).then((res) => { deleteSystemInfoManageTable(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: '已取消',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!