yrik 4 年 前
コミット
f9b453458b

+ 0 - 3
ruoyi-ui/src/views/activiti/definition/index.vue

@@ -1,7 +1,6 @@
 <template>
     <div class="InstanceManagementList">
       <Breadcrumb separator=">">
-        <!-- <BreadcrumbItem to="/InstanceManagementList" @click.native="routeClick(1)">实例管理</BreadcrumbItem> -->
         <BreadcrumbItem  v-if="tabalive==='待办流程'"  @click.native="routeClick(1)">待办流程</BreadcrumbItem>
         <BreadcrumbItem  v-if="tabalive==='历史流程'"  @click.native="routeClick(2)">历史流程</BreadcrumbItem>
     </Breadcrumb>
@@ -14,10 +13,8 @@
 <script>
 import todoProcess from '@/components/todoProcess/index';
 import HistoricalProcess from '@/components/HistoricalProcess';
-// import router from '../config/router.config'
 export default {
     name:'InstanceManagementList',
-    // todoProcess,
     components:{todoProcess,HistoricalProcess},
     data(){
         return{

+ 3 - 64
ruoyi-ui/src/views/system/editing/index.vue

@@ -176,7 +176,6 @@
       this.taheus = this.$route.query.tables
       this.taheusid = this.$route.query.id
       this.deledlid.idList.push(this.$route.query.id)
-      console.log(this.deledlid)
       // tab
       this.edingelsietab()
       this.init()
@@ -188,13 +187,10 @@
         this.$set(this.queryParams,obj,cont)
       },
       handleChange(val) {
-        console.log(val);
       },
       enditTab(index) {
         this.num = index
-        console.log(index)
         if(this.num == 0){
-          console.log(34567)
           this.tabledeLise.table = this.tabldie[index].tableName
           this.formeanti.table = this.tabldie[index].tableName
           this.forme.table = this.tabldie[index].tableName
@@ -208,10 +204,6 @@
           this.inittwo()
           this.foremliseju()
         }
-        // this.tableZbie.table = this.tabldie[index].tableName
-        // this.tableZbie.fixedData.id = this.tabldie[index].id
-        // this.edingelsie()
-        // this.init()
       },
       // 按钮
       init() {
@@ -223,11 +215,7 @@
           this.jeigneutwo = []
           this.jeigneu = []
           this.jeigneu = data.buttonList.split('')
-          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) {
                 route = '保存'
@@ -270,26 +258,20 @@
           })
           this.jeigneutwo.push('刷新')
           this.jeigneutwo.push('返回')
-          console.log(this.queryData, 567)
           // 图片的显示隐藏
           if(this.queryData.showData.length !==0){
            this.queryData.showData.filter(route => {
                if(route.cssClass !== null){
                  this.imgShoew = route.cssClass
                  if(route.cssClass == 2 || route.cssClass == 4 ){
-                   console.log(34)
-                   // || route.mask.slice(3,4) == '0'
                    route.hrChildren.filter(routers =>{
 
                      routers.isonliy = true
                    })
-                   // route.routers = true
                  }else{
-                   console.log(123)
                    route.hrChildren.filter(routers =>{
                      routers.isonliy = false
                    })
-                   // route.isonliy = false
                  }
                }
            })
@@ -305,11 +287,7 @@
           this.jeigneutwo = []
           this.jeigneu = []
           this.jeigneu = data.buttonList.split('')
-          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') {
                 route = '新增'
                 this.jeigneutwo.push(route)
@@ -346,55 +324,41 @@
             }
 
           })
