e817c3e3 by renchao@pashanhoo.com

style:取消事件冒泡

1 parent 06b5886c
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-11-16 14:02:08 4 * @LastEditTime: 2024-01-17 10:00:41
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues"> 7 <div class="from-clues">
......
...@@ -92,7 +92,7 @@ class data extends filter { ...@@ -92,7 +92,7 @@ class data extends filter {
92 render: (h, scope) => { 92 render: (h, scope) => {
93 return ( 93 return (
94 <div> 94 <div>
95 <el-button type="text" icon="el-icon-edit-outline" onClick={() => { vm.openBook(scope.row) }}>登记薄</el-button> 95 <el-button type="text" icon="el-icon-edit-outline" onClick={(event) => { event.stopPropagation(); vm.openBook(scope.row) }}>登记薄</el-button>
96 </div> 96 </div>
97 ) 97 )
98 } 98 }
......
...@@ -135,7 +135,7 @@ class data extends filter { ...@@ -135,7 +135,7 @@ class data extends filter {
135 render: (h, scope) => { 135 render: (h, scope) => {
136 return ( 136 return (
137 <div> 137 <div>
138 <el-button type="text" icon="el-icon-film" onClick={() => { vm.handleLpbClick(scope.row) }}>楼盘表</el-button> 138 <el-button type="text" icon="el-icon-film" onClick={(event) => { event.stopPropagation(); vm.handleLpbClick(scope.row) }}>楼盘表</el-button>
139 </div> 139 </div>
140 ) 140 )
141 } 141 }
......
...@@ -152,7 +152,7 @@ class data extends filter { ...@@ -152,7 +152,7 @@ class data extends filter {
152 render: (h, scope) => { 152 render: (h, scope) => {
153 return ( 153 return (
154 <div> 154 <div>
155 <el-button type="text" icon="el-icon-edit-outline" onClick={() => { vm.openBook(scope.row) }}>登记薄</el-button> 155 <el-button type="text" icon="el-icon-edit-outline" onClick={(event) => { event.stopPropagation(); vm.openBook(scope.row) }}>登记薄</el-button>
156 </div> 156 </div>
157 ) 157 )
158 } 158 }
......
...@@ -130,7 +130,7 @@ class data extends filter { ...@@ -130,7 +130,7 @@ class data extends filter {
130 render: (h, scope) => { 130 render: (h, scope) => {
131 return ( 131 return (
132 <div> 132 <div>
133 <el-button type="text" icon="el-icon-edit-outline" onClick={() => { vm.openBook(scope.row) }}>登记薄</el-button> 133 <el-button type="text" icon="el-icon-edit-outline" onClick={(event) => { event.stopPropagation(); vm.openBook(scope.row) }}>登记薄</el-button>
134 </div> 134 </div>
135 ) 135 )
136 } 136 }
......
1 /* 1 /*
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-11-14 14:15:21 4 * @LastEditTime: 2024-01-17 09:59:04
5 */ 5 */
6 import filter from '@/utils/filter.js' 6 import filter from '@/utils/filter.js'
7 let vm = null 7 let vm = null
...@@ -129,7 +129,7 @@ class data extends filter { ...@@ -129,7 +129,7 @@ class data extends filter {
129 render: (h, scope) => { 129 render: (h, scope) => {
130 return ( 130 return (
131 <div> 131 <div>
132 <el-button type="text" icon="el-icon-edit-outline" onClick={() => { vm.openBook(scope.row) }}>登记薄</el-button> 132 <el-button type="text" icon="el-icon-edit-outline" onClick={(event) => { event.stopPropagation(); vm.openBook(scope.row) }}>登记薄</el-button>
133 </div> 133 </div>
134 ) 134 )
135 } 135 }
......
1 /* 1 /*
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-10-18 15:03:39 4 * @LastEditTime: 2024-01-17 10:02:13
5 */ 5 */
6 import filter from '@/utils/filter.js' 6 import filter from '@/utils/filter.js'
7 let vm = null 7 let vm = null
...@@ -104,7 +104,7 @@ class data extends filter { ...@@ -104,7 +104,7 @@ class data extends filter {
104 render: (h, scope) => { 104 render: (h, scope) => {
105 return ( 105 return (
106 <div> 106 <div>
107 <el-button type="text" icon="el-icon-film" onClick={() => { vm.handleLpbClick(scope.row) }}>楼盘表</el-button> 107 <el-button type="text" icon="el-icon-film" onClick={(event) => { event.stopPropagation(); vm.handleLpbClick(scope.row) }}>楼盘表</el-button>
108 </div> 108 </div>
109 ) 109 )
110 } 110 }
......
1 /* 1 /*
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-10-11 11:29:42 4 * @LastEditTime: 2024-01-17 09:44:35
5 */ 5 */
6 import filter from '@/utils/filter.js' 6 import filter from '@/utils/filter.js'
7 let vm = null 7 let vm = null
...@@ -128,8 +128,8 @@ class data extends filter { ...@@ -128,8 +128,8 @@ class data extends filter {
128 render: (h, scope) => { 128 render: (h, scope) => {
129 return ( 129 return (
130 <div> 130 <div>
131 <el-button type="text" icon="el-icon-edit-outline" onClick={() => { vm.openBook(scope.row) }}>登记薄</el-button> 131 <el-button type="text" icon="el-icon-edit-outline" onClick={(event) => { event.stopPropagation(); vm.openBook(scope.row) }}>登记薄</el-button>
132 </div> 132 </div >
133 ) 133 )
134 } 134 }
135 }, 135 },
......
...@@ -101,7 +101,7 @@ class data extends filter { ...@@ -101,7 +101,7 @@ class data extends filter {
101 render: (h, scope) => { 101 render: (h, scope) => {
102 return ( 102 return (
103 <div> 103 <div>
104 <el-button type="text" icon="el-icon-edit-outline" onClick={() => { vm.openBook(scope.row) }}>登记薄</el-button> 104 <el-button type="text" icon="el-icon-edit-outline" onClick={(event) => { event.stopPropagation(); vm.openBook(scope.row) }}>登记薄</el-button>
105 </div> 105 </div>
106 ) 106 )
107 } 107 }
......
...@@ -100,7 +100,7 @@ class data extends filter { ...@@ -100,7 +100,7 @@ class data extends filter {
100 prop: "zl", 100 prop: "zl",
101 label: "坐落", 101 label: "坐落",
102 minWidth: '150' 102 minWidth: '150'
103 },{ 103 }, {
104 label: '操作', 104 label: '操作',
105 width: '80', 105 width: '80',
106 align: 'center', 106 align: 'center',
...@@ -108,7 +108,7 @@ class data extends filter { ...@@ -108,7 +108,7 @@ class data extends filter {
108 render: (h, scope) => { 108 render: (h, scope) => {
109 return ( 109 return (
110 <div> 110 <div>
111 <el-button type="text" icon="el-icon-edit-outline" onClick={() => { vm.openBook(scope.row) }}>登记薄</el-button> 111 <el-button type="text" icon="el-icon-edit-outline" onClick={(event) => { event.stopPropagation(); vm.openBook(scope.row) }}>登记薄</el-button>
112 </div> 112 </div>
113 ) 113 )
114 } 114 }
......
...@@ -95,7 +95,7 @@ class data extends filter { ...@@ -95,7 +95,7 @@ class data extends filter {
95 prop: "zl", 95 prop: "zl",
96 label: "坐落", 96 label: "坐落",
97 minWidth: '110' 97 minWidth: '110'
98 },{ 98 }, {
99 label: '操作', 99 label: '操作',
100 width: '80', 100 width: '80',
101 align: 'center', 101 align: 'center',
...@@ -103,7 +103,7 @@ class data extends filter { ...@@ -103,7 +103,7 @@ class data extends filter {
103 render: (h, scope) => { 103 render: (h, scope) => {
104 return ( 104 return (
105 <div> 105 <div>
106 <el-button type="text" icon="el-icon-edit-outline" onClick={() => { vm.openBook(scope.row) }}>登记薄</el-button> 106 <el-button type="text" icon="el-icon-edit-outline" onClick={(event) => { event.stopPropagation(); vm.openBook(scope.row) }}>登记薄</el-button>
107 </div> 107 </div>
108 ) 108 )
109 } 109 }
......
...@@ -122,7 +122,7 @@ class data extends filter { ...@@ -122,7 +122,7 @@ class data extends filter {
122 render: (h, scope) => { 122 render: (h, scope) => {
123 return ( 123 return (
124 <div> 124 <div>
125 <el-button type="text" icon="el-icon-edit-outline" onClick={() => { vm.openBook(scope.row) }}>登记薄</el-button> 125 <el-button type="text" icon="el-icon-edit-outline" onClick={(event) => { event.stopPropagation(); vm.openBook(scope.row) }}>登记薄</el-button>
126 </div> 126 </div>
127 ) 127 )
128 } 128 }
......
...@@ -112,7 +112,7 @@ class data extends filter { ...@@ -112,7 +112,7 @@ class data extends filter {
112 render: (h, scope) => { 112 render: (h, scope) => {
113 return ( 113 return (
114 <div> 114 <div>
115 <el-button type="text" icon="el-icon-edit-outline" onClick={() => { vm.openBook(scope.row) }}>登记薄</el-button> 115 <el-button type="text" icon="el-icon-edit-outline" onClick={(event) => { event.stopPropagation(); vm.openBook(scope.row) }}>登记薄</el-button>
116 </div> 116 </div>
117 ) 117 )
118 } 118 }
......
...@@ -106,7 +106,7 @@ class data extends filter { ...@@ -106,7 +106,7 @@ class data extends filter {
106 render: (h, scope) => { 106 render: (h, scope) => {
107 return ( 107 return (
108 <div> 108 <div>
109 <el-button type="text" icon="el-icon-edit-outline" onClick={() => { vm.openBook(scope.row) }}>登记薄</el-button> 109 <el-button type="text" icon="el-icon-edit-outline" onClick={(event) => { event.stopPropagation(); vm.openBook(scope.row) }}>登记薄</el-button>
110 </div> 110 </div>
111 ) 111 )
112 } 112 }
......
...@@ -143,7 +143,7 @@ class data extends filter { ...@@ -143,7 +143,7 @@ class data extends filter {
143 return ( 143 return (
144 <div> 144 <div>
145 <el-button type="text" icon="el-icon-edit-outline" onClick={() => { vm.openDialog(scope.row) }}>登记薄</el-button> 145 <el-button type="text" icon="el-icon-edit-outline" onClick={() => { vm.openDialog(scope.row) }}>登记薄</el-button>
146 <el-button type="text" icon="el-icon-film" onClick={() => { vm.handleLpbClick(scope.row) }}>楼盘表</el-button> 146 <el-button type="text" icon="el-icon-film" onClick={(event) => { event.stopPropagation(); vm.handleLpbClick(scope.row) }}>楼盘表</el-button>
147 </div> 147 </div>
148 ) 148 )
149 } 149 }
......