From 7ca95d0b01940011b16f03683e59ab4f18fff4e0 Mon Sep 17 00:00:00 2001 From: linwenling <3256558519@qq.com> Date: 星期二, 25 七月 2023 15:40:39 +0800 Subject: [PATCH] 时间搜索 --- ruoyi-ui/src/views/note/index.vue | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/ruoyi-ui/src/views/note/index.vue b/ruoyi-ui/src/views/note/index.vue index 904183d..8440696 100644 --- a/ruoyi-ui/src/views/note/index.vue +++ b/ruoyi-ui/src/views/note/index.vue @@ -48,7 +48,7 @@ /> </el-form-item> <!-- </el-form-item> --> - <el-form-item label="鍙戠敓鏃堕棿"> + <el-form-item label="鍙戠敓鏃堕棿" prop="happenTime"> <el-date-picker v-model="dateRange" style="width: 240px" @@ -131,7 +131,7 @@ <el-table v-loading="loading" :data="propertyList" @selection-change="handleSelectionChange" :row-class-name="tableRowClassName"> <el-table-column type="selection" width="55" align="center" /> - <el-table-column label="搴忓彿" sortable type="index" :index="(queryParams.pageNum-1)*queryParams.pageSize+1" width="120"/> + <el-table-column fixed label="搴忓彿" sortable type="index" :index="(queryParams.pageNum-1)*queryParams.pageSize+1" width="120"/> <el-table-column label="绫诲瀷" prop="type" sortable :show-overflow-tooltip="true" width="150" /> <el-table-column label="鏍囬" prop="title" sortable :show-overflow-tooltip="true" width="150" /> @@ -385,7 +385,8 @@ holder:undefined, address:undefined, happenStartTime:undefined, - happenEndTime:undefined + happenEndTime:undefined, + happenTime:undefined }, // 琛ㄥ崟鍙傛暟 form: {}, @@ -620,7 +621,7 @@ /** 鍒犻櫎鎸夐挳鎿嶄綔 */ handleDelete(row) { const Ids = row.id || this.ids; - this.$modal.confirm('鏄惁纭鍒犻櫎璧勪骇缂栧彿涓�"' + Ids + '"鐨勬暟鎹」锛�').then(function() { + this.$modal.confirm('鏄惁纭鍒犻櫎鎵�閫夋暟鎹」锛�').then(function() { return delProperty(Ids); }).then(() => { this.getList(); -- Gitblit v1.9.1