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
fc580b7d
Commit
fc580b7d
authored
Sep 02, 2024
by
zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: (周期性检测平台/任务处理/待办任务)调用开始任务相关接口
parent
da89a871
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
13 deletions
+7
-13
dialog.vue
...views/processing/unprocessed-review/components/dialog.vue
+7
-13
No files found.
src/views/processing/unprocessed-review/components/dialog.vue
View file @
fc580b7d
...
...
@@ -89,7 +89,7 @@ export default {
watch
:
{
'dialogManger.dialogVisible'
(
newValue
)
{
if
(
newValue
)
{
this
.
getScenario
()
//
this.getScenario()
this
.
model
=
{
searchFields
:
{
scenario
:
[]
...
...
@@ -109,7 +109,8 @@ export default {
handleClose
()
{
this
.
$emit
(
'close'
,
'123'
)
},
uploadSucess
(
response
,
file
,
fileList
){
// 当表中没有用例编号一列时清除所有文件,提示错误
uploadSucess
(
response
,
file
,
fileList
){
console
.
log
(
this
.
dialogManger
)
// 当表中没有用例编号一列时清除所有文件,提示错误
if
(
response
.
code
===
200
){
this
.
testCaseObj
=
response
.
data
this
.
fileName
=
file
.
name
...
...
@@ -127,7 +128,6 @@ export default {
/**
* 文件大小限制
*/
console
.
log
(
file
)
let
imgSize
=
Number
(
file
.
size
/
1024
/
1024
);
if
(
imgSize
>
20
)
{
...
...
@@ -138,7 +138,6 @@ export default {
});
return
;
}
this
.
fileList
=
this
.
$refs
.
upload
.
uploadFiles
},
removeAll
(){
...
...
@@ -160,11 +159,7 @@ export default {
}
else
{
this
.
loading
=
true
if
(
this
.
testCaseObj
&&
this
.
testCaseList
!=
''
){
console
.
log
(
this
.
testCaseObuseCaseListj
)
const
resp
=
await
this
.
newFileTest
({
name
:
this
.
dialogManger
.
item
.
taskName
,
caseIdList
:
this
.
testCaseObj
.
useCaseList
})
const
resp
=
await
this
.
newFileTest
(
this
.
testCaseObj
)
const
params
=
{
id
:
this
.
dialogManger
.
item
.
id
}
...
...
@@ -197,10 +192,9 @@ export default {
* 对接车联网新建测试项目
*/
async
newFileTest
(
task
)
{
const
res
=
await
createProject
({
name
:
task
.
name
,
useCaseList
:
task
.
caseIdList
})
task
.
name
=
this
.
dialogManger
.
item
.
taskName
console
.
log
(
task
)
const
res
=
await
createProject
(
task
)
return
res
},
getScenario
()
{
...
...
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