From 3457909638c660c0cfcb521b6104ab64c679b914 Mon Sep 17 00:00:00 2001 From: zenglf <18502938215@163.com> Date: 星期二, 19 九月 2023 16:23:16 +0800 Subject: [PATCH] 修改页面左右展示比例 --- src/views/eam/PredictiveWorkPlanList.vue | 17 +++++++++++------ 1 files changed, 11 insertions(+), 6 deletions(-) diff --git a/src/views/eam/PredictiveWorkPlanList.vue b/src/views/eam/PredictiveWorkPlanList.vue index 86c48d7..839030f 100644 --- a/src/views/eam/PredictiveWorkPlanList.vue +++ b/src/views/eam/PredictiveWorkPlanList.vue @@ -66,6 +66,7 @@ @click='handleAdd' type='primary' icon='plus' + v-has="'predictiveWorkPlan:add&edit&delete'" >鏂板 </a-button> <a-button @@ -118,21 +119,25 @@ <a v-if="record.status == '2'" @click="handleRevise(record)" + v-has="'predictiveWorkplan:update&take'" >鍗囩増</a> <a v-if="record.status == '1'" @click="handleTakeEffect(record)" + v-has="'predictiveWorkplan:update&take'" >鐢熸晥</a> <a-divider type="vertical"/> <a v-if="record.status == '1'" @click="handleEdit(record)" + v-has="'predictiveWorkPlan:add&edit&delete'" >缂栬緫</a> <a-divider type="vertical"/> <a-popconfirm v-if="record.status == '1'" title="纭畾鍒犻櫎鍚�?" @confirm="() => handleDelete(record.id)" + v-has="'predictiveWorkPlan:add&edit&delete'" > <a>鍒犻櫎</a> </a-popconfirm> @@ -436,12 +441,12 @@ this.$refs.modalForm.disableSubmit = false this.$refs.modalForm.isRevise = false }, - handleAdd: function() { - this.$refs.modalForm.add() - this.$refs.modalForm.title = '鏂板' - this.$refs.modalForm.disableSubmit = false - this.$refs.modalForm.isRevise = false - }, + // handleAdd: function() { + // this.$refs.modalForm.add() + // this.$refs.modalForm.title = '鏂板' + // this.$refs.modalForm.disableSubmit = false + // this.$refs.modalForm.isRevise = false + // }, //鍗囩増 handleRevise: function(record) { -- Gitblit v1.9.3