Merge branch 'master' of http://yun.pashanhoo.com:9090/bdc/bdcjg-web
Showing
4 changed files
with
45 additions
and
4 deletions
... | @@ -208,10 +208,27 @@ table td { | ... | @@ -208,10 +208,27 @@ table td { |
208 | box-shadow: inset 0px 0px 20px 0px #03DBFF !important; | 208 | box-shadow: inset 0px 0px 20px 0px #03DBFF !important; |
209 | } | 209 | } |
210 | 210 | ||
211 | .el-table__body tr:hover>td { | 211 | .el-table__body tr:hover>td, |
212 | .el-table__body tr.hover-row>td.el-table__cell { | ||
212 | background: none !important; | 213 | background: none !important; |
213 | } | 214 | } |
214 | 215 | ||
216 | // table 固定列样式 | ||
217 | tr:hover { | ||
218 | background: #063160 !important; | ||
219 | box-shadow: inset 0px 0px 20px 0px #03DBFF !important; | ||
220 | } | ||
221 | |||
222 | .el-table__fixed-right-patch { | ||
223 | background-color: #073781; | ||
224 | } | ||
225 | |||
226 | .el-table__fixed-right { | ||
227 | box-shadow: inset 0px 0px 20px 0px #5BE7FF !important; | ||
228 | border-left: 3px solid #142e54; | ||
229 | background-color: #1f2c3a; | ||
230 | } | ||
231 | |||
215 | // 表格样式 | 232 | // 表格样式 |
216 | .el-table th { | 233 | .el-table th { |
217 | height: 48px !important; | 234 | height: 48px !important; | ... | ... |
... | @@ -183,6 +183,26 @@ class data { | ... | @@ -183,6 +183,26 @@ class data { |
183 | </div> | 183 | </div> |
184 | ) | 184 | ) |
185 | }, | 185 | }, |
186 | }, | ||
187 | { | ||
188 | label: "操作", | ||
189 | width: "80", | ||
190 | fixed: "right", | ||
191 | render: (h, scope) => { | ||
192 | return ( | ||
193 | <div> | ||
194 | <el-button | ||
195 | size="mini" | ||
196 | type="primary" | ||
197 | onClick={() => { | ||
198 | this.handleEdit(scope.row); | ||
199 | }} | ||
200 | > | ||
201 | 编辑 | ||
202 | </el-button> | ||
203 | </div> | ||
204 | ); | ||
205 | }, | ||
186 | } | 206 | } |
187 | ] | 207 | ] |
188 | } | 208 | } | ... | ... |
... | @@ -24,9 +24,8 @@ | ... | @@ -24,9 +24,8 @@ |
24 | </el-col> | 24 | </el-col> |
25 | <el-col :span="6"> | 25 | <el-col :span="6"> |
26 | <el-form-item label="结束日期" prop="endTime"> | 26 | <el-form-item label="结束日期" prop="endTime"> |
27 | <el-date-picker type="date" class="width100" placeholder="结束日期" :picker-options="pickerOptionsEnd" | 27 | <el-date-picker type="date" class="width100" placeholder="结束日期" :picker-options="pickerOptionsEnd" clearable |
28 | clearable v-model="form.endTime" value-format="yyyy-MM-dd HH:mm:ss" | 28 | v-model="form.endTime" value-format="yyyy-MM-dd HH:mm:ss" @change="endTimeChange"></el-date-picker> |
29 | @change="endTimeChange"></el-date-picker> | ||
30 | </el-form-item> | 29 | </el-form-item> |
31 | </el-col> | 30 | </el-col> |
32 | <!-- 操作按钮 --> | 31 | <!-- 操作按钮 --> |
... | @@ -135,6 +134,10 @@ export default { | ... | @@ -135,6 +134,10 @@ export default { |
135 | this.$refs.ruleForm.resetFields(); | 134 | this.$refs.ruleForm.resetFields(); |
136 | this.form.currentPage = 1 | 135 | this.form.currentPage = 1 |
137 | this.featchData(); | 136 | this.featchData(); |
137 | }, | ||
138 | // 编辑 | ||
139 | handleEdit (row) { | ||
140 | console.log(row); | ||
138 | } | 141 | } |
139 | } | 142 | } |
140 | } | 143 | } | ... | ... |
-
Please register or sign in to post a comment