From 44e88cb3c7d2f46eb9dbbbdddf0aa3f8a623b6e2 Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期二, 13 六月 2023 18:59:51 +0800 Subject: [PATCH] 继续完善主题库定义 --- Source/UBCS-WEB/src/components/template/FlowPath.vue | 19 ++++--------------- 1 files changed, 4 insertions(+), 15 deletions(-) diff --git a/Source/UBCS-WEB/src/components/template/FlowPath.vue b/Source/UBCS-WEB/src/components/template/FlowPath.vue index 290afc3..2d7a508 100644 --- a/Source/UBCS-WEB/src/components/template/FlowPath.vue +++ b/Source/UBCS-WEB/src/components/template/FlowPath.vue @@ -1,11 +1,11 @@ <template> - <el-dialog title="妯℃澘娴佺▼" width="90%" append-to-body="true" :visible.sync="dialogVisible"> + <avue-crud ref="crud" :table-loading="loading" :data="data" v-model="form" :option="option" :page.sync="page" :search.sync="search" @on-load="getDataList" @row-save="handleSave" @row-del="handleDelete" @row-update="handleEdit" @refresh-change="handleRefresh" @size-change="handleSizePage" @current-change="handleCurrentPage"> </avue-crud> - </el-dialog> + </template> <script> @@ -13,11 +13,6 @@ export default { name: 'FlowPath', props: { - // 鏄惁鎵撳紑 - visible: { - typeof: Boolean, - default: false - }, code: { typeof: String, required: true, @@ -25,16 +20,10 @@ } }, watch: { - visible(n) { - this.dialogVisible = n; - }, - dialogVisible(n) { - this.$emit('update:visible', n) - }, }, data() { return { - dialogVisible: this.visible, + loading: false, page: { currentPage: 1, @@ -214,4 +203,4 @@ }, } } -</script> \ No newline at end of file +</script> -- Gitblit v1.9.3