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
b8f87242
Commit
b8f87242
authored
Mar 28, 2024
by
jiaxu.yan
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'developer/yanjiaxu' into develop
parents
b38c909d
4d86661f
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
20 deletions
+13
-20
index.vue
src/components/Editor/index.vue
+7
-3
index.vue
src/components/FileUpload/index.vue
+1
-1
index.vue
src/views/processing/unprocessed-review/index.vue
+2
-2
index.vue
src/views/system/notice/index.vue
+1
-12
index.vue
src/views/task/on/index.vue
+2
-2
No files found.
src/components/Editor/index.vue
View file @
b8f87242
...
@@ -109,8 +109,9 @@ export default {
...
@@ -109,8 +109,9 @@ export default {
this
.
currentValue
=
val
===
null
?
''
:
val
this
.
currentValue
=
val
===
null
?
''
:
val
if
(
this
.
Quill
)
{
if
(
this
.
Quill
)
{
this
.
Quill
.
pasteHTML
(
this
.
currentValue
)
this
.
Quill
.
pasteHTML
(
this
.
currentValue
)
console
.
log
(
this
.
Quill
);
this
.
$nextTick
(()
=>
{
setTimeout
(()
=>
this
.
Quill
.
setSelection
(
this
.
Quill
.
getLength
(),
0
),
0
)
this
.
Quill
.
setSelection
(
this
.
currentValue
.
length
,
0
)
})
}
}
}
}
},
},
...
@@ -119,6 +120,9 @@ export default {
...
@@ -119,6 +120,9 @@ export default {
},
},
mounted
()
{
mounted
()
{
this
.
init
()
this
.
init
()
this
.
$nextTick
(()
=>
{
this
.
Quill
.
setSelection
(
this
.
currentValue
.
length
,
0
)
})
},
},
beforeDestroy
()
{
beforeDestroy
()
{
this
.
Quill
=
null
this
.
Quill
=
null
...
@@ -188,7 +192,7 @@ export default {
...
@@ -188,7 +192,7 @@ export default {
length
,
length
,
'image'
,
'image'
,
// process.env.VUE_APP_BASE_API + res.fileName
// process.env.VUE_APP_BASE_API + res.fileName
process
.
env
.
VUE_APP_IMAGE_API
+
res
.
url
process
.
env
.
VUE_APP_IMAGE_API
+
res
.
url
)
)
// 调整光标到最后
// 调整光标到最后
quill
.
setSelection
(
length
+
1
)
quill
.
setSelection
(
length
+
1
)
...
...
src/components/FileUpload/index.vue
View file @
b8f87242
...
@@ -99,7 +99,7 @@ export default {
...
@@ -99,7 +99,7 @@ export default {
number
:
0
,
number
:
0
,
uploadList
:
[],
uploadList
:
[],
baseUrl
:
process
.
env
.
VUE_APP_BASE_API
,
baseUrl
:
process
.
env
.
VUE_APP_BASE_API
,
uploadFileUrl
:
process
.
env
.
VUE_APP_BASE_API
+
'/common/upload'
,
// 上传文件服务器地址
uploadFileUrl
:
process
.
env
.
VUE_APP_BASE_API
+
'/common/upload
Minio
'
,
// 上传文件服务器地址
headers
:
{
headers
:
{
Authorization
:
'Bearer '
+
getToken
()
Authorization
:
'Bearer '
+
getToken
()
},
},
...
...
src/views/processing/unprocessed-review/index.vue
View file @
b8f87242
...
@@ -298,7 +298,7 @@
...
@@ -298,7 +298,7 @@
>
>
<span
v-if=
"item.testStatus !== 'NEW'"
<span
v-if=
"item.testStatus !== 'NEW'"
>
{{
item
.
testStatus
!==
'FINISH'
?
'(共耗时'
:
'(已耗时'
>
{{
item
.
testStatus
!==
'FINISH'
?
'(共耗时'
:
'(已耗时'
}}{{
getHourDiff
(
item
.
t
ask
BeginTime
)
}}
)
</span
}}{{
getHourDiff
(
item
.
t
est
BeginTime
)
}}
)
</span
>
>
</div>
</div>
</div>
</div>
...
@@ -335,7 +335,7 @@
...
@@ -335,7 +335,7 @@
<el-progress
<el-progress
class=
"cell-progress"
class=
"cell-progress"
:stroke-width=
"12"
:stroke-width=
"12"
:percentage=
"item.
carT
est"
:percentage=
"item.
t
est"
></el-progress>
></el-progress>
</div>
</div>
</div>
</div>
...
...
src/views/system/notice/index.vue
View file @
b8f87242
...
@@ -67,18 +67,7 @@
...
@@ -67,18 +67,7 @@
>
新增
</el-button
>
新增
</el-button
>
>
</el-col>
</el-col>
<!--
<el-col
:span=
"1.5"
>
<!-- common/upload -->
<el-button
v-hasPermi=
"['system:notice:edit']"
type=
"success"
plain
icon=
"el-icon-edit"
size=
"mini"
:disabled=
"single"
@
click=
"handleUpdate"
>
修改
</el-button
>
</el-col>
-->
<el-col
:span=
"1.5"
>
<el-col
:span=
"1.5"
>
<el-button
<el-button
v-hasPermi=
"['system:notice:remove']"
v-hasPermi=
"['system:notice:remove']"
...
...
src/views/task/on/index.vue
View file @
b8f87242
...
@@ -291,7 +291,7 @@
...
@@ -291,7 +291,7 @@
>
>
<span
v-if=
"item.testStatus !== 'NEW'"
<span
v-if=
"item.testStatus !== 'NEW'"
>
{{
item
.
testStatus
!==
'FINISH'
?
'(共耗时'
:
'(已耗时'
>
{{
item
.
testStatus
!==
'FINISH'
?
'(共耗时'
:
'(已耗时'
}}{{
getHourDiff
(
item
.
t
ask
BeginTime
)
}}
)
</span
}}{{
getHourDiff
(
item
.
t
est
BeginTime
)
}}
)
</span
>
>
</div>
</div>
</div>
</div>
...
@@ -328,7 +328,7 @@
...
@@ -328,7 +328,7 @@
<el-progress
<el-progress
class=
"cell-progress"
class=
"cell-progress"
:stroke-width=
"12"
:stroke-width=
"12"
:percentage=
"item.
carT
est"
:percentage=
"item.
t
est"
></el-progress>
></el-progress>
</div>
</div>
</div>
</div>
...
...
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