See999 vor 5 Jahren
Ursprung
Commit
b724c7aa07

+ 52 - 42
src/scrm_pages/activity/activity.vue Datei anzeigen

@@ -1,7 +1,12 @@
1 1
 <template>
2
-  <div>
2
+  <div class="page_activity">
3 3
     <div class="content">
4
-      <div class="contentOne" v-for="it in Activitieslist" :key="it.id"  @click="singleActivitInfo(it.id,it.user_org_id)">
4
+      <div
5
+        class="contentOne"
6
+        v-for="it in Activitieslist"
7
+        :key="it.id"
8
+        @click="singleActivitInfo(it.id,it.user_org_id)"
9
+      >
5 10
         <div class="img">
6 11
           <img :src="it.poster_photo" style="width:100%;height:100%" alt />
7 12
         </div>
@@ -10,7 +15,8 @@
10 15
           <div class="detailBox">
11 16
             <div class="activityTime">
12 17
               <p>
13
-               {{staffCreateTime(it.start_time)}}开始<br>
18
+                {{staffCreateTime(it.start_time)}}开始
19
+                <br />
14 20
                 <!-- {{it.address}} -->
15 21
               </p>
16 22
             </div>
@@ -120,47 +126,51 @@
120 126
   </div>
121 127
 </template>
122 128
   <script>
