38e41129 by renchao@pashanhoo.com

style:弹框样式修改

1 parent 7527ed41
......@@ -177,10 +177,5 @@ export default {
/deep/.el-loading-mask {
background: none;
}
/deep/.el-button {
margin: 8px 10px;
width: 75px;
}
</style>
\ No newline at end of file
......
......@@ -173,11 +173,6 @@ export default {
background: none;
}
/deep/.el-button {
margin: 8px 10px;
width: 75px;
}
.dialog-fade-enter-active,
.dialog-fade-leave-active {
transition: opacity 0.3s;
......
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-04-10 13:47:54
*/
import store from '@/store'
// table 内部过滤器 由于过滤器只能在模板中使用 所以 就有了 jsx内部方法过滤器
export default class filter {
......@@ -32,4 +37,7 @@ export default class filter {
return name
}
}
getDictData (val) {
return store.getters.dictData[val]
}
}
\ No newline at end of file
......
......@@ -239,11 +239,6 @@ export default {
max-height: 87vh;
padding: 0 2px;
.jtfccx-edit-con {
flex: 1;
height: 100%;
overflow-y: scroll;
}
.submit-button {
text-align: center;
......
......@@ -64,13 +64,13 @@ class data extends filter {
align: 'center',
fixed: 'right',
render: (h, scope) => {
if(scope.row.dyzt != '0' && scope.row.cfzt != '0'){
if (scope.row.dyzt != '0' && scope.row.cfzt != '0') {
return <div>抵押、查封</div>
}
if(scope.row.dyzt != '0'){
if (scope.row.dyzt != '0') {
return <div>抵押</div>
}
if(scope.row.cfzt != '0'){
if (scope.row.cfzt != '0') {
return <div>查封</div>
}
}
......@@ -151,7 +151,7 @@ class data extends filter {
scope.row[scope.column.property] = val;
}}
>
{vm.dictData["A30"].map((option) => {
{this.getDictData('A30').map((option) => {
return (
<el-option
label={option.dname}
......@@ -288,7 +288,7 @@ class data extends filter {
scope.row[scope.column.property] = val;
}}
>
{vm.dictData["A30"].map((option) => {
{this.getDictData('A30').map((option) => {
return (
<el-option
label={option.dname}
......