【修改】sousuo zhikong

This commit is contained in:
zhoulingpo
2023-04-28 20:43:56 +08:00
parent 20d8183906
commit 73aee8977a
+2
View File
@@ -476,6 +476,7 @@ export default {
this.reportList() this.reportList()
}, },
updateList(){ updateList(){
this.filterText=''
this.$api.report.labelList().then(res => { this.$api.report.labelList().then(res => {
this.treeData=res.data this.treeData=res.data
this.cascaderOptions=res.data this.cascaderOptions=res.data
@@ -521,6 +522,7 @@ export default {
.then(_ => { .then(_ => {
this.$api.report.labelDeleteId(data).then(res=>{ this.$api.report.labelDeleteId(data).then(res=>{
if(res.ok){ if(res.ok){
this.filterText=''
this.$message({ this.$message({
type:'success', type:'success',
message:'删除成功' message:'删除成功'