yrik 4 жил өмнө
parent
commit
db281908d8

+ 1 - 32
ruoyi-ui/src/views/index.vue

@@ -468,7 +468,6 @@ export default {
            }
          }
        }
-       console.log(that.ary)
        return that.ary
      }
 
@@ -476,20 +475,17 @@ export default {
   methods: {
       // Tooltip 文字提示
         content (date) {
-          console.log(date,37645)
           let data = date
           let datase = date
           let content = ''
           let conert = ''
           let conertre = ''
           let nujue= 0
-          console.log(this.calendarData)
           for (var i = 0 ; i < this.calendarData.length; i++) {
             if(this.calendarData[i].schedule_content !== undefined){
            this.calendarData[i].schedule_content = this.calendarData[i].schedule_content.replace(/<\/?[^>]*>/g, '')
             }
             if(data == this.calendarData[i].remind_time){
-              console.log(content,this.calendarData[i].schedule_content)
               if(content  == this.calendarData[i].schedule_content + '、'){
                 content  = content
               }else{
@@ -500,9 +496,7 @@ export default {
          return content
         },
       modelFn(obj, cont) {
-        // console.log(obj, cont)
         this.$set(this.form,obj,cont)
-        // console.log(this.$set(this.queryParams,obj,cont))
       },
     //数据  第一部分列表
     getList() {
@@ -514,7 +508,6 @@ export default {
           }else {
             this.configList.push({notice_title: "暂无数据"});
           }
-          console.log(this.configList)
           this.total = response.data.total;
           this.loading = false;
         }
@@ -525,7 +518,6 @@ export default {
       this.loading = true;
       listIndex(this.queryParams).then(response => {
           this.configList = response.data.rows;
-          console.log(this.configList)
           this.total = response.data.total;
           this.loading = false;
         }
@@ -544,7 +536,6 @@ export default {
               this.tieku = '暂无数据'
               this.comg = '暂无数据'
             }
-            // console.log(this.getLisprofileone[0].info_title,98)
             this.totalprofile = response.data.total;
           }
          this.loading = false;
@@ -558,7 +549,6 @@ export default {
       listIndex(this.queryParamscalendar).then(response => {
           if(response.data !== undefined){
             this.calendarData = response.data.rows;
-            console.log(this.calendarData,9845765)
           }
           this.loading = false;
         }
@@ -578,7 +568,6 @@ export default {
               this.shower = false
               this.getmemorandum.push({memorandum_title:'暂无数据',shower:false})
             }
-            console.log(this.getmemorandum,98765)
           }
           this.loading = false;
         }
@@ -590,7 +579,6 @@ export default {
       listIndex(this.queryParamsail).then(response => {
           if(response.data !== undefined){
             this.getLisaillie = response.data.rows;
-            // console.log(this.configList)
           }
           this.totalali = response.data.total
           this.loading = false;
@@ -603,7 +591,6 @@ export default {
       listIndextwo(this.dictType).then(response => {
           this.editableTabs = response.data;
           this.queryParams.dictType = response.data[1].dictType
-          console.log(this.editableTabs)
           // this.total = response.total;
           this.loading = false;
         }
@@ -614,7 +601,6 @@ export default {
       this.loading = true;
       listIndextherr(this.dictTypetwo).then(response => {
           this.editableTabsteo = response.data;
-          console.log(this.editableTabsteo)
           // this.total = response.total;
           this.loading = false;
         }
@@ -635,8 +621,7 @@ export default {
                }
              }
            })
-           console.log(this.tableDataalid,67)
-           this.totalprofile = response.data.total;
+           this.totalali = response.data.total;
          }
          this.loading = false;
        }
@@ -649,7 +634,6 @@ export default {
      listIndextanl(this.calendaradd).then(response => {
          if(response.data !== undefined){
            this.queryData = response.data
-        // console.log(this.selectList)
 
          }
          this.loading = false;
@@ -663,7 +647,6 @@ export default {
      listIndextanl(this.calendaraddmer).then(response => {
          if(response.data !== undefined){
            this.queryData = response.data
-        // console.log(this.selectList)
          }
          this.loading = false;
        }
@@ -673,37 +656,29 @@ export default {
       window.open(href, "_blank");
     },
      handleSizeChange(val) {
-      console.log(`每页 ${val} 条`);
       },
     handleCurrentChange(val) {
       this.queryParams.pageNo = val
       this.getList()
-        console.log(`当前页: ${val}`);
       },
       // 公司概况
       handleSizeChangeprofile(val) {
-              console.log(`每页 ${val} 条`);
         },
       handleCurrentChangeprofile(val) {
         this.queryParamstabprofile.pageNo = val
         this.getLisprofile()
-          console.log(`当前页: ${val}`);
         },
      // 通讯录
      handleSizeChangeali(val) {
-             console.log(`每页 ${val} 条`);
        },
      handleCurrentChangeali(val) {
        this.queryParamsail.pageNo = val
        this.getLisail()
-         console.log(`当前页: ${val}`);
        },
     handleClick(tab, event) {
-              console.log(tab, event);
       },
       // 第一部分tab点击
     tabSbu(index){
-      console.log(index)
      this.num = index - 1
      this.queryParams.fixedData.condition.notice_type = index
      this.getList()
@@ -733,7 +708,6 @@ export default {
     /** 新增按钮操作 */
     handleAdd() {
       this.nummer = 0
-      console.log(this.open)
       this.reset();
       this.form ={
       }
@@ -759,7 +733,6 @@ export default {
         //   this.forme.fixedData.remind_type = this.forme.fixedData.remind_type.join(',');
         // }
         //日历
-        console.log(this.forme.fixedData,this.forme)
         addConfigindex(this.forme).then(response => {
           this.msgSuccess("新增成功");
           // this.open = false;
@@ -780,7 +753,6 @@ export default {
          this.cancel();
        });
       }
-      console.log(this.form.fixedData,22311)
       // this.getList();
     },
     // 弹框
@@ -829,9 +801,7 @@ export default {
             serfgt.push(arfe[i])
             }
       }
-      console.log(serfgt.join(','))
      // const res = new Map();
-     // console.log(arr.filter((arr) => !res.has(arr.id) && res.set(arr.id, 1)))
      // return arr.filter((arr) => !res.has(arr.id) && res.set(arr.id, 1));
     },
     getUser() {
@@ -839,7 +809,6 @@ export default {
         this.user = response.data;
         this.getLisalendar()
         this.getLismemorandum()
-       console.log(this.user,97653)
       });
     },
     // 通知公告弹窗

+ 0 - 47
ruoyi-ui/src/views/system/table/index.vue

@@ -91,28 +91,6 @@
         imgShoew:0
       };
     },
-    // filters:{
-    //   btnConversion(val) {
-    //     switch(val){
-    //       case 'A':
-    //       return '保存';
-    //       case 'M':
-    //       return '保存';
-    //       case 'D':
-    //       return '删除';
-    //       case 'Q':
-    //       return '查询';
-    //       case 'S':
-    //       return '提交';
-    //       case 'U':
-    //       return '反提交';
-    //       case 'I':
-    //       return '导入';
-    //       case 'E':
-    //       return '导出';
-    //     }
-    //   }
-    // },
     mounted() {
       // this.tableZbie.fixedData.id = 0
       this.deledlid.idList = []
@@ -187,31 +165,14 @@
           this.antiSubmission()
         } else if (index == '保存') {
           // 修改
-          // this.xidugje = '保存'
           this.forme.fixedData = this.queryParams
           this.submitForm()
         } else if (index == '新增') {
           //新增
-          this.$router.push({
-            path: '/business/table',
-            query: {
-              id: -1,
-              tables: this.forme.table
-            },
-          })
-          // // this.forme.objId = "-1"
-          //  this.queryParams = {}
           this.xidugje = 0
-          // this.tableZbie.fixedData.id = -1
-          // this.formy.id = '-1'
-          // this.init()
           this.reload()
         } else if (index == '返回') {
-          // if (this.xidugje == 0) {
-          //   this.$router.go(-2)
-          // } else {
             this.$router.go(-1)
-          // }
         } else if (index == '刷新') {
           this.xidugje = 1
           this.reload()
@@ -239,7 +200,6 @@
           console.log(data.buttonList)
           console.log(this.jeigneu)
           this.jeigneu.filter(route => {
-            // route.dept_id = route.dept_id.value
             console.log(route)
             if(route == 'A'){
               if(this.formy.id == -1){
@@ -284,8 +244,6 @@
 
           this.jeigneutwo.push('刷新')
           this.jeigneutwo.push('返回')
-          // console.log(this.jeigneutwo,567)
-          // console.log(this.xidugje)
           if(this.xidugje == '刷新'){
             if(res.code == 200){
               this.msgSuccess("操作成功");
@@ -301,13 +259,11 @@
                 route.hrChildren.filter(routers =>{
                   routers.isonliy = true
                 })
-                // route.routers = true
               }else{
                 console.log(123)
                 route.hrChildren.filter(routers =>{
                   routers.isonliy = false
                 })
-                // route.isonliy = false
               }
             }
           })
@@ -321,7 +277,6 @@
         ).then(res => {
           let data = res.data
           this.taleLisst = data
-          // console.log(this.queryData.queryList)
         })
       },
       handleChange(val) {
@@ -356,7 +311,6 @@
               tableSubimt(this.formeanti).then(response => {
                 this.msgSuccess("提交成功");
                 this.$router.go(-1)
-                // this.open = false;
                 // this.getList();
               });
             } else if (this.formy.status == 2) {
@@ -364,7 +318,6 @@
               tableSubimtanit(this.formeanti).then(response => {
                 this.msgSuccess("反提交成功");
                 this.$router.go(-1)
-                // this.open = false;
                 // this.getList();
               });
             }