From cc3682641685022d2f0400b30408cf3cb5a0a93d Mon Sep 17 00:00:00 2001 From: ludc Date: 星期一, 18 十二月 2023 17:31:04 +0800 Subject: [PATCH] 主数据管理:高级查询,状态查询,快速查询,当查询出多页时,点击分页的页码能够保留上一次的查询条件进行分页,点击分类树节点时则置空查询条件。 --- Source/UBCS-WEB/src/components/FormTemplate/ResembleQuery.vue | 17 +++++++---------- 1 files changed, 7 insertions(+), 10 deletions(-) diff --git a/Source/UBCS-WEB/src/components/FormTemplate/ResembleQuery.vue b/Source/UBCS-WEB/src/components/FormTemplate/ResembleQuery.vue index 7195205..fb1e119 100644 --- a/Source/UBCS-WEB/src/components/FormTemplate/ResembleQuery.vue +++ b/Source/UBCS-WEB/src/components/FormTemplate/ResembleQuery.vue @@ -36,7 +36,7 @@ ref="FormTemplateDialog" type="detail" :visible.sync="formTemplateVisible" - :templateOid="this.resembleTemplateOid" + :templateOid="resembleTemplateOid" :rowOid="rowOid" title="鏌ョ湅璇︾粏淇℃伅" :codeClassifyOid="this.resembleCodeClassifyOid" @@ -70,11 +70,7 @@ type: { type: String, default: "add", - }, - form: { - type: Object, - default: () => ({}), - }, + } }, data() { return { @@ -82,8 +78,8 @@ activeName: "findlike", tableData: [], loading: false, - resembleTemplateOid: "78B8C7C5-A042-0B96-FE6D-65421451782A", - resembleCodeClassifyOid: "4524E801-6CC6-92E8-1AC3-2AB9604E8F96", + resembleTemplateOid: "", + resembleCodeClassifyOid: "", rowOid: '', defaultValue: {}, secVOList: [], @@ -142,8 +138,9 @@ }, openFormTemlpate(row) { - this.codetemplateoid = row.codetemplateoid; - this.rowOid = row.iod + this.resembleTemplateOid = row.codetemplateoid + this.resembleCodeClassifyOid = row.codeClassifyOid + this.rowOid = row.oid this.formTemplateVisible = true; }, getDefaultValueAndFormValues(form) { -- Gitblit v1.9.3