6f11ed03 by weimo934

feat():批量室号修改

1 parent aee7f853
...@@ -10,24 +10,25 @@ ...@@ -10,24 +10,25 @@
10 <div> 10 <div>
11 <table border="1"> 11 <table border="1">
12 <tr> 12 <tr>
13 <td>室号前缀</td> 13 <th>室号前缀</th>
14 <td>幢单元号</td> 14 <th>幢单元号</th>
15 <td>分割符A</td> 15 <th>分割符A</th>
16 <td>层号前自动补0</td> 16 <th>层号前自动补0</th>
17 <td></td> 17 <th>层号</th>
18 <td>分割符B</td> 18 <th>分割符B</th>
19 <td>户号</td> 19 <th>户号前自动补零</th>
20 <td>室号后缀</td> 20 <th>户号</th>
21 <th>室号后缀</th>
21 </tr> 22 </tr>
22 <tr> 23 <tr>
23 <td> 24 <td>
24 <input type="text" class="inputtitle" v-model="plshData.shqz"/> 25 <el-input v-model="plshData.shqz"></el-input>
25 </td> 26 </td>
26 <td> 27 <td>
27 <el-checkbox v-model="plshData.selectDyh"></el-checkbox> 28 <el-checkbox v-model="plshData.selectDyh"></el-checkbox>
28 </td> 29 </td>
29 <td> 30 <td>
30 <input type="text" class="inputtitle" v-model="plshData.fgfA"/> 31 <el-input v-model="plshData.fgfA"></el-input>
31 </td> 32 </td>
32 <td> 33 <td>
33 <el-checkbox v-model="plshData.chqbl"></el-checkbox> 34 <el-checkbox v-model="plshData.chqbl"></el-checkbox>
...@@ -43,13 +44,15 @@ ...@@ -43,13 +44,15 @@
43 </el-select> 44 </el-select>
44 </td> 45 </td>
45 <td> 46 <td>
46 <input type="text" class="inputtitle" v-model="plshData.fgfB"/> 47 <el-input v-model="plshData.fgfB"></el-input>
48 </td>
49 <td>
50 <el-checkbox v-model="plshData.hhqbl"></el-checkbox>
47 </td> 51 </td>
48 <td> 52 <td>
49
50 </td> 53 </td>
51 <td> 54 <td>
52 <input type="text" class="inputtitle" v-model="plshData.shhz"/> 55 <el-input v-model="plshData.shhz"></el-input>
53 </td> 56 </td>
54 </tr> 57 </tr>
55 </table> 58 </table>
...@@ -60,15 +63,15 @@ ...@@ -60,15 +63,15 @@
60 <span> 63 <span>
61 样例1:1011 <span>(1单元01层01室)</span>([单元号][层号],勾选“层号自动补0”) 64 样例1:1011 <span>(1单元01层01室)</span>([单元号][层号],勾选“层号自动补0”)
62 <br/> 65 <br/>
63 样例2:1131室<span>(1单元13层01室)</span>([单元号][层号][后缀]) 66 样例2:1131室<span>(1单元13层01室)</span>([单元号][层号][后缀],后缀填写'室')
64 <br/> 67 <br/>
65 样例3:11<span>(1层01室)</span>([层号]) 68 样例3:101<span>(1层01室)</span>([层号],勾选“户号自动补0”)
66 <br/> 69 <br/>
67 样例4:1-011<span>(1单元-01层01室)</span>([单元号][分隔符A][层号],勾选“层号之前增加分隔符”) 70 样例4:1-011<span>(1单元-01层01室)</span>([单元号][分隔符A][层号],勾选“层号自动补0”)
68 <br/> 71 <br/>
69 样例5:1-13-1<span>(1单元13层01室)</span>([单元号][分隔符A][层号][分隔符B]) 72 样例5:1-12-1<span>(1单元12层01室)</span>([单元号][分隔符A][层号][分隔符B])
70 <br/> 73 <br/>
71 样例6:1-1<span>(1单元13层01室)</span>([单元号][分隔符],勾选“室号之前增加分隔符”) 74 样例6:1-12<span>(1层12室)</span>([层号][分隔符B])
72 </span> 75 </span>
73 </div> 76 </div>
74 </div> 77 </div>
...@@ -106,6 +109,7 @@ ...@@ -106,6 +109,7 @@
106 chqbl: false, 109 chqbl: false,
107 c: '', 110 c: '',
108 fgfB: '', 111 fgfB: '',
112 hhqbl:false,
109 shhz: '' 113 shhz: ''
110 }, 114 },
111 cs: [ 115 cs: [
...@@ -128,8 +132,6 @@ ...@@ -128,8 +132,6 @@
128 methods: { 132 methods: {
129 test: function () { 133 test: function () {
130 for (let key in this.plshData) { 134 for (let key in this.plshData) {
131 console.log(key)
132 console.log(this.plshData[key])
133 if (key === 'chqbl') { 135 if (key === 'chqbl') {
134 continue; 136 continue;
135 } 137 }
...@@ -153,6 +155,7 @@ ...@@ -153,6 +155,7 @@
153 selectDyh: false, 155 selectDyh: false,
154 fgfA: '', 156 fgfA: '',
155 chqbl: false, 157 chqbl: false,
158 hhqbl:false,
156 c: '', 159 c: '',
157 fgfB: '', 160 fgfB: '',
158 shhz: '' 161 shhz: ''
...@@ -223,7 +226,9 @@ ...@@ -223,7 +226,9 @@
223 cursor: pointer; 226 cursor: pointer;
224 } 227 }
225 } 228 }
226 229 th{
230 height: 36px;
231 }
227 td { 232 td {
228 text-align: center; 233 text-align: center;
229 height: 36px; 234 height: 36px;
......