From 77a938594b066349db89ce9c06007bfc02a58150 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期二, 06 八月 2024 18:23:46 +0800
Subject: [PATCH] 测试完成
---
src/views/patient/follow/index.vue | 31 ++++++-------------------------
1 files changed, 6 insertions(+), 25 deletions(-)
diff --git a/src/views/patient/follow/index.vue b/src/views/patient/follow/index.vue
index 77c3407..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>
@@ -403,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 {
@@ -488,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",
@@ -552,6 +532,7 @@
created() {
this.getList();
this.gettabList();
+ this.Filterreason = store.getters.Filterreason;
},
methods: {
/** 鏌ヨ鎮h�呭垪琛� */
--
Gitblit v1.9.3