Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
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
中汽测评-信息安全测评系统
web
Commits
b129b26b
Commit
b129b26b
authored
Dec 25, 2023
by
jiaxu.yan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(init): 修改车型审查报告页面
parent
c76ddbf8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
33 additions
and
7 deletions
+33
-7
ruoyi.js
src/utils/ruoyi.js
+6
-6
index.vue
src/views/processing/processed-review/index.vue
+4
-1
index.vue
src/views/processing/vehicleEvaluation/index.vue
+23
-0
No files found.
src/utils/ruoyi.js
View file @
b129b26b
...
@@ -83,7 +83,7 @@ export function selectDictLabel(datas, value) {
...
@@ -83,7 +83,7 @@ export function selectDictLabel(datas, value) {
}
}
var
actions
=
[]
var
actions
=
[]
Object
.
keys
(
datas
).
some
(
key
=>
{
Object
.
keys
(
datas
).
some
(
key
=>
{
if
(
datas
[
key
].
value
==
=
''
+
value
)
{
if
(
datas
[
key
].
value
==
''
+
value
)
{
actions
.
push
(
datas
[
key
].
label
)
actions
.
push
(
datas
[
key
].
label
)
return
true
return
true
}
}
...
@@ -108,7 +108,7 @@ export function selectDictLabels(datas, value, separator) {
...
@@ -108,7 +108,7 @@ export function selectDictLabels(datas, value, separator) {
Object
.
keys
(
value
.
split
(
currentSeparator
)).
some
(
val
=>
{
Object
.
keys
(
value
.
split
(
currentSeparator
)).
some
(
val
=>
{
var
match
=
false
var
match
=
false
Object
.
keys
(
datas
).
some
(
key
=>
{
Object
.
keys
(
datas
).
some
(
key
=>
{
if
(
datas
[
key
].
value
==
=
''
+
temp
[
val
])
{
if
(
datas
[
key
].
value
==
''
+
temp
[
val
])
{
actions
.
push
(
datas
[
key
].
label
+
currentSeparator
)
actions
.
push
(
datas
[
key
].
label
+
currentSeparator
)
match
=
true
match
=
true
}
}
...
@@ -138,7 +138,7 @@ export function sprintf(str) {
...
@@ -138,7 +138,7 @@ export function sprintf(str) {
// 转换字符串,undefined,null等转化为""
// 转换字符串,undefined,null等转化为""
export
function
parseStrEmpty
(
str
)
{
export
function
parseStrEmpty
(
str
)
{
if
(
!
str
||
str
==
=
'undefined'
||
str
=
==
'null'
)
{
if
(
!
str
||
str
==
'undefined'
||
str
==
'null'
)
{
return
''
return
''
}
}
return
str
return
str
...
@@ -148,7 +148,7 @@ export function parseStrEmpty(str) {
...
@@ -148,7 +148,7 @@ export function parseStrEmpty(str) {
export
function
mergeRecursive
(
source
,
target
)
{
export
function
mergeRecursive
(
source
,
target
)
{
for
(
var
p
in
target
)
{
for
(
var
p
in
target
)
{
try
{
try
{
if
(
target
[
p
].
constructor
==
=
Object
)
{
if
(
target
[
p
].
constructor
==
Object
)
{
source
[
p
]
=
mergeRecursive
(
source
[
p
],
target
[
p
])
source
[
p
]
=
mergeRecursive
(
source
[
p
],
target
[
p
])
}
else
{
}
else
{
source
[
p
]
=
target
[
p
]
source
[
p
]
=
target
[
p
]
...
@@ -180,7 +180,7 @@ export function handleTree(data, id, parentId, children) {
...
@@ -180,7 +180,7 @@ export function handleTree(data, id, parentId, children) {
for
(
let
d
of
data
)
{
for
(
let
d
of
data
)
{
let
parentId
=
d
[
config
.
parentId
]
let
parentId
=
d
[
config
.
parentId
]
if
(
childrenListMap
[
parentId
]
==
=
null
)
{
if
(
childrenListMap
[
parentId
]
==
null
)
{
childrenListMap
[
parentId
]
=
[]
childrenListMap
[
parentId
]
=
[]
}
}
nodeIds
[
d
[
config
.
id
]]
=
d
nodeIds
[
d
[
config
.
id
]]
=
d
...
@@ -189,7 +189,7 @@ export function handleTree(data, id, parentId, children) {
...
@@ -189,7 +189,7 @@ export function handleTree(data, id, parentId, children) {
for
(
let
d
of
data
)
{
for
(
let
d
of
data
)
{
let
parentId
=
d
[
config
.
parentId
]
let
parentId
=
d
[
config
.
parentId
]
if
(
nodeIds
[
parentId
]
==
=
null
)
{
if
(
nodeIds
[
parentId
]
==
null
)
{
tree
.
push
(
d
)
tree
.
push
(
d
)
}
}
}
}
...
...
src/views/processing/processed-review/index.vue
View file @
b129b26b
...
@@ -103,7 +103,7 @@
...
@@ -103,7 +103,7 @@
<el-button
type=
"success"
@
click=
"handleDetail()"
<el-button
type=
"success"
@
click=
"handleDetail()"
>
查看审查问卷
</el-button
>
查看审查问卷
</el-button
>
>
<el-button
type=
"success"
>
查看审查报告
</el-button>
<el-button
type=
"success"
@
click=
"goReport()"
>
查看审查报告
</el-button>
<el-button
type=
"success"
>
查看企业留档文件
</el-button>
<el-button
type=
"success"
>
查看企业留档文件
</el-button>
<el-button
type=
"success"
>
查看车企文件库
</el-button>
<el-button
type=
"success"
>
查看车企文件库
</el-button>
<el-button
v-if=
"!isSysReview"
type=
"success"
<el-button
v-if=
"!isSysReview"
type=
"success"
...
@@ -150,6 +150,9 @@ export default {
...
@@ -150,6 +150,9 @@ export default {
/* 跳转到问卷详情*/
/* 跳转到问卷详情*/
handleDetail
()
{
handleDetail
()
{
this
.
$router
.
push
({
path
:
'/processing/review-questionnaire'
})
this
.
$router
.
push
({
path
:
'/processing/review-questionnaire'
})
},
goReport
()
{
this
.
$router
.
push
({
path
:
'/processing/vehicleEvaluation'
})
}
}
}
}
}
}
...
...
src/views/processing/vehicleEvaluation/index.vue
0 → 100644
View file @
b129b26b
<
template
>
<div
class=
"content"
>
<iframe
:src=
"'http://storage.xuetangx.com/public_assets/xuetangx/PDF/PlayerAPI_v1.0.6.pdf'"
frameborder=
"0"
style=
"width: 100%; height: 100%"
></iframe>
</div>
</
template
>
<
script
>
export
default
{
name
:
'Index'
}
</
script
>
<
style
scoped
>
.content
{
height
:
100%
;
width
:
100%
;
position
:
absolute
;
}
</
style
>
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