diff --git a/back/src/router/index.js b/back/src/router/index.js
index 08f69ea5..299a5852 100644
--- a/back/src/router/index.js
+++ b/back/src/router/index.js
@@ -105,6 +105,7 @@ router.beforeEach((to, from, next) => {
return next({ name: 'login' })
}
window.SITE_CONFIG.menuList = res.data.filter(item => item.site === 0)
+ debugger
fnAddDynamicMenuRoutes(window.SITE_CONFIG.menuList)
next({ ...to, replace: true })
}).catch(() => {
@@ -137,6 +138,7 @@ function fnCurrentRouteIsPageRoute (route, pageRoutes = []) {
*/
function fnAddDynamicMenuRoutes (menuList = [], routes = []) {
var temp = []
+ debugger
for (var i = 0; i < menuList.length; i++) {
if (menuList[i].children && menuList[i].children.length >= 1) {
temp = temp.concat(menuList[i].children)
@@ -187,6 +189,7 @@ function fnAddDynamicMenuRoutes (menuList = [], routes = []) {
},
{ path: '*', redirect: { name: '404' } }
])
+ console.log('查询路由', routes)
window.SITE_CONFIG.dynamicMenuRoutes = routes
window.SITE_CONFIG.dynamicMenuRoutesHasAdded = true
}
diff --git a/back/src/views/modules/abilityStatistics/index.vue b/back/src/views/modules/abilityStatistics/index.vue
index 704e4c78..b517f017 100644
--- a/back/src/views/modules/abilityStatistics/index.vue
+++ b/back/src/views/modules/abilityStatistics/index.vue
@@ -27,7 +27,7 @@
日期:
+ end-placeholder="结束日期" format="yyyy-MM-dd" value-format="yyyy-MM-dd">
@@ -43,7 +43,8 @@
- 部门名称:
+ 上架部门:
+ 申请部门:
-
+
@@ -155,7 +156,7 @@
-
+
@@ -462,6 +463,7 @@ export default {
this.$http
.get('/census/center/selectDeptDetailTypeCountList/', {
params: {
+ type: this.abilityType,
page: page || 1,
limit: 5,
approveStatus: this.status,
@@ -527,6 +529,7 @@ export default {
this.$http
.get('/census/center/selectApplyDeptDetailTypeCountList', {
params: {
+ type: this.abilityType,
page: page || 1,
limit: this.pageSize,
approveStatus: this.status,
@@ -702,6 +705,7 @@ export default {
limit: 5,
// page: page || 1,
approveStatus: '',
+ type: '',
deptId: '',
params: '',
startDate: ''
@@ -881,8 +885,8 @@ export default {
// 点击查询按钮查询数据
getDataList () {
if (this.value1 && this.value1.length > 0) {
- this.startDate = this.handleTime(this.value1[0], 'yyyy-MM-dd HH:mm:ss')
- this.endDate = this.handleTime(this.value1[1], 'yyyy-MM-dd HH:mm:ss')
+ this.startDate = this.handleTime(this.value1[0], 'yyyy-MM-dd')
+ this.endDate = this.handleTime(this.value1[1], 'yyyy-MM-dd')
} else {
this.startDate = ''
this.endDate = ''
diff --git a/back/src/views/modules/myAgent/CompetencyApplication.vue b/back/src/views/modules/myAgent/CompetencyApplication.vue
index 8c8118c9..40398630 100644
--- a/back/src/views/modules/myAgent/CompetencyApplication.vue
+++ b/back/src/views/modules/myAgent/CompetencyApplication.vue
@@ -1,8 +1,8 @@
@@ -168,7 +168,7 @@ export default {
created () {
bus.$off('competencyApplicationInit')
bus.$on('competencyApplicationInit', () => {
- this.getDataList();
+ this.getDataList()
bus.$emit('updateTaskNum')
})
}
diff --git a/back/src/views/modules/myAgent/demo/competency-application.vue b/back/src/views/modules/myAgent/demo/competency-application.vue
index 153a38ef..6ba8a0dd 100644
--- a/back/src/views/modules/myAgent/demo/competency-application.vue
+++ b/back/src/views/modules/myAgent/demo/competency-application.vue
@@ -2,7 +2,7 @@
* @Author: hisense.liangjunhua
* @Date: 2022-06-29 15:59:51
* @LastEditors: Light
- * @LastEditTime: 2022-10-20 17:18:58
+ * @LastEditTime: 2022-10-21 09:31:25
* @Description: 告诉大家这是什么
-->
diff --git a/front/package.json b/front/package.json
index 95d426a4..6456938f 100644
--- a/front/package.json
+++ b/front/package.json
@@ -60,6 +60,7 @@
"body-parser": "^1.20.0",
"chalk": "^4.1.1",
"chokidar": "^3.5.2",
+ "compression-webpack-plugin": "^6.1.1",
"crypto-js": "^4.1.1",
"eslint": "^7.32.0",
"eslint-plugin-prettier": "^4.2.1",
diff --git a/front/public/index.html b/front/public/index.html
index 10035c44..35f655e3 100644
--- a/front/public/index.html
+++ b/front/public/index.html
@@ -2,7 +2,7 @@
* @Author: hisense.wuhongjian
* @Date: 2022-03-29 16:45:25
* @LastEditors: hisense.wuhongjian
- * @LastEditTime: 2022-08-25 11:18:05
+ * @LastEditTime: 2022-10-19 17:44:14
* @Description: 告诉大家这是什么
-->
@@ -102,4 +102,4 @@