From bd40473c9c634005bc7e62e7fc901bcd8b598fa0 Mon Sep 17 00:00:00 2001 From: feige <feige@qq.com> Date: 星期五, 02 二月 2024 15:20:26 +0800 Subject: [PATCH] 提交了修改 --- ruoyi-ui/src/views/clean/index.vue | 25 ++++++++++++++++++------- 1 files changed, 18 insertions(+), 7 deletions(-) diff --git a/ruoyi-ui/src/views/clean/index.vue b/ruoyi-ui/src/views/clean/index.vue index bd3b0a4..f41f833 100644 --- a/ruoyi-ui/src/views/clean/index.vue +++ b/ruoyi-ui/src/views/clean/index.vue @@ -109,7 +109,7 @@ v-hasPermi="['family:note:export']" >瀵煎叆妯℃澘涓嬭浇</el-button> </el-col> - <el-col :span="1.2"> + <el-col :span="1.5"> <el-upload action="" class="upload-demo" @@ -118,7 +118,7 @@ > <el-button size="mini" type="primary" plain - icon="el-icon-plus" >瀵煎叆</el-button> + icon="el-icon-top" >瀵煎叆</el-button> </el-upload> </el-col> @@ -177,6 +177,7 @@ size="mini" type="text" icon="el-icon-edit" + :disabled="!scope.row.ownData" @click="handleUpdate(scope.row)" v-hasPermi="['familymodel:clean:info']" >淇敼</el-button> @@ -184,6 +185,7 @@ size="mini" type="text" icon="el-icon-delete" + :disabled="!scope.row.ownData" @click="handleDelete(scope.row)" v-hasPermi="['system:role:remove']" >鍒犻櫎</el-button> @@ -363,7 +365,9 @@ // 鏃ユ湡鑼冨洿 dateRange: [], // 鏁版嵁鑼冨洿閫夐」 - fot:[".jpg",".jif"], + fot:['.bmp','.jpg','.jpeg','.png','.tif','.gif','.pcx','.tga','.exif','.fpx', + '.svg','.psd','.cdr','.pcd','.dxf','.ufo','.eps','.ai','.aw','.WMF','.webp','.apng'], + fileList:[ ], fileListOther:[ @@ -487,14 +491,21 @@ this.queryParams.happenEndTime = this.dateRange.length > 0 && this.dateRange[1] // console.log(this.queryParams) + let _this = this // listProperty(this.addDateRange(this.queryParams, this.dateRange)).then(response => { listClean(this.queryParams).then(response => { // alert(123) // console.log(response.data) - this.cleanList = response.data.data; + if(response.msg=="鎮ㄦ病鍔犲叆鍒板搴旂殑瀹跺涵锛岃鑱旂郴绠$悊鍛�") + { + _this.$modal.msgSuccess("鎮ㄦ病鍔犲叆鍒板搴旂殑瀹跺涵锛岃鑱旂郴绠$悊鍛�"); + _this.loading = false; + }else{ + _this.cleanList = response.data.data; - this.total = response.data.total; - this.loading = false; + _this.total = response.data.total; + _this.loading = false; + } } ); }, @@ -738,7 +749,7 @@ } }; </script> - <style> +<style scoped> .el-table__row.statistics-warning-row { background: #E0EEFE; -- Gitblit v1.9.1