liuhj 3 mēneši atpakaļ
vecāks
revīzija
04cf3ff835

+ 13 - 1
src/components/MCR/MarketCustomerResourcesHome.vue

@@ -324,7 +324,19 @@ export default {
         },
         loghandleCurrentChange(val) {
             this.logcurrentPage = val;
-            this.logchange();
+            let opTypeLabels = '';
+            let opUserLabels = '';
+            for (let i = 0; i < this.form.opTypeLabel.length; i++) {
+                opTypeLabels += this.form.opTypeLabel[i] + ','
+            }
+            opTypeLabels = opTypeLabels.substring(0, opTypeLabels.length - 1)
+
+            for (let j = 0; j < this.form.opUserLabel.length; j++) {
+                opUserLabels += this.form.opUserLabel[j] + ','
+            }
+            opUserLabels = opUserLabels.substring(0, opUserLabels.length - 1)
+            this.NewClientDataRecord(opTypeLabels, opUserLabels, this.datetime(this.form.time[0]), this.datetime(this.form.time[1]))
+            // this.logchange();
         },
         //每页条数改变时触发 选择一页显示多少行
         handleSizeChange(val) {

+ 2 - 27
src/components/MarketplacePick.vue

@@ -119,19 +119,6 @@ export default {
         }
     },
     methods:{
-        submitForm(formName) {
-            this.$refs[formName].validate((valid) => {
-                if (valid) {
-                    alert('submit!');
-                } else {
-                    console.log('error submit!!');
-                    return false;
-                }
-            });
-        },
-        resetForm(formName) {
-            this.$refs[formName].resetFields();
-        },
         //或取基础数据
         GroupOrderPreInfos(val) {
             this.fullscreenLoading=true;
@@ -238,17 +225,7 @@ export default {
             })
             gjval=gjval.substring(0,gjval.length-1)
             this.CityByCountry(gjval)
-            // this.$store.state.countrystring.push(val.newValue)
-            // var res=new Map();
-            // var countrystringqrr=this.$store.state.countrystring.filter((a)=>!res.has(a)&&res.set(a,1));
-            // console.log(countrystringqrr);
-            
-            // // val.newValue=this.$store.state.countrystring
-            // var newValue=''
-            // countrystringqrr.map((value)=>{
-            //     newValue+=value+'、'
-            // })
-            // val.newValue=newValue.substring(0,newValue.length-1)
+
         },
         InputValue(val){
             // console.log(val);
@@ -379,8 +356,6 @@ export default {
         }else{
             that.$message.error('没有用户id');
         }
-        console.log(this.userid);
-        
         this.GroupOrderPreInfos();
         this.CountryInit();
         
@@ -401,7 +376,7 @@ export default {
 .marketplacepick-form-head,.marketplacepick-form .el-select{
     width: 100%;
 }
-.marketplacepick-form-head,.marketplacepick-form-li .el-input-number{
+.marketplacepick-form-head,.marketplacepick-form-li .el-input-number{ 
     width: 100%;
 }
 .marketplacepick-form-li .el-input-number .el-input__inner{