From 03e0b12a01cef2ede6b06e38edd3b7c22dfc88c5 Mon Sep 17 00:00:00 2001 From: lyfO_o <764716047@qq.com> Date: 星期二, 08 十一月 2022 14:32:01 +0800 Subject: [PATCH] 注销 监管部门可见 --- src/views/enterprise/userinfo.vue | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/enterprise/userinfo.vue b/src/views/enterprise/userinfo.vue index 447d8bd..dd74ae3 100644 --- a/src/views/enterprise/userinfo.vue +++ b/src/views/enterprise/userinfo.vue @@ -125,7 +125,7 @@ <el-table-column label="操作" align="center" width="180" class-name="small-padding fixed-width"> <template slot-scope="scope"> <el-button type="text" @click="showEditHandle(scope.row)">编辑</el-button> - <el-button v-if="scope.row.companyid !=null" type="text" @click="showEditDeadline(scope.row)">修改有效期</el-button> + <el-button v-if="scope.row.companyid !=null && userType == 1" type="text" @click="showEditDeadline(scope.row)">修改有效期</el-button> </template> </el-table-column> </el-table> @@ -729,6 +729,7 @@ showEditDeadline(row){ this.resetDeadlineForm() this.deadlineForm.uid = row.id + this.deadlineForm.deadline = row.deadline this.dialogDeadlineVisible = true }, @@ -737,7 +738,6 @@ this.$refs['deadlineForm'].validate((valid) => { if (valid) { const params = this.deadlineForm - console.log(params,'params') updateDeadline(params).then(response => { const res = response.data if (res.code == 200) { -- Gitblit v1.9.2