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
600f6959
Commit
600f6959
authored
Nov 12, 2024
by
高滢
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(实施细则): 审查检查
parent
dba424d3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
12 deletions
+12
-12
chapterOption.vue
src/components/Page/chapterOption.vue
+3
-3
index.vue
src/views/setting/standardTerms/index.vue
+9
-9
No files found.
src/components/Page/chapterOption.vue
View file @
600f6959
...
@@ -250,11 +250,11 @@ export default {
...
@@ -250,11 +250,11 @@ export default {
t2
.
key
=
index
+
'_'
+
t1
.
id
+
'_'
+
t2
.
type
t2
.
key
=
index
+
'_'
+
t1
.
id
+
'_'
+
t2
.
type
switch
(
t2
.
type
)
{
switch
(
t2
.
type
)
{
case
'system'
:
case
'system'
:
t2
.
type
=
'体系
审
查'
t2
.
type
=
'体系
检
查'
t2
.
value
=
'system'
t2
.
value
=
'system'
break
break
case
'car'
:
case
'car'
:
t2
.
type
=
'车型
审
查'
t2
.
type
=
'车型
检
查'
t2
.
value
=
'car'
t2
.
value
=
'car'
break
break
case
'test'
:
case
'test'
:
...
@@ -280,7 +280,7 @@ export default {
...
@@ -280,7 +280,7 @@ export default {
return
item
!=
t2
return
item
!=
t2
})
})
}
}
})
})
})
})
this
.
$nextTick
(
function
()
{
this
.
$nextTick
(
function
()
{
...
...
src/views/setting/standardTerms/index.vue
View file @
600f6959
...
@@ -174,8 +174,8 @@
...
@@ -174,8 +174,8 @@
v-html="'\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0'"
v-html="'\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0'"
></span> -->
></span> -->
<div>
<div>
<span
v-if=
"data.chapter"
class=
"el-tree-content"
>
<span
v-if=
"data.chapter"
class=
"el-tree-content"
>
{{ (data.chapter + '\u00a0' + data.text) }}
</span
{{ (data.chapter + '\u00a0' + data.text) }}
</span
>
>
...
@@ -197,7 +197,7 @@
...
@@ -197,7 +197,7 @@
</span>
</span>
</div>
</div>
<!-- 当二级树为审查要点时将详情图标向左移动20px -->
<!-- 当二级树为审查要点时将详情图标向左移动20px -->
</span>
</span>
</el-tree>
</el-tree>
<pagination
<pagination
...
@@ -214,7 +214,7 @@
...
@@ -214,7 +214,7 @@
<!-- 详情弹窗
<!-- 详情弹窗
ref: 绑定detailModel组件
ref: 绑定detailModel组件
dialog-manger: 设置传递到detail-model组件的参数
dialog-manger: 设置传递到detail-model组件的参数
@close: 点击右上角的 x 时关闭弹窗
@close: 点击右上角的 x 时关闭弹窗
-->
-->
<detail-model
<detail-model
ref=
"detailModel"
ref=
"detailModel"
...
@@ -272,7 +272,7 @@ export default {
...
@@ -272,7 +272,7 @@ export default {
data
()
{
data
()
{
return
{
return
{
listUrl
:
'/review/standard/list'
,
// 获取章节数据信息路径
listUrl
:
'/review/standard/list'
,
// 获取章节数据信息路径
modelData
:
[],
// 储存原始获取的数据
modelData
:
[],
// 储存原始获取的数据
chapterOptions
:
[],
// 储存章节选项
chapterOptions
:
[],
// 储存章节选项
reviewTypeList
:
[
reviewTypeList
:
[
...
@@ -447,7 +447,7 @@ export default {
...
@@ -447,7 +447,7 @@ export default {
},
},
handleNodeClick
()
{
handleNodeClick
()
{
},
},
normalizeTreeData
(
data
,
params
)
{
normalizeTreeData
(
data
,
params
)
{
return
data
.
map
(
node
=>
{
return
data
.
map
(
node
=>
{
...
@@ -494,7 +494,7 @@ export default {
...
@@ -494,7 +494,7 @@ export default {
this
.
tableData
=
res
.
data
.
useCases
this
.
tableData
=
res
.
data
.
useCases
this
.
tableData
=
this
.
normalizeTreeData
(
this
.
tableData
,
this
.
queryParams
)
this
.
tableData
=
this
.
normalizeTreeData
(
this
.
tableData
,
this
.
queryParams
)
this
.
total
=
res
.
data
.
totalCount
this
.
total
=
res
.
data
.
totalCount
})
})
}
else
{
}
else
{
await
request
({
await
request
({
...
@@ -775,7 +775,7 @@ export default {
...
@@ -775,7 +775,7 @@ export default {
padding
:
10px
20px
;
padding
:
10px
20px
;
::v-deep
.el-tree-node
{
::v-deep
.el-tree-node
{
// 节点样式
// 节点样式
position
:
relative
;
position
:
relative
;
display
:
block
;
display
:
block
;
flex-wrap
:
wrap
;
flex-wrap
:
wrap
;
...
@@ -789,7 +789,7 @@ export default {
...
@@ -789,7 +789,7 @@ export default {
// 节点内容样式设置
// 节点内容样式设置
width
:
100%
;
width
:
100%
;
height
:
auto
;
height
:
auto
;
min-height
:
40px
;
min-height
:
40px
;
display
:
flex
;
display
:
flex
;
//justify-content: space-between;
//justify-content: space-between;
margin-top
:
10px
;
margin-top
:
10px
;
...
...
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