From b6218e1a65289b9c232408e9ee6247c36258a155 Mon Sep 17 00:00:00 2001 From: kongdeqiang <123456> Date: 星期五, 09 六月 2023 13:55:15 +0800 Subject: [PATCH] 修改前端页面 --- src/components/page/ticket/index.vue | 16 ++++++++++++---- 1 files changed, 12 insertions(+), 4 deletions(-) diff --git a/src/components/page/ticket/index.vue b/src/components/page/ticket/index.vue index e271490..997f997 100644 --- a/src/components/page/ticket/index.vue +++ b/src/components/page/ticket/index.vue @@ -125,10 +125,11 @@ align="center" label="鎿嶄綔"> <template slot-scope="scope"> - <el-button type="text" size="small" icon="el-icon-view" @click="addOrUpdateHandle(scope.row.id)">澶勫喅涔�</el-button> - <el-button type="text" size="small" icon="el-icon-view" @click="addOrUpdateHandle2(scope.row)">閫佽揪鍥炶瘉</el-button> + <el-button type="text" size="small" icon="el-icon-document" @click="addOrUpdateHandle(scope.row.id)">澶勫喅涔�</el-button> + <el-button type="text" size="small" icon="el-icon-document-checked" @click="addOrUpdateHandle2(scope.row)">閫佽揪鍥炶瘉</el-button> <el-button type="text" size="small" icon="el-icon-view" @click="pictureHandle(scope.row)">鍥惧儚璇佹嵁</el-button> - <el-button type="text" size="small" icon="el-pay6zhifu" @click="jiaofeiHandle(scope.row.id)">鐜板満缂磋垂</el-button> + <el-button type="text" size="small" icon="el-icon-delete" @click="onDelete(scope.row.id)">鎾ら攢</el-button> +<!-- <el-button type="text" size="small" icon="el-pay6zhifu" @click="jiaofeiHandle(scope.row.id)">鐜板満缂磋垂</el-button>--> </template> </el-table-column> </el-table> @@ -235,7 +236,7 @@ if(row.personName != null){ this.addOrUpdateVisible2 = true this.$nextTick(() => { - this.$refs.addOrUpdate2.init(id) + this.$refs.addOrUpdate2.init(row.id) }) }else { this.$message.error("澶勫喅涔﹁繕鏈~鍐欙紒") @@ -252,6 +253,13 @@ } }) }, + //鍒犻櫎 + onDelete(id) { + this.$byutil.deleteData(this,this.$systemconfig.basePath+'/ffzf/ticket/delete',{id:id}, res => { + this.$message({message: '鎾ら攢鎴愬姛', type: 'success'}); + this.getDataList(); + }) + }, } } </script> -- Gitblit v1.9.1