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
6cb608e5
Commit
6cb608e5
authored
Jun 10, 2021
by
1377875331@qq.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
6e0fc221
2d7a8217
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
3 deletions
+18
-3
BusinessButton.vue
src/components/BusinessButton.vue
+17
-2
Default.js
src/model/Ditopn/Default.js
+1
-1
No files found.
src/components/BusinessButton.vue
View file @
6cb608e5
...
...
@@ -29,9 +29,24 @@ export default {
},
async
check
(){
let
result
=
await
this
.
getVM
().
checkAll
()
if
(
result
.
respCode
!=
SUCCESS
)
{
if
(
result
.
respCode
!=
SUCCESS
)
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
result
.
respMsg
});
}
else
{
const
fields
=
this
.
getVM
().
$refs
.
modelForm
.
fields
const
fieldErrors
=
result
.
fieldErrors
;
for
(
const
key
in
fieldErrors
)
{
if
(
Object
.
hasOwnProperty
.
call
(
fieldErrors
,
key
))
{
const
fieldError
=
fieldErrors
[
key
];
for
(
let
i
=
0
;
i
<
fields
.
length
;
i
++
)
{
const
field
=
fields
[
i
];
if
(
field
.
prop
===
key
)
{
field
.
validateState
=
'error'
;
field
.
validateMessage
=
fieldError
;
break
;
}
}
}
}
}
},
exit
(){
...
...
src/model/Ditopn/Default.js
View file @
6cb608e5
...
...
@@ -3,7 +3,7 @@
* Ditopn Default规则
*/
import
Api
from
"~/service/Api"
;
import
Utils
from
"~/utils/index"
import
Utils
from
"~/utils/index"
;
export
default
{
"didgrp.rec.resflg"
:
defaultDidgrpRecResflg
,
...
...
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