From 12ab52e9490034843b72f1399da666108cabbe4f Mon Sep 17 00:00:00 2001 From: wang1 <844966816@qq.com> Date: 星期四, 20 七月 2023 14:40:45 +0800 Subject: [PATCH] 提交被覆盖的前端代码,流程模板、流程阶段、流程审批页面 --- Source/UBCS-WEB/src/components/template/FlowPath.vue | 28 ++++++---------------------- 1 files changed, 6 insertions(+), 22 deletions(-) diff --git a/Source/UBCS-WEB/src/components/template/FlowPath.vue b/Source/UBCS-WEB/src/components/template/FlowPath.vue index 36aa624..24ccf03 100644 --- a/Source/UBCS-WEB/src/components/template/FlowPath.vue +++ b/Source/UBCS-WEB/src/components/template/FlowPath.vue @@ -1,5 +1,5 @@ <template> - <avue-crud ref="crud" :table-loading="loading" :data="data" v-model="form" :option="option" :page.sync="page" :permission="permissionList" + <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"> @@ -8,19 +8,14 @@ <script> import { getFlowpathList, getStartList, flowpathSave, flowpathDelete } from '@/api/template/flowpath.js' -import {mapGetters} from "vuex"; export default { name: 'FlowPath', props: { - code: { - typeof: String, - required: true, - default: "" - }, - crudLCStatus: { - type: String, - default: 'Editing' - } + code: { + typeof: String, + required: true, + default: "" + } }, data() { return { @@ -103,17 +98,6 @@ created() { this.getStart() }, - computed:{ - ...mapGetters([ "permission"]), - permissionList() { - return { - addBtn: this.crudLCStatus=='Editing', - viewBtn: false, - delBtn: this.crudLCStatus=='Editing', - editBtn: this.crudLCStatus=='Editing' - }; - }, - }, methods: { async getStart() { const response = await getStartList() -- Gitblit v1.9.3