src/views/patient/propaganda/particty.vue
@@ -536,8 +536,14 @@ </template> <script> import { messagelistpatient } from "@/api/patient/homepage"; import { getTaskpatient, edithetask, addhetask, gethetaskinfo, delhetaskinfo, } from "@/api/AiCentre/index"; import SFtable from "@/components/SFtable"; //表格组件 export default { @@ -679,6 +685,9 @@ methods: { // 获取当前类型 Acquisitiontype() { getTaskpatient({ allhosp: 1 }).then((res) => { console.log(res); }); this.currenttype = this.$route.query.type; console.log(this.currenttype); if (this.currenttype == 1) {