Просмотр исходного кода

蒙牛 销售公司-套餐包 调整为商城的

三七 5 дней назад
Родитель
Сommit
6844fb8997
1 измененных файлов с 20 добавлено и 3 удалено
  1. 20 3
      src/views/his/company/index.vue

+ 20 - 3
src/views/his/company/index.vue

@@ -756,6 +756,9 @@ export default {
   name: 'Company',
   data() {
     return {
+
+      projectFrom:process.env.VUE_APP_HSY_SPACE,
+
       signProjectName:"",
       redSubmit: false,
       //分账参数
@@ -934,9 +937,22 @@ export default {
         open: false,
         title: '批量修改小程序'
       },
+
     }
   },
   created() {
+
+    cateList().then((response) => {
+      if (this.projectFrom =='mengniu-2114522511'){
+
+        this.getDicts('store_product_package_cate').then(response => {
+          this.cateList = response.data
+        })
+      }else {
+        this.cateList = response.rows
+      }
+    })
+
     getSignProjectName()
     .then(res=>{
       this.signProjectName = res.signProjectName;
@@ -955,9 +971,10 @@ export default {
     getFollowDoctorList().then((response) => {
       this.followDoctorList = response.rows
     })
-    cateList().then((response) => {
-      this.cateList = response.rows
-    })
+    // cateList().then((response) => {
+    //   this.cateList = response.rows
+    // })
+
     listDept().then(response => {
       this.deptOptions = response.data
     })