fix:mlogbw样式调整
This commit is contained in:
parent
dfdecc01bd
commit
c5d6e6fcf7
|
|
@ -130,7 +130,9 @@ export default {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
color: #008000;
|
color: #008000;
|
||||||
}
|
}
|
||||||
|
#mlogbwList .el-table--default .cell{
|
||||||
|
padding: 0 5px !important;
|
||||||
|
}
|
||||||
#table1.el-table,
|
#table1.el-table,
|
||||||
#table1.el-table tr,
|
#table1.el-table tr,
|
||||||
#table1.el-table .el-table__body-wrapper,
|
#table1.el-table .el-table__body-wrapper,
|
||||||
|
|
|
||||||
|
|
@ -2,13 +2,15 @@
|
||||||
<el-drawer
|
<el-drawer
|
||||||
:title="headTitle[mode]"
|
:title="headTitle[mode]"
|
||||||
v-model="visible"
|
v-model="visible"
|
||||||
:size="'80%'"
|
:size="'90%'"
|
||||||
destroy-on-close
|
destroy-on-close
|
||||||
@closed="$emit('closed')"
|
@closed="$emit('closed')"
|
||||||
>
|
>
|
||||||
|
<el-container>
|
||||||
|
<el-main>
|
||||||
<sc-form-table
|
<sc-form-table
|
||||||
hideDelete
|
hideDelete
|
||||||
:tableHeight="500"
|
id="mlogbwList"
|
||||||
v-model="mlogbwlist"
|
v-model="mlogbwlist"
|
||||||
:addTemplate="addTemplate"
|
:addTemplate="addTemplate"
|
||||||
placeholder="暂无数据"
|
placeholder="暂无数据"
|
||||||
|
|
@ -100,7 +102,7 @@
|
||||||
</el-select>
|
</el-select>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="note" :label="item.defect_name" v-for="item in qct_defects" :key="item.id" width="80px">
|
<el-table-column prop="note" :label="item.defect_name" v-for="item in qct_defects" :key="item.id" width="70px">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<el-switch
|
<el-switch
|
||||||
:disabled="!scope.row.isEdit"
|
:disabled="!scope.row.isEdit"
|
||||||
|
|
@ -110,13 +112,13 @@
|
||||||
></el-switch>
|
></el-switch>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="note" label="备注">
|
<el-table-column prop="note" label="备注" width="80px">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<span v-if="!scope.row.isEdit">{{ scope.row.note }}</span>
|
<span v-if="!scope.row.isEdit">{{ scope.row.note }}</span>
|
||||||
<el-input v-else v-model="scope.row.note" placeholder="备注"></el-input>
|
<el-input v-else v-model="scope.row.note" placeholder="备注"></el-input>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="open" label="操作" width="120" align="center">
|
<el-table-column prop="open" label="操作" width="60" align="center">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<el-button
|
<el-button
|
||||||
v-if="scope.row.isEdit"
|
v-if="scope.row.isEdit"
|
||||||
|
|
@ -153,6 +155,9 @@
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</sc-form-table>
|
</sc-form-table>
|
||||||
|
</el-main>
|
||||||
|
</el-container>
|
||||||
|
|
||||||
</el-drawer>
|
</el-drawer>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
|
|
@ -475,4 +480,7 @@ export default {
|
||||||
.width-100{
|
.width-100{
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
#mlogbwList .el-table--default .cell{
|
||||||
|
padding: 0 5px !important;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue