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
bce3e8fa
Commit
bce3e8fa
authored
Jun 16, 2021
by
1377875331@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sptsel多选框修改
parent
8abf4dc3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletions
+9
-1
Default.js
src/model/Sptsel/Default.js
+9
-1
No files found.
src/model/Sptsel/Default.js
View file @
bce3e8fa
...
...
@@ -17,6 +17,7 @@ export default {
"yptinf"
:
defaultYptinf
,
"usfmod.usr.extkey"
:
defaultUsfmodUsrExtkey
,
"chkinc"
:
defaultCheckbox
,
"chkdzt"
:
defaultCheckbox
,
"chkpen"
:
defaultCheckbox
,
"chkcor"
:
defaultCheckbox
,
"chkaut"
:
defaultCheckbox
,
...
...
@@ -53,10 +54,17 @@ async function defaultYptinf() {
}
function
defaultUsfmodUsrExtkey
()
{
}
async
function
defaultCheckbox
(
)
{
function
defaultCheckbox
(
rule
,
value
,
callback
)
{
const
that
=
this
;
if
(
that
.
model
[
rule
.
field
]
===
""
)
{
return
}
if
(
that
.
model
[
rule
.
field
]
===
false
){
that
.
model
[
rule
.
field
]
=
""
;
}
that
.
executeDefault
(
"sptstm"
).
then
(
res
=>
{
//TODO 处理数据逻辑
that
.
$refs
.
Menu
.
stmData
.
data
=
res
.
data
.
sptstm
.
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