Browse Source

更新数据

XMLWAN 5 years ago
parent
commit
7e25200406

+ 1 - 4
src/App.vue View File

@@ -32,10 +32,7 @@ export default {
32 32
       document.documentElement.scrollTop = 0;
33 33
     }
34 34
   },
35
-  created() {
36
-
37
-    console.log("111111");
38
-  }
35
+  created() {}
39 36
 };
40 37
 </script>
41 38
 

+ 31 - 1
src/api/patient/patient.js View File

@@ -450,10 +450,40 @@ export function DeleteManagement(id, params) {
450 450
 }
451 451
 
452 452
 export function updatedPatient(data) {
453
-  console.log('data是什么', data)
454 453
   return request({
455 454
     url: '/m/api/patient/updatedpatient',
456 455
     method: 'post',
457 456
     data: data
458 457
   })
459 458
 }
459
+
460
+export function getAllDoctor(params) {
461
+  return request({
462
+    url: '/m/api/patient/getalldoctor',
463
+    method: 'get',
464
+    params: params
465
+  })
466
+}
467
+
468
+export function getAllInspection(params) {
469
+  return request({
470
+    url: '/m/api/patient/getallinspection',
471
+    method: 'get',
472
+    params: params
473
+  })
474
+}
475
+
476
+export function getInspection(id, limit, page, startime, endtime) {
477
+  const params = {
478
+    id: id,
479
+    limit: limit,
480
+    page: page,
481
+    startime: startime,
482
+    endtime: endtime
483
+  }
484
+  return request({
485
+    url: '/m/api/patient/getinspection',
486
+    method: 'get',
487
+    params: params
488
+  })
489
+}

+ 38 - 31
src/pages/allDoctorAdvice/index.vue View File

@@ -7,14 +7,22 @@
7 7
       </div>
8 8
     </van-sticky>
9 9
     <div class="orderBox">
10
-      <div class="orderBoxOne" v-for="(item, index) in doctorAdvicedetail" :key="index">
10
+      <div
11
+        class="orderBoxOne"
12
+        v-for="(item, index) in doctorAdvicedetail"
13
+        :key="index"
14
+      >
11 15
         <div v-for="(it, i) in item.child" :key="i">
12
-          <p class="time">{{ it.advice_date ? getTime(it.advice_date) : "" }}</p>
16
+          <p class="time">
17
+            {{ it.advice_date ? getTime(it.advice_date) : "" }}
18
+          </p>
13 19
           <div class="statOrder">
14 20
             <div v-if="it.advice_type == 1 && it.parent_id == 0">
15 21
               <div class="statOrderTitle">
16 22
                 <span>长期医嘱</span>
17
-                <span style="margin-left:1rem">{{ getTimes(it.start_time) }}</span>
23
+                <span style="margin-left:1rem">{{
24
+                  getTimes(it.start_time)
25
+                }}</span>
18 26
               </div>
19 27
               <div class="orderContent">
20 28
                 <p v-if="it.parent_id === 0">
@@ -36,16 +44,21 @@
36 44
                 </div>
37 45
               </div>
38 46
               <div class="doctorBox">
39
-                <p>开嘱医生:{{ it.user_name }}</p>
40
-                <p>执行护士:{{ getDoctor(it.execution_staff) }}</p>
41
-                <p>核对护士:{{ getDoctor(it.checker) }}</p>
47
+                <p>开嘱医生:{{ getDoctor(it.advice_doctor) }}</p>
48
+                <p>执行护士:{{ getDoctor(item.execution_staff) }}</p>
49
+                <p>核对护士:{{ getDoctor(item.checker) }}</p>
42 50
               </div>
43 51
             </div>
44 52
 
45
-            <div class="statOrder" v-if="it.advice_type == 3 && it.parent_id == 0">
53
+            <div
54
+              class="statOrder"
55
+              v-if="it.advice_type == 3 && it.parent_id == 0"
56
+            >
46 57
               <div class="longOrderTitle">
47 58
                 <span>临时医嘱</span>
48
-                <span style="margin-left:1rem">{{ getTimes(item.child[0].start_time) }}</span>
59
+                <span style="margin-left:1rem">{{
60
+                  getTimes(item.child[0].start_time)
61
+                }}</span>
49 62
               </div>
50 63
               <div class="orderContent">
51 64
                 <p>
@@ -68,9 +81,9 @@
68 81
                 </div>
69 82
               </div>
70 83
               <div class="doctorBox">
71
-                <p>开嘱医生:{{ getDoctor(item.advice_doctor) }}</p>
72
-                <p>执行护士:{{ getDoctor(item.execution_staff) }}</p>
73
-                <p>核对护士:{{ getDoctor(item.checker) }}</p>
84
+                <p>开嘱医生:{{ getDoctor(it.advice_doctor) }}</p>
85
+                <p>执行护士:{{ getDoctor(it.execution_staff) }}</p>
86
+                <p>核对护士:{{ getDoctor(it.checker) }}</p>
74 87
               </div>
75 88
             </div>
76 89
           </div>
@@ -81,7 +94,7 @@
81 94
 </template>
82 95
 <script>
83 96
 import { setRem, setHeight } from "@/libs/functionRem";
84
-import { GetDoctorAdviceDetail } from "@/api/patient/patient";
97
+import { GetDoctorAdviceDetail, getAllDoctor } from "@/api/patient/patient";
85 98
 import { uParseTime } from "@/utils/tools";
86 99
 export default {
87 100
   data() {
@@ -115,7 +128,6 @@ export default {
115 128
             }
116 129
           }
117 130
           this.childList = objarr;
118
-          console.log(this.childList);
119 131
           let dataInfo = {};
120 132
           doctorAdvicedetail.forEach((item, index) => {
121 133
             let { groupno } = item;
@@ -128,13 +140,10 @@ export default {
128 140
             dataInfo[groupno].child.push(item);
129 141
           });
130 142
           let list = Object.values(dataInfo); // list 转换成功的数据
131
-          console.log("list", list);
132 143
           let arr = [];
133 144
           list.map(item => {
134
-            // console.log(item.child);
135 145
             if (item.child.length > 1) {
136 146
               item.child.map(it => {
137
-                // console.log(it);
138 147
                 if (arr.indexOf(it.advice_date) == -1) {
139 148
                   arr.push(it.advice_date);
140 149
                 } else {
@@ -143,21 +152,8 @@ export default {
143 152
               });
144 153
             }
145 154
           });
155
+          console.log("list是 ", list);
146 156
           this.doctorAdvicedetail = list;
147
-          var doctor = response.data.data.doctor;
148
-          this.doctor = doctor;
149
-          // var arr = [];
150
-          // var objarr = [];
151
-          // for (let i = 0; i < doctorAdvicedetail.length; i++) {
152
-          //   this.patient_name = doctorAdvicedetail[0].name;
153
-          //   this.patient_date = doctorAdvicedetail[0].advice_date;
154
-          //   if (doctorAdvicedetail[i].parent_id == 0) {
155
-          //     arr.push(doctorAdvicedetail[i]);
156
-          //   }
157
-          //   if (doctorAdvicedetail[i].parent_id != 0) {
158
-          //     objarr.push(doctorAdvicedetail[i]);
159
-          //   }
160
-          // }
161 157
         }
162 158
       });
163 159
     },
@@ -168,10 +164,20 @@ export default {
168 164
     getTimes(time) {
169 165
       return uParseTime(time, "{h}:{i}");
170 166
     },
167
+    getAllDoctor() {
168
+      getAllDoctor().then(response => {
169
+        if (response.data.state === 1) {
170
+          var doctor = response.data.data.doctor;
171
+          console.log("doctor", doctor);
172
+          this.doctor = doctor;
173
+        }
174
+      });
175
+    },
171 176
     getDoctor(id) {
177
+      console.log("id是", id);
172 178
       for (let i = 0; i < this.doctor.length; i++) {
173 179
         if ((this.doctor[i].admin_user_id = id)) {
174
-          return this.doctor[i].name;
180
+          return this.doctor[i].user_name;
175 181
         }
176 182
       }
177 183
     }
@@ -184,6 +190,7 @@ export default {
184 190
     this.GetDoctorAdviceDetail(id);
185 191
     var patientid = this.$route.query.patientid;
186 192
     this.id = patientid;
193
+    this.getAllDoctor();
187 194
   }
188 195
 };
189 196
 </script>

+ 1 - 9
src/pages/doctorAdvice/components/DoctorManagement.vue View File

@@ -242,12 +242,10 @@ export default {
242 242
       this.typeShow = false;
243 243
     },
