From 729627e9dd0d6bfd678571287cbc0b69a8818294 Mon Sep 17 00:00:00 2001 From: 龚焕茏 <2842157468@qq.com> Date: 星期三, 10 四月 2024 18:11:52 +0800 Subject: [PATCH] 考核模板改为卡片 --- src/views/system/unit/index.vue | 12 ++++-------- 1 files changed, 4 insertions(+), 8 deletions(-) diff --git a/src/views/system/unit/index.vue b/src/views/system/unit/index.vue index bf074d6..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> @@ -138,7 +132,7 @@ <el-input v-model="form.unitContactPhone" placeholder="璇疯緭鍏ュ崟浣嶈仈绯讳汉鐢佃瘽" /> </el-form-item> <el-form-item label="澶囨敞" prop="remark"> - <el-input v-model="form.remark" maxlength="100" show-word-limit autosize type="textarea" placeholder="澶囨敞淇℃伅" /> + <el-input v-model="form.remark" maxlength="100" show-word-limit rows="3" type="textarea" placeholder="澶囨敞淇℃伅" /> </el-form-item> </el-form> <div slot="footer" class="dialog-footer"> @@ -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