style:弹框样式修改
Showing
5 changed files
with
13 additions
and
20 deletions
| ... | @@ -177,10 +177,5 @@ export default { | ... | @@ -177,10 +177,5 @@ export default { |
| 177 | /deep/.el-loading-mask { | 177 | /deep/.el-loading-mask { |
| 178 | background: none; | 178 | background: none; |
| 179 | } | 179 | } |
| 180 | |||
| 181 | /deep/.el-button { | ||
| 182 | margin: 8px 10px; | ||
| 183 | width: 75px; | ||
| 184 | } | ||
| 185 | </style> | 180 | </style> |
| 186 | 181 | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
| ... | @@ -173,11 +173,6 @@ export default { | ... | @@ -173,11 +173,6 @@ export default { |
| 173 | background: none; | 173 | background: none; |
| 174 | } | 174 | } |
| 175 | 175 | ||
| 176 | /deep/.el-button { | ||
| 177 | margin: 8px 10px; | ||
| 178 | width: 75px; | ||
| 179 | } | ||
| 180 | |||
| 181 | .dialog-fade-enter-active, | 176 | .dialog-fade-enter-active, |
| 182 | .dialog-fade-leave-active { | 177 | .dialog-fade-leave-active { |
| 183 | transition: opacity 0.3s; | 178 | transition: opacity 0.3s; | ... | ... |
| 1 | /* | ||
| 2 | * @Description: | ||
| 3 | * @Autor: renchao | ||
| 4 | * @LastEditTime: 2023-04-10 13:47:54 | ||
| 5 | */ | ||
| 1 | import store from '@/store' | 6 | import store from '@/store' |
| 2 | // table 内部过滤器 由于过滤器只能在模板中使用 所以 就有了 jsx内部方法过滤器 | 7 | // table 内部过滤器 由于过滤器只能在模板中使用 所以 就有了 jsx内部方法过滤器 |
| 3 | export default class filter { | 8 | export default class filter { |
| ... | @@ -32,4 +37,7 @@ export default class filter { | ... | @@ -32,4 +37,7 @@ export default class filter { |
| 32 | return name | 37 | return name |
| 33 | } | 38 | } |
| 34 | } | 39 | } |
| 40 | getDictData (val) { | ||
| 41 | return store.getters.dictData[val] | ||
| 42 | } | ||
| 35 | } | 43 | } |
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
| ... | @@ -239,11 +239,6 @@ export default { | ... | @@ -239,11 +239,6 @@ export default { |
| 239 | max-height: 87vh; | 239 | max-height: 87vh; |
| 240 | padding: 0 2px; | 240 | padding: 0 2px; |
| 241 | 241 | ||
| 242 | .jtfccx-edit-con { | ||
| 243 | flex: 1; | ||
| 244 | height: 100%; | ||
| 245 | overflow-y: scroll; | ||
| 246 | } | ||
| 247 | 242 | ||
| 248 | .submit-button { | 243 | .submit-button { |
| 249 | text-align: center; | 244 | text-align: center; | ... | ... |
| ... | @@ -64,13 +64,13 @@ class data extends filter { | ... | @@ -64,13 +64,13 @@ class data extends filter { |
| 64 | align: 'center', | 64 | align: 'center', |
| 65 | fixed: 'right', | 65 | fixed: 'right', |
| 66 | render: (h, scope) => { | 66 | render: (h, scope) => { |
| 67 | if(scope.row.dyzt != '0' && scope.row.cfzt != '0'){ | 67 | if (scope.row.dyzt != '0' && scope.row.cfzt != '0') { |
| 68 | return <div>抵押、查封</div> | 68 | return <div>抵押、查封</div> |
| 69 | } | 69 | } |
| 70 | if(scope.row.dyzt != '0'){ | 70 | if (scope.row.dyzt != '0') { |
| 71 | return <div>抵押</div> | 71 | return <div>抵押</div> |
| 72 | } | 72 | } |
| 73 | if(scope.row.cfzt != '0'){ | 73 | if (scope.row.cfzt != '0') { |
| 74 | return <div>查封</div> | 74 | return <div>查封</div> |
| 75 | } | 75 | } |
| 76 | } | 76 | } |
| ... | @@ -151,7 +151,7 @@ class data extends filter { | ... | @@ -151,7 +151,7 @@ class data extends filter { |
| 151 | scope.row[scope.column.property] = val; | 151 | scope.row[scope.column.property] = val; |
| 152 | }} | 152 | }} |
| 153 | > | 153 | > |
| 154 | {vm.dictData["A30"].map((option) => { | 154 | {this.getDictData('A30').map((option) => { |
| 155 | return ( | 155 | return ( |
| 156 | <el-option | 156 | <el-option |
| 157 | label={option.dname} | 157 | label={option.dname} |
| ... | @@ -288,7 +288,7 @@ class data extends filter { | ... | @@ -288,7 +288,7 @@ class data extends filter { |
| 288 | scope.row[scope.column.property] = val; | 288 | scope.row[scope.column.property] = val; |
| 289 | }} | 289 | }} |
| 290 | > | 290 | > |
| 291 | {vm.dictData["A30"].map((option) => { | 291 | {this.getDictData('A30').map((option) => { |
| 292 | return ( | 292 | return ( |
| 293 | <el-option | 293 | <el-option |
| 294 | label={option.dname} | 294 | label={option.dname} | ... | ... |
-
Please register or sign in to post a comment