master
fanluyan 1 year ago
parent 6ad7413cb1
commit 14fafba4e4

@ -70,7 +70,7 @@
v-loading="tableLoaidng"
id="ywTable"
ref="ywMultipleTable"
:data="tableDataWithEditing"
:data="tableData"
border
:row-style="isRed"
:row-key="getRowKey"
@ -359,9 +359,11 @@
<el-tooltip
class="item"
effect="dark"
:content="scope.row.raw_report.simcard2"
:content="scope.row.raw_report.msgs.signature2"
placement="top"
><span>{{ scope.row.raw_report.simcard2 }}</span></el-tooltip
><span>{{
scope.row.raw_report.msgs.signature2
}}</span></el-tooltip
></span
>
<span v-else>
@ -444,7 +446,7 @@
</u-table-column>
</u-table-column>
<u-table-column label="SIM卡" v-if="simcheck" min-width="160" key="sim">
<u-table-column label="卡1" width="158" prop="simcard1">
<u-table-column label="卡1ICCID" width="158" prop="simcard1">
<template slot-scope="scope">
<span v-if="scope.row.raw_report.hasOwnProperty('XyDev')">
{{ scope.row.raw_report.simcard1 }}</span
@ -458,7 +460,7 @@
>
</template>
</u-table-column>
<u-table-column label="卡2" width="158" prop="simcard2">
<u-table-column label="卡2ICCID" width="158" prop="simcard2">
<template slot-scope="scope">
<span v-if="scope.row.raw_report.hasOwnProperty('XyDev')">
{{ scope.row.raw_report.simcard2 }}</span
@ -1118,12 +1120,13 @@ export default {
},
computed: {
// 使 isEditing
tableDataWithEditing() {
return this.tableData.map((row) => ({
...row, //
isEditing: false, // isEditing false
}));
},
// tableDataWithEditing() {
// console.log(this.tableData);
// return this.tableData.map((row) => ({
// ...row, //
// isEditing: false, // isEditing false
// }));
// },
},
watch: {
tableData: {

@ -718,7 +718,7 @@ export default {
align-items: center;
.el-input {
margin-right: 8px;
width: 150px;
width: 162px;
}
}
}

Loading…
Cancel
Save