style:楼盘表添加单元
Showing
2 changed files
with
69 additions
and
70 deletions
... | @@ -4,12 +4,12 @@ | ... | @@ -4,12 +4,12 @@ |
4 | <!-- 纵向倒序排列 逻辑幢位于独立幢单元和独立层户的上方 --> | 4 | <!-- 纵向倒序排列 逻辑幢位于独立幢单元和独立层户的上方 --> |
5 | <div class="ch-zdy-wrap"> | 5 | <div class="ch-zdy-wrap"> |
6 | <!-- 幢单元 --> | 6 | <!-- 幢单元 --> |
7 | <zdy-cpn v-if="lpbData.zdys.length" :zdys="lpbData.zdys" :onlyShow="onlyShow"/> | 7 | <zdy-cpn v-if="lpbData.zdys.length" :zdys="lpbData.zdys" :onlyShow="onlyShow" /> |
8 | <!-- 独立层户 --> | 8 | <!-- 独立层户 --> |
9 | <ch-cpn v-if="lpbData.cs.length" :ch="lpbData.cs" :onlyShow="onlyShow"/> | 9 | <ch-cpn v-if="lpbData.cs.length" :ch="lpbData.cs" :onlyShow="onlyShow" /> |
10 | </div> | 10 | </div> |
11 | <!-- 逻辑幢 --> | 11 | <!-- 逻辑幢 --> |
12 | <ljzs-cpn v-if="lpbData.ljzs.length" :ljzs="lpbData.ljzs" :onlyShow="onlyShow"/> | 12 | <ljzs-cpn v-if="lpbData.ljzs.length" :ljzs="lpbData.ljzs" :onlyShow="onlyShow" /> |
13 | </div> | 13 | </div> |
14 | <!-- 自然幢名称 --> | 14 | <!-- 自然幢名称 --> |
15 | <p class="lpb-xmmc" v-if="onlyShow" style="border-bottom: 1px solid #e6e6e6">{{ lpbData.xmmc }}</p> | 15 | <p class="lpb-xmmc" v-if="onlyShow" style="border-bottom: 1px solid #e6e6e6">{{ lpbData.xmmc }}</p> |
... | @@ -24,31 +24,30 @@ | ... | @@ -24,31 +24,30 @@ |
24 | <ul | 24 | <ul |
25 | v-show="lpbChVisible" | 25 | v-show="lpbChVisible" |
26 | :style="{ left: lpbChLeft + 'px', top: lpbChTop + 'px' }" | 26 | :style="{ left: lpbChLeft + 'px', top: lpbChTop + 'px' }" |
27 | class="contextmenu" | 27 | class="contextmenu"> |
28 | > | ||
29 | <li @click="menuClick">菜单一</li> | 28 | <li @click="menuClick">菜单一</li> |
30 | <li @click="menuClick">菜单二</li> | 29 | <li @click="menuClick">菜单二</li> |
31 | </ul> | 30 | </ul> |
32 | </div> | 31 | </div> |
33 | </template> | 32 | </template> |
34 | <script> | 33 | <script> |
35 | import { getLpb } from "@/api/lpcx.js"; | 34 | import chCpn from "./ch.vue"; |
36 | import chCpn from "./ch.vue"; | 35 | import zdyCpn from "./zdys.vue"; |
37 | import zdyCpn from "./zdys.vue"; | 36 | import ljzsCpn from "./ljzs.vue"; |
38 | import ljzsCpn from "./ljzs.vue"; | 37 | import { getLpb } from "@/api/lpcx.js"; |
39 | import { startBusinessFlow, choiceBdcdy,againAddSldy } from "@/api/workFlow.js"; | 38 | import { startBusinessFlow, choiceBdcdy, againAddSldy } from "@/api/workFlow.js"; |
40 | import jump from "../../ywbl/ywsq/components/mixin/jump"; | 39 | import jump from "../../ywbl/ywsq/components/mixin/jump"; |
41 | import store from '@/store/index.js' | 40 | import store from "@/store/index.js"; |
42 | import { ywPopupCacel } from "@/utils/popup.js"; | 41 | import { ywPopupCacel } from "@/utils/popup.js"; |
43 | export default { | 42 | export default { |
44 | mixins: [jump], | 43 | mixins: [jump], |
45 | provide() { | 44 | provide () { |
46 | return { | 45 | return { |
47 | openMenu: this.openMenu, | 46 | openMenu: this.openMenu, |
48 | selectAll: this.selectAllObj, | 47 | selectAll: this.selectAllObj, |
49 | changeChoosedObj:this.changeChoosedObj, | 48 | changeChoosedObj: this.changeChoosedObj, |
50 | clearChangeChoosedObj:this.clearChangeChoosedObj, | 49 | clearChangeChoosedObj: this.clearChangeChoosedObj, |
51 | getBsmList:this.getBsmList | 50 | getBsmList: this.getBsmList |
52 | }; | 51 | }; |
53 | }, | 52 | }, |
54 | name: "", | 53 | name: "", |
... | @@ -66,11 +65,11 @@ export default { | ... | @@ -66,11 +65,11 @@ export default { |
66 | type: Boolean, | 65 | type: Boolean, |
67 | default: true, | 66 | default: true, |
68 | }, | 67 | }, |
69 | onlyShow:{ | 68 | onlyShow: { |
70 | type: Boolean, | 69 | type: Boolean, |
71 | default: true, | 70 | default: true, |
72 | }, | 71 | }, |
73 | showSave:{ | 72 | showSave: { |
74 | type: Boolean, | 73 | type: Boolean, |
75 | default: false, | 74 | default: false, |
76 | }, | 75 | }, |
... | @@ -84,7 +83,7 @@ export default { | ... | @@ -84,7 +83,7 @@ export default { |
84 | }, | 83 | }, |
85 | isJump: { type: Boolean, default: false }, | 84 | isJump: { type: Boolean, default: false }, |
86 | }, | 85 | }, |
87 | data() { | 86 | data () { |
88 | return { | 87 | return { |
89 | lpbData: { | 88 | lpbData: { |
90 | ljzs: [], | 89 | ljzs: [], |
... | @@ -101,17 +100,17 @@ export default { | ... | @@ -101,17 +100,17 @@ export default { |
101 | lpbChLeft: 100, | 100 | lpbChLeft: 100, |
102 | lpbChTop: 100, | 101 | lpbChTop: 100, |
103 | // 改变户选中状态 | 102 | // 改变户选中状态 |
104 | changeChoosedObj:{ | 103 | changeChoosedObj: { |
105 | bsms:[], | 104 | bsms: [], |
106 | color:'' | 105 | color: '' |
107 | }, | 106 | }, |
108 | // 选中户bsm合集 | 107 | // 选中户bsm合集 |
109 | bsmList:[], | 108 | bsmList: [], |
110 | loading: false, | 109 | loading: false, |
111 | }; | 110 | }; |
112 | }, | 111 | }, |
113 | mounted() { | 112 | mounted () { |
114 | this.scyclx ? this.getLpb(this.zrzbsm,this.scyclx):this.getLpb(this.zrzbsm); | 113 | this.scyclx ? this.getLpb(this.zrzbsm, this.scyclx) : this.getLpb(this.zrzbsm); |
115 | window.lpbContent = this; | 114 | window.lpbContent = this; |
116 | }, | 115 | }, |
117 | methods: { | 116 | methods: { |
... | @@ -120,7 +119,7 @@ export default { | ... | @@ -120,7 +119,7 @@ export default { |
120 | * @param {Array} bsmList | 119 | * @param {Array} bsmList |
121 | * @author: renchao | 120 | * @author: renchao |
122 | */ | 121 | */ |
123 | getBsmList(bsmList,compFlag){ | 122 | getBsmList (bsmList, compFlag) { |
124 | // 根据本次传入的组件标识删除之前对应组件标识存入hbsmList的数据 | 123 | // 根据本次传入的组件标识删除之前对应组件标识存入hbsmList的数据 |
125 | this.bsmList = this.bsmList.filter((i) => i.flag != compFlag) | 124 | this.bsmList = this.bsmList.filter((i) => i.flag != compFlag) |
126 | // 合并本次数据 | 125 | // 合并本次数据 |
... | @@ -131,12 +130,13 @@ export default { | ... | @@ -131,12 +130,13 @@ export default { |
131 | * @description: 保存当前楼盘表 | 130 | * @description: 保存当前楼盘表 |
132 | * @author: renchao | 131 | * @author: renchao |
133 | */ | 132 | */ |
134 | saveLpb(){ | 133 | saveLpb () { |
135 | if (this.bsmList.length == 0) { | 134 | if (this.bsmList.length == 0) { |
136 | this.$message.error("请至少选择一条数据"); | 135 | this.$message.error("请至少选择一条数据"); |
137 | return; | 136 | return; |
138 | } | 137 | } |
139 | this.loading = true; | 138 | this.loading = true; |
139 | store.dispatch('user/reMenuRefresh', false) | ||
140 | againAddSldy({ | 140 | againAddSldy({ |
141 | bsmSqyw: this.sqywInfo.bsmSqyw, | 141 | bsmSqyw: this.sqywInfo.bsmSqyw, |
142 | bsmSlsq: this.sqywInfo.bsmSlsq, | 142 | bsmSlsq: this.sqywInfo.bsmSlsq, |
... | @@ -150,18 +150,16 @@ export default { | ... | @@ -150,18 +150,16 @@ export default { |
150 | message: '添加成功', | 150 | message: '添加成功', |
151 | type: 'success' | 151 | type: 'success' |
152 | }) | 152 | }) |
153 | store.dispatch('user/reMenuRefresh', true) | ||
153 | if (!this.isJump) { | 154 | if (!this.isJump) { |
154 | this.jump(res.result, this.sqywInfo.djywbm) | 155 | this.jump(res.result, this.sqywInfo.djywbm) |
155 | } else { | ||
156 | store.dispatch('user/refreshPage', true); | ||
157 | } | 156 | } |
158 | //this.close(); | ||
159 | this.$popupCacel(); | 157 | this.$popupCacel(); |
160 | } else { | 158 | } else { |
161 | if (res.result && res.result.length > 0) { | 159 | if (res.result && res.result.length > 0) { |
162 | this.$popup("申请错误明细", "components/ywdialog", { width:'36%', formData:{result: res.result} }) | 160 | this.$popup("申请错误明细", "components/ywdialog", { width: '36%', formData: { result: res.result } }) |
163 | } else { | 161 | } else { |
164 | this.$popup("申请错误明细", "components/ywdialog", { width:'36%', formData:{message: res.message} }) | 162 | this.$popup("申请错误明细", "components/ywdialog", { width: '36%', formData: { message: res.message } }) |
165 | } | 163 | } |
166 | } | 164 | } |
167 | }).catch(() => { | 165 | }).catch(() => { |
... | @@ -179,7 +177,7 @@ export default { | ... | @@ -179,7 +177,7 @@ export default { |
179 | * @param {*} color | 177 | * @param {*} color |
180 | * @author: renchao | 178 | * @author: renchao |
181 | */ | 179 | */ |
182 | changeChoosed(bsms, color){ | 180 | changeChoosed (bsms, color) { |
183 | this.changeChoosedObj.bsms = bsms; | 181 | this.changeChoosedObj.bsms = bsms; |
184 | this.changeChoosedObj.color = color; | 182 | this.changeChoosedObj.color = color; |
185 | }, | 183 | }, |
... | @@ -187,7 +185,7 @@ export default { | ... | @@ -187,7 +185,7 @@ export default { |
187 | * @description: clearChangeChoosedObj | 185 | * @description: clearChangeChoosedObj |
188 | * @author: renchao | 186 | * @author: renchao |
189 | */ | 187 | */ |
190 | clearChangeChoosedObj(){ | 188 | clearChangeChoosedObj () { |
191 | this.changeChoosedObj.bsms = []; | 189 | this.changeChoosedObj.bsms = []; |
192 | }, | 190 | }, |
193 | //全选户 | 191 | //全选户 |
... | @@ -196,7 +194,7 @@ export default { | ... | @@ -196,7 +194,7 @@ export default { |
196 | * @param {*} val | 194 | * @param {*} val |
197 | * @author: renchao | 195 | * @author: renchao |
198 | */ | 196 | */ |
199 | zdySelectAll(val) { | 197 | zdySelectAll (val) { |
200 | this.selectAllObj.selectAll = val; | 198 | this.selectAllObj.selectAll = val; |
201 | }, | 199 | }, |
202 | //获取楼盘表数据 | 200 | //获取楼盘表数据 |
... | @@ -207,15 +205,15 @@ export default { | ... | @@ -207,15 +205,15 @@ export default { |
207 | * @param {*} actual | 205 | * @param {*} actual |
208 | * @author: renchao | 206 | * @author: renchao |
209 | */ | 207 | */ |
210 | getLpb(zrzbsm, scyclx, actual) { | 208 | getLpb (zrzbsm, scyclx, actual) { |
211 | getLpb(zrzbsm, scyclx).then((res) => { | 209 | getLpb(zrzbsm, scyclx).then((res) => { |
212 | if (res.code == 200) { | 210 | if (res.code == 200) { |
213 | if(scyclx){ | 211 | if (scyclx) { |
214 | if(res.result.syclx == "1") { | 212 | if (res.result.syclx == "1") { |
215 | res.result.lpb.ljzs = res.result.lpb.ljzs.sort(this.compare("place")); | 213 | res.result.lpb.ljzs = res.result.lpb.ljzs.sort(this.compare("place")); |
216 | this.lpbData = res.result.lpb == null ? this.lpbData : res.result.lpb; | 214 | this.lpbData = res.result.lpb == null ? this.lpbData : res.result.lpb; |
217 | } | 215 | } |
218 | }else{ | 216 | } else { |
219 | res.result.lpb.ljzs = res.result.lpb.ljzs.sort(this.compare("place")); | 217 | res.result.lpb.ljzs = res.result.lpb.ljzs.sort(this.compare("place")); |
220 | this.lpbData = res.result.lpb == null ? this.lpbData : res.result.lpb; | 218 | this.lpbData = res.result.lpb == null ? this.lpbData : res.result.lpb; |
221 | } | 219 | } |
... | @@ -235,7 +233,7 @@ export default { | ... | @@ -235,7 +233,7 @@ export default { |
235 | * @param {*} type | 233 | * @param {*} type |
236 | * @author: renchao | 234 | * @author: renchao |
237 | */ | 235 | */ |
238 | openMenu(e, item, type) { | 236 | openMenu (e, item, type) { |
239 | this.lpbChLeft = e.pageX - 96; | 237 | this.lpbChLeft = e.pageX - 96; |
240 | this.lpbChTop = e.pageY - 23; | 238 | this.lpbChTop = e.pageY - 23; |
241 | // this.lpbChVisible = true; | 239 | // this.lpbChVisible = true; |
... | @@ -245,7 +243,7 @@ export default { | ... | @@ -245,7 +243,7 @@ export default { |
245 | * @description: 关闭户右键菜单 | 243 | * @description: 关闭户右键菜单 |
246 | * @author: renchao | 244 | * @author: renchao |
247 | */ | 245 | */ |
248 | closeMenu() { | 246 | closeMenu () { |
249 | this.lpbChVisible = false; | 247 | this.lpbChVisible = false; |
250 | }, | 248 | }, |
251 | //右键菜单点击 | 249 | //右键菜单点击 |
... | @@ -253,7 +251,7 @@ export default { | ... | @@ -253,7 +251,7 @@ export default { |
253 | * @description: 右键菜单点击 | 251 | * @description: 右键菜单点击 |
254 | * @author: renchao | 252 | * @author: renchao |
255 | */ | 253 | */ |
256 | menuClick() { | 254 | menuClick () { |
257 | this.closeMenu(); | 255 | this.closeMenu(); |
258 | }, | 256 | }, |
259 | /** | 257 | /** |
... | @@ -261,7 +259,7 @@ export default { | ... | @@ -261,7 +259,7 @@ export default { |
261 | * @param {*} property | 259 | * @param {*} property |
262 | * @author: renchao | 260 | * @author: renchao |
263 | */ | 261 | */ |
264 | compare(property) { | 262 | compare (property) { |
265 | return function (a, b) { | 263 | return function (a, b) { |
266 | var value1 = a[property]; | 264 | var value1 = a[property]; |
267 | var value2 = b[property]; | 265 | var value2 = b[property]; |
... | @@ -297,9 +295,9 @@ export default { | ... | @@ -297,9 +295,9 @@ export default { |
297 | this.close() | 295 | this.close() |
298 | } else { | 296 | } else { |
299 | if (res.result && res.result.length > 0) { | 297 | if (res.result && res.result.length > 0) { |
300 | this.$popup("申请错误明细", "components/ywdialog", { width:'36%', formData:{result: res.result} }) | 298 | this.$popup("申请错误明细", "components/ywdialog", { width: '36%', formData: { result: res.result } }) |
301 | } else { | 299 | } else { |
302 | this.$popup("申请错误明细", "components/ywdialog", { width:'36%', formData:{message: res.message} }) | 300 | this.$popup("申请错误明细", "components/ywdialog", { width: '36%', formData: { message: res.message } }) |
303 | } | 301 | } |
304 | } | 302 | } |
305 | }).catch(() => { | 303 | }).catch(() => { |
... | @@ -311,19 +309,19 @@ export default { | ... | @@ -311,19 +309,19 @@ export default { |
311 | * @param {*} val | 309 | * @param {*} val |
312 | * @author: renchao | 310 | * @author: renchao |
313 | */ | 311 | */ |
314 | close(){ | 312 | close () { |
315 | ywPopupCacel() | 313 | ywPopupCacel() |
316 | }, | 314 | }, |
317 | }, | 315 | }, |
318 | computed:{ | 316 | computed: { |
319 | lpbContentHeight(){ | 317 | lpbContentHeight () { |
320 | return this.onlyShow ? 32 : 76 | 318 | return this.onlyShow ? 32 : 76 |
321 | // return 76 | 319 | // return 76 |
322 | } | 320 | } |
323 | }, | 321 | }, |
324 | watch: { | 322 | watch: { |
325 | //户右键菜单显示时,监听到鼠标点击时关闭户右键菜单 | 323 | //户右键菜单显示时,监听到鼠标点击时关闭户右键菜单 |
326 | lpbChVisible(value) { | 324 | lpbChVisible (value) { |
327 | if (value) { | 325 | if (value) { |
328 | document.body.addEventListener("click", this.closeMenu); | 326 | document.body.addEventListener("click", this.closeMenu); |
329 | } else { | 327 | } else { |
... | @@ -331,10 +329,10 @@ export default { | ... | @@ -331,10 +329,10 @@ export default { |
331 | } | 329 | } |
332 | } | 330 | } |
333 | }, | 331 | }, |
334 | }; | 332 | }; |
335 | </script> | 333 | </script> |
336 | <style scoped lang="scss"> | 334 | <style scoped lang="scss"> |
337 | .lpbContent-wrap { | 335 | .lpbContent-wrap { |
338 | width: 100%; | 336 | width: 100%; |
339 | height: 100%; | 337 | height: 100%; |
340 | overflow: hidden; | 338 | overflow: hidden; |
... | @@ -359,7 +357,7 @@ export default { | ... | @@ -359,7 +357,7 @@ export default { |
359 | border: 0; | 357 | border: 0; |
360 | border-top: 1px solid #e6e6e6; | 358 | border-top: 1px solid #e6e6e6; |
361 | } | 359 | } |
362 | .save-btn{ | 360 | .save-btn { |
363 | display: block; | 361 | display: block; |
364 | margin: 5px auto; | 362 | margin: 5px auto; |
365 | } | 363 | } |
... | @@ -406,5 +404,5 @@ export default { | ... | @@ -406,5 +404,5 @@ export default { |
406 | background: #ffffff; | 404 | background: #ffffff; |
407 | } | 405 | } |
408 | } | 406 | } |
409 | } | 407 | } |
410 | </style> | 408 | </style> | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2024-02-23 16:27:17 | 4 | * @LastEditTime: 2024-03-07 09:13:26 |
5 | */ | 5 | */ |
6 | import Vue from 'vue' | 6 | import Vue from 'vue' |
7 | import { getPrintTemplateByCode, getPrintAcceptance,getPrintReceiveSupplementalMaterials,getPrintRejectForms,getPrintSendBackMaterials,getPrintRiviseForms} from "@/api/print"; | 7 | import { getPrintTemplateByCode, getPrintAcceptance, getPrintReceiveSupplementalMaterials, getPrintRejectForms, getPrintSendBackMaterials, getPrintRiviseForms } from "@/api/print"; |
8 | import { uploadUndo } from "@/api/clxx"; | 8 | import { uploadUndo } from "@/api/clxx"; |
9 | import { getLodop } from "@/utils/LodopFuncs"; | 9 | import { getLodop } from "@/utils/LodopFuncs"; |
10 | import { getNewDate } from '@/utils/util' | 10 | import { getNewDate } from '@/utils/util' |
... | @@ -151,7 +151,8 @@ export default { | ... | @@ -151,7 +151,8 @@ export default { |
151 | unitData: window.unitData, | 151 | unitData: window.unitData, |
152 | bsmSlsq: this.bsmSlsq, | 152 | bsmSlsq: this.bsmSlsq, |
153 | showSave: true, | 153 | showSave: true, |
154 | djlx: window.djlx | 154 | djlx: window.djlx, |
155 | isworkFrame: true | ||
155 | }, '85%', true, false) | 156 | }, '85%', true, false) |
156 | } else { | 157 | } else { |
157 | this.$message.error(res.message) | 158 | this.$message.error(res.message) |
... | @@ -259,8 +260,8 @@ export default { | ... | @@ -259,8 +260,8 @@ export default { |
259 | }) | 260 | }) |
260 | } | 261 | } |
261 | infoRes.result.nownian = this.newDate.split(' ')[0].split('年')[0] | 262 | infoRes.result.nownian = this.newDate.split(' ')[0].split('年')[0] |
262 | infoRes.result.nowyue = this.newDate.slice(5,7) | 263 | infoRes.result.nowyue = this.newDate.slice(5, 7) |
263 | infoRes.result.nowri = this.newDate.slice(8,10) | 264 | infoRes.result.nowri = this.newDate.slice(8, 10) |
264 | let date = infoRes.result.sqrq | 265 | let date = infoRes.result.sqrq |
265 | infoRes.result.sqnian = date.split(' ')[0].split('-')[0] | 266 | infoRes.result.sqnian = date.split(' ')[0].split('-')[0] |
266 | infoRes.result.sqyue = date.split(' ')[0].split('-')[1] | 267 | infoRes.result.sqyue = date.split(' ')[0].split('-')[1] |
... | @@ -288,7 +289,7 @@ export default { | ... | @@ -288,7 +289,7 @@ export default { |
288 | // 补充材料通知书 | 289 | // 补充材料通知书 |
289 | case "bccltzs": | 290 | case "bccltzs": |
290 | this.$popupDialog("补充材料通知书", "workflow/top/bccltzs/index", | 291 | this.$popupDialog("补充材料通知书", "workflow/top/bccltzs/index", |
291 | { bsmSlsq: this.$route.query.bsmSlsq, bsmSldy: this.currentSelectProps.bsmSldy,type:"bccltzs" }, | 292 | { bsmSlsq: this.$route.query.bsmSlsq, bsmSldy: this.currentSelectProps.bsmSldy, type: "bccltzs" }, |
292 | '70%', true) | 293 | '70%', true) |
293 | break; | 294 | break; |
294 | // 补充材料接收凭证 | 295 | // 补充材料接收凭证 |
... | @@ -302,12 +303,12 @@ export default { | ... | @@ -302,12 +303,12 @@ export default { |
302 | let key = index + 1 | 303 | let key = index + 1 |
303 | this.$set(infoRes.result, "file" + key, it.sjmc) | 304 | this.$set(infoRes.result, "file" + key, it.sjmc) |
304 | this.$set(infoRes.result, "file" + key + 'ys', it.ys) | 305 | this.$set(infoRes.result, "file" + key + 'ys', it.ys) |
305 | this.$set(infoRes.result, "file" + key + 'lx', it.sjlx==1?"原件":"复印件") | 306 | this.$set(infoRes.result, "file" + key + 'lx', it.sjlx == 1 ? "原件" : "复印件") |
306 | }) | 307 | }) |
307 | } | 308 | } |
308 | infoRes.result.nownian = this.newDate.split(' ')[0].split('年')[0] | 309 | infoRes.result.nownian = this.newDate.split(' ')[0].split('年')[0] |
309 | infoRes.result.nowyue = this.newDate.slice(5,7) | 310 | infoRes.result.nowyue = this.newDate.slice(5, 7) |
310 | infoRes.result.nowri = this.newDate.slice(8,10) | 311 | infoRes.result.nowri = this.newDate.slice(8, 10) |
311 | let date = infoRes.result.sqrq | 312 | let date = infoRes.result.sqrq |
312 | infoRes.result.sqnian = date.split(' ')[0].split('-')[0] | 313 | infoRes.result.sqnian = date.split(' ')[0].split('-')[0] |
313 | infoRes.result.sqyue = date.split(' ')[0].split('-')[1] | 314 | infoRes.result.sqyue = date.split(' ')[0].split('-')[1] |
... | @@ -347,8 +348,8 @@ export default { | ... | @@ -347,8 +348,8 @@ export default { |
347 | }) | 348 | }) |
348 | } | 349 | } |
349 | infoRes.result.nownian = this.newDate.split(' ')[0].split('年')[0] | 350 | infoRes.result.nownian = this.newDate.split(' ')[0].split('年')[0] |
350 | infoRes.result.nowyue = this.newDate.slice(5,7) | 351 | infoRes.result.nowyue = this.newDate.slice(5, 7) |
351 | infoRes.result.nowri = this.newDate.slice(8,10) | 352 | infoRes.result.nowri = this.newDate.slice(8, 10) |
352 | let date = infoRes.result.sqrq | 353 | let date = infoRes.result.sqrq |
353 | infoRes.result.sqnian = date.split(' ')[0].split('-')[0] | 354 | infoRes.result.sqnian = date.split(' ')[0].split('-')[0] |
354 | infoRes.result.sqyue = date.split(' ')[0].split('-')[1] | 355 | infoRes.result.sqyue = date.split(' ')[0].split('-')[1] |
... | @@ -387,8 +388,8 @@ export default { | ... | @@ -387,8 +388,8 @@ export default { |
387 | }) | 388 | }) |
388 | } | 389 | } |
389 | infoRes.result.nownian = this.newDate.split(' ')[0].split('年')[0] | 390 | infoRes.result.nownian = this.newDate.split(' ')[0].split('年')[0] |
390 | infoRes.result.nowyue = this.newDate.slice(5,7) | 391 | infoRes.result.nowyue = this.newDate.slice(5, 7) |
391 | infoRes.result.nowri = this.newDate.slice(8,10) | 392 | infoRes.result.nowri = this.newDate.slice(8, 10) |
392 | let date = infoRes.result.sqrq | 393 | let date = infoRes.result.sqrq |
393 | infoRes.result.sqnian = date.split(' ')[0].split('-')[0] | 394 | infoRes.result.sqnian = date.split(' ')[0].split('-')[0] |
394 | infoRes.result.sqyue = date.split(' ')[0].split('-')[1] | 395 | infoRes.result.sqyue = date.split(' ')[0].split('-')[1] |
... | @@ -428,8 +429,8 @@ export default { | ... | @@ -428,8 +429,8 @@ export default { |
428 | }) | 429 | }) |
429 | } | 430 | } |
430 | infoRes.result.nownian = this.newDate.split(' ')[0].split('年')[0] | 431 | infoRes.result.nownian = this.newDate.split(' ')[0].split('年')[0] |
431 | infoRes.result.nowyue = this.newDate.slice(5,7) | 432 | infoRes.result.nowyue = this.newDate.slice(5, 7) |
432 | infoRes.result.nowri = this.newDate.slice(8,10) | 433 | infoRes.result.nowri = this.newDate.slice(8, 10) |
433 | let date = infoRes.result.sqrq | 434 | let date = infoRes.result.sqrq |
434 | infoRes.result.sqnian = date.split(' ')[0].split('-')[0] | 435 | infoRes.result.sqnian = date.split(' ')[0].split('-')[0] |
435 | infoRes.result.sqyue = date.split(' ')[0].split('-')[1] | 436 | infoRes.result.sqyue = date.split(' ')[0].split('-')[1] | ... | ... |
-
Please register or sign in to post a comment