Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
agcs2.0-web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
liang
agcs2.0-web
Commits
712cd7ed
Commit
712cd7ed
authored
Apr 06, 2023
by
miaojiale
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
随访的表格联动
parent
fc1a4cca
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
3 deletions
+25
-3
index.vue
src/views/followupquery/index.vue
+2
-1
index.vue
src/views/followupresearch/index.vue
+3
-2
searchMixin.js
src/views/searchMixin.js
+20
-0
No files found.
src/views/followupquery/index.vue
View file @
712cd7ed
...
...
@@ -30,6 +30,7 @@
import
FormComponents
from
"
@/components/FormComponents
"
import
CustomsTable
from
"
@/components/CustomsTable
"
import
paginationMixin
from
"
@/components/TabComponents/mixin
"
import
searchMixin
from
"
../searchMixin
"
import
{
getCurrentFormByType
}
from
"
@/api/coop-group.js
"
import
{
getFollowSearch
}
from
"
@/api/followup
"
import
{
getDictDetail
}
from
"
@/api/dict.js
"
...
...
@@ -38,7 +39,7 @@ export default {
FormComponents
,
// CustomsTable,
},
mixins
:
[
paginationMixin
],
mixins
:
[
paginationMixin
,
searchMixin
],
data
()
{
return
{
followId
:
""
,
...
...
src/views/followupresearch/index.vue
View file @
712cd7ed
...
...
@@ -28,6 +28,7 @@
<
script
>
import
FormComponents
from
"
@/components/FormComponents
"
import
paginationMixin
from
"
@/components/TabComponents/mixin
"
import
searchMixin
from
"
../searchMixin
"
import
{
getCurrentFormByType
}
from
"
@/api/coop-group.js
"
import
{
getFollowSurvey
}
from
"
@/api/followup
"
import
{
mapGetters
}
from
"
vuex
"
...
...
@@ -35,7 +36,7 @@ export default {
components
:
{
FormComponents
,
},
mixins
:
[
paginationMixin
],
mixins
:
[
paginationMixin
,
searchMixin
],
data
()
{
return
{
formId
:
""
,
//随访表单类型
...
...
@@ -255,7 +256,7 @@ export default {
},
computed
:
{
...
mapGetters
({
selectedIndex
:
"
table/selectedIndex
"
,
//
selectedIndex: "table/selectedIndex",
refreshFlag
:
"
table/refreshFlag
"
,
}),
},
...
...
src/views/searchMixin.js
0 → 100644
View file @
712cd7ed
import
{
mapGetters
}
from
"
vuex
"
export
default
{
data
()
{
return
{}
},
computed
:
{
...
mapGetters
({
selectedIndex
:
[
"
table/selectedIndex
"
],
}),
},
methods
:
{},
mounted
()
{},
watch
:
{
selectedIndex
(
v
)
{
if
(
v
)
{
this
.
handleSearch
()
}
},
},
}
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