You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

74 lines
1.4 KiB

<template>
<div class="app-container">
<el-table :data="tableData" style="width: 30%" border="">
<el-table-column label="" prop="D2" width="100" />
<el-table-column label="制停距离(m)" prop="D1">
<template slot-scope="scope">
<el-input v-model="scope.row.D1" />
</template>
</el-table-column>
</el-table>
</div>
</template>
<script>
export default {
name: 'ZdftFb',
components: {},
props: {
tableData: {
type: Array,
required: true
},
state: {
type: String,
required: true
}
},
data() {
return {
options: [
{
value: '√',
id: '1'
},
{
value: '×',
id: '2'
},
{
value: '/',
id: '3'
}
]
}
},
// computed: {
// allData() {
// if (this.state === "create") {
// this.tableData = [
// {
// D2: "第一次",
// D1: "",
// },
// {
// D2: "第二次",
// D1: "",
// },
// {
// D2: "第三次",
// D1: "",
// },
// ];
// return this.tableData;
// } else {
// return this.tableData;
// }
// },
// },
mounted() {},
methods: {}
}
</script>
<style scoped>
</style>