This commit is contained in:
sjl
2025-12-19 10:56:30 +08:00
parent 909f43e257
commit d64d18f330
10 changed files with 85 additions and 81 deletions

View File

@@ -65,6 +65,7 @@ const tableRef = ref()
const dialogVisible = ref(false)
const detailId = ref('')
const TableHeaderRef = ref()
const VITE_FLAG = import.meta.env.VITE_NAME == 'jibei'
const tableStore = new TableStore({
url: '/supervision-boot/warningLeaflet/alarmPageData',
publicHeight: 65,
@@ -232,7 +233,12 @@ const tableStore = new TableStore({
icon: 'el-icon-EditPen',
render: 'basicButton',
disabled: row => {
return !(row.problemType == 2 || row.problemType == 4)
if (VITE_FLAG) {
return !(row.problemType == 2 || row.problemType == 4)
}
return true;
},
click: row => {
if (row.problemType == 2) {