Commit 86744e2b by xiehao

fix:修复了系统资产停用

1 parent f32b365c
...@@ -613,6 +613,11 @@ export function addSystemTable(params) { ...@@ -613,6 +613,11 @@ export function addSystemTable(params) {
export function editSystemTable(params) { export function editSystemTable(params) {
return post(EADC_ARRCHITECTURE + '/arc-ast-sys/upd', params) return post(EADC_ARRCHITECTURE + '/arc-ast-sys/upd', params)
} }
// 系统资产架构,停用
export function stopSystemTable(params) {
return post(EADC_ARRCHITECTURE + '/arc-ast-sys/stop', params)
}
// 系统资产架构,维护资产要素保存 // 系统资产架构,维护资产要素保存
export function systemArchiSaveFactor(params) { export function systemArchiSaveFactor(params) {
return post(EADC_ARRCHITECTURE + '/arc-ast-sys/extend', params) return post(EADC_ARRCHITECTURE + '/arc-ast-sys/extend', params)
......
...@@ -869,7 +869,7 @@ import { ...@@ -869,7 +869,7 @@ import {
queryProjectInfoManageTable, queryProjectInfoManageTable,
querysystemInfoManageTable, querysystemInfoManageTable,
queryZiChanJiaGouZuJianLeiXing, queryZiChanJiaGouZuJianLeiXing,
queryZuJianLeiXingBelongForm, queryZuJianLeiXingBelongForm, stopSystemTable,
systemArchiSaveFactor, systemArchiSaveFactor,
} from '@/api/index.js' } from '@/api/index.js'
import $ from 'jquery' import $ from 'jquery'
...@@ -1824,10 +1824,9 @@ export default { ...@@ -1824,10 +1824,9 @@ export default {
.then(() => { .then(() => {
const params = { const params = {
assetId: row.assetId, assetId: row.assetId,
state: 0, state: 0
archiType: this.archiType,
} }
editSystemTable(params).then((res) => { stopSystemTable(params).then((res) => {
if (res.code == 200) { if (res.code == 200) {
this.get_table() this.get_table()
Message({ Message({
......
...@@ -118,7 +118,7 @@ ...@@ -118,7 +118,7 @@
prop="appName" prop="appName"
label="系统名称" label="系统名称"
align="center" align="center"
width="200" width="150"
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
></el-table-column> ></el-table-column>
<el-table-column label="建设类型" align="center"> <el-table-column label="建设类型" align="center">
...@@ -146,12 +146,12 @@ ...@@ -146,12 +146,12 @@
<span v-else-if="scope.row.prjPlanClass == 2">续建</span> <span v-else-if="scope.row.prjPlanClass == 2">续建</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="buildOrg" label="承建单位" align="center"> <el-table-column :show-overflow-tooltip="true" prop="buildOrg" label="承建单位" align="center">
<template v-slot="scope"> <template v-slot="scope">
<span>{{ scope.row.buildOrg | orgNameFilter(that) }}</span> <span>{{ scope.row.buildOrg | orgNameFilter(that) }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="projAmount" label="项目金额" align="right"> <el-table-column prop="projAmount" label="项目金额(万元)" align="right">
<template v-slot="scope"> <template v-slot="scope">
<span style="font-weight: bold">{{ scope.row.projAmount | formatMoney }}</span> <span style="font-weight: bold">{{ scope.row.projAmount | formatMoney }}</span>
</template> </template>
...@@ -244,7 +244,7 @@ ...@@ -244,7 +244,7 @@
></el-input> ></el-input>
</el-form-item> </el-form-item>
<!--项目金额-只可以输入金额,不能超过12位--> <!--项目金额-只可以输入金额,不能超过12位-->
<el-form-item label="项目金额:" prop="let6" style="width: 30%"> <el-form-item label="项目金额(万元):" prop="let6" style="width: 30%">
<el-input <el-input
v-model="ruleForm.let6" v-model="ruleForm.let6"
maxlength="12" maxlength="12"
...@@ -606,7 +606,7 @@ ...@@ -606,7 +606,7 @@
<span v-else></span> <span v-else></span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="buildOrg" label="承建单位" align="center"> <el-table-column :show-overflow-tooltip="true" prop="buildOrg" label="承建单位" align="center">
<template v-slot="scope"> <template v-slot="scope">
<span>{{ scope.row.buildOrg | orgNameFilter(that) }}</span> <span>{{ scope.row.buildOrg | orgNameFilter(that) }}</span>
</template> </template>
...@@ -679,17 +679,17 @@ ...@@ -679,17 +679,17 @@
<script> <script>
import ProjectDetail from '@/views/projectInfoManage/ProjectDetail' import ProjectDetail from '@/views/projectInfoManage/ProjectDetail'
import { import {
queryProjectInfoManageTable,
getDianXingAnLiSelectData,
editDeleteProjectInfoManageTable,
querysystemInfoManageTable,
addProjectManageTable, addProjectManageTable,
getPrjInfoDetail, deleteProjectInfoManageTable,
editDeleteProjectInfoManageTable,
getDeptOption, getDeptOption,
getDianXingAnLiSelectData,
getOrgOption, getOrgOption,
deleteProjectInfoManageTable getPrjInfoDetail,
queryProjectInfoManageTable,
querysystemInfoManageTable
} from '@/api/index.js' } from '@/api/index.js'
import {MessageBox, Message} from 'element-ui' import {Message, MessageBox} from 'element-ui'
import $ from 'jquery' import $ from 'jquery'
import {getDictTypeOptions} from '@/utils' import {getDictTypeOptions} from '@/utils'
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!