Prechádzať zdrojové kódy

经销商授权管理-删除无用打印代码段

002390 1 rok pred
rodič
commit
722d92e8d5

+ 0 - 3
src/views/marketing/dealer-authorization/add/index.vue

@@ -14,7 +14,6 @@ export default {
   data() {
     const { FormColumns } = useColumns();
     const rules = this.$init.rules([...FormColumns]);
-    console.log(rules, "rules");
     const params = this.$init.params(FormColumns);
     return {
       visible: false,
@@ -107,7 +106,6 @@ export default {
               : {}),
           };
           delete params["time"];
-          console.log(params, "params--------");
 
           try {
             this.loading = true;
@@ -124,7 +122,6 @@ export default {
             this.loading = false;
           }
         } else {
-          console.log("error submit!!");
           return false;
         }
       });

+ 1 - 6
src/views/marketing/dealer-authorization/index.vue

@@ -9,7 +9,7 @@ export default {
   components: {
     authprivAdd: () => import("./add/index.vue"),
     // authprivAdd: () => import("./authprivAdd.vue"),
-    authprivSee: () => import("./authprivSee.vue"),
+    // authprivSee: () => import("./authprivSee.vue"),
     ElSuperUxTable: () => import("@/components/super-ux-table/index.vue"),
     ElSuperSearch: () => import("@/components/super-search/index.vue"),
   },
@@ -150,7 +150,6 @@ export default {
     },
     // 下载
     async handleDownload(row) {
-      console.log("下载", row);
       try {
         const {
           id,
@@ -188,7 +187,6 @@ export default {
   },
   created() {
     this.useQuery();
-    console.log(this.$store.state.user, "this.$store.state.user");
   },
 };
 </script>
@@ -210,7 +208,6 @@ export default {
       :size="size"
       @close="useQuery"
     ></authprivAdd>
-    <!-- <authprivSee ref="seeDialogRef"></authprivSee> -->
     <el-super-search
       v-model="params"
       :size="size"
@@ -230,8 +227,6 @@ export default {
           v-hasPermi="['pu:authorization:add']"
           >新增</el-button
         >
-        <!-- <el-button :size="size" @click="handleSubmit">提交</el-button> -->
-        <!-- <el-button :size="size" @click="handleDownload">下载授权书</el-button> -->
       </el-col>
     </el-row>