123
-      import {getFileExtension,uParseTime} from '@/utils/tools'
124
-      import { Activitiesmore } from "@/api/micro/micro"
125
-      export default{
126
-        data(){
127
-            return{
128
-               Activitieslist:[],
129
-            }
130
-        },
131
-        methods:{
132
-           Activitiesmore(id,orgid){
133
-                Activitiesmore(id,orgid).then(response=>{
134
-                     if(response.data.state == 1){
135
-                       var activity =  response.data.data.activity;
136
-                       this.Activitieslist =  response.data.data.activity;                 
137
-                       console.log("获取活动列表",activity)
138
-                    }
139
-                })
140
-            },
141
-           staffCreateTime(time) {
142
-               return uParseTime(time, "{y}-{m}-{d} {h}:{i}:{s}");
143
-           },
144
-           singleActivitInfo(id,orgid){
145
-                this.$router.push({
146
-                    path:'/activityDetail',
147
-                    query:{
148
-                     id:id,
149
-                     orgid,orgid,
150
-                   }
151
-                })
152
-            }
153
-        },
154
-        created(){
155
-           const id = this.$route.query.id;
156
-            const orgid = this.$route.query.orgid;
157
-            console.log("id是多少",id)
158
-            console.log("orgid是多少",orgid)
159
-            this.Activitiesmore(id,orgid)
129
+import { getFileExtension, uParseTime } from "@/utils/tools";
130
+import { Activitiesmore } from "@/api/micro/micro";
131
+export default {
132
+  data() {
133
+    return {
134
+      Activitieslist: []
135
+    };
136
+  },
137
+  methods: {
138
+    Activitiesmore(id, orgid) {
139
+      Activitiesmore(id, orgid).then(response => {
140
+        if (response.data.state == 1) {
141
+          var activity = response.data.data.activity;
142
+          this.Activitieslist = response.data.data.activity;
143
+          console.log("获取活动列表", activity);
160 144
         }
161
-      }
162
-  </script>
145
+      });
146
+    },
147
+    staffCreateTime(time) {
148
+      return uParseTime(time, "{y}-{m}-{d} {h}:{i}:{s}");
149
+    },
150
+    singleActivitInfo(id, orgid) {
151
+      this.$router.push({
152
+        path: "/activityDetail",
153
+        query: {
154
+          id: id,
155
+          orgid,
156
+          orgid
157
+        }
158
+      });
159
+    }
160
+  },
161
+  created() {
162
+    const id = this.$route.query.id;
163
+    const orgid = this.$route.query.orgid;
164
+    console.log("id是多少", id);
165
+    console.log("orgid是多少", orgid);
166
+    this.Activitiesmore(id, orgid);
167
+  }
168
+};
169
+</script>
163 170
 <style lang="scss" scoped>
171
+.page_activity {
172
+  overflow: hidden;
173
+}
164 174
 .contentOne {
165 175
   margin: auto;
166 176
   margin-top: 1.125rem;

+ 78 - 78
src/scrm_pages/doctorIntroduction/doctorIntroduction.vue Datei anzeigen

@@ -1,5 +1,5 @@
1 1
 <template>
2
-  <div>
2
+  <div class="page_doctorIntroduction">
3 3
     <div>
4 4
       <div class="contentOne">
5 5
         <div class="img">
@@ -7,7 +7,7 @@
7 7
         </div>
8 8
         <div class="detail">
9 9
           <p class="detailTitle">
10
-              {{doctors.doc_name}}
10
+            {{doctors.doc_name}}
11 11
             <span>{{doctors.doc_postion}}</span>
12 12
           </p>
13 13
           <p class="detailMessage" v-html="doctors.docintroduction"></p>
@@ -19,96 +19,96 @@
19 19
           <div class="dynamicTxt">医生擅长</div>
20 20
         </div>
21 21
         <div class="goodtxt">擅长甲状腺、胆结石</div>
22
-      </div> -->
22
+      </div>-->
23 23
       <div class="good">
24 24
         <div class="common_title">
25 25
           <div class="one"></div>
26 26
           <div class="dynamicTxt">医生简介</div>
27 27
         </div>
28
-        <div class="goodtxt" v-html="doctors.docintroduction">
29
-           
30
-        </div>
28
+        <div class="goodtxt" v-html="doctors.docintroduction"></div>
31 29
       </div>
32 30
     </div>
33 31
   </div>
34 32
 </template>
35 33
   
36 34
   <script>
37
-     import { singleDoctorInfo } from "@/api/micro/micro"
38
-     export default{
39
-       data(){
40
-          return{
41
-            doctors:[],
35
+import { singleDoctorInfo } from "@/api/micro/micro";
36
+export default {
37
+  data() {
38
+    return {
39
+      doctors: []
40
+    };
41
+  },
42
+  methods: {
43
+    singleDoctorInfo(id, orgid) {
44
+      singleDoctorInfo(id, orgid).then(response => {
45
+        if (response.data.state == 1) {
46
+          var editdoctor = response.data.data.editdoctor;
47
+          if (editdoctor.doc_postion == 1) {
48
+            editdoctor.doc_postion = "医士";
49
+          }
50
+          if (editdoctor.doc_postion == 2) {
51
+            editdoctor.doc_postion = "医师";
52
+          }
53
+          if (editdoctor.doc_postion == 3) {
54
+            editdoctor.doc_postion = "住院医师";
55
+          }
56
+          if (editdoctor.doc_postion == 4) {
57
+            editdoctor.doc_postion = "主治医师";
58
+          }
59
+          if (editdoctor.doc_postion == 5) {
60
+            editdoctor.doc_postion = "副主任医师";
61
+          }
62
+          if (editdoctor.doc_postion == 6) {
63
+            editdoctor.doc_postion = "主任医师";
64
+          }
65
+          if (editdoctor.doc_postion == 7) {
66
+            editdoctor.doc_postion = "护士";
67
+          }
68
+          if (editdoctor.doc_postion == 8) {
69
+            editdoctor.doc_postion = "护师";
70
+          }
71
+          if (editdoctor.doc_postion == 9) {
72
+            editdoctor.doc_postion = "主管护师";
73
+          }
74
+          if (editdoctor.doc_postion == 10) {
75
+            editdoctor.doc_postion = "副主任护师";
76
+          }
77
+          if (editdoctor.doc_postion == 11) {
78
+            editdoctor.doc_postion = "主任护师";
42 79
           }
43
-       },
44
-       methods:{
45
-         singleDoctorInfo(id,orgid){
46
-                singleDoctorInfo(id,orgid).then(response=>{
47
-                    if(response.data.state ==1){
48
-                     var editdoctor = response.data.data.editdoctor;
49
-                     if(editdoctor.doc_postion == 1){
50
-                        editdoctor.doc_postion = "医士"
51
-                     }
52
-                     if(editdoctor.doc_postion == 2){
53
-                        editdoctor.doc_postion = "医师"
54
-                     }
55
-                       if(editdoctor.doc_postion == 3){
56
-                        editdoctor.doc_postion = "住院医师"
57
-                     }                    
58
-                       if(editdoctor.doc_postion == 4){
59
-                        editdoctor.doc_postion = "主治医师"
60
-                     }
61
-                       if(editdoctor.doc_postion == 5){
62
-                        editdoctor.doc_postion = "副主任医师"
63
-                     }
64
-                       if(editdoctor.doc_postion == 6){
65
-                        editdoctor.doc_postion = "主任医师"
66
-                     }
67
-                       if(editdoctor.doc_postion == 7){
68
-                        editdoctor.doc_postion = "护士"
69
-                     }
70
-                       if(editdoctor.doc_postion == 8){
71
-                        editdoctor.doc_postion = "护师"
72
-                     }
73
-                       if(editdoctor.doc_postion == 9){
74
-                        editdoctor.doc_postion = "主管护师"
75
-                     }
76
-                      if(editdoctor.doc_postion == 10){
77
-                        editdoctor.doc_postion = "副主任护师"
78
-                     }
79
-                      if(editdoctor.doc_postion == 11){
80
-                        editdoctor.doc_postion = "主任护师"
81
-                     }
82
-                   
83
-                     console.log("editdoctor",editdoctor)
84
-                     this.doctors = editdoctor;
85
-                    }
86
-                })
87 80
 
88
-            //      { index: 1, name: '医士' },
89
-            // { index: 2, name: '医师' },
90
-            // { index: 3, name: '住院医师' },
91
-            // { index: 4, name: '主治医师' },
92
-            // { index: 5, name: '副主任医师' },
93
-            // { index: 6, name: '主任医师' },
94
-            // { index: 7, name: '护士' },
95
-            // { index: 8, name: '护师' },
96
-            // { index: 9, name: '主管护师' },
97
-            // { index: 10, name: '副主任护师' },
98
-            // { index: 11, name: '主任护师' },
99
-            }  
100
-       },
101
-       created(){
102
-          const id = this.$route.query.id;
103
-           const orgid = this.$route.query.orgid;
104
-           console.log("id是多少",id)
105
-           console.log("orgid是多少",orgid)
106
-           this.singleDoctorInfo(id,orgid)
107
-       }
108
-     }
81
+          console.log("editdoctor", editdoctor);
82
+          this.doctors = editdoctor;
83
+        }
84
+      });
109 85
 
110
-  </script>
86
+      //      { index: 1, name: '医士' },
87
+      // { index: 2, name: '医师' },
88
+      // { index: 3, name: '住院医师' },
89
+      // { index: 4, name: '主治医师' },
90
+      // { index: 5, name: '副主任医师' },
91
+      // { index: 6, name: '主任医师' },
92
+      // { index: 7, name: '护士' },
93
+      // { index: 8, name: '护师' },
94
+      // { index: 9, name: '主管护师' },
95
+      // { index: 10, name: '副主任护师' },
96
+      // { index: 11, name: '主任护师' },
97
+    }
98
+  },
99
+  created() {
100
+    const id = this.$route.query.id;
101
+    const orgid = this.$route.query.orgid;
102
+    console.log("id是多少", id);
103
+    console.log("orgid是多少", orgid);
104
+    this.singleDoctorInfo(id, orgid);
105
+  }
106
+};
107
+</script>
111 108
 <style lang="scss" scoped>
109
+.page_doctorIntroduction {
110
+  overflow: hidden;
111
+}
112 112
 .contentOne {
113 113
   margin: auto;
114 114
   margin-top: 1.125rem;
@@ -154,7 +154,7 @@
154 154
       height: 30px;
155 155
       overflow: hidden;
156 156
       text-overflow: ellipsis;
157
-       display: -webkit-box;
157
+      display: -webkit-box;
158 158
       -webkit-line-clamp: 1;
159 159
       -webkit-box-orient: vertical;
160 160
       // border: solid 1px red;

+ 53 - 49
src/scrm_pages/medicalTeam/medicalTeam.vue Datei anzeigen

@@ -1,5 +1,5 @@
1 1
 <template>
2
-  <div>
2
+  <div class="page_medicalTeam">
3 3
     <div class="header">
4 4
       <div class="line"></div>
5 5
       <div class="headerTitle">
@@ -9,8 +9,12 @@
9 9
     </div>
10 10
     <div class="msg">贴心的服务,让您的就医更轻松</div>
11 11
     <div class="content">
12
-
13
-      <div class="contentOne" v-for="item in this.editdocfrom" :key="item.id" @click="singleDoctorInfo(item.id,item.user_org_id)">
12
+      <div
13
+        class="contentOne"
14
+        v-for="item in this.editdocfrom"
15
+        :key="item.id"
16
+        @click="singleDoctorInfo(item.id,item.user_org_id)"
17
+      >
14 18
         <div class="img">
15 19
           <img :src="item.dochead" style="width:100%;height:100%" alt />
16 20
         </div>
@@ -19,57 +23,57 @@
19 23
           <p class="detailMessage" v-html="item.docintroduction"></p>
20 24
         </div>
21 25
       </div>
22
-
23 26
     </div>
24 27
   </div>
25 28
 </template>
26 29
   <script>
27
-     import { docmore } from "@/api/micro/micro"
28
-    export default{
29
-         data(){
30
-           return{
31
-              editdocfrom:[],
32
-           }   
33
-         },
34
-         methods:{
35
-             docmore(id,orgid){
36
-                docmore(id,orgid).then(response=>{
37
-                     if(response.data.state == 1){
38
-                       var editdoctor =  response.data.data.editdoctor;
39
-                       if(this.editdocfrom.doc_postion == 1){
40
-                          this.editdocfrom.doc_postion = ""
41
-                       }
42
-                        console.log("编辑医生返回数据",editdoctor)
43
-                        this.editdocfrom  =  editdoctor;
44
-                       if(this.editdocfrom.doc_postion == 1){
45
-                           return "医生"
46
-                       }
47
-                      
48
-                    }
49
-                 })
50
-            },
30
+import { docmore } from "@/api/micro/micro";
31
+export default {
32
+  data() {
33
+    return {
34
+      editdocfrom: []
35
+    };
36
+  },
37
+  methods: {
38
+    docmore(id, orgid) {
39
+      docmore(id, orgid).then(response => {
40
+        if (response.data.state == 1) {
41
+          var editdoctor = response.data.data.editdoctor;
42
+          if (this.editdocfrom.doc_postion == 1) {
43
+            this.editdocfrom.doc_postion = "";
44
+          }
45
+          console.log("编辑医生返回数据", editdoctor);
46
+          this.editdocfrom = editdoctor;
47
+          if (this.editdocfrom.doc_postion == 1) {
48
+            return "医生";
49
+          }
50
+        }
51
+      });
52
+    },
51 53
 
52
-          singleDoctorInfo(id,orgid){
53
-              this.$router.push({
54
-                       path:'/doctorIntroduction',
55
-                       query:{
56
-                           id:id,
57
-                           orgid:orgid,
58
-                       }
59
-                    }
60
-                )
61
-            }
62
-         },
63
-         created(){
64
-           const id = this.$route.query.id;
65
-          const orgid = this.$route.query.orgid;
66
-          console.log("id是多少",id)
67
-          console.log("orgid是多少",orgid)
68
-          this.docmore(id,orgid)
69
-         }
54
+    singleDoctorInfo(id, orgid) {
55
+      this.$router.push({
56
+        path: "/doctorIntroduction",
57
+        query: {
58
+          id: id,
59
+          orgid: orgid
60
+        }
61
+      });
70 62
     }
71
-  </script>
63
+  },
64
+  created() {
65
+    const id = this.$route.query.id;
66
+    const orgid = this.$route.query.orgid;
67
+    console.log("id是多少", id);
68
+    console.log("orgid是多少", orgid);
69
+    this.docmore(id, orgid);
70
+  }
71
+};
72
+</script>
72 73
 <style lang="scss" scoped>
74
+.page_medicalTeam {
75
+  overflow: hidden;
76
+}
73 77
 .header {
74 78
   height: 1.25rem;
75 79
   width: 9.375rem;
@@ -143,9 +147,9 @@
143 147
       font-weight: 400;
144 148
       color: rgba(155, 155, 155, 1);
145 149
       line-height: 1.125rem;
146
-       overflow: hidden;
150
+      overflow: hidden;
147 151
       text-overflow: ellipsis;
148
-       display: -webkit-box;
152
+      display: -webkit-box;
149 153
       -webkit-line-clamp: 2;
150 154
       -webkit-box-orient: vertical;
151 155
     }

+ 0 - 5
src/scrm_pages/microHome/microHome.vue Datei anzeigen

@@ -614,11 +614,6 @@ export default {
614 614
       margin-top: 0.5rem;
615 615
       width: 1.25rem;
616 616
       height: 1.25rem;
617
-      background: linear-gradient(
618
-        0deg,
619
-        rgba(114, 182, 253, 1),
620
-        rgba(52, 119, 254, 1)
621
-      );
622 617
     }
623 618
     span {
624 619
       font-size: 0.75rem;

+ 45 - 41
src/scrm_pages/news/news.vue Datei anzeigen

@@ -1,8 +1,7 @@
1 1
 <template>
2
-  <div>
2
+  <div class="page_news">
3 3
     <div class="content">
4
-
5
-      <div class="contentOne"  v-for="it in articlelist" :key="it.id">
4
+      <div class="contentOne" v-for="it in articlelist" :key="it.id">
6 5
         <div class="img">
7 6
           <img :src="it.imgs" style="width:100%;height:100%" alt />
8 7
         </div>
@@ -15,44 +14,49 @@
15 14
   </div>
16 15
 </template>
17 16
   <script>
18
-     import { articlemore } from "@/api/micro/micro"
19
-      export default{
20
-        data(){
21
-          return{
22
-            articlelist:[], 
23
-          }
24
-        },
25
-        methods:{
26
-           articlemore(id,orgid){
27
-            articlemore(id,orgid).then(response=>{
28
-                  if(response.data.state == 1){
29
-                   var articlelist =  response.data.data.articlelists;  
30
-                   console.log("文章列表数据",articlelist)             
31
-                   this.articlelist =  response.data.data.articlelists;
32
-               }
33
-            })  
34
-          },
35
-           singleArticleInfo(id,orgid){
36
-            this.$router.push({
37
-                path:"",
38
-                query:{
39
-                    id:id,
40
-                    orgid:orgid,
41
-                }
42
-            })
43
-          }
44
-        },
45
-        created(){
46
-           const id = this.$route.query.id;
47
-           const orgid = this.$route.query.orgid;
48
-           console.log("id是多少",id)
49
-           console.log("orgid是多少",orgid)
50
-           this.articlemore(id,orgid)
17
+import { articlemore } from "@/api/micro/micro";
18
+export default {
19
+  data() {
20
+    return {
21
+      articlelist: []
22
+    };
23
+  },
24
+  methods: {
25
+    articlemore(id, orgid) {
26
+      articlemore(id, orgid).then(response => {
27
+        if (response.data.state == 1) {
28
+          var articlelist = response.data.data.articlelists;
29
+          console.log("文章列表数据", articlelist);
30
+          this.articlelist = response.data.data.articlelists;
51 31
         }
52
-      }
53
-
54
-  </script>
32
+      });
33
+    },
34
+    singleArticleInfo(id, orgid) {
35
+      this.$router.push({
36
+        path: "",
37
+        query: {
38
+          id: id,
39
+          orgid: orgid
40
+        }
41
+      });
42
+    }
43
+  },
44
+  created() {
45
+    const id = this.$route.query.id;
46
+    const orgid = this.$route.query.orgid;
47
+    console.log("id是多少", id);
48
+    console.log("orgid是多少", orgid);
49
+    this.articlemore(id, orgid);
50
+  }
51
+};
52
+</script>
55 53
 <style lang="scss" scoped>
54
+.page_news {
55
+  overflow: hidden;
56
+}
57
+.content {
58
+  padding: 1;
59
+}
56 60
 .contentOne {
57 61
   margin: auto;
58 62
   margin-top: 1.125rem;
@@ -77,13 +81,13 @@
77 81
     .detailTitle {
78 82
       margin-top: 0.5rem;
79 83
       width: 12.6875rem;
80
-      height: 1.0rem;
84
+      height: 1rem;
81 85
       font-size: 0.9375rem;
82 86
       font-weight: 600;
83 87
       color: rgba(7, 18, 40, 1);
84 88
       overflow: hidden;
85 89
       text-overflow: ellipsis;
86
-       display: -webkit-box;
90
+      display: -webkit-box;
87 91
       -webkit-line-clamp: 1;
88 92
       -webkit-box-orient: vertical;
89 93
     }