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 bf380876
authored
Aug 13, 2024
by
liangzhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
首页新增赛选条件
1 parent
85285f7f
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
153 additions
and
64 deletions
src/api/index.js
src/views/assessChecks/auxiliaryInspection.vue
src/views/assessChecks/checkCompliance.vue
src/views/assessChecks/mianHome.vue
src/views/assessZC/auxiliaryInspection.vue
src/views/assessZC/checkCompliance.vue
src/views/layout/index.vue
src/api/index.js
View file @
bf38087
...
...
@@ -454,5 +454,8 @@ export function HistoryVersion(params){
export
function
postExist
(
params
){
return
post
(
`
${
ARCH_EVALUATION
}
/pmProInitiation/postExist`
,
params
)
}
//新增问题
export
function
xzwtpostEvalQuesInfo
(
params
)
{
return
post
(
`
${
ARCH_EVALUATION
}
/postEvalQuesInfo/xzwt`
,
params
)
}
src/views/assessChecks/auxiliaryInspection.vue
View file @
bf38087
...
...
@@ -238,7 +238,8 @@
<el-table-column
label=
"问题检查项"
prop=
"quesCheckItem"
width=
"200"
width=
"auto"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
...
...
@@ -248,7 +249,7 @@
show-overflow-tooltip
>
</el-table-column>
<el-table-column
label=
"评估问题"
prop=
"evalQues"
width=
"auto"
>
<el-table-column
label=
"评估问题"
prop=
"evalQues"
width=
"auto"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
label=
"问题响应"
width=
"100"
>
<
template
slot-scope=
"scope"
>
...
...
@@ -272,15 +273,15 @@
</el-switch>
</template>
</el-table-column>
<el-table-column
label=
"解释批注"
width=
"200"
>
<
template
<el-table-column
label=
"解释批注"
prop=
"feedback"
width=
"auto"
show-overflow-tooltip
>
<
!-- <
template
slot-scope="scope"
v-if="scope.row.confirmStatus == '1'"
>
<el-input v-model="scope.row.feedback" disabled></el-input>
</
template
>
</template>
-->
</el-table-column>
<el-table-column
label=
"整改材料下载"
width=
"
20
0"
>
<el-table-column
label=
"整改材料下载"
width=
"
12
0"
>
<
template
slot-scope=
"scope"
>
<router-link
:to=
"
{
...
...
src/views/assessChecks/checkCompliance.vue
View file @
bf38087
...
...
@@ -514,18 +514,11 @@ docxOptions: {
},
change
(
id
)
{
console
.
log
(
JSON
.
stringify
(
this
.
questionList
)
==
JSON
.
stringify
(
this
.
oldQuestionList
),
"完全相同么"
);
if
(
JSON
.
stringify
(
this
.
questionList
)
==
JSON
.
stringify
(
this
.
oldQuestionList
)
)
{
this
.
active
=
id
*
1
;
// this.tabListKY = MaterialsListKY(id * 1 + 1);
this
.
init
(
this
.
clqparams
);
return
;
}
...
...
@@ -536,10 +529,8 @@ docxOptions: {
type
:
"warning"
,
})
.
then
(()
=>
{
this
.
save
();
this
.
active
=
id
*
1
;
// this.tabListKY = MaterialsListKY(id * 1 + 1);
this
.
init
(
this
.
clqparams
);
this
.
save
(
'3'
,
id
);
})
.
catch
((
action
)
=>
{
console
.
log
(
action
,
"actionaction"
);
...
...
@@ -608,7 +599,7 @@ docxOptions: {
path
:
"/mainLayout/auxiliaryInspection"
,
});
},
async
save
(
type
)
{
async
save
(
type
,
id
)
{
this
.
questionList
.
forEach
((
item
)
=>
{
let
evals
=
""
;
item
.
evalList
.
forEach
((
childItem
)
=>
{
...
...
@@ -632,9 +623,7 @@ docxOptions: {
}
});
console
.
log
(
this
.
questionList
,
"questionList"
);
let
params
=
{
list
:
this
.
questionList
,
...
this
.
clqparams
,
...
...
@@ -653,6 +642,9 @@ docxOptions: {
projectName
:
this
.
projectName
},
});
}
else
{
this
.
active
=
id
*
1
;
this
.
init
(
this
.
clqparams
);
}
}
else
{
...
...
src/views/assessChecks/mianHome.vue
View file @
bf38087
<
template
>
<div
class=
"main"
>
<div
class=
"mainhome"
>
<div
class=
"querytj"
>
年份:
<el-select
v-model=
"ruleForm.batchYear"
placeholder=
"请选择"
clearable
class=
"inputnf"
>
<el-option
v-for=
"(item, index) in yearsList"
:key=
"index"
:label=
"item + ''"
:value=
"item"
/>
</el-select>
评估形式:
<el-checkbox-group
v-model=
"ruleForm.type"
class=
"inputnf"
>
<el-checkbox
label=
"0"
>
自查
</el-checkbox>
<el-checkbox
label=
"1"
>
互查
</el-checkbox>
</el-checkbox-group>
</div>
<div
class=
"pc child"
>
<div
class=
"left"
>
<div
class=
"pcBcg"
></div>
...
...
@@ -8,9 +24,15 @@
<div
class=
"right"
>
<h3>
后评估批次
</h3>
<ul>
<li>
批次总数量:
<span>
{{
info
.
pcCount
}}
</span>
个
</li>
<li>
已发起:
<span>
{{
info
.
pcFqCount
}}
</span>
个
</li>
<li>
已完成:
<span>
{{
info
.
pcWcCount
}}
</span>
个
</li>
<li>
批次总数量:
<span>
{{
info
.
pcCount
}}
</span>
个
</li>
<li>
已发起:
<span>
{{
info
.
pcFqCount
}}
</span>
个
</li>
<li>
已完成:
<span>
{{
info
.
pcWcCount
}}
</span>
个
</li>
</ul>
</div>
</div>
...
...
@@ -21,12 +43,22 @@
<div
class=
"right"
>
<h3>
后评估项目
</h3>
<ul>
<li>
项目总数量:
<span>
{{
info
.
proCount
}}
</span>
个
</li>
<li>
项目总数量:
<span>
{{
info
.
proCount
}}
</span>
个
</li>
<!--
<li>
未上传材料:
<span>
{{
info
.
proNscCount
}}
</span>
个
</li>
-->
<li>
待评估:
<span>
{{
info
.
proDpgCount
}}
</span>
个
</li>
<li>
需整改:
<span>
{{
info
.
proXzgCount
}}
</span>
个
</li>
<li>
己整改:
<span>
{{
info
.
proYzgCount
}}
</span>
个
</li>
<li>
己归档:
<span>
{{
info
.
proYgdCount
}}
</span>
个
</li>
<li>
待评估:
<span>
{{
info
.
proDpgCount
}}
</span>
个
</li>
<li>
需整改:
<span>
{{
info
.
proXzgCount
}}
</span>
个
</li>
<li>
己整改:
<span>
{{
info
.
proYzgCount
}}
</span>
个
</li>
<li>
己归档:
<span>
{{
info
.
proYgdCount
}}
</span>
个
</li>
</ul>
</div>
</div>
...
...
@@ -35,12 +67,20 @@
<div
class=
"wtBcg"
></div>
</div>
<div
class=
"right"
>
<h3>
后评估问题
</h3>
<h3>
后评估问题
</h3>
<ul>
<li>
问题总数量:
<span>
{{
info
.
quesCount
,
}}
</span>
个
</li>
<li>
未整改数量:
<span>
{{
info
.
quesWzgCount
}}
</span>
个
</li>
<li>
整改不合格:
<span>
{{
info
.
quesZgbhgCount
}}
</span>
个
</li>
<li>
整改完成:
<span>
{{
info
.
quesZgwcCount
}}
</span>
个
</li>
<li>
问题总数量:
<span>
{{
info
.
quesCount
,
}}
</span>
个
</li>
<li>
未整改数量:
<span>
{{
info
.
quesWzgCount
}}
</span>
个
</li>
<li>
整改不合格:
<span>
{{
info
.
quesZgbhgCount
}}
</span>
个
</li>
<li>
整改完成:
<span>
{{
info
.
quesZgwcCount
}}
</span>
个
</li>
</ul>
</div>
</div>
...
...
@@ -49,25 +89,53 @@
</
template
>
<
script
>
import
{
projectInfoSy
}
from
"@/api/index"
;
import
{
projectInfoSy
}
from
"@/api/index"
;
import
{
generateYearOptions
}
from
"@/utils/cache"
;
export
default
{
data
(){
return
{
info
:{}
}
data
()
{
return
{
yearsList
:
generateYearOptions
(),
info
:
{},
ruleForm
:
{
type
:
[
'0'
,
'1'
],
batchYear
:
"2024"
,
module
:
'1,2'
},
};
},
watch
:
{
"ruleForm.type"
(
n
,
o
)
{
console
.
log
(
"变了"
,
n
,
o
);
if
(
n
.
length
>
1
){
this
.
ruleForm
.
module
=
"1,2"
}
else
{
this
.
ruleForm
.
module
=
n
.
join
(
','
)
}
// if(n.length>)
this
.
init
();
},
"ruleForm.batchYear"
(
newVal
,
oldVal
)
{
console
.
log
(
"变了1"
,
newVal
);
this
.
init
();
},
},
mounted
()
{
mounted
()
{
this
.
init
();
},
methods
:{
async
init
(){
let
res
=
await
projectInfoSy
({});
this
.
info
=
res
.
data
}
}
methods
:
{
async
init
()
{
let
params
=
{
}
Object
.
assign
(
params
,
this
.
ruleForm
);
let
res
=
await
projectInfoSy
(
params
);
this
.
info
=
res
.
data
;
},
},
};
</
script
>
...
...
@@ -90,6 +158,15 @@ export default {
/* background: red; */
background-image
:
url("../../assets/mainbcg.png")
;
background-size
:
cover
;
.querytj
{
position
:
absolute
;
right
:
0
;
top
:
15px
;
font-weight
:
500
;
font-size
:
15px
;
//
width
:
600px
;
//
border
:
1px
solid
red
;
}
.child
{
display
:
flex
;
.left
{
...
...
@@ -109,7 +186,7 @@ export default {
height
:
30px
;
line-height
:
30px
;
color
:
rgb
(
0
,
104
,
98
);
span{
span
{
font-size
:
20px
;
font-weight
:
600
;
color
:
rgb
(
0
,
104
,
98
);
...
...
@@ -159,7 +236,7 @@ export default {
.xm
{
position
:
absolute
;
width
:
400px
;
height
:
200px
;
height
:
200px
;
background-image
:
linear-gradient
(
to
right
,
rgb
(
220
,
250
,
250
),
...
...
@@ -188,4 +265,16 @@ export default {
h2
{
margin-top
:
60px
;
}
.inputnf
{
display
:
inline-block
;
width
:
200px
;
margin-right
:
20px
;
}
/
deep
/
.el-input--suffix
.el-input__inner
{
background
:
transparent
!important
;
border
:
1px
solid
#0a7872
;
}
/
deep
/
.el-checkbox__input.is-checked
.el-checkbox__inner
{
background
:
blue
;
}
</
style
>
\ No newline at end of file
src/views/assessZC/auxiliaryInspection.vue
View file @
bf38087
...
...
@@ -229,16 +229,17 @@
<el-table-column
label=
"项目环节"
prop=
"projectStagetext"
width=
"1
2
0"
width=
"1
0
0"
>
</el-table-column>
<el-table-column
label=
"序号"
width=
"
7
0"
type=
"index"
>
<el-table-column
label=
"序号"
width=
"
4
0"
type=
"index"
>
</el-table-column>
<el-table-column
label=
"问题检查项"
prop=
"quesCheckItem"
width=
"200"
width=
"auto"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
...
...
@@ -248,7 +249,7 @@
show-overflow-tooltip
>
</el-table-column>
<el-table-column
label=
"评估问题"
prop=
"evalQues"
width=
"auto"
>
<el-table-column
label=
"评估问题"
prop=
"evalQues"
width=
"auto"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
label=
"问题响应"
width=
"100"
>
<
template
slot-scope=
"scope"
>
...
...
@@ -272,15 +273,15 @@
</el-switch>
</template>
</el-table-column>
<el-table-column
label=
"解释批注"
width=
"200"
>
<
template
<el-table-column
label=
"解释批注"
prop=
"feedback"
width=
"auto"
show-overflow-tooltip
>
<
!-- <
template
slot-scope="scope"
v-if="scope.row.confirmStatus == '1'"
>
<el-input v-model="scope.row.feedback" disabled></el-input>
</
template
>
</template>
-->
</el-table-column>
<el-table-column
label=
"整改材料下载"
width=
"
20
0"
>
<el-table-column
label=
"整改材料下载"
width=
"
12
0"
>
<
template
slot-scope=
"scope"
>
<router-link
:to=
"
{
...
...
src/views/assessZC/checkCompliance.vue
View file @
bf38087
...
...
@@ -536,10 +536,9 @@ docxOptions: {
type
:
"warning"
,
})
.
then
(()
=>
{
this
.
save
();
this
.
active
=
id
*
1
;
// this.tabListKY = MaterialsListKY(id * 1 + 1);
this
.
init
(
this
.
clqparams
);
this
.
save
(
'3'
,
id
);
// this.active = id * 1;
// this.init(this.clqparams);
})
.
catch
((
action
)
=>
{
console
.
log
(
action
,
"actionaction"
);
...
...
@@ -653,6 +652,9 @@ docxOptions: {
projectName
:
this
.
projectName
},
});
}
else
{
this
.
active
=
id
*
1
;
this
.
init
(
this
.
clqparams
);
}
}
else
{
...
...
src/views/layout/index.vue
View file @
bf38087
<
template
>
<div
class=
"mian"
>
<!--
<div
class=
"head-container"
>
<div
class=
"head-container"
>
<div
class=
"logo"
style=
"z-index: 10"
>
<div
class=
"logo-inner"
>
<img
src=
"../../assets/logo.png"
alt=
""
/>
...
...
@@ -46,7 +46,7 @@
</div>
</div>
</div>
</div>
-->
</div>
<router-view></router-view>
<!--
<MainLayout
class=
"continer"
>
<router-view></router-view>
...
...
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