Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue-composition-api
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
宁路鹏
vue-composition-api
Commits
e9d85c5d
Commit
e9d85c5d
authored
Mar 02, 2023
by
wangshuangqing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
多选框添加禁用
parent
626319c0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
2 deletions
+16
-2
src/views/outClinicalpathway.vue
+16
-2
No files found.
src/views/outClinicalpathway.vue
View file @
e9d85c5d
...
...
@@ -2,7 +2,7 @@
* @Author: wsq
* @Date: 2022-04-22 15:20:58
* @LastEditors: wsq
* @LastEditTime: 2023-03-0
1 17:39:0
9
* @LastEditTime: 2023-03-0
2 10:02:2
9
* @Description:
-->
<
template
>
...
...
@@ -150,7 +150,11 @@
default-expand-all
size=
"mini"
>
<el-table-column
type=
"selection"
width=
"55"
/>
<el-table-column
type=
"selection"
:selectable=
"selectEnable"
width=
"55"
/>
<el-table-column
show-overflow-tooltip
...
...
@@ -622,6 +626,15 @@ export default {
tempMedicalCheckout
:
{},
longMedical
:
{},
});
//表格禁用
const
selectEnable
=
(
row
,
rowIndex
)
=>
{
if
(
row
.
isForbidden
==
false
)
{
return
false
;
// 不禁用
}
else
{
return
true
;
//禁用
}
};
//更多
const
goSeeScore
=
(
row
)
=>
{
console
.
log
(
"state.tableData"
,
state
.
tableData
);
...
...
@@ -1081,6 +1094,7 @@ export default {
goSeeScore
,
goSeefromRef
,
goSeecolse
,
selectEnable
,
};
},
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment