浏览代码

回收站调整

qymljy 2 年之前
父节点
当前提交
7c7673f26a

+ 3 - 0
src/HManagement/department/staff/list/modules/edit.vue

@@ -338,6 +338,9 @@ export default {
       this.salerList = []
       this.query_hrMain()
       this.department()
+      this.$store.dispatch('optiontypeselect','tradefield').then(res=>{
+        this.tradefields = res.data
+      })
       this.$store.dispatch('optiontypeselect','sex')
       this.dialogFormVisible = true
     },

+ 1 - 3
src/HManagement/ecycle/agentManage/index.vue

@@ -179,10 +179,10 @@ export default {
       this.$refs.basicLayout.param.content.isdeleted = 1
       this.$refs.basicLayout.param.content.containssub = 1
       this.$refs.basicLayout.param.content.sa_saleareaids = []
+      this.$refs.basicLayout.param.content.sort = [{reversed:0,sorted:1,sortid:187,sortname:'作废时间倒序'}]
       this.$refs.basicLayout.listData()
     },
     applicationChange(val){
-      console.log(val)
       this.$emit("changeApplication",val)
     },
     async userstatus() {
@@ -217,7 +217,6 @@ export default {
     async queryType(){
       const res = await this.$store.dispatch('optiontypeselect','agenttypemx')
       this.agent_type = res.data
-      console.log(this.agent_type,'agent_type')
     },
     selectChange () {
       this.$refs.basicLayout.param.content.where = this.selectParam
@@ -230,7 +229,6 @@ export default {
       })
       this.$refs.batchDeletion.length = this.selectData.length
       this.$refs.batchRecovery.length = this.selectData.length
-      console.log(this.selectData)
     }
   },
   mounted() {

+ 1 - 3
src/HManagement/ecycle/contract/index.vue

@@ -182,10 +182,10 @@ export default {
       this.$refs.basicLayout.param.content.isAll = 0
       this.$refs.basicLayout.param.content.type = 0
       this.$refs.basicLayout.param.content.deleted = 1
+      this.$refs.basicLayout.param.content.sort = [{reversed:0,sorted:1,sortid:184,sortname:'作废时间倒序'}]
       this.$refs.basicLayout.listData()
     },
     applicationChange(val){
-      console.log(val)
       this.$emit("changeApplication",val)
     },
     async getSystemList () {
@@ -209,7 +209,6 @@ export default {
           }
         }
       })
-      console.log(res.data);
 
     },
     selectChange () {
@@ -230,7 +229,6 @@ export default {
       })
       this.$refs.batchDeletion.length = this.selectData.length
       this.$refs.batchRecovery.length = this.selectData.length
-      console.log(this.selectData)
     }
   },
   mounted() {

+ 1 - 7
src/HManagement/ecycle/customer/index.vue

@@ -204,10 +204,10 @@ export default {
       this.$refs.basicLayout.param.content.isAll = 0
       this.$refs.basicLayout.param.content.type = 0
       this.$refs.basicLayout.param.content.deleted = 1
+      this.$refs.basicLayout.param.content.sort = [{reversed:0,sorted:1,sortid:183,sortname:'作废时间倒序'}]
       this.$refs.basicLayout.listData()
     },
     applicationChange(val){
-      console.log(val)
       this.$emit("changeApplication",val)
     },
     /*客户类型列表*/
@@ -226,8 +226,6 @@ export default {
         }
       })
       this.option.typeData = res.data
-      console.log("客户类型",res.data)
-      console.log(this.option.typeData)
 
     },
     /*客户等级*/
@@ -245,7 +243,6 @@ export default {
           }
         }
       })
-      console.log("客户等级",res.data)
       /*for (var i=0;i<res.data.length; i++){
         if (res.data[i].remarks !== ''){
           this.options.gradeData[i] = res.data[i].value + "——" + res.data[i].remarks
@@ -254,7 +251,6 @@ export default {
         }
       }*/
       this.option.gradeData = res.data
-      console.log("处理后客户等级",this.option.gradeData)
     },
     /*行业列表*/
     async industryList(){
@@ -288,14 +284,12 @@ export default {
       this.$refs['basicLayout'].listData()
     },
     checkboxCallBack(val){
-      console.log(val,"客户")
       this.selectData = []
       val.forEach((item,index) => {
         this.selectData[index] = item.sa_customersid
       })
       this.$refs.batchDeletion.length = this.selectData.length
       this.$refs.batchRecovery.length = this.selectData.length
-      console.log(this.selectData)
     }
   },
   mounted() {

+ 1 - 5
src/HManagement/ecycle/projectChange/index.vue

@@ -206,10 +206,10 @@ export default {
       this.$refs.basicLayout.param.content.isAll = 0
       this.$refs.basicLayout.param.content.type = 0
       this.$refs.basicLayout.param.content.deleted = 1
+      this.$refs.basicLayout.param.content.sort = [{reversed:0,sorted:1,sortid:185,sortname:'作废时间倒序'}]
       this.$refs.basicLayout.listData()
     },
     applicationChange(val){
-      console.log(val)
       this.$emit("changeApplication",val)
     },
     /** 获取公司数据 */
@@ -233,7 +233,6 @@ export default {
       /* 获取项目等级 */
       let res2 = await this.$store.dispatch('optiontypeselect','projectgrade')
       this.projectLead = res2.data
-      console.log(this.projectLead);
 
     },
     /*获取阶段*/
@@ -253,8 +252,6 @@ export default {
       this.option.stageList = res.data
     },
     selectChange () {
-      console.log(this.projectType)
-      console.log(this.projectLead)
       if (this.dateSelect !== '' && this.dateSelect !== null){
         this.selectParam.startdate = this.dateSelect[0]
         this.selectParam.enddate = this.dateSelect[1]
@@ -273,7 +270,6 @@ export default {
       })
       this.$refs.batchDeletion.length = this.selectData.length
       this.$refs.batchRecovery.length = this.selectData.length
-      console.log(this.selectData)
     }
   },
   mounted() {

+ 1 - 2
src/HManagement/ecycle/quotedPrice/index.vue

@@ -190,10 +190,10 @@ export default {
       this.$refs.basicLayout.param.content.isAll = 0
       this.$refs.basicLayout.param.content.type = 0
       this.$refs.basicLayout.param.content.deleted = 1
+      this.$refs.basicLayout.param.content.sort = [{reversed:0,sorted:1,sortid:186,sortname:'作废时间倒序'}]
       this.$refs.basicLayout.listData()
     },
     applicationChange(val){
-      console.log(val)
       this.$emit("changeApplication",val)
     },
     selectChange(){
@@ -225,7 +225,6 @@ export default {
       })
       this.$refs.batchDeletion.length = this.selectData.length
       this.$refs.batchRecovery.length = this.selectData.length
-      console.log(this.selectData)
     }
   },
   mounted() {

+ 1 - 3
src/HManagement/ecycle/saleClue/index.vue

@@ -122,10 +122,10 @@ export default {
       this.$refs.basicLayout.param.content.isAll = 0
       this.$refs.basicLayout.param.content.type = 0
       this.$refs.basicLayout.param.content.deleted = 1
+      this.$refs.basicLayout.param.content.sort = [{reversed:0,sorted:1,sortid:182,sortname:'作废时间倒序'}]
       this.$refs.basicLayout.listData()
     },
     applicationChange(val){
-      console.log(val)
       this.$emit("changeApplication",val)
     },
     delSuccess(){
@@ -138,7 +138,6 @@ export default {
       })
       this.$refs.batchDeletion.length = this.selectData.length
       this.$refs.batchRecovery.length = this.selectData.length
-      console.log(this.selectData)
     }
   },
   mounted() {
@@ -147,7 +146,6 @@ export default {
   async created () {
     const res2 = await this.$store.dispatch('optiontypeselect','datafollowuptype')
     this.statusList = res2.data
-    console.log(this.statusList);
   },
 }