From 8b106796403b21a72f35cb114b12d66df885da86 Mon Sep 17 00:00:00 2001 From: licp <lichunping@guanfang.com.cn> Date: 星期四, 26 十二月 2024 14:33:11 +0800 Subject: [PATCH] cnas历史记录审批后不可添加修改 --- src/components/view/a8-periodic-document-review-records.vue | 11 ++++++++--- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/components/view/a8-periodic-document-review-records.vue b/src/components/view/a8-periodic-document-review-records.vue index 129b328..bf5816e 100644 --- a/src/components/view/a8-periodic-document-review-records.vue +++ b/src/components/view/a8-periodic-document-review-records.vue @@ -12,7 +12,7 @@ <el-button size="medium" type="primary" @click="handleDown" :loading="outLoading" v-if="outPower" style="display:inline-block;margin-left: 20px;">瀵煎嚭</el-button> </el-col> --> </el-row> - <el-tabs type="border-card" v-model="activeName" style="height: 100%;"> + <el-tabs type="border-card" v-model="activeName" style="height: 100%;" @tab-click="tabClick"> <el-tab-pane label="濉啓" name="濉啓" style="height: 100%;"> <div class="search"> <div class="search_thing"> @@ -32,11 +32,11 @@ <el-button size="small" type="primary" @click="refreshTable()">鏌� 璇�</el-button> </div> <div class="btns"> - <el-button size="medium" type="primary" @click="openAdd" v-if="addPower">鏂板</el-button> + <el-button size="medium" type="primary" @click="openAdd" v-if="addPower&&!currentInfo.ratifyUserName">鏂板</el-button> <el-upload :action="action" :multiple="false" :show-file-list="false" accept='.doc,.docx' :headers="headers" :on-change="beforeUpload" - :on-error="onError" ref='upload' v-if="upPower" :on-success="handleSuccessUp" style="display:inline-block;margin-left: 20px;"> + :on-error="onError" ref='upload' v-if="upPower&&!currentInfo.ratifyUserName" :on-success="handleSuccessUp" style="display:inline-block;margin-left: 20px;"> <el-button type="primary" size="medium">瀵煎叆</el-button></el-upload> </div> </div> @@ -541,6 +541,11 @@ this.title0 = '鎵瑰噯' this.commonFun(row) }, + tabClick(e){ + if(e.index==0){ + this.currentInfo = this.$refs['ValueTable0'].tableData[0] + } + } } } </script> -- Gitblit v1.9.3