Commit bf939e22 authored by miaojiale's avatar miaojiale

修复bug

parent 2db77869
......@@ -146,26 +146,26 @@ export default {
}
},
},
// {
// isIndex: true,
// func: this.handleEdit,
// formatter(row) {
// if (row.checkStatus != 3 && row.checkStatus != 4) {
// return {
// label: "修改",
// type: "text",
// }
// } else {
// return {
// label: "",
// type: "text",
// style: {
// display: "none",
// },
// }
// }
// },
// },
{
isIndex: true,
func: this.handleEdit,
formatter(row) {
if (row.checkStatus != 3 && row.checkStatus != 4) {
return {
label: "修改",
type: "text",
}
} else {
return {
label: "",
type: "text",
style: {
display: "none",
},
}
}
},
},
],
},
],
......
......@@ -281,6 +281,7 @@ export default {
onSearch(form) {
sessionStorage.setItem("followResearch-form", JSON.stringify(form))
this.formEdit = form
this.pageIndex = 1
this.handleSearch()
},
rowOpration(data, i) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment