Commit 712cd7ed authored by miaojiale's avatar miaojiale

随访的表格联动

parent fc1a4cca
......@@ -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: "",
......
......@@ -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",
}),
},
......
import { mapGetters } from "vuex"
export default {
data() {
return {}
},
computed: {
...mapGetters({
selectedIndex: ["table/selectedIndex"],
}),
},
methods: {},
mounted() {},
watch: {
selectedIndex(v) {
if (v) {
this.handleSearch()
}
},
},
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment