|
@@ -54,7 +54,8 @@ export default {
|
|
// 表格属性
|
|
// 表格属性
|
|
tableAttributes: {
|
|
tableAttributes: {
|
|
// 启用勾选列
|
|
// 启用勾选列
|
|
- selectColumn: true
|
|
|
|
|
|
+ selectColumn: true,
|
|
|
|
+ selectable: this.selectable
|
|
},
|
|
},
|
|
// 表格事件
|
|
// 表格事件
|
|
tableEvents: {
|
|
tableEvents: {
|
|
@@ -143,6 +144,9 @@ export default {
|
|
this.formDialog = false;
|
|
this.formDialog = false;
|
|
this.$refs.pageRef.refreshList()
|
|
this.$refs.pageRef.refreshList()
|
|
},
|
|
},
|
|
|
|
+ selectable(row, index) {
|
|
|
|
+ return !["NO"].includes(Object.entries(row.selectMapData.status).find(([key, val]) => val == row.status)?.[0])
|
|
|
|
+ },
|
|
// 列表请求函数
|
|
// 列表请求函数
|
|
getList(p,cb) {
|
|
getList(p,cb) {
|
|
try {
|
|
try {
|