feat(plSh):修改boolean类型字段名,改正后端boolean映射错误
Showing
1 changed file
with
7 additions
and
8 deletions
... | @@ -25,13 +25,13 @@ | ... | @@ -25,13 +25,13 @@ |
25 | <input type="text" class="inputtitle" v-model="plshData.shqz"/> | 25 | <input type="text" class="inputtitle" v-model="plshData.shqz"/> |
26 | </td> | 26 | </td> |
27 | <td> | 27 | <td> |
28 | <el-checkbox v-model="plshData.isSelectDyh"></el-checkbox> | 28 | <el-checkbox v-model="plshData.selectDyh"></el-checkbox> |
29 | </td> | 29 | </td> |
30 | <td> | 30 | <td> |
31 | <input type="text" class="inputtitle" v-model="plshData.fgfA"/> | 31 | <input type="text" class="inputtitle" v-model="plshData.fgfA"/> |
32 | </td> | 32 | </td> |
33 | <td> | 33 | <td> |
34 | <el-checkbox v-model="plshData.isChqbl"></el-checkbox> | 34 | <el-checkbox v-model="plshData.chqbl"></el-checkbox> |
35 | </td> | 35 | </td> |
36 | <td> | 36 | <td> |
37 | <el-select v-model="plshData.c"> | 37 | <el-select v-model="plshData.c"> |
... | @@ -112,9 +112,9 @@ | ... | @@ -112,9 +112,9 @@ |
112 | xlVisible: false, | 112 | xlVisible: false, |
113 | plshData: { | 113 | plshData: { |
114 | shqz: '', | 114 | shqz: '', |
115 | isSelectDyh: false, | 115 | selectDyh: false, |
116 | fgfA: '', | 116 | fgfA: '', |
117 | isChqbl: false, | 117 | chqbl: false, |
118 | c: '', | 118 | c: '', |
119 | fgfB: '', | 119 | fgfB: '', |
120 | shhz: '' | 120 | shhz: '' |
... | @@ -147,9 +147,9 @@ | ... | @@ -147,9 +147,9 @@ |
147 | result: function () { | 147 | result: function () { |
148 | this.plshData = { | 148 | this.plshData = { |
149 | shqz: '', | 149 | shqz: '', |
150 | isSelectDyh: false, | 150 | selectDyh: false, |
151 | fgfA: '', | 151 | fgfA: '', |
152 | isChqbl: false, | 152 | chqbl: false, |
153 | c: '', | 153 | c: '', |
154 | fgfB: '', | 154 | fgfB: '', |
155 | shhz: '' | 155 | shhz: '' |
... | @@ -157,7 +157,6 @@ | ... | @@ -157,7 +157,6 @@ |
157 | }, | 157 | }, |
158 | save: function () { | 158 | save: function () { |
159 | this.plshData['bsms'] = this.bsms | 159 | this.plshData['bsms'] = this.bsms |
160 | console.log(this.plshData) | ||
161 | updateSh(this.plshData).then(res => { | 160 | updateSh(this.plshData).then(res => { |
162 | if (res.success) { | 161 | if (res.success) { |
163 | this.lodding(); | 162 | this.lodding(); |
... | @@ -178,7 +177,7 @@ | ... | @@ -178,7 +177,7 @@ |
178 | if (this.plshData.shqz != "") { | 177 | if (this.plshData.shqz != "") { |
179 | gz += this.plshData.shqz | 178 | gz += this.plshData.shqz |
180 | } | 179 | } |
181 | if (this.plshData.isSelectDyh) { | 180 | if (this.plshData.selectDyh) { |
182 | gz += "[单元号]" | 181 | gz += "[单元号]" |
183 | } | 182 | } |
184 | if (this.plshData.fgfA != "") { | 183 | if (this.plshData.fgfA != "") { | ... | ... |
-
Please register or sign in to post a comment