xiaoming_global 5 lat temu
rodzic
commit
b90c334f4d

+ 1 - 1
config/index.js Wyświetl plik

@@ -17,7 +17,7 @@ module.exports = {
17 17
     // can be overwritten by process.env.HOST
18 18
     // if you want dev by ip, please set host: '0.0.0.0'
19 19
 
20
-    host: 'test1.sgjyun.com',
20
+     host: 'test1.sgjyun.com',
21 21
     // host: 'localhost',
22 22
     // host: 'jk.kuyicloud.com',
23 23
     port: 8090, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined

+ 2 - 2
config/prod.env.js Wyświetl plik

@@ -1,8 +1,8 @@
1 1
 module.exports = {
2 2
   NODE_ENV: '"production"',
3 3
   ENV_CONFIG: '"prod"',
4
-  // BASE_API: '"http://api.scrm.kuyicloud.com"',
5
-  BASE_API: '"http://api.test1.sgjyun.com"',
4
+  BASE_API: '"http://api.scrm.kuyicloud.com"',
5
+  // BASE_API: '"http://api.test1.sgjyun.com"',
6 6
 
7 7
   SSO_HOST: '"https://sso.kuyicloud.com"',
8 8
   SRCM_HOST: '"http://jk.kuyicloud.com"',

+ 1 - 1
src/scrm_pages/site/index.vue Wyświetl plik

@@ -42,7 +42,7 @@ export default {
42 42
       let qrcode = new QRCode('qrcode', {
43 43
         width: 100,
44 44
         height: 100, // 高度
45
-        text: '56663159' // 二维码内容
45
+        text: 'http://microweb.kuyicloud.com' // 二维码内容
46 46
         // render: 'canvas' // 设置渲染方式(有两种方式 table和canvas,默认是canvas)
47 47
         // background: '#f0f'
48 48
         // foreground: '#ff0'

+ 59 - 21
src/scrm_pages/site/preview.vue Wyświetl plik

@@ -7,15 +7,15 @@
7 7
             <!-- 新增 -->
8 8
             <el-row :gutter="24">
9 9
                <el-col :span="7">
10
-                 <el-tabs type="border-card" style="width:340px">
11
-                    <el-tab-pane>
12
-                        <span slot="label"  @click="myindex()">首页</span>
13
-                        <el-tabs v-model="activeName">
10
+                 <el-tabs type="border-card" style="width:340px" @tab-click="handleClick" v-model="activeNameOne">
11
+                    <el-tab-pane label="首页" name="index">
12
+                        <!-- <span slot="label"  @click="myindex()">首页</span> -->
13
+                        <el-tabs v-model="activeName" @tab-click = "handleClickTwo">
14 14
                             <el-tab-pane label="新增模块" name="first">
15 15
                                  <new-feature v-on:getHospitaldata='getHospitaldata'></new-feature>
16 16
                             </el-tab-pane>
17
-                            <el-tab-pane>
18
-                                <span slot="label" name="second" @click="clickAddmodel()">已使用</span>
17
+                            <el-tab-pane label="已使用" name="used">
18
+                                <!-- <span slot="label" name="second" @click="clickAddmodel()">已使用</span> -->
19 19
                                 <div class="used" v-for="(item,index) in this.modelform" :key="item.id">
20 20
                                   <ul>
21 21
                                    <li>
@@ -31,14 +31,14 @@
31 31
                         </el-tabs>
32 32
                     </el-tab-pane>
33 33
 
34
-                    <el-tab-pane>
35
-                        <span slot="label"  @click="myindextwo()">联系我们</span>
36
-                        <el-tabs v-model="activeName">
34
+                    <el-tab-pane label="联系我们" name="contactus">
35
+                        <!-- <span slot="label"  @click="myindextwo()">联系我们</span> -->
36
+                        <el-tabs v-model="activeNameThree"  @tab-click="handleClickThree">
37 37
                             <el-tab-pane label="新增模块" name="three">
38 38
                                 <add-contact v-on:getOrderModel='getOrderModel'></add-contact>
39 39
                             </el-tab-pane>
40
-                            <el-tab-pane>
41
-                               <span slot="label" name="four" @click="clickmodel()">已使用</span>
40
+                            <el-tab-pane label="已使用" name="usedtwo"> 
41
+                               <!-- <span slot="label" name="four" @click="clickmodel()">已使用</span> -->
42 42
                               <div class="used" v-for="(item,index) in this.model" :key="item.id">
43 43
                                  <ul>
44 44
                                    <li>
@@ -414,7 +414,15 @@
414 414
                         </span>
415 415
                         </div>
416 416
                         </div>
417
-                        <img src="static/images/u646.png" @click="centerDialogVisible = true">
417
+                          <div class="addrot" @click="centerDialogVisible = true">
418
+                               <div class="addrotone">
419
+                               <i class="el-icon-plus"></i>
420
+                           </div>
421
+                           <div class="addrotwo">
422
+                             <span>新增名医</span>
423
+                           </div>
424
+                        </div>
425
+                        <!-- <img src="static/images/u646.png" @click="centerDialogVisible = true"> -->
418 426
                         </div>
419 427
                     </el-form-item>
420 428
                    </el-form>
@@ -2079,6 +2087,8 @@ export default {
2079 2087
       Connectways:[],
2080 2088
       crumbs: [{ path: false, name: "预览" }],
2081 2089
       activeName: 'first',
2090
+      activeNameOne: 'index',
2091
+      activeNameThree: 'three',
2082 2092
       name: "car",
2083 2093
       modelshow:false,
2084 2094
       modelshowtwo:true,
@@ -2792,6 +2802,31 @@ export default {
2792 2802
          this.modelshowtwo= false;
2793 2803
          this.modelshow = true;
2794 2804
       },
2805
+      
2806
+      handleClick(tab,event){
2807
+        if(this.activeNameOne == "index"){
2808
+          this.modelshowtwo = true;
2809
+          this.modelshow = false;
2810
+        }
2811
+
2812
+        if(this.activeNameOne == "contactus"){
2813
+           this.modelshowtwo = false;
2814
+           this.modelshow = true;
2815
+        }
2816
+      },
2817
+
2818
+      handleClickTwo(tab,event){
2819
+        if(this.activeName == "used"){
2820
+          this.getQueryNewModel();
2821
+        }
2822
+      },
2823
+
2824
+      handleClickThree(tab,event){
2825
+         if(this.activeNameThree == "usedtwo"){
2826
+            this.GetUserdModel();
2827
+         }
2828
+      },
2829
+
2795 2830
       sharemanage(){
2796 2831
         this.navigation = false;
2797 2832
         this.share = true;
@@ -4362,7 +4397,7 @@ export default {
4362 4397
       let qrcode = new QRCode('qrcode', {
4363 4398
         width: 100,
4364 4399
         height: 100, // 高度
4365
-        text:"www.baidu.com", // 二维码内容
4400
+        text:"http://microweb.kuyicloud.com", // 二维码内容
4366 4401
       })
4367 4402
       console.log(qrcode)
4368 4403
     },
@@ -5659,21 +5694,24 @@ export default {
5659 5694
      padding-top: 5px;
5660 5695
    }
5661 5696
    .doctitle{
5662
-     width: 50px;
5697
+     width: 80px;
5663 5698
      height: 20px;
5664
-     /* border: solid 1px blue; */
5699
+    //  border: solid 1px blue; 
5665 5700
      float: right;
5666
-     margin-right: 152px;
5701
+     margin-right: 120px;
5667 5702
      margin-top: -75px;
5703
+     font-size: 14px;
5668 5704
    }
5669 5705
 
5670 5706
    .doccontent{
5671
-     width: 150px;
5707
+     width: 180px;
5672 5708
      height: 50px;
5673
-     /* border: solid 1px red; */
5709
+    //  border: solid 1px red; 
5674 5710
      margin-top: -50px;
5675 5711
      margin-left: 108px;
5676 5712
      font-size: 14px;
5713
+     overflow: hidden;
5714
+     
5677 5715
    }
5678 5716
    .docnamefont{
5679 5717
      font-size: 14px;
@@ -5752,9 +5790,9 @@ export default {
5752 5790
     .xxcontent{
5753 5791
       overflow: hidden;
5754 5792
       text-overflow: ellipsis;
5755
-      display: -webkit-box;
5756
-      -webkit-line-clamp: 3;
5757
-      -webkit-box-orient: vertical
5793
+       display: -webkit-box;
5794
+      -webkit-line-clamp: 2;
5795
+      -webkit-box-orient: vertical;
5758 5796
    }
5759 5797
 
5760 5798
      #wrappertwo{