c859d372 by 杨威
2 parents 2a4bc023 0abf948d
......@@ -10,24 +10,25 @@
<div>
<table border="1">
<tr>
<td>室号前缀</td>
<td>幢单元号</td>
<td>分割符A</td>
<td>层号前自动补0</td>
<td></td>
<td>分割符B</td>
<td>户号</td>
<td>室号后缀</td>
<th>室号前缀</th>
<th>幢单元号</th>
<th>分割符A</th>
<th>层号前自动补0</th>
<th>层号</th>
<th>分割符B</th>
<th>户号前自动补零</th>
<th>户号</th>
<th>室号后缀</th>
</tr>
<tr>
<td>
<input type="text" class="inputtitle" v-model="plshData.shqz"/>
<el-input v-model="plshData.shqz"></el-input>
</td>
<td>
<el-checkbox v-model="plshData.selectDyh"></el-checkbox>
</td>
<td>
<input type="text" class="inputtitle" v-model="plshData.fgfA"/>
<el-input v-model="plshData.fgfA"></el-input>
</td>
<td>
<el-checkbox v-model="plshData.chqbl"></el-checkbox>
......@@ -43,13 +44,15 @@
</el-select>
</td>
<td>
<input type="text" class="inputtitle" v-model="plshData.fgfB"/>
<el-input v-model="plshData.fgfB"></el-input>
</td>
<td>
<el-checkbox v-model="plshData.hhqbl"></el-checkbox>
</td>
<td>
</td>
<td>
<input type="text" class="inputtitle" v-model="plshData.shhz"/>
<el-input v-model="plshData.shhz"></el-input>
</td>
</tr>
</table>
......@@ -60,15 +63,15 @@
<span>
样例1:1011 <span>(1单元01层01室)</span>([单元号][层号],勾选“层号自动补0”)
<br/>
样例2:1131室<span>(1单元13层01室)</span>([单元号][层号][后缀])
样例2:1131室<span>(1单元13层01室)</span>([单元号][层号][后缀],后缀填写'室')
<br/>
样例3:11<span>(1层01室)</span>([层号])
样例3:101<span>(1层01室)</span>([层号],勾选“户号自动补0”)
<br/>
样例4:1-011<span>(1单元-01层01室)</span>([单元号][分隔符A][层号],勾选“层号之前增加分隔符”)
样例4:1-011<span>(1单元-01层01室)</span>([单元号][分隔符A][层号],勾选“层号自动补0”)
<br/>
样例5:1-13-1<span>(1单元13层01室)</span>([单元号][分隔符A][层号][分隔符B])
样例5:1-12-1<span>(1单元12层01室)</span>([单元号][分隔符A][层号][分隔符B])
<br/>
样例6:1-1<span>(1单元13层01室)</span>([单元号][分隔符],勾选“室号之前增加分隔符”)
样例6:1-12<span>(1层12室)</span>([层号][分隔符B])
</span>
</div>
</div>
......@@ -106,6 +109,7 @@
chqbl: false,
c: '',
fgfB: '',
hhqbl:false,
shhz: ''
},
cs: [
......@@ -128,8 +132,6 @@
methods: {
test: function () {
for (let key in this.plshData) {
console.log(key)
console.log(this.plshData[key])
if (key === 'chqbl') {
continue;
}
......@@ -153,6 +155,7 @@
selectDyh: false,
fgfA: '',
chqbl: false,
hhqbl:false,
c: '',
fgfB: '',
shhz: ''
......@@ -223,7 +226,9 @@
cursor: pointer;
}
}
th{
height: 36px;
}
td {
text-align: center;
height: 36px;
......