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
bd0f2884
Commit
bd0f2884
authored
Jun 09, 2021
by
1377875331@qq.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
a7296ab8
a4ab8039
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
3 deletions
+27
-3
commonApi.js
src/mixin/commonApi.js
+1
-1
commonProcess.js
src/mixin/commonProcess.js
+10
-2
index.vue
src/views/Business/Ditopn/index.vue
+3
-0
index.vue
src/views/Display/index.vue
+13
-0
No files found.
src/mixin/commonApi.js
View file @
bd0f2884
...
...
@@ -6,7 +6,7 @@ export default {
return
{}
},
mounted
(){
this
.
restoreDisplay
()
//
this.restoreDisplay()
},
methods
:{
init
(
params
){
...
...
src/mixin/commonProcess.js
View file @
bd0f2884
...
...
@@ -9,8 +9,10 @@ export default {
},
created
:
function
()
{},
mounted
()
{
this
.
ruleWatcher
()
this
.
ruleCheck
()
if
(
!
this
.
isInDisplay
){
this
.
ruleWatcher
()
this
.
ruleCheck
()
}
},
methods
:
{
ruleWatcher
()
{
...
...
@@ -45,5 +47,10 @@ export default {
}
this
.
rules
=
res
;
}
},
computed
:{
isInDisplay
(){
return
this
.
$store
.
state
.
Status
.
mode
===
'display'
}
}
}
\ No newline at end of file
src/views/Business/Ditopn/index.vue
View file @
bd0f2884
...
...
@@ -204,6 +204,9 @@ export default {
console
.
log
(
rtnmsg
)
Utils
.
copyValueFromVO
(
this
.
model
,
rtnmsg
.
data
)
console
.
log
(
this
.
model
);
if
(
this
.
isInDisplay
)
this
.
restoreDisplay
()
}
else
{
...
...
src/views/Display/index.vue
View file @
bd0f2884
...
...
@@ -6,9 +6,22 @@
<
script
>
import
businessContainer
from
"../Business"
import
{
mapMutations
}
from
'vuex'
export
default
{
components
:{
businessContainer
//复用业务容器
},
created
:
function
()
{
console
.
log
(
"进入快照界面"
)
this
.
setMode
(
'display'
)
},
destroyed
:
function
()
{
this
.
setMode
(
'normal'
)
},
methods
:
{
...
mapMutations
([
'setMode'
])
}
}
</
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