Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
project_progress
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 4e246c6c
authored
Jun 25, 2024
by
liangzhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加保存功能
1 parent
fff95588
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
115 additions
and
45 deletions
src/api/index.js
src/utils/leftBarRules.js
src/views/assessChecks/auxiliaryInspection.vue
src/views/assessChecks/auxiliarySelection.vue
src/views/assessChecks/checkComplianceFZ.vue
src/views/assessChecks/confirmRelease.vue
src/views/assessZC/confirmRelease.vue
src/api/index.js
View file @
4e246c6
...
...
@@ -51,6 +51,10 @@ export function projectInfo(params) {
export
function
fbProjectInfo
(
params
)
{
return
post
(
`
${
ARCH_EVALUATION
}
/projectInfo/fb`
,
params
)
}
//保存
export
function
bcProjectInfo
(
params
)
{
return
post
(
`
${
ARCH_EVALUATION
}
/projectInfo/bc`
,
params
)
}
//删除
export
function
delProjectInfo
(
params
)
{
return
post
(
`
${
ARCH_EVALUATION
}
/projectInfo/del`
,
params
)
...
...
src/utils/leftBarRules.js
View file @
4e246c6
...
...
@@ -312,11 +312,11 @@ export function trendsRules(type) {
// url: "/mainLayout/auxiliaryQuery",
// children: [],
// },
{
name
:
"问题反馈"
,
url
:
"/mainLayout/assistedFeedback"
,
children
:
[],
},
//
{
//
name: "问题反馈",
//
url: "/mainLayout/assistedFeedback",
//
children: [],
//
},
{
name
:
"申诉确认"
,
url
:
"/mainLayout/assistedConfirm"
,
...
...
@@ -327,16 +327,16 @@ export function trendsRules(type) {
// url: "/mainLayout/assistedRect",
// children: [],
// },
{
name
:
"整改核验"
,
url
:
"/mainLayout/correctiveAssistanceVerification"
,
children
:
[],
},
{
name
:
"同步归档"
,
url
:
"/mainLayout/attachSynchronousArchiving"
,
children
:
[],
},
//
{
//
name: "整改核验",
//
url: "/mainLayout/correctiveAssistanceVerification",
//
children: [],
//
},
//
{
//
name: "同步归档",
//
url: "/mainLayout/attachSynchronousArchiving",
//
children: [],
//
},
],
},
{
...
...
src/views/assessChecks/auxiliaryInspection.vue
View file @
4e246c6
...
...
@@ -284,11 +284,19 @@
</el-table-column>
<el-table-column
label=
"上传整改材料"
width=
"400"
>
<
template
slot-scope=
"scope"
v-if=
"scope.row.zgFileId"
>
{{
scope
.
row
.
zgName
}}
<el-tag
size=
"small"
v-for=
"(tag,index) in scope.row.tags"
:key=
"index"
@
click=
"handleClickXZ(scope.row.tagId[index], tag)"
>
{{
tag
}}
</el-tag>
<!--
{{
scope
.
row
.
zgName
}}
<el-button
@
click=
"handleClickXZ(scope.row.zgFileId, scope.row.zgName)"
>
下载
</el-button
>
>
-->
</
template
>
</el-table-column>
<el-table-column
label=
"情况说明"
prop=
"zgqkFileId"
width=
"400"
>
...
...
@@ -439,6 +447,14 @@ export default {
this
.
$set
(
item
,
"projectStagetext"
,
"6.结决算及转资"
);
break
;
}
let
arr
=
[];
let
arrID
=
[];
if
(
item
.
zgName
)
{
arr
=
item
.
zgName
.
split
(
','
)
arrID
=
item
.
zgFileId
.
split
(
','
)
this
.
$set
(
item
,
"tags"
,
arr
);
this
.
$set
(
item
,
"tagId"
,
arrID
);
}
});
console
.
log
(
this
.
tableDataQR
,
"加不进去?"
);
this
.
dataPretreatment
();
...
...
@@ -672,6 +688,23 @@ export default {
}
return
""
;
},
async
handleClickXZ
(
fileId
,
fileName
)
{
console
.
log
(
fileId
,
"22222"
);
let
response
=
await
downloadObject
({
fileId
:
fileId
*
1
,
});
let
blob
=
new
Blob
([
response
]);
if
(
"download"
in
document
.
createElement
(
"a"
))
{
let
elink
=
document
.
createElement
(
"a"
);
elink
.
download
=
fileName
;
elink
.
style
.
display
=
"none"
;
elink
.
href
=
URL
.
createObjectURL
(
blob
);
document
.
body
.
appendChild
(
elink
);
elink
.
click
();
URL
.
revokeObjectURL
(
elink
.
href
);
// 释放URL 对象
document
.
body
.
removeChild
(
elink
);
}
},
//主列表选中行信息
handleSelectionChange
(
selection
)
{
if
(
Array
.
isArray
(
selection
)
&&
selection
.
length
>
1
)
{
...
...
@@ -991,6 +1024,10 @@ h3 {
overflow-x
:
hidden
!important
;
}
}
/
deep
/
.el-tag
{
white-space
:
normal
;
height
:
auto
;
}
</
style
>
\ No newline at end of file
src/views/assessChecks/auxiliarySelection.vue
View file @
4e246c6
...
...
@@ -224,6 +224,8 @@
scope
.
row
.
fields
|
filtertfields
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"expertProfile"
label=
"专家简介"
width=
"auto"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop=
"expertLevel"
label=
"专家级别"
width=
"auto"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
expertLevel
|
filtertLevel
...
...
@@ -366,6 +368,8 @@
scope
.
row
.
fields
|
filtertfields
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"expertProfile"
label=
"专家简介"
width=
"auto"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop=
"expertLevel"
label=
"专家级别"
width=
"auto"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
expertLevel
|
filtertLevel
...
...
@@ -400,14 +404,14 @@
<!-- 选择专家弹窗 -->
<el-dialog
title=
"选择专家
组长
"
title=
"选择专家"
:visible
.
sync=
"dialogAddzj"
width=
"90%"
:modal-append-to-body=
"false"
:append-to-body=
"false"
>
<div
class=
"adzjdialog"
>
<el-form
:model=
"ruleFormZJ"
label-width=
"100px"
class=
"demo-ruleForm"
>
<el-form
:model=
"ruleFormZJ"
label-width=
"100px"
class=
"demo-ruleForm"
>
<el-form-item
label=
"专家姓名:"
prop=
"fullName"
class=
"fromItem"
>
<el-input
v-model=
"ruleFormZJ.fullName"
...
...
@@ -458,7 +462,7 @@
</el-select>
</el-form-item> -->
<el-form-item
class=
"cxItem"
>
<span
class=
"zjquery"
@
click=
"xzExperts()"
>
查询
</span>
<span
class=
"zjquery"
@
click=
"xzExperts(
'dj'
)"
>
查询
</span>
</el-form-item>
</el-form>
<div
class=
"setscrolldialog"
>
...
...
@@ -502,7 +506,7 @@
scope
.
row
.
fields
|
filtertfields
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"
新增字段"
label=
"专家简介"
width=
"auto"
>
<el-table-column
prop=
"
expertProfile"
label=
"专家简介"
width=
"auto"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop=
"expertLevel"
label=
"专家级别"
width=
"auto"
>
<
template
slot-scope=
"scope"
>
{{
...
...
@@ -650,6 +654,8 @@
scope
.
row
.
fields
|
filtertfields
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"expertProfile"
label=
"专家简介"
width=
"auto"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop=
"expertLevel"
label=
"专家级别"
width=
"auto"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
expertLevel
|
filtertLevel
...
...
@@ -1008,7 +1014,10 @@ export default {
cancelBJ
()
{
this
.
dialogedit
=
false
;
},
async
xzExperts
()
{
async
xzExperts
(
type
)
{
if
(
!
type
){
this
.
ruleFormZJ
=
{}
}
this
.
dialogAddzj
=
true
;
let
params
=
{
current
:
this
.
currentZJ
,
...
...
@@ -1205,6 +1214,7 @@ export default {
}
let
res
=
await
chEvalBatchInfo
(
this
.
checkedList
[
0
]);
if
(
res
.
code
==
"200"
)
{
this
.
$message
(
'已撤回'
)
this
.
resetForm
();
}
},
...
...
src/views/assessChecks/checkComplianceFZ.vue
View file @
4e246c6
...
...
@@ -288,7 +288,7 @@ export default {
padding-top
:
0
;
//
display
:
flex
;
//
padding
:
0
20px
;
padding-bottom
:
2
0px
;
padding-bottom
:
8
0px
;
position
:
relative
;
}
...
...
src/views/assessChecks/confirmRelease.vue
View file @
4e246c6
...
...
@@ -447,9 +447,9 @@
clearable
></el-input>
</el-form-item>
<el-form-item
label=
"项目年度:"
prop=
"projectYear"
class=
"fromItem"
>
<el-form-item
label=
"项目年度:"
prop=
"projectYear
Str
"
class=
"fromItem"
>
<el-select
v-model=
"ruleFormZJ.projectYear"
v-model=
"ruleFormZJ.projectYear
Str
"
placeholder=
"请选择"
clearable
multiple
...
...
@@ -594,6 +594,7 @@ import {
joinProjectInfo
,
getProjectInfo
,
chProjectInfo
,
bcProjectInfo
}
from
"@/api/index"
;
import
{
generateYearOptions
,
projectCategoryText
}
from
"@/utils/cache"
;
export
default
{
...
...
@@ -869,8 +870,8 @@ export default {
});
console
.
log
(
this
.
addtableData
,
"addtableData"
);
this
.
addtotal
=
this
.
addtableData
.
length
;
this
.
handleCurrentChangeZJ
(
1
);
this
.
handleSizeChangeAdd
(
5
);
//
this.handleCurrentChangeZJ(1);
//
this.handleSizeChangeAdd(5);
this
.
dialogAddzj
=
false
;
},
cancelZJ
()
{
...
...
@@ -916,7 +917,7 @@ export default {
expertStr
:
expertIdList
,
};
params
.
batchId
=
this
.
ruleFormdialogBJ
.
batchId
;
params
.
prjsOfExpert
=
this
.
ruleFormdialogBJ
.
prjsOfExpert
;
//
params.prjsOfExpert = this.ruleFormdialogBJ.prjsOfExpert;
console
.
log
(
params
,
"222"
);
// return
fbProjectInfo
(
params
).
then
((
res
)
=>
{
...
...
@@ -925,13 +926,10 @@ export default {
this
.
resetForm
();
});
},
//保存选择项目
savepro
()
{
if
(
this
.
addtableData
.
length
<
1
)
{
this
.
$message
(
"
请选择待评估
项目"
);
this
.
$message
(
"
没有可保存的
项目"
);
}
console
.
log
(
'调取保存接口'
)
return
console
.
log
(
this
.
addZJList
,
"this.addZJList"
);
// 确认发布入参
let
expertIdList
=
""
;
...
...
@@ -945,13 +943,13 @@ export default {
expertStr
:
expertIdList
,
};
params
.
batchId
=
this
.
ruleFormdialogBJ
.
batchId
;
params
.
prjsOfExpert
=
this
.
ruleFormdialogBJ
.
prjsOfExpert
;
//
params.prjsOfExpert = this.ruleFormdialogBJ.prjsOfExpert;
console
.
log
(
params
,
"222"
);
// return
fb
ProjectInfo
(
params
).
then
((
res
)
=>
{
this
.
dialogAdd
=
false
;
bc
ProjectInfo
(
params
).
then
((
res
)
=>
{
//
this.dialogAdd = false;
this
.
expertIdList
=
expertIdList
;
this
.
resetForm
();
//
this.resetForm();
});
},
cancelXZ
()
{
...
...
@@ -1258,16 +1256,20 @@ export default {
overflow
:
auto
;
}
.setscrolldialog
{
width
:
100%
;
//
width
:
100%
;
height
:
300px
;
overflow-y
:
auto
;
overflow-x
:
scroll
;
position
:
relative
;
overflow
:
auto
;
box-sizing
:
border-box
;
/deep/
.el-table
{
height
:
300px
;
overflow
:
auto
;
position
:
absolute
;
min-width
:
100%
;
.eltable
{
box-sizing
:
border-box
;
text-align
:
center
;
width
:
190%
;
min-width
:
190%
;
}
/
deep
/
.el-table--scrollable-x
.el-table__body-wrapper
{
overflow-x
:
hidden
!important
;
}
}
.setscrolldialogx
{
...
...
@@ -1286,6 +1288,22 @@ export default {
::v-deep
.el-table
::before
{
display
:
none
!important
;
}
.setTable
{
height
:
560px
;
overflow-y
:
auto
;
overflow-x
:
scroll
;
position
:
relative
;
overflow
:
auto
;
.eltable
{
box-sizing
:
border-box
;
text-align
:
center
;
width
:
190%
;
min-width
:
190%
;
}
/
deep
/
.el-table--scrollable-x
.el-table__body-wrapper
{
overflow-x
:
hidden
!important
;
}
}
</
style
>
<
style
>
...
...
src/views/assessZC/confirmRelease.vue
View file @
4e246c6
...
...
@@ -863,8 +863,8 @@ export default {
});
console
.
log
(
this
.
addtableData
,
"addtableData"
);
this
.
addtotal
=
this
.
addtableData
.
length
;
this
.
handleCurrentChangeZJ
(
1
);
this
.
handleSizeChangeAdd
(
5
);
//
this.handleCurrentChangeZJ(1);
//
this.handleSizeChangeAdd(5);
this
.
dialogAddzj
=
false
;
},
cancelZJ
()
{
...
...
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