From ad5eea58d5ac15dd08ff51658d717984d098f81e Mon Sep 17 00:00:00 2001 From: feige <feige@qq.com> Date: 星期四, 07 十二月 2023 16:46:30 +0800 Subject: [PATCH] 标题修改 --- ruoyi-ui/src/views/collection/index.vue | 28 +++++++++++++++++----------- 1 files changed, 17 insertions(+), 11 deletions(-) diff --git a/ruoyi-ui/src/views/collection/index.vue b/ruoyi-ui/src/views/collection/index.vue index f51f92d..bb2b6ff 100644 --- a/ruoyi-ui/src/views/collection/index.vue +++ b/ruoyi-ui/src/views/collection/index.vue @@ -4,7 +4,7 @@ <el-form-item label="鏃堕棿" prop="happenTime"> <el-date-picker v-model="dateRange" - style="width: 197px; + style="width: 240px; height: 30px; background: #FFFFFF; border-radius: 14px 14px 14px 14px; @@ -169,7 +169,7 @@ v-hasPermi="['family:note:export']" >瀵煎叆妯℃澘涓嬭浇</el-button> </el-col> - <el-col :span="1.2"> + <el-col :span="1.5"> <el-upload action="" @@ -180,15 +180,15 @@ > <el-button size="mini" type="primary" plain - icon="el-icon-plus" >瀵煎叆</el-button> + icon="el-icon-top" >瀵煎叆</el-button> </el-upload> </el-col> <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> </el-row> </div> - <el-table v-loading="loading" :data="collectionList" :row-key="getRowId" ref="multipleTable" @selection-change="handleSelectionChange" :row-class-name="tableRowClassName" style="background: #FFEFF2; border-radius: 14px 14px 14px 14px;"> + <el-table v-loading="loading" :data="collectionList" :row-key="getRowId" ref="multipleTable" @selection-change="handleSelectionChange" :row-class-name="tableRowClassName" > <el-table-column type="selection" :reserve-selection="true" width="55" align="center" /> - <el-table-column fixed label="搴忓彿" sortable type="index" :index="(queryParams.pageNum-1)*queryParams.pageSize+1" width="60"/> + <el-table-column fixed label="搴忓彿" sortable type="index" :index="(queryParams.pageNum-1)*queryParams.pageSize+1" width="80px"/> <el-table-column label="鑾峰緱鏃堕棿" prop="happenTime" sortable width="120" align="center"> <template slot-scope="scope">{{scope.row.happenTime? scope.row.happenTime: '鈥斺�斺�斺��'}}</template> </el-table-column> @@ -582,19 +582,25 @@ // console.log(this.queryParams) this.queryParams.happenStartTime = this.dateRange.length > 0 && this.dateRange[0] this.queryParams.happenEndTime = this.dateRange.length > 0 && this.dateRange[1] - + let _this = this // listProperty(this.addDateRange(this.queryParams, this.dateRange)).then(response => { listCollection(this.queryParams).then(response => { // alert(123) // console.log(response.data) - this.collectionList = response.data.data; - this.total = response.data.total; - this.loading = false; + if(response.msg=="鎮ㄦ病鍔犲叆鍒板搴旂殑瀹跺涵锛岃鑱旂郴绠$悊鍛�") + { + _this.$modal.msgSuccess("鎮ㄦ病鍔犲叆鍒板搴旂殑瀹跺涵锛岃鑱旂郴绠$悊鍛�"); + _this.loading = false; + }else{ + _this.collectionList = response.data.data; + _this.total = response.data.total; + _this.loading = false; + } } ); listType(this.queryParams).then(response => { this.typeList = response.data; - this.total = response.data.total; + // console.log( this.typeList ) // 鍦ㄥ洖璋冨嚱鏁颁腑璋冪敤 getTypeOptions() this.getTypeOptions(); @@ -859,7 +865,7 @@ } }; </script> -<style> +<style scoped> .app-container{ background-color: #FEF7FC; } -- Gitblit v1.9.1