Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gavel-oa-app
Project
Project
Details
Activity
Releases
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
李苏
gavel-oa-app
Commits
4d8e87ac
Commit
4d8e87ac
authored
Dec 03, 2024
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整
parent
f9d14087
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
24 additions
and
16 deletions
+24
-16
index.vue
pages/kqgl/gzrb/gzrbxq/index.vue
+2
-1
index.vue
pages/kqgl/gzrb/index.vue
+4
-2
index.vue
pages/kqgl/gzrb/xjgzrb/index.vue
+9
-7
index.vue
pages/kqgl/gzrb/xzsj/index.vue
+5
-3
index.vue
pages/kqgl/gzrb/xzxm/index.vue
+4
-3
No files found.
pages/kqgl/gzrb/gzrbxq/index.vue
View file @
4d8e87ac
...
...
@@ -54,6 +54,7 @@
</
template
>
<
script
>
import
eventBus
from
'@/common/util/eventBus.js'
export
default
{
async
onLoad
(){
...
...
@@ -123,7 +124,7 @@
/* 重置表单 */
this
.
$refs
.
form
.
resetFields
()
this
.
form
.
sjwcsj
=
new
Date
().
getTime
()
this
.
$
eventBus
.
$emit
(
'save'
);
eventBus
.
$emit
(
'save'
);
uni
.
navigateBack
({
delta
:
1
});
...
...
pages/kqgl/gzrb/index.vue
View file @
4d8e87ac
...
...
@@ -106,6 +106,7 @@
</template>
<
script
>
import
eventBus
from
'@/common/util/eventBus.js'
export
default
{
data
()
{
return
{
...
...
@@ -178,7 +179,8 @@
},
async
onLoad
()
{
this
.
apiGetDwxList
()
this
.
$eventBus
.
$on
(
'save'
,
()
=>
{
eventBus
.
$on
(
'save'
,
()
=>
{
console
.
log
(
'$on save'
)
this
.
dwxSearch
()
})
this
.
ztMap
=
await
this
.
$match
({
...
...
@@ -192,7 +194,7 @@
},
onUnload
()
{
this
.
$
eventBus
.
$off
(
'save'
)
eventBus
.
$off
(
'save'
)
},
}
</
script
>
...
...
pages/kqgl/gzrb/xjgzrb/index.vue
View file @
4d8e87ac
...
...
@@ -65,6 +65,7 @@
</
template
>
<
script
>
import
eventBus
from
'@/common/util/eventBus.js'
export
default
{
onLoad
()
{
uni
.
getStorage
({
...
...
@@ -74,18 +75,18 @@
this
.
form
.
hbrid
=
res
.
data
.
userid
}
});
this
.
$
eventBus
.
$on
(
'xzxm'
,
(
xmxx
)
=>
{
eventBus
.
$on
(
'xzxm'
,
(
xmxx
)
=>
{
this
.
form
.
xmid
=
xmxx
.
id
this
.
form
.
xmName
=
xmxx
.
name
})
this
.
$
eventBus
.
$on
(
'xzsj'
,
(
sjxx
)
=>
{
eventBus
.
$on
(
'xzsj'
,
(
sjxx
)
=>
{
this
.
form
.
sjwhid
=
sjxx
.
id
this
.
form
.
sjwhName
=
sjxx
.
sjms
})
},
onUnload
()
{
this
.
$
eventBus
.
$off
(
'xzxm'
)
this
.
$
eventBus
.
$off
(
'xzsj'
)
eventBus
.
$off
(
'xzxm'
)
eventBus
.
$off
(
'xzsj'
)
},
data
()
{
return
{
...
...
@@ -151,10 +152,11 @@
})
},
back
(){
eventBus
.
$emit
(
'save'
)
uni
.
navigateBack
({
delta
:
1
delta
:
1
,
})
this
.
$eventBus
.
$emit
(
'save'
)
},
submit
()
{
...
...
pages/kqgl/gzrb/xzsj/index.vue
View file @
4d8e87ac
...
...
@@ -107,7 +107,9 @@
</template>
<
script
>
import
eventBus
from
'@/common/util/eventBus.js'
export
default
{
async
onLoad
(){
this
.
ztMap
=
await
this
.
$match
({
url
:
'/xmgl/gcxm/init/zt'
...
...
@@ -116,12 +118,12 @@
// url:'device/sbdxj/dxjrw/init/zt'
// })
this
.
dwxSearch
()
this
.
$
eventBus
.
$on
(
'save'
,
()
=>
{
eventBus
.
$on
(
'save'
,
()
=>
{
this
.
dwxSearch
()
})
},
onUnload
()
{
this
.
$
eventBus
.
$off
(
'save'
)
eventBus
.
$off
(
'save'
)
},
data
()
{
return
{
...
...
@@ -164,7 +166,7 @@
/* 处理点检任务 */
handleIt
(
item
)
{
this
.
$
eventBus
.
$emit
(
'xzsj'
,
item
)
eventBus
.
$emit
(
'xzsj'
,
item
)
uni
.
navigateBack
({
delta
:
1
});
...
...
pages/kqgl/gzrb/xzxm/index.vue
View file @
4d8e87ac
...
...
@@ -130,6 +130,7 @@
</template>
<
script
>
import
eventBus
from
'@/common/util/eventBus.js'
export
default
{
async
onLoad
(){
this
.
ztMap
=
await
this
.
$match
({
...
...
@@ -139,12 +140,12 @@
// url:'device/sbdxj/dxjrw/init/zt'
// })
this
.
dwxSearch
()
this
.
$
eventBus
.
$on
(
'save'
,
()
=>
{
eventBus
.
$on
(
'save'
,
()
=>
{
this
.
dwxSearch
()
})
},
onUnload
()
{
this
.
$
eventBus
.
$off
(
'save'
)
eventBus
.
$off
(
'save'
)
},
data
()
{
return
{
...
...
@@ -187,7 +188,7 @@
/* 处理点检任务 */
handleIt
(
item
)
{
this
.
$
eventBus
.
$emit
(
'xzxm'
,
item
)
eventBus
.
$emit
(
'xzxm'
,
item
)
uni
.
navigateBack
({
delta
:
1
});
...
...
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