Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue-gjjs
Overview
Overview
Details
Activity
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
fukai
vue-gjjs
Commits
7c8340a1
Commit
7c8340a1
authored
Dec 27, 2021
by
liushikai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
待经办调整
parent
2793bac1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
97 deletions
+14
-97
Event.js
src/model/Sptsel/Event.js
+3
-9
Menu.vue
src/views/Business/Sptsel/Menu.vue
+11
-88
No files found.
src/model/Sptsel/Event.js
View file @
7c8340a1
...
...
@@ -93,15 +93,9 @@ export default {
},
async
handleSearch
()
{
if
(
this
.
sourceModel
.
length
===
0
){
this
.
model
.
chkinc
=
"t"
;
this
.
model
.
chkdzt
=
"t"
;
this
.
model
.
chkcor
=
"t"
;
this
.
model
.
chkaut
=
"t"
;
this
.
model
.
chkdel
=
"t"
;
this
.
model
.
chktco
=
"t"
;
this
.
model
.
chkcan
=
"t"
;
this
.
model
.
chkypt
=
"t"
;
this
.
sourceData
.
forEach
(
s
=>
{
this
.
model
[
s
.
value
]
=
't'
;
})
}
this
.
executeDefault
(
"sptstm"
).
then
(
res
=>
{
//TODO 处理数据逻辑
...
...
src/views/Business/Sptsel/Menu.vue
View file @
7c8340a1
...
...
@@ -104,6 +104,7 @@
placeholder=
"请选择来源"
multiple
collapse-tags
@
change=
"sourceChangeEvent"
>
<el-option
v-for=
"item in sourceData"
...
...
@@ -367,7 +368,7 @@ export default {
mixins
:
[
CommonProcess
],
data
()
{
return
{
//
sourceModel: [],
sourceModel
:
[],
sourceData
:
[],
initdialog
:
false
,
transactionStatus
:
{
...
...
@@ -420,95 +421,17 @@ export default {
{
label
:
"云平台"
,
value
:
"chkypt"
},
];
},
computed
:
{
chkinc
:
{
get
()
{
return
this
.
model
.
chkinc
===
"t"
;
},
set
(
val
)
{
this
.
model
.
chkinc
=
val
?
"t"
:
""
;
},
},
chkdzt
:
{
get
()
{
return
this
.
model
.
chkdzt
===
"t"
;
},
set
(
val
)
{
this
.
model
.
chkdzt
=
val
?
"t"
:
""
;
},
},
chkpen
:
{
get
()
{
return
this
.
model
.
chkpen
===
"t"
;
},
set
(
val
)
{
this
.
model
.
chkpen
=
val
?
"t"
:
""
;
},
},
chkcor
:
{
get
()
{
return
this
.
model
.
chkcor
===
"t"
;
},
set
(
val
)
{
this
.
model
.
chkcor
=
val
?
"t"
:
""
;
},
},
chkaut
:
{
get
()
{
return
this
.
model
.
chkaut
===
"t"
;
},
set
(
val
)
{
this
.
model
.
chkaut
=
val
?
"t"
:
""
;
},
},
chkdel
:
{
get
()
{
return
this
.
model
.
chkdel
===
"t"
;
},
set
(
val
)
{
this
.
model
.
chkdel
=
val
?
"t"
:
""
;
},
},
chktco
:
{
get
()
{
return
this
.
model
.
chktco
===
"t"
;
},
set
(
val
)
{
this
.
model
.
chktco
=
val
?
"t"
:
""
;
},
},
chkcan
:
{
get
()
{
return
this
.
model
.
chkcan
===
"t"
;
},
set
(
val
)
{
this
.
model
.
chkcan
=
val
?
"t"
:
""
;
},
},
sourceModel
:
{
get
()
{
let
arr
=
[];
this
.
sourceData
.
forEach
((
element
)
=>
{
if
(
this
.
model
[
element
.
value
])
{
arr
.
push
(
element
.
value
);
}
});
return
arr
;
},
set
(
val
)
{
let
set
=
new
Set
(
val
);
this
.
sourceData
.
forEach
((
element
)
=>
{
if
(
set
.
has
(
element
.
value
))
{
this
.
model
[
element
.
value
]
=
true
;
}
else
{
this
.
model
[
element
.
value
]
=
false
;
}
});
},
methods
:
{
sourceChangeEvent
(
val
)
{
this
.
sourceData
.
forEach
(
s
=>
{
this
.
model
[
s
.
value
]
=
''
;
})
val
.
forEach
((
element
)
=>
{
this
.
model
[
element
]
=
't'
;
});
},
...
Event
},
methods
:
{
...
Event
},
created
:
function
()
{},
};
</
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