244 244
     onConfirm(value) {
245
-      console.log("value值是什么", value);
246 245
       this.type = value;
247 246
       this.typeShow = false;
248 247
     },
249 248
     getstartTime(value) {
250
-      console.log(value);
251 249
       let year = value.getFullYear();
252 250
       let month = value.getMonth() + 1;
253 251
       let day = value.getDate();
@@ -262,7 +260,6 @@ export default {
262 260
       this.startShow = false;
263 261
     },
264 262
     getstartTime2(value) {
265
-      console.log(value);
266 263
       let year = value.getFullYear();
267 264
       let month = value.getMonth() + 1;
268 265
       let day = value.getDate();
@@ -276,9 +273,7 @@ export default {
276 273
       this.endTime = `${year}-${month}-${day}`;
277 274
       this.endShow = false;
278 275
     },
279
-    changeData(val) {
280
-      console.log("val", val);
281
-    },
276
+    changeData(val) {},
282 277
     getDoctorAdvices(patientid) {
283 278
       if (this.type === "全部") {
284 279
         this.form.type = 0;
@@ -320,9 +315,7 @@ export default {
320 315
             }
321 316
             dataInfo[groupno].child.push(item);
322 317
           });
323
-          // console.log(dataInfo);
324 318
           let list = Object.values(dataInfo); // list 转换成功的数据
325
-          console.log("list", list);
326 319
           let arr = [];
327 320
           list.map(item => {
328 321
             // console.log(item.child);
@@ -337,7 +330,6 @@ export default {
337 330
               });
338 331
             }
339 332
           });
340
-
341 333
           var doctor = response.data.data.doctor;
342 334
           this.doctor = doctor;
343 335
           console.log("医生", doctor);

+ 89 - 26
src/pages/doctorAdvice/components/Inspection.vue View File

@@ -27,22 +27,22 @@
27 27
           v-model="loading"
28 28
           :finished="finished"
29 29
           finished-text="没有更多了"
30
-          @load="onLoad"
31 30
         >
32
-          <div class="adviceOne" v-for="item in 3" :key="index">
31
+          <div
32
+            class="adviceOne"
33
+            v-for="(item, index) in Inspection"
34
+            :key="index"
35
+          >
33 36
             <div class="adviceTitle">
34
-              <p>2019.09.01</p>
37
+              <p>{{ getTime(item.inspect_date) }}</p>
35 38
               <van-icon
36 39
                 class="ellipsis"
37 40
                 name="ellipsis"
38 41
                 @click="newShow = true"
39 42
               />
40 43
             </div>
41
-            <div class="orderContent">
42
-              <p>血常规</p>
43
-              <p>肝功能</p>
44
-              <p>凝血七项</p>
45
-              <p>肾功能</p>
44
+            <div class="orderContent" v-for="(it, i) in item.child" :key="i">
45
+              <p>{{ it.project_name }}</p>
46 46
             </div>
47 47
             <div class="all">全部</div>
48 48
           </div>
@@ -108,35 +108,40 @@
108 108
 </template>
109 109
 
110 110
 <script>
111
-import { getPatientDetail } from "@/api/patient/patient";
111
+import {
112
+  getPatientDetail,
113
+  getAllInspection,
114
+  getInspection
115
+} from "@/api/patient/patient";
116
+import { uParseTime } from "@/utils/tools";
117
+import { Dialog } from "vant";
118
+const moment = require("moment");
112 119
 export default {
113 120
   data() {
114 121
     return {
122
+      loading: false,
123
+      finished: false,
115 124
       newShow: false,
116 125
       typeShow: false,
117 126
       startShow: false,
118 127
       endShow: false,
119
-      type: "请选择",
120
-      columns: [
121
-        "杭州",
122
-        "宁波",
123
-        "温州",
124
-        "嘉兴",
125
-        "湖州",
126
-        "杭州",
127
-        "宁波",
128
-        "温州",
129
-        "嘉兴",
130
-        "湖州"
131
-      ],
132
-      startTime: "请选择",
133
-      endTime: "请选择",
128
+      type: "全部",
129
+      columns: [],
130
+      startTime: moment()
131
+        .subtract(30, "days")
132
+        .format("YYYY-MM-DD"),
133
+      endTime: moment(new Date()).format("YYYY-MM-DD"),
134 134
       minDate: new Date(1970, 0, 1),
135 135
       maxDate: new Date(2025, 10, 1),
136 136
       currentDate: new Date(),
137 137
       actions: [{ name: "编辑" }, { name: "删除" }],
138 138
       showOne: true,
139
-      showTwo: false
139
+      showTwo: false,
140
+      list: [],
141
+      page: 1,
142
+      limit: 10,
143
+      total: 0,
144
+      Inspection: []
140 145
     };
141 146
   },
142 147
   methods: {
@@ -192,11 +197,69 @@ export default {
192 197
           this.patientName = patientDetail.name;
193 198
         }
194 199
       });
