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
zhouqian
vue-gjjs
Commits
e4969d37
Commit
e4969d37
authored
Oct 11, 2022
by
Wuyuqiu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
判断状态信息临时提交
parent
4174d571
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
14 deletions
+15
-14
commonProcess.js
src/mixin/commonProcess.js
+14
-13
Cnyp.vue
src/views/Business/Litopn/Cnyp.vue
+1
-1
No files found.
src/mixin/commonProcess.js
View file @
e4969d37
...
...
@@ -422,19 +422,20 @@ export default {
* 判断状态信息,包括visiable,modified,enabled等
*/
judgeVisiableInfo
(
rulePath
){
var
model
=
this
.
model
;
if
(
model
==
null
){
return
false
;
}
var
info
=
this
.
model
.
statusInfo
;
if
(
info
==
null
||
info
.
length
==
0
){
return
false
;
}
var
visiable
=
info
[
"visiable"
];
if
(
visiable
[
rulePath
]
==
null
){
return
false
;
}
return
visiable
[
rulePath
];
// var model = this.model;
// if(model == null){
// return false;
// }
// var info = this.model.statusInfo;
// if(info == null || info.length == 0){
// return false;
// }
// var visiable = info["visiable"];
// if(visiable[rulePath] == null){
// return false;
// }
// return visiable[rulePath];
return
true
}
},
computed
:
{
...
...
src/views/Business/Litopn/Cnyp.vue
View file @
e4969d37
...
...
@@ -96,7 +96,7 @@ export default {
activeNames
:
[
"cnyp"
],
};
},
methods
:
{
...
Event
},
methods
:
{
...
Event
,
handleChange
(){}
},
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