From 4c73bcbbc2fc4c55c2a9c52d772e9885103bc552 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期四, 11 四月 2024 09:49:56 +0800 Subject: [PATCH] 考核结果、考核详情页面优化 --- src/views/system/unit/index.vue | 10 +++------- 1 files changed, 3 insertions(+), 7 deletions(-) diff --git a/src/views/system/unit/index.vue b/src/views/system/unit/index.vue index b09b0a5..4409bfa 100644 --- a/src/views/system/unit/index.vue +++ b/src/views/system/unit/index.vue @@ -44,7 +44,6 @@ icon="el-icon-plus" size="mini" @click="handleAdd" - v-hasPermi="['system:unit:add']" >鏂板</el-button> </el-col> <el-col :span="1.5"> @@ -55,7 +54,6 @@ size="mini" :disabled="single" @click="handleUpdate" - v-hasPermi="['system:unit:edit']" >淇敼</el-button> </el-col> <el-col :span="1.5"> @@ -66,7 +64,6 @@ size="mini" :disabled="multiple" @click="handleDelete" - v-hasPermi="['system:unit:remove']" >鍒犻櫎</el-button> </el-col> <el-col :span="1.5"> @@ -76,7 +73,6 @@ icon="el-icon-download" size="mini" @click="handleExport" - v-hasPermi="['system:unit:export']" >瀵煎嚭</el-button> </el-col> <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> @@ -98,14 +94,12 @@ type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" - v-hasPermi="['system:unit:edit']" >淇敼</el-button> <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)" - v-hasPermi="['system:unit:remove']" >鍒犻櫎</el-button> </template> </el-table-column> @@ -267,6 +261,8 @@ /** 閲嶇疆鎸夐挳鎿嶄綔 */ resetQuery() { this.daterangeCreateTime = []; + this.queryParams.start = null; + this.queryParams.end = null; this.resetForm("queryForm"); this.handleQuery(); }, @@ -324,7 +320,7 @@ }, /** 瀵煎嚭鎸夐挳鎿嶄綔 */ handleExport() { - this.download('system/unit/export', { + this.download('yw-unit/export', { ...this.queryParams }, `unit_${new Date().getTime()}.xlsx`) } -- Gitblit v1.8.0