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 86744e2b
authored
May 30, 2024
by
xiehao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:修复了系统资产停用
1 parent
f32b365c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
16 deletions
src/api/index.js
src/views/archi-asset-manage/index.vue
src/views/projectInfoManage/index.vue
src/api/index.js
View file @
86744e2
...
...
@@ -613,6 +613,11 @@ export function addSystemTable(params) {
export
function
editSystemTable
(
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
)
{
return
post
(
EADC_ARRCHITECTURE
+
'/arc-ast-sys/extend'
,
params
)
...
...
src/views/archi-asset-manage/index.vue
View file @
86744e2
...
...
@@ -869,7 +869,7 @@ import {
queryProjectInfoManageTable
,
querysystemInfoManageTable
,
queryZiChanJiaGouZuJianLeiXing
,
queryZuJianLeiXingBelongForm
,
queryZuJianLeiXingBelongForm
,
stopSystemTable
,
systemArchiSaveFactor
,
}
from
'@/api/index.js'
import
$
from
'jquery'
...
...
@@ -1824,10 +1824,9 @@ export default {
.
then
(()
=>
{
const
params
=
{
assetId
:
row
.
assetId
,
state
:
0
,
archiType
:
this
.
archiType
,
state
:
0
}
edit
SystemTable
(
params
).
then
((
res
)
=>
{
stop
SystemTable
(
params
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
get_table
()
Message
({
...
...
src/views/projectInfoManage/index.vue
View file @
86744e2
...
...
@@ -118,7 +118,7 @@
prop=
"appName"
label=
"系统名称"
align=
"center"
width=
"
20
0"
width=
"
15
0"
:show-overflow-tooltip=
"true"
></el-table-column>
<el-table-column
label=
"建设类型"
align=
"center"
>
...
...
@@ -146,12 +146,12 @@
<span
v-else-if=
"scope.row.prjPlanClass == 2"
>
续建
</span>
</
template
>
</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"
>
<span>
{{
scope
.
row
.
buildOrg
|
orgNameFilter
(
that
)
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"projAmount"
label=
"项目金额"
align=
"right"
>
<el-table-column
prop=
"projAmount"
label=
"项目金额
(万元)
"
align=
"right"
>
<
template
v-slot=
"scope"
>
<span
style=
"font-weight: bold"
>
{{
scope
.
row
.
projAmount
|
formatMoney
}}
</span>
</
template
>
...
...
@@ -244,7 +244,7 @@
></el-input>
</el-form-item>
<!--项目金额-只可以输入金额,不能超过12位-->
<el-form-item
label=
"项目金额:"
prop=
"let6"
style=
"width: 30%"
>
<el-form-item
label=
"项目金额
(万元)
:"
prop=
"let6"
style=
"width: 30%"
>
<el-input
v-model=
"ruleForm.let6"
maxlength=
"12"
...
...
@@ -606,7 +606,7 @@
<span
v-else
>
是
</span>
</
template
>
</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"
>
<span>
{{
scope
.
row
.
buildOrg
|
orgNameFilter
(
that
)
}}
</span>
</
template
>
...
...
@@ -679,17 +679,17 @@
<
script
>
import
ProjectDetail
from
'@/views/projectInfoManage/ProjectDetail'
import
{
queryProjectInfoManageTable
,
getDianXingAnLiSelectData
,
editDeleteProjectInfoManageTable
,
querysystemInfoManageTable
,
addProjectManageTable
,
getPrjInfoDetail
,
deleteProjectInfoManageTable
,
editDeleteProjectInfoManageTable
,
getDeptOption
,
getDianXingAnLiSelectData
,
getOrgOption
,
deleteProjectInfoManageTable
getPrjInfoDetail
,
queryProjectInfoManageTable
,
querysystemInfoManageTable
}
from
'@/api/index.js'
import
{
Message
Box
,
Message
}
from
'element-ui'
import
{
Message
,
MessageBox
}
from
'element-ui'
import
$
from
'jquery'
import
{
getDictTypeOptions
}
from
'@/utils'
...
...
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