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 6b3cf932
authored
May 29, 2024
by
xiehao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:选择系统后重置筛选条件
1 parent
a799dbcb
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
79 additions
and
69 deletions
src/api/index.js
src/views/archi-asset-manage/index.vue
src/views/batchPlanManagement/Add.vue
src/views/batchPlanManagement/ApprovalDialog.vue
src/views/batchPlanManagement/index.vue
src/views/dictionaryManagement/index.vue
src/views/systemInfoManage/SystemInfoDetail.vue
src/api/index.js
View file @
6b3cf93
...
@@ -711,6 +711,15 @@ export function addBatchPlan(params) {
...
@@ -711,6 +711,15 @@ export function addBatchPlan(params) {
export
function
editBatchPlan
(
params
)
{
export
function
editBatchPlan
(
params
)
{
return
post
(
EADC_ARRCHITECTURE
+
'/bat-plan-info/upd'
,
params
)
return
post
(
EADC_ARRCHITECTURE
+
'/bat-plan-info/upd'
,
params
)
}
}
// 审批批次计划
export
function
approveBatchPlan
(
params
)
{
return
post
(
EADC_ARRCHITECTURE
+
'/bat-plan-info/ae'
,
params
)
}
// 提交批次计划
export
function
postBatchPlan
(
params
)
{
return
post
(
EADC_ARRCHITECTURE
+
'/bat-plan-info/pt'
,
params
)
}
// 导出重复建设风险报告
// 导出重复建设风险报告
export
function
exportRiskReport
(
params
)
{
export
function
exportRiskReport
(
params
)
{
return
download
(
EADC_ARRCHITECTURE
+
'/prel-des-rvw/exportRiskReport'
,
params
)
return
download
(
EADC_ARRCHITECTURE
+
'/prel-des-rvw/exportRiskReport'
,
params
)
...
...
src/views/archi-asset-manage/index.vue
View file @
6b3cf93
...
@@ -8,15 +8,13 @@
...
@@ -8,15 +8,13 @@
size=
"medium"
size=
"medium"
@
click=
"operation('open_add_dialog1', null)"
@
click=
"operation('open_add_dialog1', null)"
>
选择系统
>
选择系统
</el-button
</el-button>
>
<el-button
<el-button
type=
"primary"
type=
"primary"
size=
"medium"
size=
"medium"
@
click=
"operation('open_add_dialog2', null)"
@
click=
"operation('open_add_dialog2', null)"
>
选择项目
>
选择项目
</el-button
</el-button>
>
<div
<div
style=
"margin-left: 20px; margin-right: 20px"
style=
"margin-left: 20px; margin-right: 20px"
v-if=
"showSelectTitle.title"
v-if=
"showSelectTitle.title"
...
@@ -33,8 +31,7 @@
...
@@ -33,8 +31,7 @@
size=
"medium"
size=
"medium"
@
click=
"operation('open_add_dialog4', null)"
@
click=
"operation('open_add_dialog4', null)"
>
维护资产要素
>
维护资产要素
</el-button
</el-button>
>
</div>
</div>
</el-card>
</el-card>
<div
class=
"archiAssetsManageContainer"
>
<div
class=
"archiAssetsManageContainer"
>
...
@@ -858,25 +855,25 @@
...
@@ -858,25 +855,25 @@
<
script
>
<
script
>
import
ChooseSvg
from
'@/views/busi-assets-list/ChooseSvg.vue'
import
ChooseSvg
from
'@/views/busi-assets-list/ChooseSvg.vue'
import
{
import
{
querysystemInfoManageTable
,
queryProjectInfoManageTable
,
getDianXingAnLiSelectData
,
queryZiChanJiaGouZuJianLeiXing
,
getArchiViewManage
,
getTotalZiChanJiaGouTable
,
queryZuJianLeiXingBelongForm
,
deleteSystemTable
,
addSystemTable
,
addSystemTable
,
editSystemTable
,
archiIntelligenceSearchTreeNew
,
archiIntelligenceSearchTreeNew
,
systemArchiSaveFactor
,
deleteSystemTable
,
getQryByTree
,
editSystemTable
,
getArchiViewManage
,
getDeptOption
,
getDeptOption
,
getDianXingAnLiSelectData
,
getOrgOption
,
getOrgOption
,
getPreArc
,
getPreArc
,
getQryByTree
,
getTotalZiChanJiaGouTable
,
queryProjectInfoManageTable
,
querysystemInfoManageTable
,
queryZiChanJiaGouZuJianLeiXing
,
queryZuJianLeiXingBelongForm
,
systemArchiSaveFactor
,
}
from
'@/api/index.js'
}
from
'@/api/index.js'
import
$
from
'jquery'
import
$
from
'jquery'
import
{
Message
Box
,
Message
}
from
'element-ui'
import
{
Message
,
MessageBox
}
from
'element-ui'
import
{
getDictTypeOptions
}
from
'@/utils'
import
{
getDictTypeOptions
}
from
'@/utils'
import
{
archiEleColor
}
from
'@/config/index.js'
import
{
archiEleColor
}
from
'@/config/index.js'
...
...
src/views/batchPlanManagement/Add.vue
View file @
6b3cf93
<
template
>
<
template
>
<el-dialog
<el-dialog
:title=
"title"
:title=
"title"
:visible
.
sync=
"showDialog"
:visible
.
sync=
"showDialog"
:close-on-click-modal=
"false"
:close-on-click-modal=
"false"
width=
"60%"
width=
"60%"
@
close=
"handleClose()"
@
close=
"handleClose()"
@
open=
"handleOpen"
@
open=
"handleOpen"
>
>
<div>
<div>
<Form
<Form
ref=
"addForm"
ref=
"addForm"
:form-options=
"formOptions"
:form-options=
"formOptions"
label-width=
"120px"
label-width=
"120px"
></Form>
></Form>
</div>
</div>
<span
slot=
"footer"
class=
"dialog-footer"
>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"handleClose()"
size=
"mini"
>
取 消
</el-button>
<el-button
@
click=
"handleClose()"
size=
"mini"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"handleSubmit"
size=
"mini"
v-if=
"this.title != '详情'"
<el-button
type=
"primary"
@
click=
"handleSubmit"
size=
"mini"
v-if=
"this.title != '详情'"
>
提 交
</el-button
>
提 交
</el-button
>
>
</span></el-dialog
</span></el-dialog
>
>
...
@@ -26,7 +26,8 @@
...
@@ -26,7 +26,8 @@
<
script
>
<
script
>
import
Form
from
'@/components/Form.vue'
import
Form
from
'@/components/Form.vue'
import
{
addBatchPlan
,
editBatchPlan
}
from
'@/api'
import
{
addBatchPlan
,
editBatchPlan
}
from
'@/api'
export
default
{
export
default
{
props
:
{
props
:
{
title
:
{
title
:
{
...
@@ -39,7 +40,8 @@ export default {
...
@@ -39,7 +40,8 @@ export default {
},
},
rowData
:
{
rowData
:
{
type
:
Object
,
type
:
Object
,
default
:
()
=>
{},
default
:
()
=>
{
},
},
},
},
},
data
()
{
data
()
{
...
@@ -56,17 +58,17 @@ export default {
...
@@ -56,17 +58,17 @@ export default {
prop
:
'batName'
,
// 字段名
prop
:
'batName'
,
// 字段名
element
:
'el-input'
,
// 指定elementui组件
element
:
'el-input'
,
// 指定elementui组件
placeholder
:
'请输入内容'
,
// elementui组件属性
placeholder
:
'请输入内容'
,
// elementui组件属性
rules
:
[{
required
:
true
,
trigger
:
'blur'
,
message
:
'不能为空'
}],
rules
:
[{
required
:
true
,
trigger
:
'blur'
,
message
:
'不能为空'
}],
readonly
:
this
.
title
==
'详情'
?
true
:
false
,
readonly
:
this
.
title
==
'详情'
?
true
:
false
,
},
},
{
//
{
label
:
'创建人'
,
// label文字
//
label: '创建人', // label文字
prop
:
'createMan'
,
// 字段名
//
prop: 'createMan', // 字段名
element
:
'el-input'
,
// 指定elementui组件
//
element: 'el-input', // 指定elementui组件
initValue
:
''
,
// 字段初始值
//
initValue: '', // 字段初始值
// placeholder: '请输入内容', // elementui组件属性
//
// placeholder: '请输入内容', // elementui组件属性
readonly
:
true
,
//
readonly: true,
},
//
},
{
{
label
:
'创建时间'
,
// label文字
label
:
'创建时间'
,
// label文字
prop
:
'createTime'
,
// 字段名
prop
:
'createTime'
,
// 字段名
...
@@ -124,7 +126,8 @@ export default {
...
@@ -124,7 +126,8 @@ export default {
}
}
},
},
},
},
mounted
()
{},
mounted
()
{
},
methods
:
{
methods
:
{
handleSubmit
()
{
handleSubmit
()
{
this
.
$refs
[
'addForm'
].
onValidate
(()
=>
{
this
.
$refs
[
'addForm'
].
onValidate
(()
=>
{
...
@@ -141,12 +144,14 @@ export default {
...
@@ -141,12 +144,14 @@ export default {
state
:
1
,
state
:
1
,
}
}
typeApi
(
params
).
then
((
res
)
=>
{
typeApi
(
params
).
then
((
res
)
=>
{
loading
.
close
()
if
(
res
.
code
===
200
)
{
if
(
res
.
code
===
200
)
{
loading
.
close
()
this
.
$message
.
success
(
'保存成功'
)
this
.
$message
.
success
(
'保存成功'
)
this
.
showDialog
=
false
this
.
showDialog
=
false
this
.
handleClose
()
this
.
handleClose
()
this
.
$emit
(
'querySearch'
)
this
.
$emit
(
'querySearch'
)
}
else
{
this
.
$message
.
error
(
res
.
msg
)
}
}
})
})
})
})
...
...
src/views/batchPlanManagement/ApprovalDialog.vue
View file @
6b3cf93
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
<
script
>
<
script
>
import
Form
from
'@/components/Form.vue'
import
Form
from
'@/components/Form.vue'
import
{
editBatchPlan
}
from
'@/api/index.js'
import
{
approveBatchPlan
,
editBatchPlan
}
from
'@/api/index.js'
export
default
{
export
default
{
props
:
{
props
:
{
title
:
{
title
:
{
...
@@ -92,9 +92,9 @@ export default {
...
@@ -92,9 +92,9 @@ export default {
...
formInfo
,
...
formInfo
,
state
:
this
.
radio
,
state
:
this
.
radio
,
}
}
editBatchPlan
(
params
).
then
((
res
)
=>
{
approveBatchPlan
(
params
).
then
((
res
)
=>
{
loading
.
close
()
if
(
res
.
code
===
200
)
{
if
(
res
.
code
===
200
)
{
loading
.
close
()
this
.
$message
.
success
(
'保存成功'
)
this
.
$message
.
success
(
'保存成功'
)
this
.
showDialog
=
false
this
.
showDialog
=
false
this
.
handleClose
()
this
.
handleClose
()
...
...
src/views/batchPlanManagement/index.vue
View file @
6b3cf93
...
@@ -56,7 +56,7 @@ import TableConfig from '@/components/TableConfig.vue'
...
@@ -56,7 +56,7 @@ import TableConfig from '@/components/TableConfig.vue'
import
Add
from
'./Add.vue'
import
Add
from
'./Add.vue'
import
ApprovalDialog
from
'./ApprovalDialog.vue'
import
ApprovalDialog
from
'./ApprovalDialog.vue'
import
{
editBatchPlan
}
from
'@/api/index.js'
import
{
editBatchPlan
,
postBatchPlan
}
from
'@/api/index.js'
import
{
batchPlanManagement
}
from
'@/api/interface'
import
{
batchPlanManagement
}
from
'@/api/interface'
import
{
approvalStatusOptions
}
from
'@/utils/dictionary'
import
{
approvalStatusOptions
}
from
'@/utils/dictionary'
export
default
{
export
default
{
...
@@ -120,7 +120,7 @@ export default {
...
@@ -120,7 +120,7 @@ export default {
options
:
approvalStatusOptions
,
options
:
approvalStatusOptions
,
},
},
{
label
:
'备注'
,
width
:
'100px'
,
prop
:
'remark'
},
{
label
:
'备注'
,
width
:
'100px'
,
prop
:
'remark'
},
{
label
:
'创建人'
,
prop
:
'createMan'
},
//
{ label: '创建人', prop: 'createMan' },
{
label
:
'创建时间'
,
prop
:
'createTime'
,
width
:
'120px'
},
{
label
:
'创建时间'
,
prop
:
'createTime'
,
width
:
'120px'
},
{
{
label
:
'操作'
,
label
:
'操作'
,
...
@@ -214,22 +214,22 @@ export default {
...
@@ -214,22 +214,22 @@ export default {
confirmButtonText
:
'确认'
,
confirmButtonText
:
'确认'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
,
type
:
'warning'
,
})
}).
then
(()
=>
{
.
then
(()
=>
{
const
params
=
{
const
params
=
{
...
row
,
...
row
,
state
:
2
,
state
:
2
,
}
postBatchPlan
(
params
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
$message
.
success
(
'提交成功'
)
this
.
$refs
.
searchTable
.
queryData
()
}
else
{
this
.
$message
.
error
(
res
.
msg
)
}
}
editBatchPlan
(
params
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
$message
.
success
(
'提交成功'
)
this
.
$refs
.
searchTable
.
queryData
()
}
else
{
this
.
$message
.
error
(
res
.
msg
)
}
})
})
})
.
catch
(()
=>
{})
}).
catch
(()
=>
{
this
.
$message
.
info
(
'已取消提交'
)
})
},
},
fnDel
(
row
)
{
fnDel
(
row
)
{
this
.
$confirm
(
'是否确认删除?'
,
'提示'
,
{
this
.
$confirm
(
'是否确认删除?'
,
'提示'
,
{
...
@@ -247,7 +247,7 @@ export default {
...
@@ -247,7 +247,7 @@ export default {
this
.
$message
.
success
(
'删除成功'
)
this
.
$message
.
success
(
'删除成功'
)
this
.
$refs
.
searchTable
.
queryData
()
this
.
$refs
.
searchTable
.
queryData
()
}
else
{
}
else
{
this
.
$message
.
error
(
'删除失败'
)
this
.
$message
.
error
(
res
.
msg
)
}
}
})
})
})
})
...
...
src/views/dictionaryManagement/index.vue
View file @
6b3cf93
...
@@ -70,16 +70,16 @@ export default {
...
@@ -70,16 +70,16 @@ export default {
columns
()
{
columns
()
{
return
[
return
[
{
label
:
'序号'
,
type
:
'index'
,
width
:
'80px'
},
{
label
:
'序号'
,
type
:
'index'
,
width
:
'80px'
},
{
label
:
'字典名称'
,
prop
:
'name'
,
w
idth
:
'150px'
,},
{
label
:
'字典名称'
,
prop
:
'name'
,
minW
idth
:
'150px'
,},
{
label
:
'字典标识'
,
prop
:
'typeValue'
,
w
idth
:
'150px'
,},
{
label
:
'字典标识'
,
prop
:
'typeValue'
,
minW
idth
:
'150px'
,},
{
label
:
'描述'
,
prop
:
'remark'
,
w
idth
:
'150px'
},
{
label
:
'描述'
,
prop
:
'remark'
,
minW
idth
:
'150px'
},
{
label
:
'排序'
,
prop
:
'sort'
,
width
:
'80px'
},
{
label
:
'排序'
,
prop
:
'sort'
,
width
:
'80px'
},
{
label
:
'启用状态'
,
prop
:
'delFlag'
,
width
:
'120px'
,
collectionType
:
'delFlag'
,
{
label
:
'启用状态'
,
prop
:
'delFlag'
,
width
:
'120px'
,
collectionType
:
'delFlag'
,
options
:
delFlag
,
},
options
:
delFlag
,
},
{
label
:
'创建日期'
,
prop
:
'createTime'
,
width
:
'120px'
},
{
label
:
'创建日期'
,
prop
:
'createTime'
,
width
:
'120px'
},
{
label
:
'创建人'
,
prop
:
'createMan'
,
},
//
{ label: '创建人', prop: 'createMan', },
{
label
:
'最终修改时间'
,
prop
:
'lastUpdateTime'
,
},
//
{ label: '最终修改时间', prop: 'lastUpdateTime', },
{
label
:
'最终修改人'
,
prop
:
'lastUpdateMan'
,
},
//
{ label: '最终修改人', prop: 'lastUpdateMan', },
{
{
label
:
'操作'
,
label
:
'操作'
,
type
:
'operation'
,
type
:
'operation'
,
...
@@ -219,7 +219,7 @@ export default {
...
@@ -219,7 +219,7 @@ export default {
})
})
.
catch
(()
=>
{})
.
catch
(()
=>
{})
},
},
}
}
}
}
...
...
src/views/systemInfoManage/SystemInfoDetail.vue
View file @
6b3cf93
...
@@ -192,7 +192,6 @@ export default {
...
@@ -192,7 +192,6 @@ export default {
mounted
()
{},
mounted
()
{},
methods
:
{
methods
:
{
codeToName
(
code
,
options
)
{
codeToName
(
code
,
options
)
{
console
.
log
(
code
,
options
)
const
obj
=
this
[
options
]?.
find
((
v
)
=>
v
.
value
==
code
)
||
{}
const
obj
=
this
[
options
]?.
find
((
v
)
=>
v
.
value
==
code
)
||
{}
return
obj
.
label
return
obj
.
label
},
},
...
...
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