Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
car-database-web
Project
Project
Details
Activity
Releases
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
中汽研标准应用数据库
car-database-web
Commits
2dc0a080
Commit
2dc0a080
authored
Sep 02, 2024
by
zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: (首页/信息管理/检验内容库)新增章节选择功能,更新页面样式
parent
159fc919
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
357 additions
and
92 deletions
+357
-92
standard.js
src/api/standard/standard.js
+8
-0
standardOption.vue
src/components/Page/standardOption.vue
+269
-11
getters.js
src/store/getters.js
+2
-0
standard.js
src/store/modules/standard.js
+11
-0
index.vue
src/views/setting/standardTerms/index.vue
+67
-81
No files found.
src/api/standard/standard.js
View file @
2dc0a080
...
...
@@ -8,3 +8,11 @@ export function getStandardList(data) {
data
})
}
export
function
getReviewStandardList
(
data
){
return
request
({
url
:
'/review/standard/getReviewStandardList'
,
method
:
'post'
,
data
})
}
src/components/Page/standardOption.vue
View file @
2dc0a080
This diff is collapsed.
Click to expand it.
src/store/getters.js
View file @
2dc0a080
...
...
@@ -18,6 +18,8 @@ const getters = {
sidebarRouters
:
state
=>
state
.
permission
.
sidebarRouters
,
companyFiles
:
state
=>
state
.
processing
.
companyFiles
,
standard
:
state
=>
state
.
standard
.
standard
,
standard_type
:
state
=>
state
.
standard
.
standard_type
,
standard_chapter
:
state
=>
state
.
standard
.
standard_chapter
,
standard_name
:
state
=>
state
.
standard
.
standard_name
,
standardList
:
state
=>
state
.
standard
.
standardList
,
testScenarioList
:
state
=>
state
.
testScenario
.
testScenarioList
,
...
...
src/store/modules/standard.js
View file @
2dc0a080
...
...
@@ -4,6 +4,8 @@ const standard = {
state
:
{
standard
:
''
,
standard_name
:
''
,
standard_type
:
''
,
standard_chapter
:
''
,
standardList
:
[]
},
...
...
@@ -16,6 +18,12 @@ const standard = {
},
SET_STANDARDNAME
:
(
state
,
standard
)
=>
{
state
.
standard_name
=
standard
},
SET_STANDARDTYPE
:
(
state
,
type
)
=>
{
state
.
standard_type
=
type
},
SET_STANDARDCHAPTER
:
(
state
,
chapter
)
=>
{
state
.
standard_chapter
=
chapter
}
},
...
...
@@ -23,6 +31,8 @@ const standard = {
setStandard
({
commit
},
standard
)
{
commit
(
'SET_STANDARD'
,
standard
.
id
)
commit
(
'SET_STANDARDNAME'
,
standard
.
name
)
commit
(
'SET_STANDARDTYPE'
,
standard
.
type
)
commit
(
'SET_STANDARDCHAPTER'
,
standard
.
chapter
)
},
setStandardList
({
commit
},
name
)
{
getStandardList
({
...
...
@@ -41,6 +51,7 @@ const standard = {
}
})
}
}
}
...
...
src/views/setting/standardTerms/index.vue
View file @
2dc0a080
This diff is collapsed.
Click to expand it.
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