重庆机具bug修复

This commit is contained in:
hongchao 2025-03-08 12:11:16 +08:00
parent a3de867e63
commit 353902a469
3 changed files with 79 additions and 10 deletions

View File

@ -99,12 +99,12 @@
{{ formatCurrency(row.costIndicators || '') }} {{ formatCurrency(row.costIndicators || '') }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <!-- <el-table-column
label="所属工程项目" label="所属工程项目"
align="center" align="center"
prop="ownPro" prop="ownPro"
show-overflow-tooltip show-overflow-tooltip
/> /> -->
<el-table-column <el-table-column
label="所属上级" label="所属上级"
align="center" align="center"

View File

@ -75,7 +75,7 @@
> >
</el-col> </el-col>
</el-row> --> </el-row> -->
<el-table v-loading="loading" :data="equipmentList"> <el-table v-loading="loading" :data="equipmentList" style="margin-top:10px">
<el-table-column label="序号" align="center" type="index" /> <el-table-column label="序号" align="center" type="index" />
<el-table-column <el-table-column
label="物资类型" label="物资类型"
@ -212,6 +212,7 @@ export default {
resetQuery() { resetQuery() {
this.resetForm("maForm"); this.resetForm("maForm");
this.maForm.keyword = ""; this.maForm.keyword = "";
this.uploadKey = Date.now();
this.handleQuery(); this.handleQuery();
}, },
//- //-
@ -299,6 +300,13 @@ export default {
width: 60px !important; width: 60px !important;
margin-bottom: 10px; margin-bottom: 10px;
} }
::v-deep .el-upload-list__item {
margin-bottom: 20px;
overflow: unset !important;
}
::v-deep .el-upload-list__item-actions {
overflow: unset !important;
}
//css //css
::v-deep.disabled { ::v-deep.disabled {
.el-upload--picture-card { .el-upload--picture-card {
@ -309,16 +317,76 @@ export default {
width: 300px; width: 300px;
height: 100px; height: 100px;
} }
.accept-img {
color: #409eff;
.a-two {
margin-left: 20px;
}
}
.left-tip { .left-tip {
font-size: 16px; font-size: 16px;
letter-spacing: 1px; letter-spacing: 1px;
} }
.el-input-group__append {
padding: 0;
.el-button {
padding: 0 10px;
border: none;
height: 100%;
&:first-child {
border-right: 1px solid #dcdfe6;
}
&[disabled] {
color: #c0c4cc;
}
}
}
.el-upload-list__item-thumbnail {
height: 145px !important;
}
.picture-card-container {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
position: relative;
}
.picture-card {
width: 100%;
height: 100%;
object-fit: cover;
justify-content: center;
// border: 1px solid #ddd;
// border-radius: 4px;
}
.file-name {
width: 90%;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
position: absolute;
bottom: -35px;
margin-top: 8px;
text-align: center;
font-size: 12px;
color: #333;
z-index: 999999;
}
.file-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
display: flex;
justify-content: center;
align-items: center;
color: #fff;
font-size: 20px;
}
</style> </style>

View File

@ -213,7 +213,8 @@ export default {
time: null, // time: null, //
unitId: null, //id unitId: null, //id
proId: null, //id proId: null, //id
typeName: '', //
typeModelName: '', //
types: 1, // 1 2 types: 1, // 1 2
}, },
unitList: [], // unitList: [], //