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 22bd15e5
authored
Jun 25, 2024
by
xiehao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:复查整改
1 parent
41a8eb9e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
107 additions
and
47 deletions
src/api/index.js
src/utils/architectureInspectionDis.js
src/views/supervisionNotifyManagement/index.vue
src/api/index.js
View file @
22bd15e
...
@@ -774,6 +774,20 @@ export function editFeedback(params) {
...
@@ -774,6 +774,20 @@ export function editFeedback(params) {
export
function
updReportManage
(
params
)
{
export
function
updReportManage
(
params
)
{
return
post
(
EADC_ARRCHITECTURE
+
'/reportManage/upd'
,
params
)
return
post
(
EADC_ARRCHITECTURE
+
'/reportManage/upd'
,
params
)
}
}
// 架构督查-督查通报管理提交
export
function
subReportManage
(
params
)
{
return
post
(
EADC_ARRCHITECTURE
+
'/reportManage/sub'
,
params
)
}
// 架构督查-督查通报管理审核
export
function
auditReportManage
(
params
)
{
return
post
(
EADC_ARRCHITECTURE
+
'/reportManage/aud'
,
params
)
}
// 架构督查-督查通报管理发布
export
function
pubReportManage
(
params
)
{
return
post
(
EADC_ARRCHITECTURE
+
'/reportManage/pub'
,
params
)
}
// 架构督查-督查通报管理删除
// 架构督查-督查通报管理删除
export
function
delReportManage
(
params
)
{
export
function
delReportManage
(
params
)
{
return
post
(
EADC_ARRCHITECTURE
+
'/reportManage/del'
,
params
)
return
post
(
EADC_ARRCHITECTURE
+
'/reportManage/del'
,
params
)
...
...
src/utils/architectureInspectionDis.js
View file @
22bd15e
...
@@ -6,6 +6,13 @@ export const stateCode = [
...
@@ -6,6 +6,13 @@ export const stateCode = [
{
label
:
'未发布'
,
value
:
0
},
{
label
:
'未发布'
,
value
:
0
},
{
label
:
'已发布'
,
value
:
1
},
{
label
:
'已发布'
,
value
:
1
},
]
]
// 通报状态
export
const
reportStateCode
=
[
{
label
:
'未提交'
,
value
:
0
},
{
label
:
'已提交'
,
value
:
1
},
{
label
:
'已审核'
,
value
:
2
},
{
label
:
'已发布'
,
value
:
3
},
]
// 指标级别
// 指标级别
export
const
indexLevel
=
[
export
const
indexLevel
=
[
{
label
:
'一级指标'
,
value
:
'1'
},
{
label
:
'一级指标'
,
value
:
'1'
},
...
...
src/views/supervisionNotifyManagement/index.vue
View file @
22bd15e
...
@@ -11,15 +11,15 @@
...
@@ -11,15 +11,15 @@
<list-page>
<list-page>
<!-- 查询表单插槽 -->
<!-- 查询表单插槽 -->
<template
#
formWrap
>
<template
#
formWrap
>
<SearchForm
@
onSearch=
"querySearch"
:form-options=
"formOptions"
/>
<SearchForm
@
onSearch=
"querySearch"
:form-options=
"formOptions"
/>
</
template
>
</
template
>
<!-- 表格插槽 -->
<!-- 表格插槽 -->
<
template
#
tableWrap
>
<
template
#
tableWrap
>
<table-config
<table-config
ref=
"searchTable"
ref=
"searchTable"
:query=
"query"
:query=
"query"
:columns=
"columns"
:columns=
"columns"
id-key=
"elementId"
id-key=
"elementId"
>
>
</table-config>
</table-config>
</
template
>
</
template
>
...
@@ -27,10 +27,10 @@
...
@@ -27,10 +27,10 @@
<!-- 新增弹窗 -->
<!-- 新增弹窗 -->
<Edit
<Edit
@
querySearch=
"querySearch"
@
querySearch=
"querySearch"
:visible
.
sync=
"visible"
:visible
.
sync=
"visible"
:row-data=
"rowData"
:row-data=
"rowData"
:title=
"dialogTitle"
:title=
"dialogTitle"
></Edit>
></Edit>
<!-- <ApprovalDialog
<!-- <ApprovalDialog
:row-data="rowData"
:row-data="rowData"
...
@@ -46,10 +46,11 @@ import ListPage from '@/components/ListPage.vue'
...
@@ -46,10 +46,11 @@ import ListPage from '@/components/ListPage.vue'
import
SearchForm
from
'@/components/SearchForm.vue'
import
SearchForm
from
'@/components/SearchForm.vue'
import
TableConfig
from
'@/components/TableConfig.vue'
import
TableConfig
from
'@/components/TableConfig.vue'
import
Edit
from
'./Edit.vue'
import
Edit
from
'./Edit.vue'
import
{
updReportManage
,
delReportManage
}
from
'@/api/index.js'
import
{
auditReportManage
,
delReportManage
,
pubReportManage
,
subReportManage
}
from
'@/api/index.js'
import
{
querySupervisionNotifyManagement
}
from
'@/api/interface'
import
{
querySupervisionNotifyManagement
}
from
'@/api/interface'
import
{
approvalStatusOptions
}
from
'@/utils/dictionary'
import
{
reportStateCode
}
from
'@/utils/architectureInspectionDis'
import
{
stateCode
}
from
'@/utils/architectureInspectionDis'
import
{
getDictTypeOptions
}
from
"@/utils"
;
export
default
{
export
default
{
name
:
'supervisionNotifyManagement'
,
name
:
'supervisionNotifyManagement'
,
components
:
{
components
:
{
...
@@ -70,6 +71,7 @@ export default {
...
@@ -70,6 +71,7 @@ export default {
rowData
:
{},
rowData
:
{},
dialogTitle
:
''
,
dialogTitle
:
''
,
approvalVisible
:
false
,
approvalVisible
:
false
,
sysBuildOrgOptions
:
[]
}
}
},
},
computed
:
{
computed
:
{
...
@@ -85,9 +87,15 @@ export default {
...
@@ -85,9 +87,15 @@ export default {
},
},
columns
()
{
columns
()
{
return
[
return
[
{
label
:
'序号'
,
type
:
'index'
,
width
:
'80px'
},
{
label
:
'序号'
,
type
:
'index'
,
width
:
'80px'
},
{
label
:
'项目名称'
,
prop
:
'prjName'
},
{
label
:
'项目名称'
,
prop
:
'prjName'
},
{
label
:
'承建单位'
,
prop
:
'buildOrg'
,
width
:
'300px'
},
{
label
:
'承建单位'
,
prop
:
'buildOrg'
,
options
:
this
.
sysBuildOrgOptions
,
collectionType
:
true
,
width
:
'300px'
,
},
{
{
label
:
'通报时间'
,
label
:
'通报时间'
,
width
:
'160px'
,
width
:
'160px'
,
...
@@ -98,9 +106,9 @@ export default {
...
@@ -98,9 +106,9 @@ export default {
width
:
'100px'
,
width
:
'100px'
,
prop
:
'state'
,
prop
:
'state'
,
collectionType
:
true
,
collectionType
:
true
,
options
:
s
tateCode
,
options
:
reportS
tateCode
,
},
},
{
label
:
'修改意见'
,
prop
:
'opinion'
,
width
:
'220px'
},
{
label
:
'修改意见'
,
prop
:
'opinion'
,
width
:
'220px'
},
{
{
label
:
'操作'
,
label
:
'操作'
,
type
:
'operation'
,
type
:
'operation'
,
...
@@ -156,8 +164,15 @@ export default {
...
@@ -156,8 +164,15 @@ export default {
]
]
},
},
},
},
created
()
{},
created
()
{
this
.
getDicts
();
},
methods
:
{
methods
:
{
getDicts
()
{
getDictTypeOptions
(
'build_company'
).
then
((
res
)
=>
{
this
.
sysBuildOrgOptions
=
res
})
},
querySearch
(
data
)
{
querySearch
(
data
)
{
this
.
query
.
queryParam
=
{
this
.
query
.
queryParam
=
{
...
this
.
query
.
queryParam
,
...
this
.
query
.
queryParam
,
...
@@ -205,43 +220,67 @@ export default {
...
@@ -205,43 +220,67 @@ export default {
confirmButtonText
:
'确认'
,
confirmButtonText
:
'确认'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
,
type
:
'warning'
,
}).
then
(()
=>
{
const
params
=
{
...
row
,
state
,
}
switch
(
state
)
{
case
1
:
subReportManage
(
params
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
$message
.
success
(
`
${
text
}
成功`
)
this
.
$refs
.
searchTable
.
queryData
()
}
else
{
this
.
$message
.
error
(
res
.
msg
)
}
});
break
case
2
:
auditReportManage
(
params
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
$message
.
success
(
`
${
text
}
成功`
)
this
.
$refs
.
searchTable
.
queryData
()
}
else
{
this
.
$message
.
error
(
res
.
msg
)
}
});
break
case
3
:
pubReportManage
(
params
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
$message
.
success
(
`
${
text
}
成功`
)
this
.
$refs
.
searchTable
.
queryData
()
}
else
{
this
.
$message
.
error
(
res
.
msg
)
}
});
break
default
:
break
}
}).
catch
(()
=>
{
})
})
.
then
(()
=>
{
const
params
=
{
...
row
,
state
,
}
updReportManage
(
params
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
$message
.
success
(
`
${
text
}
成功`
)
this
.
$refs
.
searchTable
.
queryData
()
}
else
{
this
.
$message
.
error
(
res
.
msg
)
}
})
})
.
catch
(()
=>
{})
},
},
fnDel
(
row
)
{
fnDel
(
row
)
{
this
.
$confirm
(
'是否确认删除?'
,
'提示'
,
{
this
.
$confirm
(
'是否确认删除?'
,
'提示'
,
{
confirmButtonText
:
'确认'
,
confirmButtonText
:
'确认'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
,
type
:
'warning'
,
})
}).
then
(()
=>
{
.
then
(()
=>
{
const
params
=
{
const
params
=
{
...
row
,
...
row
,
}
delReportManage
(
params
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
$message
.
success
(
'删除成功'
)
this
.
$refs
.
searchTable
.
queryData
()
}
else
{
this
.
$message
.
error
(
res
.
msg
)
}
}
delReportManage
(
params
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
$message
.
success
(
'删除成功'
)
this
.
$refs
.
searchTable
.
queryData
()
}
else
{
this
.
$message
.
error
(
'删除失败'
)
}
})
})
})
.
catch
(()
=>
{})
}).
catch
(()
=>
{
})
},
},
fnEdit
(
row
)
{
fnEdit
(
row
)
{
this
.
dialogTitle
=
'编辑通报'
this
.
dialogTitle
=
'编辑通报'
...
...
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