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
e09a28e4
Commit
e09a28e4
authored
Dec 25, 2023
by
hanshaozhuang
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/develop' into dev-hanshaozhuang
parents
29b0179d
c935b2d2
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
51 additions
and
24 deletions
+51
-24
Navbar.vue
src/layout/components/Navbar.vue
+5
-5
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
index.vue
src/views/setting/rules/index.vue
+8
-8
index.vue
src/views/setting/standard/index.vue
+5
-4
No files found.
src/layout/components/Navbar.vue
View file @
e09a28e4
<
template
>
<
template
>
<div
class=
"navbar"
>
<div
class=
"navbar"
>
<
div><quick-new></quick-new></div
>
<
!--
<div><quick-new></quick-new></div>
--
>
<hamburger
<hamburger
id=
"hamburger-container"
id=
"hamburger-container"
:is-active=
"sidebar.opened"
:is-active=
"sidebar.opened"
...
@@ -50,14 +50,14 @@ import Breadcrumb from '@/components/Breadcrumb'
...
@@ -50,14 +50,14 @@ import Breadcrumb from '@/components/Breadcrumb'
import
TopNav
from
'@/components/TopNav'
import
TopNav
from
'@/components/TopNav'
import
Hamburger
from
'@/components/Hamburger'
import
Hamburger
from
'@/components/Hamburger'
import
QuickNew
from
'@/components/QuickNew'
//
import QuickNew from '@/components/QuickNew'
// import MessageWaring from '@/components/MessageWaring'
// import MessageWaring from '@/components/MessageWaring'
export
default
{
export
default
{
components
:
{
components
:
{
Breadcrumb
,
Breadcrumb
,
TopNav
,
TopNav
,
Hamburger
,
Hamburger
QuickNew
//
QuickNew
// MessageWaring
// MessageWaring
},
},
computed
:
{
computed
:
{
...
@@ -102,7 +102,7 @@ export default {
...
@@ -102,7 +102,7 @@ export default {
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.navbar
{
.navbar
{
height
:
8
0px
;
height
:
5
0px
;
overflow
:
hidden
;
overflow
:
hidden
;
position
:
relative
;
position
:
relative
;
background
:
#fff
;
background
:
#fff
;
...
...
src/utils/ruoyi.js
View file @
e09a28e4
...
@@ -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 @
e09a28e4
...
@@ -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 @
e09a28e4
<
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
>
src/views/setting/rules/index.vue
View file @
e09a28e4
...
@@ -111,25 +111,25 @@
...
@@ -111,25 +111,25 @@
class=
"item"
class=
"item"
effect=
"dark"
effect=
"dark"
:content=
"node.label"
:content=
"node.label"
placement=
"bottom"
placement=
"bottom
-start
"
>
>
<div
class=
"title"
>
{{
node
.
label
}}
</div>
<div
class=
"title"
>
{{
node
.
label
}}
</div>
</el-tooltip>
</el-tooltip>
<div
class=
"buttons-list"
>
<div
class=
"buttons-list"
>
<el-button
<
!--
<
el-button
v-if=
"node.level == 1"
v-if=
"node.level == 1"
type=
"text"
type=
"text"
size=
"mini"
size=
"mini"
@
click=
"() => append(data)"
@
click=
"() => append(data)"
>
>
添加标准要求
添加标准要求
</el-button>
</el-button>
-->
<el-button
<el-button
v-if=
"node.level == 2"
v-if=
"node.level == 2"
type=
"text"
type=
"text"
size=
"mini"
size=
"mini"
@
click=
"
() => append(data)
"
@
click=
"
handlePointAdd
"
>
>
添加审查要点
添加审查要点
</el-button>
</el-button>
...
@@ -137,19 +137,19 @@
...
@@ -137,19 +137,19 @@
v-if=
"node.level == 3"
v-if=
"node.level == 3"
type=
"text"
type=
"text"
size=
"mini"
size=
"mini"
@
click=
"
() => append(data)
"
@
click=
"
handleAdd
"
>
>
添加审查细则
添加审查细则
</el-button>
</el-button>
<el-button
<
!--
<
el-button
v-if=
"node.level == 4"
v-if=
"node.level == 4"
type=
"text"
type=
"text"
size=
"mini"
size=
"mini"
@
click=
"() => append(data)"
@
click=
"() => append(data)"
>
>
添加关联场景
添加关联场景
</el-button>
</el-button>
-->
<el-button
type=
"text"
size=
"mini"
@
click=
"() =>
append
(data)"
>
<el-button
type=
"text"
size=
"mini"
@
click=
"() =>
handleUpdate
(data)"
>
修改
修改
</el-button>
</el-button>
<el-button
<el-button
...
...
src/views/setting/standard/index.vue
View file @
e09a28e4
<
template
>
<
template
>
<page-standard>
<page-standard>
<div
slot=
"tab"
>
<div
slot=
"tab"
>
<el-radio-group
v-model=
"queryParams.type"
>
<el-radio-group
v-model=
"queryParams.type"
@
input=
"loadData"
>
<el-radio-button
<el-radio-button
v-for=
"dict in dict.type.sys_detailed_classification"
v-for=
"dict in dict.type.sys_detailed_classification"
:key=
"dict.value"
:key=
"dict.value"
...
@@ -226,7 +226,7 @@ export default {
...
@@ -226,7 +226,7 @@ export default {
showSearch
:
true
,
showSearch
:
true
,
list
:
[],
list
:
[],
tableData
:
[],
tableData
:
[],
queryParams
:
{
type
:
'
2
'
},
queryParams
:
{
type
:
'
1
'
},
dialogManger
:
{
dialogManger
:
{
dialogVisible
:
false
,
dialogVisible
:
false
,
refreshList
:
false
,
refreshList
:
false
,
...
@@ -244,8 +244,10 @@ export default {
...
@@ -244,8 +244,10 @@ export default {
}
}
},
},
methods
:
{
methods
:
{
objectSpanMethod
()
{},
loadData
()
{
loadData
()
{
this
.
loading
=
true
this
.
loading
=
true
console
.
log
(
this
.
queryParams
)
request
({
request
({
url
:
this
.
listUrl
,
url
:
this
.
listUrl
,
method
:
'get'
,
method
:
'get'
,
...
@@ -253,10 +255,9 @@ export default {
...
@@ -253,10 +255,9 @@ export default {
})
})
.
then
(
res
=>
{
.
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
if
(
res
.
code
===
200
)
{
console
.
log
(
res
.
rows
)
this
.
list
=
res
.
rows
this
.
list
=
res
.
rows
console
.
log
(
2222
)
if
(
this
.
queryParams
.
type
===
'2'
)
{
if
(
this
.
queryParams
.
type
===
'2'
)
{
console
.
log
(
geSpanList
(
res
.
rows
,
[
'way'
,
'object'
,
'scene'
]))
this
.
tableData
=
geSpanList
(
res
.
rows
,
[
'way'
,
'object'
,
'scene'
])
this
.
tableData
=
geSpanList
(
res
.
rows
,
[
'way'
,
'object'
,
'scene'
])
}
else
{
}
else
{
this
.
tableData
=
res
.
rows
this
.
tableData
=
res
.
rows
...
...
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