修改一些体验性问题
This commit is contained in:
@ -102,6 +102,7 @@
|
||||
>
|
||||
<div class="form">
|
||||
<el-form :model="cEdit" ref="ruleFormRef" style="max-width: 750px" :rules="rules">
|
||||
<div>{{ cEdit.isEdit }}</div>
|
||||
<el-form-item label="设备名称" label-position="right">
|
||||
<!-- <el-input v-model="selectedRow['deviceName']" :readonly="true" @click.stop="ShowDevice('Edit', true)" placeholder="请选择设备" /> -->
|
||||
<el-select v-model="cEdit.deviceId" placeholder="选择设备" clearable :disabled="!cEdit.isEdit" filterable>
|
||||
@ -492,10 +493,15 @@ function DropRecord(arr = undefined) {
|
||||
() => {
|
||||
showloading('fullLoading');
|
||||
arr = arr.map((item) => item.recordId);
|
||||
api.dropRepir(arr);
|
||||
setTimeout(hideloading, 2000);
|
||||
alert('操作成功');
|
||||
Search();
|
||||
api.dropRepir(arr).then(res=>{
|
||||
if(res && res.code==200){
|
||||
Search();
|
||||
}
|
||||
alert(res.msg);
|
||||
});
|
||||
|
||||
|
||||
|
||||
},
|
||||
hideConfirm,
|
||||
'提示'
|
||||
@ -639,7 +645,7 @@ function ResetFormData() {
|
||||
cEdit.repairPart = ''; //维修部位
|
||||
cEdit.repairReason = ''; //维修原因
|
||||
cEdit.repairPerson = ''; //维修人员
|
||||
cEdit.isEdit = false;
|
||||
|
||||
cEdit.imageIds = [];
|
||||
|
||||
selectedRow.value = { deviceName: '', deviceId: '' };
|
||||
@ -1059,4 +1065,14 @@ input:focus {
|
||||
.demo-fit .el-avatar--square {
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
:deep .el-upload-list--picture-card .el-upload-list__item .el-upload-list__item,
|
||||
.el-upload-list--picture-card .el-upload-list__item .el-upload-list__item{
|
||||
margin:0px ;
|
||||
}
|
||||
|
||||
// :deep .el-upload-list__item,.el-upload-list__item{
|
||||
// margin-right: 8px !important;
|
||||
// }
|
||||
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user