朱鑫波 4 rokov pred
rodič
commit
787f64006f

BIN
dist.zip


+ 1 - 1
src/api/api.js

@@ -76,7 +76,7 @@ export const ajaxGetDictItems = (code, params)=>getAction(`/sys/dict/getDictItem
 function getDictItemsFromCache(dictCode) {
   if (Vue.ls.get(UI_CACHE_DB_DICT_DATA) && Vue.ls.get(UI_CACHE_DB_DICT_DATA)[dictCode]) {
     let dictItems = Vue.ls.get(UI_CACHE_DB_DICT_DATA)[dictCode];
-    console.log("-----------getDictItemsFromCache----------dictCode="+dictCode+"---- dictItems=",dictItems)
+    // console.log("-----------getDictItemsFromCache----------dictCode="+dictCode+"---- dictItems=",dictItems)
     return dictItems;
   }
 }

+ 0 - 3
src/components/ctop/vm-card.vue

@@ -12,9 +12,6 @@
 /* .ping-list:hover span {
   display: block;
 } */
-/* .ant-modal-body {
-  padding-top: 0px;
-} */
 li {
   list-style-type: none;
 }

+ 4 - 4
src/components/layouts/TabLayout.vue

@@ -235,7 +235,7 @@
           this.$message.warning('这是最后一页,不能再关闭了啦')
           return
         }
-        console.log("this.pageList ", this.pageList);
+        // console.log("this.pageList ", this.pageList);
         // this.pageList = this.pageList.filter(item => item.fullPath !== key)
         // let index = this.linkList.indexOf(key)
         // this.linkList = this.linkList.filter(item => item !== key)
@@ -287,14 +287,14 @@
         if (key == '/modules/BatchCreate/newGroup' && !(this.linkList.includes('/modules/BatchCreate/newCreate') || this
             .linkList.includes('/modules/BatchCreate/newPlan') || this.linkList.includes(
               '/modules/BatchCreate/TouTiaoBatch'))) {
-          console.log('newGroup')
+          // console.log('newGroup')
           localStorage.setItem('accountInfo', '')
           localStorage.setItem("groupInfo", '')
         }
         if (key == '/modules/BatchCreate/newPlan' && !(this.linkList.includes('/modules/BatchCreate/newCreate') || this
             .linkList.includes('/modules/BatchCreate/newGroup') || this.linkList.includes(
               '/modules/BatchCreate/TouTiaoBatch'))) {
-          console.log('newPlan')
+          // console.log('newPlan')
           localStorage.setItem('accountInfo', '')
           localStorage.setItem("groupInfo", '')
           localStorage.setItem("planInfo", '')
@@ -302,7 +302,7 @@
         if (key == '/modules/BatchCreate/newCreate' && !(this.linkList.includes('/modules/BatchCreate/TouTiaoBatch') ||
             this.linkList.includes('/modules/BatchCreate/newPlan') || this.linkList.includes(
               '/modules/BatchCreate/newGroup'))) {
-          console.log('newCreate')
+          // console.log('newCreate')
           localStorage.setItem('accountInfo', '')
           localStorage.setItem("groupInfo", '')
           localStorage.setItem("planInfo", '')

+ 4 - 4
src/components/page/GlobalLayout.vue

@@ -129,10 +129,10 @@
       //this.menus = this.mainRouters.find((item) => item.path === '/').children;
       this.menus = this.permissionMenuList
       // 根据后台配置菜单,重新排序加载路由信息
-      console.log('----加载菜单逻辑----')
-      console.log(this.mainRouters)
-      console.log(this.permissionMenuList)
-      console.log('----navTheme------'+this.navTheme)
+      // console.log('----加载菜单逻辑----')
+      // console.log(this.mainRouters)
+      // console.log(this.permissionMenuList)
+      // console.log('----navTheme------'+this.navTheme)
       //--update-end----author:scott---date:20190320------for:根据后台菜单配置,判断是否路由菜单字段,动态选择是否生成路由(为了支持参数URL菜单)------
     },
     methods: {

+ 2 - 2
src/components/table/index.js

@@ -57,13 +57,13 @@ export default {
       });
     },
     pageSize(val) {
-      console.log('pageSize:', val)
+      // console.log('pageSize:', val)
       Object.assign(this.localPagination, {
         pageSize: val
       });
     },
     showSizeChanger(val) {
-      console.log('showSizeChanger', val)
+      // console.log('showSizeChanger', val)
       Object.assign(this.localPagination, {
         showSizeChanger: val
       });

+ 1 - 1
src/components/tools/Breadcrumb.vue

@@ -23,7 +23,7 @@
     methods: {
       getBreadcrumb() {
 
-        console.log('this.$route.matched', this.$route.matched)
+        // console.log('this.$route.matched', this.$route.matched)
 
         this.breadList = []
         this.breadList.push({name: 'dashboard', path: '/dashboard/', meta: {title: '首页'}})

+ 2 - 2
src/components/tools/HeaderNotice.vue

@@ -151,9 +151,9 @@
               this.msg2Title = "系统消息(" + res.result.sysMsgTotal + ")";
             }
           }).catch(error => {
-            console.log("系统消息通知异常",error);//这行打印permissionName is undefined
+            // console.log("系统消息通知异常",error);//这行打印permissionName is undefined
             this.stopTimer = true;
-            console.log("清理timer");
+            // console.log("清理timer");
           });
         } catch (err) {
           this.stopTimer = true;

+ 1 - 1
src/components/tools/UserPassword.vue

@@ -112,7 +112,7 @@
           if (!err) {
             that.confirmLoading = true;
             let params = Object.assign({username:this.username},values)
-            console.log("修改密码提交数据",params)
+            // console.log("修改密码提交数据",params)
             putAction(this.url,params).then((res)=>{
               if(res.success){
                 console.log(res)

+ 3 - 3
src/components/uploadFile.vue

@@ -180,7 +180,7 @@
         }
       },
       removeFile(file) {
-        console.log(file)
+        // console.log(file)
         var index = this.fileList.findIndex(v => v.uid === file.uid)
         this.fileList.splice(index, 1)
         this.$emit('removeUpload', file)
@@ -196,7 +196,7 @@
         this.percent = 0
         this.loadingElse = true
         const fileOvesize = (file.size > this.size * oneKB)
-        console.log(fileOvesize)
+        // console.log(fileOvesize)
         if (fileOvesize) {
           this.onOversize()
           this.loadingElse = false
@@ -240,7 +240,7 @@
           }
 
         }
-        console.log(str + '-' + timeElse + '.' + arr[arr.length - 1])
+        // console.log(str + '-' + timeElse + '.' + arr[arr.length - 1])
         cos.putObject({
           Bucket: 'media-1301855440',
           /* 必须 */

+ 5 - 5
src/mixins/JeecgListMixin.js

@@ -79,7 +79,7 @@ export const JeecgListMixin = {
                                 key:index
                             }
                         })
-                        console.log(record.innerData)
+                        // console.log(record.innerData)
                         record.innerData = transformTozTreeFormat( record.innerData)
                     }
                     if (res.code === 510) {
@@ -163,7 +163,7 @@ export const JeecgListMixin = {
       if (this.superQueryParams) {
         sqp['superQueryParams'] = encodeURI(this.superQueryParams)
       }
-      console.log(this.queryParam)
+      // console.log(this.queryParam)
       var param = {...this.queryParam,...this.isorter, ...this.filters}
       param.pageNo = this.ipagination.current;
       param.pageSize = this.ipagination.pageSize;
@@ -243,7 +243,7 @@ export const JeecgListMixin = {
       });
     },
     handleEdit: function (record,sign) {
-        console.log(record,sign)
+        // console.log(record,sign)
       this.$refs.modalForm.edit(record,sign);
       this.$refs.modalForm.title = "编辑";
       this.$refs.modalForm.disableSubmit = false;
@@ -302,7 +302,7 @@ export const JeecgListMixin = {
       if (this.selectedRowKeys && this.selectedRowKeys.length > 0) {
         param['selections'] = this.selectedRowKeys.join(",")
       }
-      console.log("导出参数", param)
+      // console.log("导出参数", param)
       downFile(this.url.exportXlsUrl, param).then((data) => {
         if (!data) {
           this.$message.warning("文件下载失败")
@@ -326,7 +326,7 @@ export const JeecgListMixin = {
     /* 导入 */
     handleImportExcel(info) {
       if (info.file.status !== 'uploading') {
-        console.log(info.file, info.fileList);
+        // console.log(info.file, info.fileList);
       }
       if (info.file.status === 'done') {
         if (info.file.response.success) {

+ 0 - 2
src/permission.js

@@ -23,10 +23,8 @@ router.beforeEach((to, from, next) => {
     } else {
       if (store.getters.permissionList.length === 0) {
         store.dispatch('GetPermissionList').then(res => {
-          console.log(res,34567890)
           const menuData = res.result.menu;
           localStorage.setItem("roleCode",res.result.roleCode)
-          console.log(res.message)
           if (menuData === null || menuData === "" || menuData === undefined) {
             return;
           }

+ 3 - 3
src/store/modules/permission.js

@@ -60,17 +60,17 @@ const permission = {
     SET_ROUTERS: (state, data) => {
       state.addRouters = data
       state.routers = constantRouterMap.concat(data)
-      console.log('-----mutations---SET_ROUTERS----', data)
+      // console.log('-----mutations---SET_ROUTERS----', data)
     }
   },
   actions: {
     GenerateRoutes({ commit }, data) {
       return new Promise(resolve => {
         const { roles } = data
-        console.log('-----mutations---data----', data)
+        // console.log('-----mutations---data----', data)
         let accessedRouters
         accessedRouters = filterAsyncRouter(asyncRouterMap, roles)
-        console.log('-----mutations---accessedRouters----', accessedRouters)
+        // console.log('-----mutations---accessedRouters----', accessedRouters)
         commit('SET_ROUTERS', accessedRouters)
         resolve()
       })

+ 3 - 3
src/utils/authFilter.js

@@ -9,7 +9,7 @@ export function disabledAuthFilter(code, formData) {
 }
 
 function nodeDisabledAuth(code, formData) {
-  console.log("页面权限禁用--NODE--开始");
+  // console.log("页面权限禁用--NODE--开始");
   var permissionList = [];
   try {
     var obj = formData;
@@ -40,7 +40,7 @@ function nodeDisabledAuth(code, formData) {
   } else {
     for (var item2 of permissionList) {
       if (code === item2.action) {
-        console.log("页面权限禁用--NODE--生效");
+        // console.log("页面权限禁用--NODE--生效");
         return true;
       }
     }
@@ -49,7 +49,7 @@ function nodeDisabledAuth(code, formData) {
 }
 
 function globalDisabledAuth(code) {
-  console.log("页面禁用权限--Global--开始");
+  // console.log("页面禁用权限--Global--开始");
 
   var permissionList = [];
   var allPermissionList = [];

+ 1 - 1
src/utils/getDay.js

@@ -65,7 +65,7 @@ export  function allWeeks(now_month) {
     let start = new Date(year, month, 1); // 得到当月第一天
     let end = new Date(year, month + 1, 0); // 得到当月最后一天
     let start_day = start.getDay(); // 当月第一天是周几
-    console.log(start.format("yyyy-MM-dd"), end.format("yyyy-MM-dd")); // 每月的起始日期
+    // console.log(start.format("yyyy-MM-dd"), end.format("yyyy-MM-dd")); // 每月的起始日期
     switch (start_day) {
       case 0:
         i = 0 - 1;

+ 2 - 2
src/utils/request.js

@@ -28,8 +28,8 @@ const err = (error) => {
   if (error.esponse) {
     let data = error.response.data
     const token = Vue.ls.get(ACCESS_TOKEN)
-    console.log("------异常响应------", token)
-    console.log("------异常响应------", error.response.status)
+    // console.log("------异常响应------", token)
+    // console.log("------异常响应------", error.response.status)
     switch (error.response.status) {
       case 403:
         notification.error({message: '系统提示', description: '拒绝访问', duration: 4})

+ 1 - 1
src/views/activiti/todoManage.vue

@@ -303,7 +303,7 @@ export default {
       this.$refs.table.selectAll(false);
     },
     handelSubmit() {
-      console.log("提交")
+      // console.log("提交")
       this.submitLoading = true;
       var formData = Object.assign({},this.form);
       formData.assignees = formData.assignees.join(",");

+ 1 - 1
src/views/modules/Statistics/components/selectPagination.vue

@@ -278,7 +278,7 @@ export default {
     },
   },
   mounted: function () {
-    this.handleInfiniteOnLoad()
+    // this.handleInfiniteOnLoad()
   },
 }
 </script>

+ 21 - 7
src/views/modules/material/videoMaterial.vue

@@ -336,7 +336,14 @@ a {
               <!-- <a-input placeholder="请输入查询时间" v-model="queryParam.createTime"></a-input> -->
             </a-form-item>
           </a-col>
-
+          <!--  -->
+          <a-col :md="8" :sm="8">
+            <a-form-item label="唯一标识">
+              <a-input placeholder="请输入素材唯一标识" v-model="queryParam.code"></a-input>
+              <!--              <a-date-picker v-model="queryParam.startDate" format="YYYY-MM-DD" style="width:100%" />-->
+              <!-- <a-input placeholder="请输入查询时间" v-model="queryParam.createTime"></a-input> -->
+            </a-form-item>
+          </a-col>
           <a-col :md="8" :sm="8">
             <span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
               <a-button type="primary" @click="searchQuery" icon="search">查询</a-button>
@@ -1870,6 +1877,15 @@ export default {
   updated() {
     stopOtherVideo()
   },
+  mounted(){
+    setInterval(function() {
+    document.querySelectorAll(".el-cascader-node__label").forEach(el => {
+      el.onclick = function() {
+        if (this.previousElementSibling) this.previousElementSibling.click();
+      };
+    });
+  }, 1000);
+  },
   watch: {
     $route: function (n, o) {
       if (n.path == '/modules/material/videoMaterial') {
@@ -2383,9 +2399,7 @@ export default {
     okEdit(e) {
       this.edit(null, this.active, '2')
     },
-    handleSearch(value){
-
-    },
+    handleSearch(value) {},
     personEdit(item, status) {
       this.add = false
       this.personVisible = true
@@ -2872,9 +2886,9 @@ export default {
     getParticipateList(value) {
       getAction('/ctop/projectMember/participateListV2', {
         userId: this.userInfo().id,
-        pageSize:50,
-        pageNo:1,
-        projectName:value
+        pageSize: 50,
+        pageNo: 1,
+        projectName: value,
       }).then((res) => {
         if (res.code == 0) {
           this.dataElse = res.result.records

+ 0 - 3
src/views/modules/yard/YardList.vue

@@ -1,7 +1,4 @@
 <style>
-  .ant-modal-body {
-    padding-top: 0px;
-  }
 
   li {
     list-style-type: none;

+ 0 - 3
src/views/modules/yard/modules/yardDetail.vue

@@ -12,9 +12,6 @@
 /* .ping-list:hover span {
   display: block;
 } */
-.ant-modal-body {
-  padding-top: 0px;
-}
 li {
   list-style-type: none;
 }