From 4470663489b8e7a3774c8d45f5f8bee881d0f552 Mon Sep 17 00:00:00 2001 From: 819527061@qq.com <123456> Date: 星期一, 18 十一月 2024 14:44:26 +0800 Subject: [PATCH] 添加loading --- src/components/page/whiteList/index.vue | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/src/components/page/whiteList/index.vue b/src/components/page/whiteList/index.vue index 2c8a27c..5aa7a81 100644 --- a/src/components/page/whiteList/index.vue +++ b/src/components/page/whiteList/index.vue @@ -37,6 +37,7 @@ <el-table-column prop="startTime" label="鏈堢エ寮�濮嬫棩鏈�" align="center"></el-table-column> <el-table-column prop="endTime" label="鏈堢エ缁撴潫鏃ユ湡" align="center"></el-table-column> <el-table-column prop="name" label="鍋滆溅鍦�" align="center"></el-table-column> + <el-table-column prop="createBy" label="鎿嶄綔浜�" align="center"></el-table-column> <el-table-column label="鎿嶄綔" fixed="right" width="150" align="center"> <template slot-scope="scope"> <el-button size="mini" @click="onEdit(scope.row)">缂栬緫</el-button> @@ -98,14 +99,20 @@ startTime: '', parkIds: null, name: '', + createBy:'', + updateBy:'' }, ids:[], urlPath:this.$systemconfig.basePath + '/ffzf/whiteList/', table1:[], + userName:'', tableHeight:500, } }, mounted() { + let username = localStorage.getItem('name') + this.formData.createBy = username + this.userName = username this.loadData(); this.$byutil.postData(this, this.$systemconfig.basePath+'/ffzf/park/findAll', this.formData, res => { this.table1 = res.data; @@ -158,6 +165,7 @@ this.flag=true; this.ids = [] this.formData = row; + this.formData.updateBy = this.userName if(row.type==1){ this.ids = this.formData.parkIds.split(",") this.ids = this.ids.map(function(data){ -- Gitblit v1.9.1