소스 검색

2022-12-12 19:00

codeMan 3 년 전
부모
커밋
f497d5ab08

+ 5 - 0
src/HManagement/clueManage/clue_private/index.vue

@@ -13,6 +13,7 @@
       :options="options"
       :detailPath="{path:'/clueDetail_private'}"
       @listCreate="list"
+      @listData="listdata"
     >
       <div slot="titleRight" style="display:flex;margin-left:10px">
         <distribution class="inline-16" v-if="tool.checkAuth($route.name,'distribution')" @onSuccess="$refs.basicLayout.listData()"></distribution>
@@ -120,6 +121,10 @@ export default {
       
       this.arealist = this.tool.createMenu(res.data)
     },
+        listdata(data) {
+      console.log(data);
+      
+    }
   }
 }
 

+ 2 - 7
src/HManagement/clueManage/clue_public/index.vue

@@ -15,13 +15,7 @@
       @listCreate="list"
     >
     <div slot="custom" style="display:flex">
-      <div class="label_center">
-        <p class="search__label">跟进状态:</p>
-        <el-select v-model="status" clearable style="margin-right:10px" size="small" placeholder="请选择线索状态" @change="$refs.basicLayout.param.content.pageNumber=1;$refs.basicLayout.param.content.where.status = status;$refs.basicLayout.listData()">
-          <el-option v-for="item in statusList" :label="item.value" :key="item.rowindex" :value="item.remarks">
-          </el-option>
-        </el-select>
-      </div>
+
     </div>
       <div slot="titleRight" style="display:flex;margin-left:10px">
         <distribution class="inline-16" v-if="tool.checkAuth($route.name,'distribution')" @onSuccess="$refs.basicLayout.listData()"></distribution>
@@ -106,6 +100,7 @@ export default {
       
       this.arealist = this.tool.createMenu(res.data)
     },
+
   }
 }
 

+ 25 - 2
src/HManagement/clueManage/m_activity/index.vue

@@ -15,6 +15,23 @@
       @listCreate="list"
     >
      <div slot="custom" style="display:flex">
+       <div class="label_center">
+        <p class="search__label">范围:</p>
+        <el-select
+          class="inline-16"
+          size="small"
+          v-model="area"
+          placeholder="请选择范围"
+          @change="$refs.basicLayout.param.content.pageNumber=1;$refs.basicLayout.param.content.type=area;$refs.basicLayout.listData()"
+        >
+          <el-option
+            v-for="item in areaList2"
+            :key="item.remarks"
+            :label="item.value"
+            :value="item.remarks"
+          ></el-option>
+        </el-select>
+      </div>
        <div class="label_center">
         <p class="search__label">活动类型:</p>
         <el-select v-model="search.type" style="margin-right:10px" size="small" placeholder="请选择活动类型" @change="campaigntypeChange" clearable>
@@ -64,7 +81,10 @@ export default {
     return {
       options:[],
       search:{},
-      campaigntypeList:''
+      campaigntypeList:'',
+      areaList2:[],
+      area:''
+
     }
   },
   provide () {
@@ -96,8 +116,11 @@ export default {
       this.$refs.basicLayout.listData()
     },
   },
-  created () {
+  async created () {
     this.campaigntype()
+
+    const res = await this.$store.dispatch('optiontypeselect','dataarea')
+    this.areaList2 = res.data
   }
 }
 

+ 6 - 6
src/HManagement/siteManage/custom_option/modules/detailsList.vue

@@ -9,7 +9,7 @@
         <slot name="del" :data="scope.data"></slot>
       </template>
     </tableLayout>
-    <div  style="margin-top:16px;text-align:right">
+    <!-- <div  style="margin-top:16px;text-align:right">
       <el-pagination
           background
           small
@@ -20,7 +20,7 @@
           layout="total, prev, pager, next, jumper"
           :total="total">
       </el-pagination>
-    </div>
+    </div> -->
   </div>
 </template>
 
@@ -48,10 +48,10 @@ export default {
       //   }
       // }
       param:{
-        "pageNumber": 1,
-        "pageSize": 20,
         "id": 20220901092501,
         "content": {
+          "pageNumber": 1,
+          "pageSize": 9999999,
           "optiontypeid":''
         }
       }
@@ -70,12 +70,12 @@ export default {
     handleSizeChange(val) {
       // console.log(`每页 ${val} 条`);
       this.param.content.pageSize = val
-      this.queryOptions()
+      this.detailsList()
     },
     handleCurrentChange(val) {
       // console.log(`当前页: ${val}`);
       this.param.content.pageNumber = val
-      this.queryOptions()
+      this.detailsList()
     },
   },
   mounted() {

+ 3 - 3
src/HManagement/siteManage/custom_option/modules/list.vue

@@ -5,7 +5,7 @@
         <p>{{scope.column.data[scope.column.columnname]}}</p>
       </template>
     </tableLayout>
-    <div style="margin-top:16px;text-align:right">
+    <!-- <div style="margin-top:16px;text-align:right">
       <el-pagination
         background
         small
@@ -16,7 +16,7 @@
         layout="total, prev, pager, next, jumper"
         :total="total">
       </el-pagination>
-    </div>
+    </div> -->
   </div>
 </template>
 
@@ -30,7 +30,7 @@ export default {
         "id": 20220901092401,
         "content": {
           "pageNumber": 1,
-          "pageSize": 20,
+          "pageSize": 99999999,
           "where":{
             "condition":""
           }

+ 2 - 0
src/SManagement/orderclue/components/follow.vue

@@ -54,6 +54,7 @@ export default {
       param: {
         "sat_orderclueid": 4,
         "content": "",
+        "createdate":'',
         "followupmode": "", //当面拜访、电话沟通
         "logtype": "跟进", //跟进、成交、丢单、无效
         "competitor": "",
@@ -129,6 +130,7 @@ export default {
       this.$refs.ruleForm.validate(async val => {
         if (!val) return
         this.param.sat_orderclueid = this.detailInfo.sat_orderclueid
+        this.param.createdate = `${this.timer.getFullYear()}-${this.timer.getMonth() + 1}-${this.timer.getDate()}`
         let res = await this.$api.requested({
           "id":20221208100602,
           "content": this.param