土地承包经营权、农用地其他使用权调查表
Showing
6 changed files
with
642 additions
and
31 deletions
1 | VUE_APP_api = 'https://192.168.2.111:8006' | 1 | VUE_APP_api = 'https://192.168.2.111:8006' |
2 | VUE_APP_api1 = 'https://127.0.0.1:8006' | 2 | VUE_APP_api1 = 'https://127.0.0.1:8006' |
3 | VUE_APP_api2 = 'https://192.168.2.9:8006' | ||
4 | VUE_APP_api3 = 'https://192.168.2.11:8006' | ||
5 | VUE_APP_api4 = 'http://192.168.2.111:18080' | 3 | VUE_APP_api4 = 'http://192.168.2.111:18080' |
4 | VUE_APP_api5 = 'https://192.168.2.142:8006' | ||
6 | VUE_APP_name = '开发环境' | 5 | VUE_APP_name = '开发环境' |
7 | NODE_ENV="development" | 6 | NODE_ENV="development" |
8 | VUE_APP_VERSION = 'psh' | 7 | VUE_APP_VERSION = 'psh' | ... | ... |
src/api/tdcb.js
0 → 100644
1 | import request from '@/plugin/axios' | ||
2 | |||
3 | /** | ||
4 | * 查询土地承包经营权、农用地其他使用权调查表基本信息 | ||
5 | */ | ||
6 | export function getQjTdcbjyqNydqtsyqdcDetailByZdbsm(data) { | ||
7 | return request({ | ||
8 | url: '/zd/qjTdcbjyqNydqtsyqdc/getQjTdcbjyqNydqtsyqdcDetailByZdbsm', | ||
9 | method: 'get', | ||
10 | params: { | ||
11 | zdbsm: data, | ||
12 | } | ||
13 | }) | ||
14 | } | ||
15 | |||
16 | /** | ||
17 | * 保存权籍_土地承包经营权、农用地其他使用权调查基本信息 | ||
18 | */ | ||
19 | export function saveOrUpdateQjTdcbjyqNydqtsyqdc(data) { | ||
20 | return request({ | ||
21 | url: '/zd/qjTdcbjyqNydqtsyqdc/saveOrUpdateQjTdcbjyqNydqtsyqdc', | ||
22 | method: 'post', | ||
23 | data: data, | ||
24 | }) | ||
25 | } |
... | @@ -55,6 +55,9 @@ const store = new Vuex.Store({ | ... | @@ -55,6 +55,9 @@ const store = new Vuex.Store({ |
55 | newZdbsm:'', | 55 | newZdbsm:'', |
56 | isWorkFlow:false, // 判断是否工作流数据 | 56 | isWorkFlow:false, // 判断是否工作流数据 |
57 | lcgzShow:false,//是否待办箱的数据,显示流程追踪 | 57 | lcgzShow:false,//是否待办箱的数据,显示流程追踪 |
58 | familyList:[], //家庭关系分类 | ||
59 | syttlx:[],//水域滩涂类型 | ||
60 | yzyfs:[] //养殖业方式 | ||
58 | }, | 61 | }, |
59 | modules: { | 62 | modules: { |
60 | user, | 63 | user, | ... | ... |
... | @@ -321,6 +321,10 @@ export default { | ... | @@ -321,6 +321,10 @@ export default { |
321 | s.cqlyOptions = s.cqlyOptions.length == 0 ?await this.getDicData("产权来源") : s.cqlyOptions; | 321 | s.cqlyOptions = s.cqlyOptions.length == 0 ?await this.getDicData("产权来源") : s.cqlyOptions; |
322 | s.jgOptions = s.jgOptions.length == 0 ?await this.getDicData("房屋结构") : s.jgOptions; | 322 | s.jgOptions = s.jgOptions.length == 0 ?await this.getDicData("房屋结构") : s.jgOptions; |
323 | s.gmjjhyflbsmList = s.gmjjhyflbsmList.length == 0 ?await this.getDicData("国民经济行业分类代码") : s.gmjjhyflbsmList; | 323 | s.gmjjhyflbsmList = s.gmjjhyflbsmList.length == 0 ?await this.getDicData("国民经济行业分类代码") : s.gmjjhyflbsmList; |
324 | s.familyList = s.familyList.length == 0 ?await this.getDicData("家庭成员") : s.familyList; | ||
325 | s.syttlx = s.syttlx.length == 0 ?await this.getDicData("水域滩涂类型") : s.syttlx; | ||
326 | s.yzyfs = s.yzyfs.length == 0 ?await this.getDicData("养殖业方式") : s.yzyfs; | ||
327 | |||
324 | }, | 328 | }, |
325 | async getDicData(name) { | 329 | async getDicData(name) { |
326 | return await getDdicByMC(name).then((res)=> { | 330 | return await getDdicByMC(name).then((res)=> { | ... | ... |
1 | <template> | 1 | <template> |
2 | <div class="main"> | 2 | <div class="main"> |
3 | 土地承包经营权、农用地其他使用权调查表 | 3 | <table cellspacing="0" cellpadding="0" border="1"> |
4 | <thead> | ||
5 | <tr rowspan="2"> | ||
6 | <td colspan="8"> | ||
7 | <!-- <div class="tit">土地承包经营权、农用地其他使用权调查表</div> --> | ||
8 | <div class="dw"> | ||
9 | 单位 : | ||
10 | <el-radio-group v-model="formData.mjdw"> | ||
11 | <el-radio :label="'1'">平方米</el-radio> | ||
12 | <el-radio :label="'2'">公顷</el-radio> | ||
13 | <el-radio :label="'3'">亩</el-radio> | ||
14 | </el-radio-group> | ||
15 | </div> | ||
16 | </td> | ||
17 | </tr> | ||
18 | </thead> | ||
19 | <tbody> | ||
20 | <tr> | ||
21 | <td colspan="2" class="tdright">宗地代码</td> | ||
22 | <td colspan="6"> | ||
23 | <input class="formInput" v-model="formData.zddm" disabled/> | ||
24 | </td> | ||
25 | </tr> | ||
26 | <tr> | ||
27 | <td colspan="2" class="tdright">不动产单元号</td> | ||
28 | <td colspan="6"> | ||
29 | <input class="formInput" v-model="formData.bdcdyh" disabled/> | ||
30 | </td> | ||
31 | </tr> | ||
32 | <tr > | ||
33 | <td rowspan="4" colspan="2" class="tdright"> | ||
34 | 发包方 | ||
35 | </td> | ||
36 | <td colspan="1" class="tdright">名称</td> | ||
37 | <td colspan="5"> | ||
38 | <input class="formInput" v-model="formData.fbfmc"/> | ||
39 | </td> | ||
40 | </tr> | ||
41 | <tr> | ||
42 | <td colspan="1" class="tdright">负责人姓名</td> | ||
43 | <td colspan="2"> | ||
44 | <input class="formInput" v-model="formData.fzrxm"/> | ||
45 | </td> | ||
46 | <td colspan="1" class="tdright">联系电话</td> | ||
47 | <td colspan="2"> | ||
48 | <input class="formInput" v-model="formData.lxdh"/> | ||
49 | </td> | ||
50 | </tr> | ||
51 | <tr> | ||
52 | <td colspan="1" class="tdright">负责人地址</td> | ||
53 | <td colspan="2"> | ||
54 | <input class="formInput" v-model="formData.fzrdz"/> | ||
55 | </td> | ||
56 | <td colspan="1" class="tdright">邮政编码</td> | ||
57 | <td colspan="2"> | ||
58 | <input class="formInput" v-model="formData.yzbm"/> | ||
59 | </td> | ||
60 | </tr> | ||
61 | <tr> | ||
62 | <td colspan="1" class="tdright">证件种类</td> | ||
63 | <td colspan="2"> | ||
64 | <el-select class="formSelect" v-model="formData.zjzl" ref="zjzlbsm"> | ||
65 | <el-option | ||
66 | v-for="item in $store.state.zjzlList" | ||
67 | :key="item.dm" | ||
68 | :label="item.mc" | ||
69 | :value="item.dm" | ||
70 | > | ||
71 | </el-option> | ||
72 | </el-select> | ||
73 | </td> | ||
74 | <td colspan="1" class="tdright">证件号</td> | ||
75 | <td colspan="2"> | ||
76 | <input class="formInput" v-model="formData.zjh"/> | ||
77 | </td> | ||
78 | </tr> | ||
79 | <tr > | ||
80 | <td :rowspan="chengbaoNum" colspan="2" class="tdright"> | ||
81 | 承包方 | ||
82 | </td> | ||
83 | <td colspan="1" class="tdright">承包方(代表)</td> | ||
84 | <td colspan="5"> | ||
85 | <input class="formInput" v-model="formData.cbfdb"/> | ||
86 | </td> | ||
87 | </tr> | ||
88 | <tr> | ||
89 | <td colspan="1" class="tdright">有无承包合同</td> | ||
90 | <td colspan="2"> | ||
91 | <el-radio-group v-model="formData.ywcbht" class="has-choose"> | ||
92 | <el-radio :label="1">有</el-radio> | ||
93 | <el-radio :label="0">无</el-radio> | ||
94 | </el-radio-group> | ||
95 | </td> | ||
96 | <td colspan="1" class="tdright"><i class="requisite" v-if="formData.ywcbht=='1'">*</i>承包合同编号</td> | ||
97 | <td colspan="2"> | ||
98 | <input class="formInput" v-model="formData.cbhtbh"/> | ||
99 | </td> | ||
100 | </tr> | ||
101 | <tr> | ||
102 | <td colspan="1" class="tdright">有无经营权证</td> | ||
103 | <td colspan="2"> | ||
104 | <el-radio-group v-model="formData.ywjyqz" class="has-choose"> | ||
105 | <el-radio :label="1">有</el-radio> | ||
106 | <el-radio :label="0">无</el-radio> | ||
107 | </el-radio-group> | ||
108 | </td> | ||
109 | <td colspan="1" class="tdright">经营权证编号</td> | ||
110 | <td colspan="2"> | ||
111 | <input class="formInput" v-model="formData.jyqzbh"/> | ||
112 | </td> | ||
113 | </tr> | ||
114 | <tr > | ||
115 | <td colspan="1" class="tdright">取得(承包)方式</td> | ||
116 | <td colspan="5"> | ||
117 | <el-radio-group v-model="formData.qdzbfs" class="has-choose"> | ||
118 | <el-radio :label="'1'">家庭承包</el-radio> | ||
119 | <el-radio :label="'2'">招标</el-radio> | ||
120 | <el-radio :label="'3'">公开协商</el-radio> | ||
121 | <el-radio :label="'4'">拍卖</el-radio> | ||
122 | <el-radio :label="'5'">转让</el-radio> | ||
123 | <el-radio :label="'6'">互换</el-radio> | ||
124 | <el-radio :label="'7'">其他</el-radio> | ||
125 | </el-radio-group> | ||
126 | </td> | ||
127 | </tr> | ||
128 | <tr > | ||
129 | <td colspan="2"></td> | ||
130 | <td colspan="3" class="tdcenter">家庭成员总数</td> | ||
131 | <td colspan="1">共 <input type="number" class="total-number" v-model="formData.jtcyzs"/>人</td> | ||
132 | </tr> | ||
133 | <tr > | ||
134 | <td colspan="2"> | ||
135 | <div class="add-to" @click="addFamily">+</div> | ||
136 | <div class="name-num">成员姓名</div> | ||
137 | </td> | ||
138 | <td colspan="3" style="width:550px"> | ||
139 | <div class="householder">与户主关系</div><div class="id-no">身份证号码</div> | ||
140 | </td> | ||
141 | <td colspan="1">成员备注</td> | ||
142 | </tr> | ||
143 | <tr v-for="(item,index) in formData.jtcyList" :key="index+'1'"> | ||
144 | <td colspan="2"> | ||
145 | <div class="add-to" @click="delFamily(index)">-</div><div class="name-num"><input class="name-input" v-model="item.cyxm"/></div> | ||
146 | </td> | ||
147 | <td colspan="3"> | ||
148 | <div class="householder"> | ||
149 | <el-select class="formSelect" filterable v-model="item.yhzgx" ref="zjzlbsm"> | ||
150 | <el-option | ||
151 | v-for="item in $store.state.familyList" | ||
152 | :key="item.dm" | ||
153 | :label="item.mc" | ||
154 | :value="item.dm" | ||
155 | > | ||
156 | </el-option> | ||
157 | </el-select> | ||
158 | </div><div class="id-no"><input class="name-input" v-model="item.zjhm"/></div> | ||
159 | </td> | ||
160 | <td colspan="1"><input class="name-input" style="margin-top:0;" v-model="item.cybz"/></td> | ||
161 | </tr> | ||
162 | <tr > | ||
163 | <td colspan="2" class="tdright"> | ||
164 | 土地用途 | ||
165 | </td> | ||
166 | <td colspan="6"> | ||
167 | <el-radio-group v-model="formData.tdyt" class="has-choose"> | ||
168 | <el-radio :label="'1'">种植业</el-radio> | ||
169 | <el-radio :label="'2'">林业</el-radio> | ||
170 | <el-radio :label="'3'">畜牧业</el-radio> | ||
171 | <el-radio :label="'4'">渔业</el-radio> | ||
172 | <el-radio :label="'5'">其他</el-radio> | ||
173 | </el-radio-group> | ||
174 | </td> | ||
175 | </tr> | ||
176 | <tr > | ||
177 | <td colspan="2" class="tdright"> | ||
178 | 地力等级 | ||
179 | </td> | ||
180 | <td colspan="2"> | ||
181 | <input class="formInput" v-model="formData.dldj"/> | ||
182 | </td> | ||
183 | <td colspan="1" class="tdright"> | ||
184 | 是否是基本农田 | ||
185 | </td> | ||
186 | <td colspan="3"> | ||
187 | <el-radio-group v-model="formData.isjbnt" class="has-choose"> | ||
188 | <el-radio :label="1">是</el-radio> | ||
189 | <el-radio :label="0">否</el-radio> | ||
190 | </el-radio-group> | ||
191 | </td> | ||
192 | </tr> | ||
193 | <tr > | ||
194 | <td colspan="2" class="tdright"> | ||
195 | 水域滩涂类型 | ||
196 | </td> | ||
197 | <td colspan="2"> | ||
198 | <el-select class="formSelect" v-model="formData.syttlx" ref="syttlx"> | ||
199 | <el-option | ||
200 | v-for="item in $store.state.syttlx" | ||
201 | :key="item.dm" | ||
202 | :label="item.mc" | ||
203 | :value="item.dm" | ||
204 | > | ||
205 | </el-option> | ||
206 | </el-select> | ||
207 | </td> | ||
208 | <td colspan="1" class="tdright"> | ||
209 | 养殖业方式 | ||
210 | </td> | ||
211 | <td colspan="3"> | ||
212 | <el-select class="formSelect" v-model="formData.yzyfs" ref="yzyfs"> | ||
213 | <el-option | ||
214 | v-for="item in $store.state.yzyfs" | ||
215 | :key="item.dm" | ||
216 | :label="item.mc" | ||
217 | :value="item.dm" | ||
218 | > | ||
219 | </el-option> | ||
220 | </el-select> | ||
221 | </td> | ||
222 | </tr> | ||
223 | <tr > | ||
224 | <td colspan="2" class="tdright"> | ||
225 | 适宜载畜量 | ||
226 | </td> | ||
227 | <td colspan="2"> | ||
228 | <input type="number" v-model="formData.syzcl" class="formInput"/> | ||
229 | </td> | ||
230 | <td colspan="1" class="tdright"> | ||
231 | 承包(使用权)面积{{formData.mjdw=='1'?'(㎡)':''}}{{formData.mjdw=='2'?'(公顷)':''}}{{formData.mjdw=='3'?'(亩)':''}} | ||
232 | </td> | ||
233 | <td colspan="3"> | ||
234 | <input class="formInput" v-model="formData.cbmj"/> | ||
235 | </td> | ||
236 | </tr> | ||
237 | <tr > | ||
238 | <td colspan="1" class="tdright"> | ||
239 | 承包(使用)起始时间 | ||
240 | </td> | ||
241 | <td colspan="2"> | ||
242 | <el-date-picker | ||
243 | v-model="formData.cbsyqssj" | ||
244 | type="date" | ||
245 | value-format='yyyy-MM-dd' | ||
246 | placeholder="选择日期"> | ||
247 | </el-date-picker> | ||
248 | </td> | ||
249 | <td colspan="1" class="tdright"> | ||
250 | 期限(年) | ||
251 | </td> | ||
252 | <td colspan="1"> | ||
253 | <input type="number" v-model="formData.cbqx" class="formInput"/> | ||
254 | </td> | ||
255 | <td colspan="1" class="tdright"> | ||
256 | 承包(使用)结束时间 | ||
257 | </td> | ||
258 | <td colspan="2"> | ||
259 | <el-date-picker | ||
260 | v-model="formData.cbsyjssj" | ||
261 | type="date" | ||
262 | value-format='yyyy-MM-dd' | ||
263 | placeholder="选择日期"> | ||
264 | </el-date-picker> | ||
265 | </td> | ||
266 | </tr> | ||
267 | <tr > | ||
268 | <td rowspan="4" colspan="2" class="tdright"> | ||
269 | 草原质量 | ||
270 | </td> | ||
271 | <td colspan="1" class="tdright">草层高度(cm)</td> | ||
272 | <td colspan="5"> | ||
273 | <input type="number" v-model="formData.cygd" class="formInput"/> | ||
274 | </td> | ||
275 | </tr> | ||
276 | <tr> | ||
277 | <td colspan="1" class="tdright">草地覆盖度(%)</td> | ||
278 | <td colspan="5"> | ||
279 | <input type="number" v-model="formData.cyfgd" class="formInput"/> | ||
280 | </td> | ||
281 | </tr> | ||
282 | <tr> | ||
283 | <td colspan="1" class="tdright">建群</td> | ||
284 | <td colspan="5"> | ||
285 | <input class="formInput" v-model="formData.jq"/> | ||
286 | </td> | ||
287 | </tr> | ||
288 | <tr> | ||
289 | <td colspan="1" class="tdright">优势种</td> | ||
290 | <td colspan="5"> | ||
291 | <input class="formInput" v-model="formData.ysz"/> | ||
292 | </td> | ||
293 | </tr> | ||
294 | <tr > | ||
295 | <td rowspan="2" colspan="2" class="tdright"> | ||
296 | 调查记事 | ||
297 | </td> | ||
298 | <td colspan="6"> | ||
299 | <input class="formInput" v-model="formData.dcjs"/> | ||
300 | </td> | ||
301 | </tr> | ||
302 | <tr > | ||
303 | <td colspan="6"> | ||
304 | <div class="jishi-time"> | ||
305 | <span>调查员:</span> | ||
306 | <input class="investigator" v-model="formData.dcy" type="text"/> | ||
307 | <span>日期:</span> | ||
308 | <div class="time-pick"> | ||
309 | <el-date-picker | ||
310 | v-model="formData.dcrq" | ||
311 | type="date" | ||
312 | value-format='yyyy-MM-dd' | ||
313 | placeholder="选择日期"> | ||
314 | </el-date-picker> | ||
315 | </div> | ||
316 | |||
317 | </div> | ||
318 | </td> | ||
319 | </tr> | ||
320 | <tr > | ||
321 | <td rowspan="2" colspan="2" class="tdright"> | ||
322 | 审核意见 | ||
323 | </td> | ||
324 | <td colspan="6"> | ||
325 | <input class="formInput" v-model="formData.shyj"/> | ||
326 | </td> | ||
327 | </tr> | ||
328 | <tr > | ||
329 | <td colspan="6"> | ||
330 | <div class="jishi-time"> | ||
331 | <span>审核员:</span> | ||
332 | <input class="investigator" v-model="formData.shr" type="text"/> | ||
333 | <span>日期:</span> | ||
334 | <div class="time-pick"> | ||
335 | <el-date-picker | ||
336 | v-model="formData.shrq" | ||
337 | type="date" | ||
338 | value-format='yyyy-MM-dd' | ||
339 | placeholder="选择日期"> | ||
340 | </el-date-picker> | ||
341 | </div> | ||
342 | </div> | ||
343 | </td> | ||
344 | </tr> | ||
345 | <tr> | ||
346 | <td colspan="8" style="text-align: center"> | ||
347 | <el-button type="primary" @click="save">保存</el-button> | ||
348 | </td> | ||
349 | </tr> | ||
350 | </tbody> | ||
351 | </table> | ||
4 | </div> | 352 | </div> |
5 | </template> | 353 | </template> |
6 | 354 | ||
7 | <script> | 355 | <script> |
356 | import {getQjTdcbjyqNydqtsyqdcDetailByZdbsm,saveOrUpdateQjTdcbjyqNydqtsyqdc} from '@api/tdcb' | ||
8 | export default { | 357 | export default { |
9 | name:"", | 358 | name: "", |
10 | components:{}, | 359 | components: {}, |
11 | props:{}, | 360 | props: { |
12 | data(){ | 361 | zddm:{ |
362 | type:String | ||
363 | }, | ||
364 | bdcdyh:{ | ||
365 | type:String | ||
366 | } | ||
367 | }, | ||
368 | data() { | ||
13 | return { | 369 | return { |
370 | chengbaoNum:'7', | ||
371 | formData:{ | ||
372 | jtcyList: [ //家庭成员集合 | ||
373 | { | ||
374 | cybz: '',//成员备注 , | ||
375 | cyxm: '',//成员姓名 , | ||
376 | yhzgx: '',//与户主关系 , | ||
377 | zjhm: ''//证件号码 | ||
378 | } | ||
379 | ], | ||
380 | bsm: '', //土地承包经营权、农用地其他使用权调查标识码:32位GUID | ||
381 | cbfdb: '', // 承包方代表 | ||
382 | cbhtbh: '',// 承包合同编号 | ||
383 | cbmj: 0,//承包(使用权)面积 | ||
384 | cbqx:0,//承包期限 | ||
385 | cbsyjssj: '',//承包(使用)结束时间 | ||
386 | cbsyqssj: '',//承包(使用)起始时间 | ||
387 | cyfgd: '',//草地覆盖度 | ||
388 | cygd: '',//草原高度 | ||
389 | dcjs: '',//调查记事 | ||
390 | dcrq: '',//调查日期 | ||
391 | dcy: '',//调查人 | ||
392 | dldj: '',//地力等级 | ||
393 | fbfmc: '',//发包方名称 | ||
394 | fzrdz: '',//负责人地址 | ||
395 | fzrxm: '',// 负责人姓名 , | ||
396 | isdel: 0,//是否删除:[0] 未删除(缺省值);[1] 删除 , | ||
397 | isjbnt: 0,//是否是基本农田 , | ||
398 | jq: '',//建群 , | ||
399 | jtcyzs: 0,//家庭成员总数 , | ||
400 | jyqzbh: '',//经营权证编号 , | ||
401 | lxdh: '',//联系电话 , | ||
402 | mjdw: '',//面积单位 0:平方米 1:公顷 2:亩 , | ||
403 | qdzbfs: '',//取得承包方式:家庭承包|招标|公开协商|拍卖|转让|互换|其他 , | ||
404 | shr: '',//审核人 , | ||
405 | shrq: '',//审核日期 , | ||
406 | shyj: '',//审核意见 , | ||
407 | syttlx: '',//水域滩涂类型 , | ||
408 | syzcl: '',//适宜载畜量 , | ||
409 | tdyt: '',//土地用途:种植业|林业|畜牧业|渔业|其他 , | ||
410 | ysz: '',//优势种 , | ||
411 | ywcbht: 0,//有无承包合同,0:无;1:有 , | ||
412 | ywjyqz: 0,//有无经营权证,0:无;1:有 , | ||
413 | yzbm: '',//邮政编码 , | ||
414 | yzyfs: '',//养殖业方式 | ||
415 | zdbsm: '',//宗地标识码, | ||
416 | zjh: '',//证件号 , | ||
417 | zjzl: ''//证件种类 | ||
418 | } | ||
419 | }; | ||
420 | }, | ||
421 | created() {}, | ||
422 | mounted() { | ||
423 | this.formData.zdbsm=this.$route.query.bsm; | ||
424 | this.getQjTdcbjyqNydqtsyqdcDetailByZdbsm(this.formData.zdbsm); | ||
425 | // this.getQjTdcbjyqNydqtsyqdcDetailByZdbsm('85a47e4ce38fcc300101aa42d3ca667b'); | ||
426 | }, | ||
427 | methods: { | ||
428 | getQjTdcbjyqNydqtsyqdcDetailByZdbsm(zdbsm){ | ||
429 | getQjTdcbjyqNydqtsyqdcDetailByZdbsm(zdbsm).then(res=>{ | ||
430 | if(res.success){ | ||
431 | console.log('获取明细',res) | ||
432 | this.formData= res.result || this.formData; | ||
433 | if(this.formData.jtcyList){ | ||
434 | this.chengbaoNum=this.formData.jtcyList.length+6+'' | ||
435 | }else{ | ||
436 | this.chengbaoNum='6' | ||
437 | } | ||
438 | } | ||
439 | }) | ||
440 | }, | ||
441 | addFamily(){ | ||
442 | let itemObj={cybz:'',cyxm:'',yhzgx:'',zjhm:''}; | ||
443 | if(this.formData.jtcyList){ | ||
444 | this.formData.jtcyList.push(itemObj); | ||
445 | this.chengbaoNum=this.chengbaoNum-0+1+''; | ||
446 | }else{ | ||
447 | this.formData.jtcyList=[itemObj] | ||
448 | this.chengbaoNum=this.chengbaoNum-0+1+''; | ||
449 | } | ||
450 | }, | ||
451 | delFamily(index){ | ||
452 | if(this.formData.jtcyList.length==1){ | ||
453 | return | ||
454 | } | ||
455 | this.formData.jtcyList.splice(index, 1); | ||
456 | this.chengbaoNum=this.chengbaoNum-1+''; | ||
457 | }, | ||
458 | save(){ | ||
459 | if(this.formData.ywcbht==1 && !this.formData.cbhtbh){ | ||
460 | this.$message.warning("承包合同编号不能为空"); | ||
461 | return | ||
462 | } | ||
463 | saveOrUpdateQjTdcbjyqNydqtsyqdc(this.formData).then(res=>{ | ||
464 | if (res.success) { | ||
465 | console.log(res,"保存成功") | ||
466 | this.$message.success("保存成功") | ||
467 | } | ||
468 | }) | ||
14 | } | 469 | } |
15 | }, | 470 | }, |
16 | created(){}, | ||
17 | mounted(){}, | ||
18 | methods:{}, | ||
19 | computed: {}, | 471 | computed: {}, |
20 | watch: {}, | 472 | watch: {}, |
21 | } | 473 | }; |
22 | </script> | 474 | </script> |
23 | <style scoped lang="less"> | 475 | <style scoped lang="less"> |
476 | table { | ||
477 | margin-top: 20px; | ||
478 | background-color: #fff; | ||
479 | font-size: 14px; | ||
480 | width: 100%; | ||
481 | cursor: pointer; | ||
482 | .el-radio-group { | ||
483 | margin-left: 10px; | ||
484 | } | ||
485 | .el-radio { | ||
486 | margin-right: 20px !important; | ||
487 | } | ||
488 | th { | ||
489 | height: 36px; | ||
490 | line-height: 36px; | ||
491 | font-size: 16px; | ||
492 | |||
493 | } | ||
494 | td { | ||
495 | text-align: center; | ||
496 | height: 36px; | ||
497 | border-color: #e6e6e6; | ||
498 | } | ||
499 | /deep/.el-input__inner { | ||
500 | margin: 0; | ||
501 | height: 36px; | ||
502 | outline: none; | ||
503 | border: none; | ||
504 | color: #606764; | ||
505 | overflow: visible; | ||
506 | text-align: center; | ||
507 | } | ||
508 | .formSelect{ | ||
509 | width: 100%; | ||
510 | } | ||
511 | .tdcenter{ | ||
512 | text-align: center; | ||
513 | } | ||
514 | .total-number{ | ||
515 | width: 60px; | ||
516 | background:none; | ||
517 | outline:none; | ||
518 | border:1px solid #e6e6e6; | ||
519 | box-sizing: border-box; | ||
520 | display: inline-block; | ||
521 | height: 20px; | ||
522 | margin-right: 3px; | ||
523 | } | ||
524 | .total-number:focus{ | ||
525 | border: 1px solid #A0C5F6; | ||
526 | } | ||
527 | .add-to{ | ||
528 | position: relative; | ||
529 | width: 37px; | ||
530 | height: 38px; | ||
531 | text-align: center; | ||
532 | line-height: 37px; | ||
533 | display: inline-block; | ||
534 | border-right:1px solid #e6e6e6; | ||
535 | } | ||
536 | .name-num{ | ||
537 | display: inline-block; | ||
538 | width: calc(100% - 38px); | ||
539 | text-align: center; | ||
540 | line-height: 37px; | ||
541 | } | ||
542 | .name-input{ | ||
543 | width: calc(100% - 6px); | ||
544 | height: 32px; | ||
545 | outline:none; | ||
546 | border:1px solid #e6e6e6; | ||
547 | box-sizing: border-box; | ||
548 | margin-top: -2px; | ||
549 | } | ||
550 | .name-input:focus{ | ||
551 | border: 1px solid #A0C5F6; | ||
552 | } | ||
553 | .householder{ | ||
554 | display: inline-block; | ||
555 | width: 40%; | ||
556 | text-align: center; | ||
557 | border-right:1px solid #e6e6e6; | ||
558 | box-sizing: border-box; | ||
559 | line-height: 38px; | ||
560 | |||
561 | } | ||
562 | .id-no{ | ||
563 | display: inline-block; | ||
564 | width: 60%; | ||
565 | text-align: center; | ||
566 | line-height: 37px; | ||
567 | } | ||
568 | } | ||
569 | |||
570 | .tit{ | ||
571 | width: 100%; | ||
572 | font-size: 18px; | ||
573 | text-align: center; | ||
574 | line-height: 28px; | ||
575 | padding-top: 12px; | ||
576 | } | ||
577 | .dw{ | ||
578 | width: 100%; | ||
579 | padding-right: 10px; | ||
580 | text-align: right; | ||
581 | box-sizing: border-box; | ||
582 | line-height: 28px; | ||
583 | } | ||
584 | .has-choose{ | ||
585 | float: left; | ||
586 | } | ||
587 | .jishi-time{ | ||
588 | height: 100%; | ||
589 | float: right; | ||
590 | margin-right: 10px; | ||
591 | line-height: 36px; | ||
592 | span{ | ||
593 | line-height: 36px; | ||
594 | } | ||
595 | .investigator{ | ||
596 | width: 120px; | ||
597 | background:none; | ||
598 | outline:none; | ||
599 | border:1px solid #e6e6e6; | ||
600 | box-sizing: border-box; | ||
601 | display: inline-block; | ||
602 | height: 26px; | ||
603 | margin-right: 10px; | ||
604 | line-height: 26px; | ||
605 | margin-top: -2px; | ||
606 | } | ||
607 | .investigator:focus{ | ||
608 | border: 1px solid #A0C5F6; | ||
609 | } | ||
610 | .time-pick{ | ||
611 | display: inline-block; | ||
612 | height: 36px; | ||
613 | /deep/.el-input__inner{ | ||
614 | margin-top:-2px; | ||
615 | } | ||
616 | } | ||
617 | } | ||
24 | </style> | 618 | </style> |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -5,7 +5,6 @@ let Timestamp = new Date().getTime(); | ... | @@ -5,7 +5,6 @@ let Timestamp = new Date().getTime(); |
5 | function resolve(dir) { | 5 | function resolve(dir) { |
6 | return path.join(__dirname, dir) | 6 | return path.join(__dirname, dir) |
7 | } | 7 | } |
8 | const UglifyJsPlugin = require("uglifyjs-webpack-plugin"); | ||
9 | 8 | ||
10 | module.exports = { | 9 | module.exports = { |
11 | publicPath: './', | 10 | publicPath: './', |
... | @@ -20,7 +19,6 @@ module.exports = { | ... | @@ -20,7 +19,6 @@ module.exports = { |
20 | .set('@libs', resolve('src/libs')) | 19 | .set('@libs', resolve('src/libs')) |
21 | .set('@router', resolve('src/router')) | 20 | .set('@router', resolve('src/router')) |
22 | .set('@components', resolve('src/components')) | 21 | .set('@components', resolve('src/components')) |
23 | .set('@assets', resolve('src/assets')) | ||
24 | }, | 22 | }, |
25 | pluginOptions: { | 23 | pluginOptions: { |
26 | 'style-resources-loader': { | 24 | 'style-resources-loader': { |
... | @@ -33,17 +31,9 @@ module.exports = { | ... | @@ -33,17 +31,9 @@ module.exports = { |
33 | filename: `js/[name].${Timestamp}.js`, | 31 | filename: `js/[name].${Timestamp}.js`, |
34 | chunkFilename: `js/[name].${Timestamp}.js` | 32 | chunkFilename: `js/[name].${Timestamp}.js` |
35 | }, | 33 | }, |
36 | plugins: [ | 34 | devtool: 'source-map' |
37 | // 去除console和debugger | 35 | // plugins: [ |
38 | // new UglifyJsPlugin({ | 36 | |
39 | // uglifyOptions: { | ||
40 | // compress: { | ||
41 | // drop_console: true, | ||
42 | // drop_debugger: true, | ||
43 | // }, | ||
44 | // }, | ||
45 | // parallel: true, | ||
46 | // }), | ||
47 | // new FileManagerPlugin({ //初始化 filemanager-webpack-plugin 插件实例 | 37 | // new FileManagerPlugin({ //初始化 filemanager-webpack-plugin 插件实例 |
48 | // onEnd: { | 38 | // onEnd: { |
49 | // mkdir: ['./zip','./dist'], //初始化生产zip和dist文件夹 | 39 | // mkdir: ['./zip','./dist'], //初始化生产zip和dist文件夹 |
... | @@ -52,20 +42,16 @@ module.exports = { | ... | @@ -52,20 +42,16 @@ module.exports = { |
52 | // ] | 42 | // ] |
53 | // } | 43 | // } |
54 | // }) | 44 | // }) |
55 | ] | 45 | // ] |
56 | }, | 46 | }, |
57 | devServer: { | 47 | devServer: { |
58 | host: "192.168.2.61", | ||
59 | host: "0.0.0.0", | 48 | host: "0.0.0.0", |
60 | port: 8008, | 49 | port: 8006, |
61 | https: false, | 50 | https: false, |
62 | hotOnly: false, | 51 | hotOnly: false, |
63 | proxy: { | 52 | proxy: { |
64 | "/api": { | 53 | "/api": { |
65 | // target: 'https://192.168.2.119:8006', //泽平 | 54 | target: process.env.VUE_APP_api, |
66 | // target: process.env.VUE_APP_api1, //本地 | ||
67 | target: process.env.VUE_APP_api, //赵千 | ||
68 | // target: process.env.VUE_APP_api4, //赵千 | ||
69 | changeOrigin: true, | 55 | changeOrigin: true, |
70 | pathRewrite: { | 56 | pathRewrite: { |
71 | "^/api": "/", | 57 | "^/api": "/", | ... | ... |
-
Please register or sign in to post a comment