From 5c76f242b20281b51d01ce2266e8beaafe8ae5a6 Mon Sep 17 00:00:00 2001
From: 王震 <10952869+daywangzhen@user.noreply.gitee.com>
Date: 星期五, 15 九月 2023 10:00:34 +0800
Subject: [PATCH] 改bug
---
src/components/view/standard-table/target.vue | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/src/components/view/standard-table/target.vue b/src/components/view/standard-table/target.vue
index abd919f..30d27b7 100644
--- a/src/components/view/standard-table/target.vue
+++ b/src/components/view/standard-table/target.vue
@@ -7,19 +7,19 @@
:tree-props="{children: 'children', hasChildren: 'hasChildren'}">
<el-table-column type="selection" width="55"></el-table-column>
<el-table-column type="index" width="60" label="搴忓彿"></el-table-column>
- <el-table-column prop="tfather" label="宸ュ簭" :resizable="false">
+ <el-table-column prop="tfather" label="宸ュ簭" width="200" :resizable="false">
<template slot-scope="scope">
<el-tag class="tag" type="primary" v-if="scope.row.tfather != null">01</el-tag>
<span>{{scope.row.tfather}}</span>
</template>
</el-table-column>
- <el-table-column prop="tname" label="宸ヨ壓鍚嶇О" :resizable="false">
+ <el-table-column prop="tname" label="宸ヨ壓鍚嶇О" width="200" :resizable="false">
<template slot-scope="scope">
<el-tag type="success" v-if="scope.row.tname != null" class="tag">02</el-tag>
<span>{{scope.row.tname}}</span>
</template>
</el-table-column>
- <el-table-column prop="pfather" label="椤圭洰" :resizable="false">
+ <el-table-column prop="pfather" label="椤圭洰" width="200" :resizable="false">
<template slot-scope="scope">
<el-tag type="info" color="#faf2ff" v-if="scope.row.pfather != null" class="tag">
<span style="color: #e1affb">03</span>
@@ -27,7 +27,7 @@
<span>{{scope.row.pfather}}</span>
</template>
</el-table-column>
- <el-table-column prop="pname" label="鎸囨爣鍚嶇О" :resizable="false">
+ <el-table-column prop="pname" label="鎸囨爣鍚嶇О" width="200" :resizable="false">
<template slot-scope="scope">
<span>{{scope.row.pname}}</span>
</template>
@@ -142,7 +142,6 @@
}).then(res=>{
this.$message.success(res.message);
}).catch(error=>{
- this.$message.error(error.message);
})
},
}
--
Gitblit v1.9.3