diff --git a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/components/learun-app/organize-tree.vue b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/components/learun-app/organize-tree.vue index 7de48c55c..5728c5211 100644 --- a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/components/learun-app/organize-tree.vue +++ b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/components/learun-app/organize-tree.vue @@ -96,7 +96,7 @@ export default { } // 如果自己是根节点,则创建时直接加载子节点 if (this.open) { - await this.loadChildren() + await this.loadChildren(false) } }, @@ -129,7 +129,7 @@ export default { }, // 加载子节点 - async loadChildren() { + async loadChildren(userLoad=true) { this.isLoading = true let children = [] @@ -162,7 +162,7 @@ export default { } // 加载子职员 - if (this.level === 'user') { + if (this.level === 'user'&&userLoad) { children = children.concat( Object.entries(this.GET_GLOBAL('user')) .filter( diff --git a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/EducationalAdministration/SafetyCheck/list.vue b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/EducationalAdministration/SafetyCheck/list.vue index 00882bef6..02c18d5f2 100644 --- a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/EducationalAdministration/SafetyCheck/list.vue +++ b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/EducationalAdministration/SafetyCheck/list.vue @@ -145,10 +145,14 @@ + + - + @@ -198,7 +202,7 @@ }, CheckTime: { type: 'datetime', - dateformat:'0', + dateformat: '0', }, Question: { type: 'text' @@ -235,7 +239,9 @@ // 查询条件 searchData: {}, defaultQueryData: {}, - queryData: {}, + queryData: { + Name: '' + }, // 时间查询参数 dateRange: null, @@ -315,7 +321,7 @@ rows: 10, page: this.page, sord: 'ASC', - sidx:"CheckTime desc", + sidx: "CheckTime desc", }, queryJson: JSON.stringify(this.searchData) }, @@ -458,7 +464,16 @@ default: return value === null || value === undefined ? '' : value } - } + }, + // 获取表单值 + getValue(path) { + return get(this.current, path) + }, + + // 设置表单值 + setValue(path, val) { + set(this.current, path, val) + }, } } diff --git a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/EducationalAdministration/SafetyCheck/single.vue b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/EducationalAdministration/SafetyCheck/single.vue index d302d617d..1b06e77f9 100644 --- a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/EducationalAdministration/SafetyCheck/single.vue +++ b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/EducationalAdministration/SafetyCheck/single.vue @@ -2,9 +2,9 @@ + type="user" title="姓名" required readonly/>