From cf1b5bf548b870efd0f1b4e3d5a8f88e79cfd9c9 Mon Sep 17 00:00:00 2001
From: liuchengxin <13104445455@126.com>
Date: 星期六, 08 一月 2022 12:15:22 +0800
Subject: [PATCH] 问题修改
---
src/views/system/user/index.vue | 37 +++++++++++++++++++++----------------
1 files changed, 21 insertions(+), 16 deletions(-)
diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue
index ae03d32..ec8cb8c 100644
--- a/src/views/system/user/index.vue
+++ b/src/views/system/user/index.vue
@@ -64,18 +64,18 @@
/>
</el-select>
</el-form-item>
- <el-form-item label="鍒涘缓鏃堕棿">
- <el-date-picker
- v-model="dateRange"
- size="small"
- style="width: 240px"
- value-format="yyyy-MM-dd"
- type="daterange"
- range-separator="-"
- start-placeholder="寮�濮嬫棩鏈�"
- end-placeholder="缁撴潫鏃ユ湡"
- ></el-date-picker>
- </el-form-item>
+ <!--<el-form-item label="鍒涘缓鏃堕棿">-->
+ <!--<el-date-picker-->
+ <!--v-model="dateRange"-->
+ <!--size="small"-->
+ <!--style="width: 240px"-->
+ <!--value-format="yyyy-MM-dd"-->
+ <!--type="daterange"-->
+ <!--range-separator="-"-->
+ <!--start-placeholder="寮�濮嬫棩鏈�"-->
+ <!--end-placeholder="缁撴潫鏃ユ湡"-->
+ <!--></el-date-picker>-->
+ <!--</el-form-item>-->
<el-form-item>
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">鎼滅储</el-button>
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">閲嶇疆</el-button>
@@ -164,6 +164,7 @@
label="鎿嶄綔"
align="center"
width="160"
+ fixed="right"
class-name="small-padding fixed-width"
>
<template slot-scope="scope" v-if="scope.row.userId !== 1">
@@ -178,6 +179,7 @@
size="mini"
type="text"
icon="el-icon-delete"
+ class="del-btn"
@click="handleDelete(scope.row)"
v-hasPermi="['system:user:remove']"
>鍒犻櫎</el-button>
@@ -207,7 +209,7 @@
</el-row>
<!-- 娣诲姞鎴栦慨鏀圭敤鎴烽厤缃璇濇 -->
- <el-dialog :title="title" :visible.sync="open" width="600px" append-to-body>
+ <el-dialog :title="title" :close-on-click-modal="false" :visible.sync="open" width="600px" append-to-body>
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
<el-row>
<el-col :span="12">
@@ -315,7 +317,7 @@
<el-form-item label="鍏ヨ亴鏃堕棿">
<el-date-picker
v-model="form.entryTime"
- type="datetime"
+ type="date"
value-format="yyyy-MM-dd HH:mm:ss"
placeholder="閫夋嫨鍏ヨ亴鏃堕棿">
</el-date-picker>
@@ -335,7 +337,7 @@
</el-dialog>
<!-- 鐢ㄦ埛瀵煎叆瀵硅瘽妗� -->
- <el-dialog :title="upload.title" :visible.sync="upload.open" width="400px" append-to-body>
+ <el-dialog :title="upload.title" :close-on-click-modal="false" :visible.sync="upload.open" width="400px" append-to-body>
<el-upload
ref="upload"
:limit="1"
@@ -498,6 +500,9 @@
],
deptId: [
{ required: true, message: "鎵�鍦ㄩ儴闂ㄤ笉鑳戒负绌�", trigger: "blur" }
+ ],
+ remarks: [
+ {max: 128, message: '鏈�澶氳緭鍏�128涓瓧绗�', trigger: 'blur' }
]
}
};
@@ -676,7 +681,7 @@
/** 鍒犻櫎鎸夐挳鎿嶄綔 */
handleDelete(row) {
const userIds = row.userId || this.ids;
- this.$modal.confirm('鏄惁纭鍒犻櫎鐢ㄦ埛缂栧彿涓�"' + userIds + '"鐨勬暟鎹」锛�').then(function() {
+ this.$modal.confirm('鏄惁纭鍒犻櫎锛�').then(function() {
return delUser(userIds);
}).then(() => {
this.getList();
--
Gitblit v1.9.1