195
-    }
200
+    },
201
+    getAllInspection() {
202
+      getAllInspection().then(response => {
203
+        if (response.data.state === 1) {
204
+          var inspection = response.data.data.inspection;
205
+          for (let i = 0; i < inspection.length; i++) {
206
+            this.columns.push(inspection[i].project_name);
207
+          }
208
+        }
209
+      });
210
+    },
211
+    getInspection(patientid) {
212
+      getInspection(
213
+        patientid,
214
+        this.limit,
215
+        this.page,
216
+        this.startTime,
217
+        this.endTime
218
+      ).then(response => {
219
+        if (response.data.state == 1) {
220
+          var inspection = response.data.data.inspection;
221
+          console.log("inspection", inspection);
222
+          var total = response.data.data.total;
223
+          console.log("total", total);
224
+          let dataInfo = {};
225
+          inspection.forEach((item, index) => {
226
+            let { inspect_date } = item;
227
+            if (!dataInfo[inspect_date]) {
228
+              dataInfo[inspect_date] = {
229
+                inspect_date,
230
+                child: []
231
+              };
232
+            }
233
+            dataInfo[inspect_date].child.push(item);
234
+          });
235
+          let list = Object.values(dataInfo); // list 转换成功的数据
236
+          console.log("按时间分组", list);
237
+          this.Inspection = list;
238
+          let arr = [];
239
+          var result = [];
240
+          var obj = {};
241
+          list.map(item => {
242
+            console.log(item.child);
243
+            if (item.child.length > 1) {
244
+              item.child.map(it => {});
245
+            }
246
+          });
247
+        }
248
+      });
249
+      this.finished = true;
250
+    },
251
+    getTime(time) {
252
+      // return uParseTime(time, "{y}-{m}-{d} {h}:{i}:{s}");
253
+      return uParseTime(time, "{y}-{m}-{d}");
254
+    },
255
+    onLoad() {}
196 256
   },
197 257
   created() {
198 258
     var patientid = this.$route.query.patientid;
199 259
     this.getPatientDetail(patientid);
260
+    // 获取所有检验检查项目
261
+    this.getAllInspection();
262
+    this.getInspection(patientid);
200 263
   }
201 264
 };
202 265
 </script>

+ 1 - 2
src/pages/main/index.vue View File

@@ -31,7 +31,7 @@ export default {
31 31
       unReadWaitNum: 0,
32 32
       unReadDialysisNum: 0,
33 33
       sqls: [
34
-        window.matchMedia("(max-width:418px)"), //和CSS一样,也要注意顺序!
34
+        window.matchMedia("(max-width:418px)"), // 和CSS一样,也要注意顺序!
35 35
         window.matchMedia("(max-width:768px)"),
36 36
         window.matchMedia("(max-width:992px)"),
37 37
         window.matchMedia("(max-width:1200px)")
@@ -209,7 +209,6 @@ export default {
209 209
       });
210 210
     },
211 211
     getData() {
212
-      console.log("111111");
213 212
       // this.requestScheduals()
214 213
       // this.requestDialysisScheduals()
215 214
     },

+ 84 - 90
src/router/index.js View File

