Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
Y
yn-science-front
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
徐俊
yn-science-front
Commits
7078fc57
Commit
7078fc57
authored
Dec 02, 2024
by
徐俊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xujun
parent
b404f5fd
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
7 deletions
+27
-7
index.js
src/api/index.js
+3
-0
fileInfo.vue
src/views/report/project/components/fileInfo.vue
+8
-3
projectKPI.vue
src/views/report/project/components/projectKPI.vue
+16
-4
No files found.
src/api/index.js
View file @
7078fc57
...
...
@@ -787,6 +787,9 @@ export default {
getParameterList
(
params
)
{
return
fetch
(
`/v1/science-admin/system-parameter/getParameterList`
,
params
)
},
getParameterListByTypeId
(
params
)
{
return
fetch
(
`/v1/science-admin/system-parameter/getParameterListByTypeId`
,
params
)
},
getParameterById
(
params
)
{
return
fetch
(
`/v1/science-admin/system-parameter/getParameterById/`
,
params
)
},
...
...
src/views/report/project/components/fileInfo.vue
View file @
7078fc57
...
...
@@ -87,8 +87,14 @@ export default {
},
},
data
()
{
return
{};
return
{
projAttribute
:
[]
};
},
created
()
{
},
methods
:
{
},
methods
:
{},
};
</
script
>
\ No newline at end of file
src/views/report/project/components/projectKPI.vue
View file @
7078fc57
...
...
@@ -25,8 +25,8 @@
<td
class=
"bg-title"
>
项目属性
</td>
<td
colspan=
"10"
>
<a-radio-group
v-model=
"projectKPI.projAttribute"
>
<a-radio
:value=
"
newProject"
>
新增项目
</a-radio>
<a-radio
:value=
"
delayProject"
>
延期项目
</a-radio>
<a-radio
:value=
"
projAttributes[0].id"
>
projAttributes[0].name
</a-radio>
<a-radio
:value=
"
projAttributes[1].id"
>
projAttributes[1].name
</a-radio>
</a-radio-group>
</td>
<td
colspan=
"2"
class=
"bg-title"
>
项目期
</td>
...
...
@@ -112,14 +112,26 @@ export default {
},
data
()
{
return
{
newProject
:
"5b9d6509-aece-11ef-b6cb-0c42a1380f01"
,
delayProject
:
"5b9d6509-aece-11ef-b6cb-0c42a1380f02"
,
projAttributes
:
[
{
id
:
"5b9d6509-aece-11ef-b6cb-0c42a1380f01"
,
name
:
"新增项目"
},
{
id
:
"5b9d6509-aece-11ef-b6cb-0c42a1380f02"
,
name
:
"延期项目"
},
],
};
},
created
()
{
//this.getProjectKpitStatistic()
this
.
LoadParameterInfo
()
},
methods
:
{
LoadParameterInfo
()
{
let
pars1
=
{
typeId
:
67
}
this
.
$api
.
parameter
.
getParameterListByTypeId
(
pars1
)
.
then
(({
data
=
{}
})
=>
{
this
.
projAttributes
=
data
//console.log(this.projAttribute[0].id)
})
.
catch
(()
=>
{
});
},
getProjectKpitStatistic
()
{
this
.
$api
.
statistical
.
getProjectKpitStatistic
().
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment