代码优化
Showing
2 changed files
with
3 additions
and
26 deletions
... | @@ -105,6 +105,7 @@ | ... | @@ -105,6 +105,7 @@ |
105 | :disabled="formData.qszt!='0'" | 105 | :disabled="formData.qszt!='0'" |
106 | v-model="childItem.tdsyqssj" | 106 | v-model="childItem.tdsyqssj" |
107 | type="date" | 107 | type="date" |
108 | |||
108 | value-format="yyyy-MM-dd" | 109 | value-format="yyyy-MM-dd" |
109 | placeholder="选择日期" | 110 | placeholder="选择日期" |
110 | > | 111 | > |
... | @@ -134,7 +135,6 @@ | ... | @@ -134,7 +135,6 @@ |
134 | type="text" | 135 | type="text" |
135 | style="top: -1px;" | 136 | style="top: -1px;" |
136 | :disabled="formData.qszt!='0'" | 137 | :disabled="formData.qszt!='0'" |
137 | |||
138 | v-model="childItem.pzytdm" | 138 | v-model="childItem.pzytdm" |
139 | class="formInput" | 139 | class="formInput" |
140 | /> | 140 | /> |
... | @@ -143,7 +143,6 @@ | ... | @@ -143,7 +143,6 @@ |
143 | <input | 143 | <input |
144 | type="text" | 144 | type="text" |
145 | :disabled="formData.qszt!='0'" | 145 | :disabled="formData.qszt!='0'" |
146 | |||
147 | v-model="childItem.sjytdm" | 146 | v-model="childItem.sjytdm" |
148 | class="formInput" | 147 | class="formInput" |
149 | /> | 148 | /> |
... | @@ -151,8 +150,8 @@ | ... | @@ -151,8 +150,8 @@ |
151 | <li> | 150 | <li> |
152 | <input | 151 | <input |
153 | type="text" | 152 | type="text" |
154 | :disabled="formData.qszt!='0'" | ||
155 | 153 | ||
154 | :disabled="formData.qszt!='0'" | ||
156 | v-model="childItem.syqx" | 155 | v-model="childItem.syqx" |
157 | class="formInput" | 156 | class="formInput" |
158 | /> | 157 | /> |
... | @@ -212,6 +211,7 @@ | ... | @@ -212,6 +211,7 @@ |
212 | :disabled="formData.qszt!='0'" | 211 | :disabled="formData.qszt!='0'" |
213 | v-model="childItem.tdsyjssj" | 212 | v-model="childItem.tdsyjssj" |
214 | type="date" | 213 | type="date" |
214 | |||
215 | value-format="yyyy-MM-dd" | 215 | value-format="yyyy-MM-dd" |
216 | placeholder="选择日期" | 216 | placeholder="选择日期" |
217 | > | 217 | > | ... | ... |
... | @@ -20,7 +20,6 @@ import jzx from "./jzx"; | ... | @@ -20,7 +20,6 @@ import jzx from "./jzx"; |
20 | import djb from "./djb"; | 20 | import djb from "./djb"; |
21 | import lshs from "./lshs"; | 21 | import lshs from "./lshs"; |
22 | import fjcl from "./fjcl/fjcl" | 22 | import fjcl from "./fjcl/fjcl" |
23 | import {queryjzd,queryjzx} from "@/api/zd" | ||
24 | export default { | 23 | export default { |
25 | name: "", | 24 | name: "", |
26 | components: { | 25 | components: { |
... | @@ -30,34 +29,12 @@ export default { | ... | @@ -30,34 +29,12 @@ export default { |
30 | data() { | 29 | data() { |
31 | return { | 30 | return { |
32 | activeName: "djdcb", | 31 | activeName: "djdcb", |
33 | jzd:[], | ||
34 | jzx:[] | ||
35 | }; | 32 | }; |
36 | }, | 33 | }, |
37 | methods: { | 34 | methods: { |
38 | handleClick(tab, event) { | 35 | handleClick(tab, event) { |
39 | // console.log(tab, event); | 36 | // console.log(tab, event); |
40 | }, | 37 | }, |
41 | //查询界址点 | ||
42 | getJZD(){ | ||
43 | var bsm = this.$store.state.zdbsm; | ||
44 | this.jzx = []; | ||
45 | queryjzd({glBsm:bsm}).then(res => { | ||
46 | if(res.code == 200){ | ||
47 | this.jzd = res.data.data; | ||
48 | } | ||
49 | }) | ||
50 | }, | ||
51 | //查询界址线 | ||
52 | getJZX(){ | ||
53 | var bsm = this.$store.state.zdbsm; | ||
54 | this.jzx = []; | ||
55 | queryjzx({glBsm:bsm}).then(res => { | ||
56 | if(res.code = 200){ | ||
57 | this.jzx = res.data.data; | ||
58 | } | ||
59 | }); | ||
60 | } | ||
61 | }, | 38 | }, |
62 | created() {}, | 39 | created() {}, |
63 | mounted() {}, | 40 | mounted() {}, | ... | ... |
-
Please register or sign in to post a comment