From a9a1a5cf8e6d6677374e9ef7bcddb97877e4eee4 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期五, 02 八月 2024 15:34:12 +0800
Subject: [PATCH] 测试完成
---
src/views/patient/follow/index.vue | 39 +++++++--------------------------------
1 files changed, 7 insertions(+), 32 deletions(-)
diff --git a/src/views/patient/follow/index.vue b/src/views/patient/follow/index.vue
index c133603..6f7bbe8 100644
--- a/src/views/patient/follow/index.vue
+++ b/src/views/patient/follow/index.vue
@@ -70,9 +70,9 @@
>
<el-option
v-for="item in Filterreason"
- :key="item.id"
- :label="item.name"
- :value="item.id"
+ :key="item.value"
+ :label="item.label"
+ :value="item.value"
>
</el-option>
</el-select>
@@ -390,13 +390,7 @@
<script>
import { delUser } from "@/api/system/user";
-import {
- listpat_archive,
- getpat_archive,
- addpat_archive,
- updatepat_archive,
- delpat_archive,
-} from "@/api/smartorpor/pat_archive";
+
import {
messagelistpatient,
alterpatient,
@@ -409,6 +403,7 @@
import { listtag } from "@/api/system/label";
import { getToken } from "@/utils/auth";
import Treeselect from "@riophae/vue-treeselect";
+import store from "@/store";
import "@riophae/vue-treeselect/dist/vue-treeselect.css";
export default {
@@ -494,28 +489,7 @@
id: 2,
},
],
- Filterreason: [
- {
- name: "鎮h�呮浜�",
- id: 1,
- },
- {
- name: "棰戠箒灏辫瘖",
- id: 2,
- },
- {
- name: "鎮h�呮嫆缁濇湇鍔�",
- id: 3,
- },
- {
- name: "鑱旂郴鏂瑰紡鏃犳晥",
- id: 4,
- },
- {
- name: "榛戝悕鍗�",
- id: 5,
- },
- ],
+ Filterreason: [],
defaultProps: {
children: "children",
label: "label",
@@ -558,6 +532,7 @@
created() {
this.getList();
this.gettabList();
+ this.Filterreason = store.getters.Filterreason;
},
methods: {
/** 鏌ヨ鎮h�呭垪琛� */
--
Gitblit v1.9.3