-          // this.jeigneutwo.push('刷新')
-          // this.jeigneutwo.push('返回')
         })
       },
       // 数据信息
       edingelsie() {
-        console.log(1234)
         getQueryList(
           this.tabledeLise
         ).then(res => {
           let data = res.data
           this.taleLisst = data
-          // console.log(this.queryData.queryList)
         })
       },
       // tab数据
       edingelsietab() {
-        console.log(4566)
         geteditindeTab(this.tableZbietabg).then(response => {
           this.tabldie = [{tableComment:'主表数据',tableName:this.taheus}]
           this.tabldie =this.tabldie.concat(response.data.ref)
           if (this.tabldie.length !== 1) {
-            // this.tableZbie.table = this.tabldie[0].tableName
-            // this.tableZbie.fixedData.id = this.tabldie[0].id
-            // this.foremliseju()
+           
           } else {
             this.msgSuccess("暂无tab数据");
             this.$router.go(-1)
           }
-          // this.msgSuccess("反提交成功");
-          // this.open = false;
-          // this.getList();
+         
         });
       },
       // 列表数据
       foremliseju(){
        listIndex(this.queryParamslist).then(res => {
-         console.log(res)
          if(res.code == 200){
            let data = res.data
            this.postList = data
            this.total = res.data.total - 0
          }else{
-           console.log(876)
-           // this.postList = []
          }
           this.loading = false
-         console.log(this.total)
-         console.log(this.postList,567)
 
        })
       },
