|
|
@@ -119,7 +119,7 @@ export function buildComponent(name, column, preview, vm) {
|
|
|
show: false,
|
|
|
showHeight: '',
|
|
|
cardHeight: '100%',
|
|
|
-
|
|
|
+ calendarLoading: false,
|
|
|
activeName: 'innerMessage',
|
|
|
unreadMessageOption: {},
|
|
|
formName: 'quickNavform',
|
|
|
@@ -207,14 +207,14 @@ export function buildComponent(name, column, preview, vm) {
|
|
|
},
|
|
|
methods: {
|
|
|
// 受控文件查阅模块搜索
|
|
|
- searchFile () {
|
|
|
+ searchFile() {
|
|
|
this.$router.push({ path: '/xxgl/nbwj', query: { searchText: this.searchText } })
|
|
|
},
|
|
|
goDetail(nodeInfo) {
|
|
|
- if(!nodeInfo){
|
|
|
+ if (!nodeInfo) {
|
|
|
return
|
|
|
}
|
|
|
- this.$router.push({ path: '/xxgl/nbwj', query: {info: JSON.parse(JSON.stringify(nodeInfo)), id:nodeInfo.id} })
|
|
|
+ this.$router.push({ path: '/xxgl/nbwj', query: { info: JSON.parse(JSON.stringify(nodeInfo)), id: nodeInfo.id } })
|
|
|
},
|
|
|
fetchData(columns, params = {}) {
|
|
|
this.loading = true
|
|
|
@@ -227,6 +227,11 @@ export function buildComponent(name, column, preview, vm) {
|
|
|
? { dataMode: column.dataMode, dataFrom: column.dataFrom }
|
|
|
: column
|
|
|
if (param.alias === 'myCalendar') {
|
|
|
+ // 解决首页数据加载期间布局塌陷问题
|
|
|
+ const id = setTimeout(() => {
|
|
|
+ this.data = []
|
|
|
+ clearTimeout(id)
|
|
|
+ }, 0);
|
|
|
const { getFormatDate, getDate } = this.$common
|
|
|
findAllByCurrUserId()
|
|
|
.then((res) => {
|
|
|
@@ -268,7 +273,7 @@ export function buildComponent(name, column, preview, vm) {
|
|
|
const { first = '', second = '' } = this.$store.getters.level || {}
|
|
|
// console.log('11111111', param, params, typeof params)
|
|
|
let type = true
|
|
|
- if(param.alias == 'newmk'){
|
|
|
+ if (param.alias == 'newmk') {
|
|
|
type = false
|
|
|
params['diDian'] = second || first
|
|
|
}
|
|
|
@@ -286,7 +291,7 @@ export function buildComponent(name, column, preview, vm) {
|
|
|
Bus.$emit('getMessageCount', this.totalCount)
|
|
|
}
|
|
|
this.variables = res.variables
|
|
|
- if(param.alias == 'newmk'){
|
|
|
+ if (param.alias == 'newmk') {
|
|
|
this.keysList = Object.keys(this.variables)
|
|
|
}
|
|
|
this.loading = false
|
|
|
@@ -296,10 +301,10 @@ export function buildComponent(name, column, preview, vm) {
|
|
|
})
|
|
|
}
|
|
|
},
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
// 过滤日程提醒数据
|
|
|
filterAlertData(data, dayNumber = 3) {
|
|
|
if (dayNumber <= 0) return
|