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
8d869221
Commit
8d869221
authored
Mar 11, 2024
by
盖献康
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of
http://gitlab.91isoft.com:90/car-test/web
into developer/gaixiankang
parents
79c98177
4a7f0271
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
44 additions
and
44 deletions
+44
-44
index.vue
src/views/setting/scene/index.vue
+44
-44
No files found.
src/views/setting/scene/index.vue
View file @
8d869221
...
...
@@ -117,19 +117,19 @@
@
pagination
=
"loadData"
>
<
/pagination
>
<
yan
-
dialog
:
dialog
-
manger
=
"dialogManger"
@
close
=
"dialogManger.dialogVisible = false"
><
/yan-dialog
>
<
!--
<
yan
-
dialog
-->
<!--
:
dialog
-
manger
=
"dialogManger"
-->
<!--
@
close
=
"dialogManger.dialogVisible = false"
-->
<!--
><
/yan-dialog>--
>
<
/page-standard
>
<
/template
>
<
script
>
import
page
from
'@/mixins/page'
import
dialog
from
'./components/dialog.vue'
export
default
{
components
:
{
'yan-dialog'
:
dialog
}
,
//
components:
{
//
'yan-dialog': dialog
//
}
,
mixins
:
[
page
],
dicts
:
[
'sys_detailed_classification'
],
data
()
{
...
...
@@ -137,52 +137,52 @@ export default {
listUrl
:
'/system/scenario/getList'
,
showSearch
:
true
,
tableData
:
[],
dialogManger
:
{
dialogVisible
:
false
,
refreshList
:
false
,
source
:
{
}
}
,
classFicationList
:
[],
// dialogManger:
{
// dialogVisible: false,
// refreshList: false,
// source:
{
}
//
}
,
form
:
{
}
}
}
,
watch
:
{
'dialogManger.refreshList'
(
val
)
{
if
(
val
)
{
this
.
loadData
()
this
.
dialogManger
.
refreshList
=
false
}
}
}
,
//
watch:
{
//
'dialogManger.refreshList'(val)
{
//
if (val)
{
//
this.loadData()
//
this.dialogManger.refreshList = false
//
}
//
}
//
}
,
mounted
()
{
this
.
getDicts
(
'sys_detailed_classification'
).
then
(
response
=>
{
this
.
classFicationList
=
response
.
data
}
)
}
,
methods
:
{
handleAdd
()
{
this
.
dialogManger
.
dialogVisible
=
true
this
.
dialogManger
.
source
=
{
}
}
,
handleDelete
(
row
)
{
this
.
$modal
.
confirm
(
'是否确定删除该条数据?'
,
{
type
:
'warning'
,
title
:
'删除'
,
closeOnClickModal
:
false
}
)
.
then
(()
=>
{
// return delNotice(noticeIds)
}
)
.
then
(()
=>
{
this
.
loadData
()
this
.
$modal
.
msgSuccess
(
'删除成功'
)
}
)
.
catch
(()
=>
{
}
)
}
,
handleUpdate
(
row
)
{
this
.
dialogManger
.
dialogVisible
=
true
this
.
dialogManger
.
source
=
row
}
// handleAdd()
{
// this.dialogManger.dialogVisible = true
// this.dialogManger.source =
{
}
//
}
,
// handleDelete(row)
{
// this.$modal
// .confirm('是否确定删除该条数据?',
{
// title: '操作确认',
// closeOnClickModal: false
//
}
)
// .then(() =>
{
// // return delNotice(noticeIds)
//
}
)
// .then(() =>
{
// this.loadData()
// this.$modal.msgSuccess('删除成功')
//
}
)
// .catch(() =>
{
}
)
//
}
,
// handleUpdate(row)
{
// this.dialogManger.dialogVisible = true
// this.dialogManger.source = row
//
}
}
}
<
/script
>
...
...
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