diff --git a/src/App.vue b/src/App.vue index f4d57b343..31060e64e 100644 --- a/src/App.vue +++ b/src/App.vue @@ -191,7 +191,7 @@ return } - if (userInfoModifyTimeInLocalStorage === null) { + if (userInfoModifyTimeInLocalStorage === null && webLoginType === 'idm') { this.$store.dispatch('syncStorageData') const currentPage = this.$route.name @@ -206,7 +206,7 @@ }); this.messageForLogin && this.messageForLogin.close() this.messageForLogin = this.$message({ - message: `用户已退出,${this.currentMinute}秒后将跳转到登录页面`, + message: `用户已退出,${this.currentMinute}秒后将跳转到登录1页面`, type: 'warning' }) @@ -216,14 +216,14 @@ clearInterval(this.intervalForLogin) this.loading.close() - this.$router.push('/login') - console.log('切换到登录页面', currentPage) + this.$router.push('/login') + console.log('切换到登录页面', currentPage) } this.currentMinute-- this.messageForLogin.message = `用户已退出,${this.currentMinute}秒后将跳转到登录页面` - }, 1000) + }, 0) - } else if (userInfoModifyTime !== userInfoModifyTimeInLocalStorage) { + } else if (userInfoModifyTime !== userInfoModifyTimeInLocalStorage && webLoginType === 'idm') { this.$store.dispatch('syncStorageData') console.log('用户信息已更改,同步数据') diff --git a/src/pages/config/pages/mechanismManage/index.vue b/src/pages/config/pages/mechanismManage/index.vue index 60231784e..cf1d1930e 100644 --- a/src/pages/config/pages/mechanismManage/index.vue +++ b/src/pages/config/pages/mechanismManage/index.vue @@ -3,11 +3,26 @@
+ + + + + + + + + + + + + + + @@ -274,7 +290,6 @@ export default { }, {}, res => { if (res.ok) { this.$message.success('配置岗位成功') - this.modalPost = false this.getData() } @@ -350,6 +365,41 @@ export default { this.id = data.id this.getData() }, + // searchPeople(){ + // console.log(this.filterText); + // }, + // loadNode(node, resolve) { + // if (node.level === 0) { + // return resolve(this.treeData); + // } + // this.getChildren(node, resolve) + // }, + // getChildren (node, resolve) { + // this.id = node.key + // this.getData() + // this.$http.get('SarInstitution/institution/getNext', { + // institutionId: node.key + // }, {}, res => { + // let people = []; + // res.forEach(item => { + // if(item.disabled === true){ + // people.push(item) + // } + // }) + // resolve(people) + // }) + // }, + // getTree() { + // this.$http.get('SarInstitution/institution/getFirstInstitution', {}, { + // _this: this, + // loading: 'treeLoading' + // }, res => { + // this.treeData = res + // this.nodeKeyId = this.treeData[0].id + // this.treeLoading = false + // }, e => { + // }) + // }, getTree() { this.$http.get('SarInstitution/institution', {}, { _this: this, @@ -378,7 +428,6 @@ export default { _this: this, loading: 'Loading' }, res => { - console.log(res.data) res.data.records.forEach((item) => { let NameList = '' item.positions.forEach((items) => { diff --git a/src/pages/details/otherBussStandardDetails/index.vue b/src/pages/details/otherBussStandardDetails/index.vue index e3656326e..3bbd4c9cf 100644 --- a/src/pages/details/otherBussStandardDetails/index.vue +++ b/src/pages/details/otherBussStandardDetails/index.vue @@ -124,8 +124,8 @@ :key="fileIndex" > {{ file.oldFileName }} - - + + 上传时间:{{ dateFormat(file.modifyTime) }}

diff --git a/src/pages/home1/components/release/index.vue b/src/pages/home1/components/release/index.vue index 3fe4a1059..543adaa4a 100644 --- a/src/pages/home1/components/release/index.vue +++ b/src/pages/home1/components/release/index.vue @@ -28,7 +28,7 @@ export default { mounted() { this.getDate() this.getAdvice() - this.addDate() + // this.addDate() }, methods: { // 点击查看 diff --git a/src/pages/home2/components/release/index.vue b/src/pages/home2/components/release/index.vue index b3b3d089f..62081407a 100644 --- a/src/pages/home2/components/release/index.vue +++ b/src/pages/home2/components/release/index.vue @@ -56,7 +56,7 @@ export default { mounted() { this.getDate() this.getAdvice() - this.addDate() + // this.addDate() }, methods: { // 点击查看