@@ -404,7 +368,6 @@
         }
       },
       handleQuery(index) {
-        console.log(index, 4)
         for (let item of this.queryData.showData) {
           for (var i = 0; i < item.hrChildren.length; i++) {
             if (item.hrChildren[i].htmlType == 'checkbox') {
@@ -435,36 +398,23 @@
           this.handleDelete(this.deledlid)
         } else if (index == '提交') {
           //提交  保存
-          // this.formeanti.table = 'obj_test'
           this.formeanti.commitData = []
           this.formy.status = 1
-          // this.formy.id = 0
           this.formeanti.commitData.push(this.formy)
-          console.log(this.formeanti)
           this.antiSubmission()
         } else if (index == '反提交') {
           //反提交  保存
-          // this.formeanti.table = 'obj_test'
           this.formeanti.commitData = []
           this.formy.status = 2
-          // this.formy.id = 0
           this.formeanti.commitData.push(this.formy)
-          console.log(this.formeanti)
           this.antiSubmission()
         } else if (index == '保存') {
           // 修改
-          // this.forme.table = 'obj_test'
-          // this.forme.objId = 1
           this.forme.fixedData = this.queryParams
           this.submitForm()
         } else if (index == '返回') {
-          // if(this.xidugje ==0){
-          //    this.$router.go(-2)
-          // }else{
           this.$router.go(-1)
-          // }
         } else if (index == '刷新') {
-          // this.xidugje = 1
           this.reload()
         }else if(index == '新增'){
             this.routerFn(-1, this.tabName)
@@ -474,16 +424,13 @@
             return
           }
           const id = this.ids.join(',')
-          console.log(12346)
           this.routerFn(id, this.tabName)
         }
 
-        console.log(this.forme)
         // this.getList();
       },
       /** 新增 修改提交按钮 */
       submitForm: function() {
-        console.log(3456)
         this.$refs["queryForm"].validate(valid => {
           if (valid) {
             addbjectSave(this.forme).then(response => {
@@ -504,7 +451,6 @@
               tableSubimt(this.formeanti).then(response => {
                 this.msgSuccess("提交成功");
                 this.$router.go(-1)
-                // this.open = false;
                 // this.getList();
               });
             } else if (this.formy.status == 2) {
@@ -512,7 +458,6 @@
               tableSubimtanit(this.formeanti).then(response => {
                 this.msgSuccess("反提交成功");
                 this.$router.go(-1)
-                // this.open = false;
                 // this.getList();
               });
             }
@@ -521,7 +466,6 @@
       },
       //删除
       handleDelete(index) {
-        console.log(index)
         if(this.num == 0){
           this.$confirm('是否确认删除', "警告", {
             confirmButtonText: "确定",
@@ -539,7 +483,7 @@
             this.msgInfo('请勾选一条信息')
             return
           }
-          console.log(this.ids)
+          // console.log(this.ids)
           var that = this
           index.idList  = this.ids
           index.table = this.tabName
@@ -559,12 +503,10 @@
       // 多选框选中数据
       handleSelectionChange(selection) {
         this.ids = selection.map(item => item.id)
-        console.log(this.ids)
         this.single = selection.length != 1
         this.multiple = !selection.length
       },
       routerFn(id, tables) {
-        console.log(157)
         if (this.queryDatatwo.viewType == 'crud') {
           this.$router.push({
             path: 'table',
@@ -586,7 +528,6 @@
      // 搜索
      handleQueryiu(){
       for(let item of this.queryDatatwo.queryList){
-        // for(var i = 0 ; i < item.hrChildren.length ; i++){
           if(item.htmlType == 'checkbox'){
             this.queryParamstwoi[item.columnName] = this.$refs[item.columnName][0].config
           }else if(item.htmlType == 'imageUpload' || item.htmlType == 'fileUpload'){
@@ -594,7 +535,6 @@
           } else{
             this.queryParamstwoi[item.columnName] = this.$refs[item.columnName][0].config[item.columnName]
           }
-        // }
 
       }
       for(var items in this.queryParamstwoi){
@@ -604,7 +544,6 @@
       }
       this.queryParamslist.fixedData.condition = this.queryParamstwoi
       this.foremliseju()
-       console.log(this.queryParamstwoi)
      },
      resetQuery(){
       this.resetForm("queryParamstwoi");

+ 1 - 43
ruoyi-ui/src/views/system/form/index.vue

@@ -54,7 +54,6 @@
                 <template slot-scope="scope">
                   <img class="img_icon" v-if="item.htmlType=='imageUpload' && scope.row[scope.column.property]" @click="imgBtn(JSON.parse(scope.row[scope.column.property])[0].url)"
                     :src="JSON.parse(scope.row[scope.column.property])[0].url" alt="">
-                  <!-- :style="scope.row.list_class" scope.row[scope.column.property] -->
                   <span  :style="scope.row.list_class" v-else-if="item.columnName == 'status' " >{{ scope.row[scope.column.property] }}</span>
                   <span  v-else>{{ scope.row[scope.column.property] }}</span>
                 </template>
@@ -69,10 +68,6 @@
               :limit.sync="queryParamslist.pageSize"
               @pagination="foremliseju"
             />
-           <!-- <el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page.sync="currentPage3"
-              :page-size="queryParamslist.pageSize" layout="prev, pager, next, jumper" v-show="total>0"
-      :total="total" @pagination="foremliseju">
-            </el-pagination> -->
           </div>
         </el-collapse-item>
       </el-collapse>
@@ -259,17 +254,13 @@
                if(route.cssClass !== null){
                  this.imgShoew = route.cssClass
                  if(route.cssClass == 2 || route.cssClass == 4){
-                   console.log(34)
                    route.hrChildren.filter(routers =>{
                      routers.isonliy = true
                    })
-                   // route.routers = true
                  }else{
-                   console.log(123)
                    route.hrChildren.filter(routers =>{
                      routers.isonliy = false
                    })
-                   // route.isonliy = false
                  }
                }
            })
@@ -295,28 +286,21 @@
           }else{
             this.tabShoes = false
           }
-          // this.msgSuccess("反提交成功");
-          // this.open = false;
-          // this.getList();
         });
       },
       // 列表数据
       foremliseju(){
        listIndex(this.queryParamslist).then(res => {
-         console.log(res)
          let data = res.data
          this.postList = data
          this.loading = false
          this.total = res.data.total - 0
-         console.log(this.total)
-         console.log(this.postList,567)
 
        })
       },
       // 列表查询接口
       foremlisejuque(){
        getObjectqure(this.objParamstue).then(res => {
-         console.log(res)
           let data = res.data
          this.queryDatatao = res.data
          this.jeigneutwo = []
@@ -324,7 +308,6 @@
          this.jeigneu = data.buttonList.split('')
          this.jeigneu.filter(route => {
            // route.dept_id = route.dept_id.value
-           console.log(route)
            if (route == 'A') {
 
                route = '新增'
@@ -359,9 +342,6 @@
            }
 
          })
-         console.log(this.jeigneutwo)
-         // let data = res.data
-         // this.queryData = data
          // 图片的显示隐藏
        })
       },
@@ -417,45 +397,30 @@
            this.handleDelete(this.deledlid)
          }else if(index == 'S'){
            //提交  保存
-            // this.formeanti.table = 'obj_test'
             this.formeanti.commitData = []
             this.formy.status = 1
-            // this.formy.id = 0
             this.formeanti.commitData.push(this.formy)
-            console.log(this.formeanti)
            this.antiSubmission()
          }else if(index == 'U'){
            //反提交  保存
-            // this.formeanti.table = 'obj_test'
             this.formeanti.commitData = []
             this.formy.status = 2
-            // this.formy.id = 0
             this.formeanti.commitData.push(this.formy)
-            console.log(this.formeanti)
            this.antiSubmission()
          }else if(index == 'M'){
            // 修改
-           // this.forme.table = 'obj_test'
-           // this.forme.objId = 1
            this.forme.fixedData = this.queryParams
            this.submitForm()
          }else if(index == 'A'){
-           //新增
-           // this.forme.table = 'obj_test'
-           // this.forme.objId = -1
-           // this.msgInfo('暂不支持新增')
-           // return
            this.forme.fixedData = this.queryParams
            this.submitForm()
          }
 
-        console.log(this.forme)
         // this.getList();
       },
       // 搜索列表
       handleQueryiu(){
        for(let item of this.queryDatatao.queryList){
-         // for(var i = 0 ; i < item.hrChildren.length ; i++){
            if(item.htmlType == 'checkbox'){
              this.queryParamstwoi[item.columnName] = this.$refs[item.columnName][0].config
            }else if(item.htmlType == 'imageUpload' || item.htmlType == 'fileUpload'){
@@ -463,7 +428,6 @@
            } else{
              this.queryParamstwoi[item.columnName] = this.$refs[item.columnName][0].config[item.columnName]
            }
-         // }
 
        }
        for(var items in this.queryParamstwoi){
@@ -473,7 +437,6 @@
        }
        this.queryParamslist.fixedData.condition = this.queryParamstwoi
        this.foremliseju()
-        console.log(this.queryParamstwoi)
 
       },
      /** 新增 修改提交按钮 */
@@ -498,7 +461,6 @@
          tableSubimt(this.formeanti).then(response => {
            this.msgSuccess("提交成功");
            this.$router.go(-1)
-           // this.open = false;
            // this.getList();
          });
        } else if(this.formy.status == 2){
@@ -506,7 +468,6 @@
          tableSubimtanit(this.formeanti).then(response => {
            this.msgSuccess("反提交成功");
            this.$router.go(-1)
-           // this.open = false;
            // this.getList();
          });
        }
@@ -546,12 +507,11 @@
      // 多选框选中数据
      handleSelectionChange(selection) {
        this.ids = selection.map(item => item.id)
-       console.log(this.ids)
+       // console.log(this.ids)
        this.single = selection.length != 1
        this.multiple = !selection.length
      },
      handleQueryju(index){
-       console.log(index, 4)
        for (let item of this.queryData.showData) {
          for (var i = 0; i < item.hrChildren.length; i++) {
            if (item.hrChildren[i].htmlType == 'checkbox') {
@@ -583,12 +543,10 @@
            return
          }
          const id = this.ids.join(',')
-         console.log(12346)
          this.routerFn(id, this.tabName)
        }
      },
      routerFn(id, tables) {
-       console.log(157)
        if (this.queryDatatao.viewType == 'crud') {
          this.$router.push({
            path: 'table',

+ 0 - 21
ruoyi-ui/src/views/system/permissions/index.vue

@@ -207,7 +207,6 @@
         this.statusOptions = response.data;
         this.relationType = response.data
         this.getDeptTreeselect()
-        console.log(this.relationType)
       });
       this.getList();
 
@@ -216,8 +215,6 @@
       relationTypeFn(data) {
         var _this = this
         let is = ''
-        console.log(data)
-        console.log(_this.cloumns)
         for (let item of that.relationType) {
           if (item.dictValue == data) {
             is = item.dictLabel
@@ -228,7 +225,6 @@
     },
     methods: {
       handleNodeClick() {
-        console.log(221)
       },
       /** 查询角色列表 */
       getList() {
@@ -257,14 +253,11 @@
       /** 查询列表数据*/
       getDeptTreeselect() {
         listPostporen(this.queryParamstr).then(response => {
-          console.log(response.rows)
           this.cloumns = response.rows;
           this.total = response.total
           // this.cloumns.
           this.cloumns.filter(route => {
-            console.log(route)
               for(var item in route){
-                console.log(item,78)
                 if(item == 'dataScope'){
                   console.log(route[item])
                   console.log(this.relationType)
@@ -273,8 +266,6 @@
                     if(router.dictValue == route[item]){
                       route[item] = router.dictLabel
                     }
-                    console.log(route[item])
-
                   })
                 }
               }
@@ -465,20 +456,13 @@
       },
       // 点击角色id
       jieese(id,index){
-        console.log(id)
-        console.log(index)
         this.indexdw = index
         this.ijeudid = id
         this.queryParamstr.roleId = id
         this.getDeptTreeselect()
-       console.log(this.form.roleId)
       },
       handleCheckAllChange(val) {
-              // this.checkedCities = val ? cityOptions : [];
-              console.log(val)
               if(val == true){
-                // cloumns.isUse
-                // this.cloumns.fill()
                 this.cloumns.filter(router =>{
                   router.isUse = 'Y'
                 })
@@ -490,11 +474,6 @@
               this.isIndeterminate = false;
       },
        handleCheckedCitiesChange(value) {
-              // let checkedCount = value.length;
-              console.log(value)
-             // this.kiejfur.push(value)
-              // this.checkAll = checkedCount === this.cities.length;
-              // this.isIndeterminate = checkedCount > 0 && checkedCount < this.cities.length;
        }
     }
   };

+ 1 - 12
ruoyi-ui/src/views/system/table/index.vue

@@ -149,7 +149,6 @@
 
         if (index == '删除') {
           //删除
-          console.log(this.formy.id)
           this.handleDelete(this.deledlid)
         } else if (index == '提交') {
           //提交  保存
@@ -179,7 +178,6 @@
         }
 
 
-        console.log(this.forme)
         // this.getList();
       },
       getList() {
@@ -190,17 +188,14 @@
           this.tableZbie
         ).then(res => {
           let data = res.data
-          console.log(res.data)
           this.queryData = {}
           this.queryData = data
           // imgShoew
           this.jeigneutwo = []
           this.jeigneu = []
           this.jeigneu = data.buttonList.split('')
-          console.log(data.buttonList)
-          console.log(this.jeigneu)
+          // console.log(data.buttonList)
           this.jeigneu.filter(route => {
-            console.log(route)
             if(route == 'A'){
               if(this.formy.id == -1){
                 route = '保存'
@@ -255,12 +250,10 @@
             if(route.cssClass !== null){
               this.imgShoew = route.cssClass
               if(route.cssClass == 2 || route.cssClass == 4){
-                console.log(34)
                 route.hrChildren.filter(routers =>{
                   routers.isonliy = true
                 })
               }else{
-                console.log(123)
                 route.hrChildren.filter(routers =>{
                   routers.isonliy = false
                 })
@@ -271,7 +264,6 @@
         })
       },
       tablsie() {
-        console.log(1234)
         getQueryList(
           this.tabledeLise
         ).then(res => {
@@ -280,11 +272,9 @@
         })
       },
       handleChange(val) {
-        console.log(val);
       },
       // 按钮点击
       delet(index) {
-        console.log(index)
         if (index == 'D') {
           this.handleDelete(this.formy.id)
         }
@@ -296,7 +286,6 @@
             addbjectSave(this.forme).then(response => {
               this.msgSuccess("保存成功");
               this.open = false;
-              console.log(this.xidugje)
               this.$router.go(-1)
             });
           }