Forráskód Böngészése

服务商关联项目

armg 4 napja
szülő
commit
4a2501c0fe

+ 6 - 4
src/views/AIDesign/GeneratePlan.vue

@@ -16,7 +16,7 @@
                     <div>
                         <div class="scheme-info"><span class="orgin-color">{{ stoneColors }}</span>{{
                             planParams.F_ColorCard
-                        }}</div>
+                            }}</div>
                         <span class="gray-color">|</span>
                         <div class="scheme-process"><span class="orgin-color">{{ planParams.F_DeepGrooveTech }}</span>工艺
                         </div>
@@ -75,7 +75,7 @@
                                 <div class="table-cell text-left" style="flex:2.4;"><span class="gray">{{ index + 1 }}
                                     </span>{{ item.F_ProcedureName }}</div>
                                 <div class="table-cell text-right" style="flex:0.6;">{{ item.F_ConstructionPeriod
-                                }}<span class="gray">天</span>
+                                    }}<span class="gray">天</span>
                                 </div>
                             </div>
                         </div>
@@ -369,9 +369,11 @@ export default class GeneratePlan extends Vue {
             }
 
             .recommend-scheme-section {
-                padding:10px 6px;
+                padding: 10px 6px;
                 border-radius: 8px;
-                background-color:rgba(248, 248, 248, 1);
+                background-color: rgba(248, 248, 248, 1);
+                // background-color:#fff;
+                box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
             }
 
             // 自定义表格样式

+ 3 - 1
src/views/AIDesign/design.vue

@@ -460,13 +460,15 @@ export default class extends Vue {
   private showChooseProject = false;
   private showProjectPopover = false;
   created() {
-    this.getServiceCode();
     // 图片头
     if (window.location.href.indexOf('aidesign.') > -1) {
       this.imgBaseUrl = 'https://aidesign.nipponpaint.com.cn'
     } else {
       this.imgBaseUrl = 'https://aidesigntest.nipponpaint.com.cn'
     }
+    if(window.localStorage.getItem('agentFromAI') === 'stoneLikePaint'){
+      this.getServiceCode();
+    }
   }
 
   activated() {

+ 4 - 2
src/views/AIDesign/diagnose.vue

@@ -90,7 +90,9 @@ export default class extends Vue {
     private dialogContent = '';
     private wallType = '';
     created() {
-        this.getServiceCode();
+        if (window.localStorage.getItem('agentFromAI') === 'stoneLikePaint') {
+            this.getServiceCode();
+        }
     }
     activated() {
         // 初始化数据
@@ -98,7 +100,7 @@ export default class extends Vue {
         this.GetReadStateFn();
         if (this.$route.query.F_id) {
             this.GetEntityData(this.$route.query.F_id);
-        }
+        } 
     }
     initialize() {
         this.serviceCodeArray = [];

+ 4 - 1
src/views/AIDesign/insideDesign.vue

@@ -211,7 +211,9 @@ export default class extends Vue {
   private currentScrollElement: HTMLElement | null = null;
   @Ref('textureRef') private textureRef!: HTMLDivElement;
   created() {
-    this.getServiceCode();
+    if(window.localStorage.getItem('agentFromAI') === 'stoneLikePaint'){
+      this.getServiceCode();
+    }
     // 图片头
     if (window.location.href.indexOf('aidesign.') > -1) {
       this.imgBaseUrl = 'https://aidesign.nipponpaint.com.cn'
@@ -225,6 +227,7 @@ export default class extends Vue {
     this.initialize();
     this.getPicList();
     this.GetReadStateFn();
+    
   }
   private initialize() {
     this.activeName = "魔术漆";

+ 4 - 1
src/views/AIDesign/result.vue

@@ -151,7 +151,9 @@ export default class extends Vue {
   private serviceCodeArray = [];
   private allRes = null;
   created() {
-    this.getServiceCode();
+    if(window.localStorage.getItem('agentFromAI') === 'stoneLikePaint'){
+      this.getServiceCode();
+    }
     checkAndSaveUserWecomType();
     getWxconfig();
   }
@@ -179,6 +181,7 @@ export default class extends Vue {
     this.type = window.localStorage.getItem('type');
     this.GetReadStateFn();
     this.GetEntityDataFirst()
+    
   }
   // 离开页面时清除定时器
   deactivated() {