@@ -46,22 +46,16 @@ export default new Router({
46 46
     },
47 47
     // 首页
48 48
     {
49
-      path: "/myIndex",
50
-      name: "myIndex",
51
-      component: () => import("@/pages/home/index"),
52
-      children: [
53
-        {
54
-          path: "/homeIndex",
55
-          component: () => import("@/pages/homeIndex/index.vue"),
49
+      path: '/myIndex',
50
+      name: 'myIndex',
51
+      component: () => import('@/pages/home/index'),
52
+      children: [{
53
+          path: '/homeIndex',
54
+          component: () => import('@/pages/homeIndex/index.vue'),
56 55
           meta: {
57 56
             noCache: true // 不会被 <keep-alive> 缓存
58
-<<<<<<< .mine
59
-          }
60
-
61
-=======
62 57
           }
63 58
 
64
->>>>>>> .theirs
65 59
         },
66 60
         // 我的
67 61
         {
@@ -78,71 +72,71 @@ export default new Router({
78 72
       ]
79 73
     },
80 74
     {
81
-      path: "/perfectOrg",
82
-      component: () => import("@/pages/org"),
75
+      path: '/perfectOrg',
76
+      component: () => import('@/pages/org'),
83 77
       meta: {
84 78
         noCache: true // 不会被 <keep-alive> 缓存
85 79
       }
86 80
     },
87 81
     // 患者中心
88 82
     {
89
-      path: "/patients",
90
-      name: "patients",
91
-      component: () => import("@/pages/patientManagement/patientManagement")
83
+      path: '/patients',
84
+      name: 'patients',
85
+      component: () => import('@/pages/patientManagement/patientManagement')
92 86
     },
93 87
     // 新增病人
94 88
     {
95
-      path: "/addPatints",
96
-      name: "addpatients",
97
-      component: () => import("@/pages/patients/addPatient")
89
+      path: '/addPatints',
90
+      name: 'addpatients',
91
+      component: () => import('@/pages/patients/addPatient')
98 92
     },
99 93
     // 全部病程
100 94
     {
101
-      path: "/coursedetail",
102
-      name: "coursedetail",
103
-      component: () => import("@/pages/allCourseManagement/index")
95
+      path: '/coursedetail',
96
+      name: 'coursedetail',
97
+      component: () => import('@/pages/allCourseManagement/index')
104 98
     },
105 99
     // 全部干体重
106 100
     {
107
-      path: "/dryweight",
108
-      name: "dryweight",
109
-      component: () => import("@/pages/allDryWeight/index")
101
+      path: '/dryweight',
102
+      name: 'dryweight',
103
+      component: () => import('@/pages/allDryWeight/index')
110 104
     },
111 105
     // 基本信息
112 106
     {
113
-      path: "/editPatient",
114
-      name: "editPatient",
115
-      component: () => import("@/pages/patients/editPatient")
107
+      path: '/editPatient',
108
+      name: 'editPatient',
109
+      component: () => import('@/pages/patients/editPatient')
116 110
     },
117 111
     // 全部排班
118 112
     {
119
-      path: "/editScheduling",
120
-      name: "editscheduling",
121
-      component: () => import("@/pages/allScheduling/index")
113
+      path: '/editScheduling',
114
+      name: 'editscheduling',
115
+      component: () => import('@/pages/allScheduling/index')
122 116
     },
123 117
     // 全部透后宣教
124 118
     {
125
-      path: "/editEducation",
126
-      name: "editeducation",
127
-      component: () => import("@/pages/allEducation/index")
119
+      path: '/editEducation',
120
+      name: 'editeducation',
121
+      component: () => import('@/pages/allEducation/index')
128 122
     },
129 123
     // 全部抢救记录
130 124
     {
131
-      path: "/rescuerecord",
132
-      name: "rescuerecord",
133
-      component: () => import("@/pages/allRescue/index")
125
+      path: '/rescuerecord',
126
+      name: 'rescuerecord',
127
+      component: () => import('@/pages/allRescue/index')
134 128
     },
135 129
     //
136 130
     {
137
-      path: "/patientdetail",
138
-      name: "patientdetail",
139
-      component: () => import("@/pages/doctorAdvice/index")
131
+      path: '/patientdetail',
132
+      name: 'patientdetail',
133
+      component: () => import('@/pages/doctorAdvice/index')
140 134
     },
141 135
     // 搜索
142 136
     {
143
-      path: "/search",
144
-      name: "search",
145
-      component: () => import("@/pages/search/index")
137
+      path: '/search',
138
+      name: 'search',
139
+      component: () => import('@/pages/search/index')
146 140
     },
147 141
     // 关于我们
148 142
     {
@@ -158,86 +152,86 @@ export default new Router({
158 152
       name: 'longdialysis',
159 153
       component: () => import('@/pages/allLongDialysis/index')
160 154
     },
161
-    //, 
155
+    //,
162 156
     {
163 157
       path: '/alldoctoradvice',
164 158
       name: '/alldoctoradvice',
165 159
       component: () => import('@/pages/allDoctorAdvice/index')
166 160
     },
167 161
     {
168
-      path: "/product",
169
-      name: "Product",
170
-      component: () => import("@/pages/product/index")
162
+      path: '/product',
163
+      name: 'Product',
164
+      component: () => import('@/pages/product/index')
171 165
     },
172 166
     {
173
-      path: "/main",
174
-      name: "main",
175
-      component: () => import("@/pages/main/index")
167
+      path: '/main',
168
+      name: 'main',
169
+      component: () => import('@/pages/main/index')
176 170
     },
177 171
     {
178
-      path: "/details",
179
-      name: "details",
180
-      component: () => import("@/pages/main/DetailsPage")
172
+      path: '/details',
173
+      name: 'details',
174
+      component: () => import('@/pages/main/DetailsPage')
181 175
     },
182 176
     {
183
-      path: "/monitoring",
184
-      name: "monitorPage",
185
-      component: () => import("@/pages/monitoring/index")
177
+      path: '/monitoring',
178
+      name: 'monitorPage',
179
+      component: () => import('@/pages/monitoring/index')
186 180
     },
187 181
     {
188
-      path: "/my",
189
-      name: "my",
190
-      component: () => import("@/pages/personal/index")
182
+      path: '/my',
183
+      name: 'my',
184
+      component: () => import('@/pages/personal/index')
191 185
     },
192 186
     {
193
-      path: "/advice",
194
-      name: "doctorAdvice",
195
-      component: () => import("@/pages/advice/index")
187
+      path: '/advice',
188
+      name: 'doctorAdvice',
189
+      component: () => import('@/pages/advice/index')
196 190
     },
197 191
     {
198
-      path: "/EditPersonal",
199
-      name: "EditPersonal",
200
-      component: () => import("@/pages/personal/EditPersonal")
192
+      path: '/EditPersonal',
193
+      name: 'EditPersonal',
194
+      component: () => import('@/pages/personal/EditPersonal')
201 195
     },
202 196
     {
203
-      path: "/ElectronicSignature",
204
-      name: "ElectronicSignature",
205
-      component: () => import("@/pages/personal/ElectronicSignature")
197
+      path: '/ElectronicSignature',
198
+      name: 'ElectronicSignature',
199
+      component: () => import('@/pages/personal/ElectronicSignature')
206 200
     },
207 201
     {
208
-      path: "/Print",
209
-      name: "Print",
210
-      component: () => import("@/pages/main/PrintIndex")
202
+      path: '/Print',
203
+      name: 'Print',
204
+      component: () => import('@/pages/main/PrintIndex')
211 205
     },
212 206
     {
213
-      path: "/add_urgent_schedule",
214
-      name: "AddUrgentSchedule",
215
-      component: () => import("@/pages/main/add_urgent_schedule")
207
+      path: '/add_urgent_schedule',
208
+      name: 'AddUrgentSchedule',
209
+      component: () => import('@/pages/main/add_urgent_schedule')
216 210
     },
217 211
     {
218
-      path: "/Prints",
219
-      name: "Prints",
220
-      component: () => import("@/pages/main/Print")
212
+      path: '/Prints',
213
+      name: 'Prints',
214
+      component: () => import('@/pages/main/Print')
221 215
     },
222 216
     {
223
-      path: "/forgetPassword",
224
-      name: "forgetPassword",
225
-      component: () => import("@/pages/personal/ForgetPassword")
217
+      path: '/forgetPassword',
218
+      name: 'forgetPassword',
219
+      component: () => import('@/pages/personal/ForgetPassword')
226 220
     },
227 221
     {
228
-      path: "/changePassword",
229
-      name: "changePassword",
230
-      component: () => import("@/pages/personal/ChangePassword")
222
+      path: '/changePassword',
223
+      name: 'changePassword',
224
+      component: () => import('@/pages/personal/ChangePassword')
231 225
     },
232 226
     {
233
-      path: "/privacy",
234
-      name: "privacy",
235
-      component: () => import("@/pages/privacy/index")
227
+      path: '/privacy',
228
+      name: 'privacy',
229
+      component: () => import('@/pages/privacy/index')
236 230
     },
237 231
     {
238
-      path: "/userAgreement",
239
-      name: "userAgreement",
240
-      component: () => import("@/pages/userAgreement/index")
232
+      path: '/userAgreement',
233
+      name: 'userAgreement',
234
+      component: () => import('@/pages/userAgreement/index')
241 235
     }
242 236
   ]
243 237
 })