2cba134d by zhaoqian

Merge remote-tracking branch 'origin/master'

2 parents a3c7422a 510af90b
VUE_APP_api = 'https://192.168.2.111:8006'
VUE_APP_api1 = 'https://127.0.0.1:8006'
VUE_APP_api2 = 'https://192.168.2.9:8006'
VUE_APP_api3 = 'https://192.168.2.11:8006'
VUE_APP_api4 = 'http://192.168.2.111:18080'
VUE_APP_api2 = 'https://192.168.2.145:8006'
VUE_APP_api3 = 'https://192.168.2.119:8006'
VUE_APP_api4 = 'http://192.168.2.146:8006'
VUE_APP_api5 = 'https://192.168.2.142:8006'
VUE_APP_name = '开发环境'
NODE_ENV="development"
VUE_APP_VERSION = 'psh'
......
......@@ -10,4 +10,15 @@ export function getQjLqDetailById(data) {
id: data
}
})
}
\ No newline at end of file
}
/**
* 保存林权信息
*/
export function updateQjLq(data) {
return request({
url: '/system/qjLq/updateQjLq',
method: 'put',
data: data
})
}
......
......@@ -44,6 +44,19 @@ export function getQlrInfoByGlbsm(data) {
},
})
}
/**
* 根据glbsm和type查询qlr信息
*/
export function getQlrByGlbsmAndType(data) {
return request({
url: '/system/Qlr/getQlrByGlbsmAndType',
method: 'get',
params: {
glbsm:data.bsm,
type:data.type
},
})
}
/**
* 更新权利人共有公用情况
......
import request from '@/plugin/axios'
/**
* 查询土地承包经营权、农用地其他使用权调查表基本信息
*/
export function getQjTdcbjyqNydqtsyqdcDetailByZdbsm(data) {
return request({
url: '/zd/qjTdcbjyqNydqtsyqdc/getQjTdcbjyqNydqtsyqdcDetailByZdbsm',
method: 'get',
params: {
zdbsm: data,
}
})
}
/**
* 保存权籍_土地承包经营权、农用地其他使用权调查基本信息
*/
export function saveOrUpdateQjTdcbjyqNydqtsyqdc(data) {
return request({
url: '/zd/qjTdcbjyqNydqtsyqdc/saveOrUpdateQjTdcbjyqNydqtsyqdc',
method: 'post',
data: data,
})
}
......@@ -12,7 +12,7 @@
<el-button type="primary" @click="result" icon="el-icon-refresh">重置</el-button>
<el-row :gutter="10" class="shop">
<el-col :span="4" class="inputtitle">
宗地码:
宗地码:
</el-col>
<el-col :span="8" class="">
<el-input v-model="queryData.zddm"></el-input>
......
......@@ -176,10 +176,10 @@
<el-row>
<el-col :span="24">
<el-form :inline="true" class="demo-form-inline">
<el-form-item label="宗地码">
<el-form-item label="宗地码">
<el-input
v-model="queryData.zddm"
placeholder="输入宗地码"
placeholder="输入宗地码"
></el-input>
</el-form-item>
<el-form-item label="不动产权证号">
......@@ -274,10 +274,10 @@
<el-row>
<el-col :span="24">
<el-form :inline="true" class="demo-form-inline">
<el-form-item label="宗地码">
<el-form-item label="宗地码">
<el-input
v-model="queryData.zddm"
placeholder="输入宗地码"
placeholder="输入宗地码"
></el-input>
</el-form-item>
<el-form-item label="不动产权证号">
......
......@@ -11,10 +11,10 @@
<el-row>
<el-col :span="24">
<el-form :inline="true" class="demo-form-inline">
<el-form-item label="宗地码">
<el-form-item label="宗地码">
<el-input
v-model="queryData.zddm"
placeholder="输入宗地码"
placeholder="输入宗地码"
></el-input>
</el-form-item>
<el-form-item label="不动产权证号">
......
......@@ -2,9 +2,14 @@
<div class="temp">
<table class="tempTable" cellspacing="0" cellpadding="0" border="1">
<tr>
<td colspan="2"><span class="table-title">权利人信息</span></td>
<td colspan="2">共有方式</td>
<td colspan="8">
<template v-if="lq == ''">
<td colspan="2"><span class="table-title">权利人信息</span></td>
<td colspan="2">共有方式</td>
</template>
<template v-else>
<td colspan="2">共有方式</td>
</template>
<td :colspan="lq == '' ? 8 : 10">
<el-row>
<el-col :span="14" class="fl" style="line-height:32px">
<el-radio-group v-model="gyfs" @change="updateGyfs">
......@@ -311,7 +316,7 @@
<script>
import {getDdicByMC} from "@api/common";
import {insertQlrDlrFr,getQlrInfoByGlbsm,updateQlrDlrFr,deleteQlrDlrFrByQlrbsm,updateGyGyQlrQk} from "@api/qlr";
import {insertQlrDlrFr,getQlrInfoByGlbsm,updateQlrDlrFr,deleteQlrDlrFrByQlrbsm,updateGyGyQlrQk,getQlrByGlbsmAndType} from "@api/qlr";
export default {
props: {
......@@ -338,7 +343,13 @@
lq:{
type: String,
default: "",
}
},
// lqData:{
// type: Array,
// default: () => {
// return [];
// },
// }
},
data() {
return {
......@@ -649,18 +660,37 @@
}
},
getQlrInfo(bsm){
getQlrInfoByGlbsm(bsm).then((res)=>{
if(res.code){
if(res.result!=null){
this.tableData=res.result;
if(this.tableData.length===0){
this.gyfs=this.$store.state.gyfsList[0].bsm;
}else {
this.gyfs=res.result[0].gyfsbsm;
}
if(this.lq == ""){
getQlrInfoByGlbsm(bsm).then((res)=>{
if(res.code){
if(res.result!=null){
this.tableData=res.result;
if(this.tableData.length===0){
this.gyfs=this.$store.state.gyfsList[0].bsm;
}else {
this.gyfs=res.result[0].gyfsbsm;
}
}
}
})
}else{
let params = {
bsm:bsm,
type:this.lq
}
})
getQlrByGlbsmAndType(params).then((res)=>{
if(res.code){
if(res.result!=null){
this.tableData=res.result;
if(this.tableData.length===0){
this.gyfs=this.$store.state.gyfsList[0].bsm;
}else {
this.gyfs=res.result[0].gyfsbsm;
}
}
}
})
}
}
},
created(){
......
......@@ -7,10 +7,10 @@
<el-row>
<el-col :span="24">
<el-form :inline="true" class="demo-form-inline" label-width="106px">
<el-form-item label="宗地码">
<el-form-item label="宗地码">
<el-input
v-model="queryData.zddm"
placeholder="输入宗地码"
placeholder="输入宗地码"
@change="query"
></el-input>
</el-form-item>
......
......@@ -5,7 +5,7 @@
<el-button type="primary" @click="result" icon="el-icon-refresh">重置</el-button>
<el-row :gutter="10" class="shop">
<el-col :span="4" class="inputtitle">
宗地码:
宗地码:
</el-col>
<el-col :span="8" class="">
<el-input v-model="queryData.zddm"></el-input>
......
......@@ -14,10 +14,10 @@
<el-row>
<el-col :span="24">
<el-form :inline="true" class="demo-form-inline">
<el-form-item label="宗地码">
<el-form-item label="宗地码">
<el-input
v-model="queryData.zddm"
placeholder="输入宗地码"
placeholder="输入宗地码"
></el-input>
</el-form-item>
<el-form-item label="不动产权证号">
......
......@@ -4,10 +4,11 @@
<el-row>
<el-col :span="18">
<el-form :inline="true" class="demo-form-inline" label-width="106px">
<el-form-item label="宗地码">
<el-form-item label="宗地码">
<el-input
v-model="queryData.zddm"
placeholder="输入宗地编码"
placeholder="输入宗地代码"
maxlength="19"
@change="query"
></el-input>
</el-form-item>
......@@ -76,11 +77,10 @@
<el-checkbox label="zd" name="type">宗地</el-checkbox>
<el-checkbox label="dz" name="type">多幢</el-checkbox>
<el-checkbox label="zrz" name="type">自然幢</el-checkbox>
<el-checkbox label="gzw" name="type">构筑物</el-checkbox>
<el-checkbox label="gzw" name="type" v-show="type !== 'add'">构筑物</el-checkbox>
<el-checkbox label="lq" name="type" v-show="type !== 'add'">林权</el-checkbox>
<el-checkbox label="h" name="type" v-show="type !== 'add'"></el-checkbox>
<!-- <el-checkbox label="gzw" name="type">构筑物</el-checkbox>
<el-checkbox label="lq" name="type">林权</el-checkbox>
<el-checkbox label="zh" name="type">宗海</el-checkbox> -->
<!-- <el-checkbox label="zh" name="type">宗海</el-checkbox> -->
</el-checkbox-group>
</el-form-item>
</el-form>
......
......@@ -11,10 +11,10 @@
<el-row>
<el-col :span="24">
<el-form :inline="true" class="demo-form-inline">
<el-form-item label="宗地码">
<el-form-item label="宗地码">
<el-input
v-model="queryData.zddm"
placeholder="输入宗地码"
placeholder="输入宗地码"
></el-input>
</el-form-item>
<el-form-item label="不动产权证号">
......
......@@ -55,6 +55,9 @@ const store = new Vuex.Store({
newZdbsm:'',
isWorkFlow:false, // 判断是否工作流数据
lcgzShow:false,//是否待办箱的数据,显示流程追踪
familyList:[], //家庭关系分类
syttlx:[],//水域滩涂类型
yzyfs:[] //养殖业方式
},
modules: {
user,
......
......@@ -321,6 +321,10 @@ export default {
s.cqlyOptions = s.cqlyOptions.length == 0 ?await this.getDicData("产权来源") : s.cqlyOptions;
s.jgOptions = s.jgOptions.length == 0 ?await this.getDicData("房屋结构") : s.jgOptions;
s.gmjjhyflbsmList = s.gmjjhyflbsmList.length == 0 ?await this.getDicData("国民经济行业分类代码") : s.gmjjhyflbsmList;
s.familyList = s.familyList.length == 0 ?await this.getDicData("家庭成员") : s.familyList;
s.syttlx = s.syttlx.length == 0 ?await this.getDicData("水域滩涂类型") : s.syttlx;
s.yzyfs = s.yzyfs.length == 0 ?await this.getDicData("养殖业方式") : s.yzyfs;
},
async getDicData(name) {
return await getDdicByMC(name).then((res)=> {
......
<template>
<div class="main">暂无登记薄(功能接口开发中)</div>
<div class="main">暂无登记薄</div>
</template>
<script>
......
......@@ -22,6 +22,7 @@
:qszt="formData.qszt"
type="lq"
lq="1"
v-if="qlrShow"
></Qlr>
</td>
</tr>
......@@ -34,6 +35,7 @@
:qszt="formData.qszt"
type="lx"
lq="2"
v-if="qlrShow"
></Qlr>
</td>
</tr>
......@@ -85,7 +87,7 @@
type="text"
:disabled="disabled"
class="formInput"
v-model="formData.djh"
v-model="formData.zlnd"
/>
</td>
......@@ -154,7 +156,7 @@
type="text"
:disabled="disabled"
class="formInput"
v-model="formData.mj"
v-model="formData.syqmj "
/>
</td>
<td colspan="2" class="tdright">起源</td>
......@@ -191,11 +193,11 @@
<td colspan="2" class="tdright">林种</td>
<td colspan="10">
<el-radio-group class="fl" v-model="formData.lz">
<el-radio :label="1">防护林</el-radio>
<el-radio :label="2">用材林</el-radio>
<el-radio :label="3">经济林</el-radio>
<el-radio :label="4">薪炭林</el-radio>
<el-radio :label="5">特种用途体</el-radio>
<el-radio label="1">防护林</el-radio>
<el-radio label="2">用材林</el-radio>
<el-radio label="3">经济林</el-radio>
<el-radio label="4">薪炭林</el-radio>
<el-radio label="5">特种用途体</el-radio>
</el-radio-group>
</td>
</tr>
......@@ -220,7 +222,7 @@
@blur="inputBlur($event, false)"
maxlength="3"
onkeyup="value=value.replace(/[^\d]/g,'')"
v-model="formData.syqx"
v-model="formData.ldsyqx"
class="formInput"
/>
</td>
......@@ -274,14 +276,14 @@
</table>
<div class="header-button" :style="{ width: mainBoxWidth + 'px' }">
<el-button type="primary">保存</el-button>
<el-button type="primary" @click="updateQjLq">保存</el-button>
</div>
</div>
</template>
<script>
import Qlr from "@components/formMenu/qlr";
import { getQjLqDetailById } from "@api/lq"
import { getQjLqDetailById,updateQjLq } from "@api/lq"
export default {
name: "",
components: {
......@@ -293,19 +295,21 @@ export default {
disabled: false,
formData: {
mjdw: "",
zddm: "",
zddm: "",
zlnd:"",
dzwlx:"1",
bdcdyh: "",
zl: "",
xdm: "",
lb: "",
xb: "",
mj: "",
syqmj : "",
qy: "",
zs: "",
zysz: "",
lz: "",
ldsyqssj: "",
syqx: "",
ldsyqx: "",
ldsyjssj: "",
gyqk: "",
shyj: "",
......@@ -324,6 +328,7 @@ export default {
},
],
mainBoxWidth: 0,
qlrShow:false,
};
},
created() {},
......@@ -339,10 +344,26 @@ export default {
getLqData(bsm) {
getQjLqDetailById(bsm).then((res) => {
if (res.success) {
console.log(res, "林权信息");
console.log(res, "林权信息");
this.formData = res.result;
this.formData.dzwlx = "1";
this.qlrShow = true;
}
});
},
},
//生成宗地代码
generatorCode(){
},
//保存林权信息
updateQjLq(){
updateQjLq(this.formData).then((res) => {
if (res.success) {
console.log(res, "保存成功");
this.$message.success("保存成功")
}
});
}
},
computed: {},
watch: {},
......
......@@ -6,10 +6,10 @@
<el-row>
<el-col :span="24" style="margin-left: -10px;">
<el-form :inline="true" class="demo-form-inline" label-width="106px">
<el-form-item label="宗地码">
<el-form-item label="宗地码">
<el-input
v-model="queryData.zddm"
placeholder="输入宗地码"
placeholder="输入宗地码"
></el-input>
</el-form-item>
<el-form-item label="不动产权证号">
......
......@@ -3,10 +3,10 @@
<el-row v-show="isSearch">
<el-col :span="24">
<el-form :inline="true" class="demo-form-inline">
<el-form-item label="宗地码">
<el-form-item label="宗地码">
<el-input
v-model="queryData.zddm"
placeholder="输入宗地码"
placeholder="输入宗地码"
></el-input>
</el-form-item>
<el-form-item label="不动产权证号">
......
<template>
<div class="main">暂无登记薄(功能接口开发中)</div>
<div class="main">暂无登记薄</div>
</template>
<script>
......
<template>
<div class="main">
土地承包经营权、农用地其他使用权调查表
<table cellspacing="0" cellpadding="0" border="1">
<thead>
<tr rowspan="2">
<td colspan="8">
<!-- <div class="tit">土地承包经营权、农用地其他使用权调查表</div> -->
<div class="dw">
单位 :
<el-radio-group v-model="formData.mjdw">
<el-radio :label="'1'">平方米</el-radio>
<el-radio :label="'2'">公顷</el-radio>
<el-radio :label="'3'"></el-radio>
</el-radio-group>
</div>
</td>
</tr>
</thead>
<tbody>
<tr>
<td colspan="2" class="tdright">宗地代码</td>
<td colspan="6">
<input class="formInput" v-model="formData.zddm" disabled/>
</td>
</tr>
<tr>
<td colspan="2" class="tdright">不动产单元号</td>
<td colspan="6">
<input class="formInput" v-model="formData.bdcdyh" disabled/>
</td>
</tr>
<tr >
<td rowspan="4" colspan="2" class="tdright">
发包方
</td>
<td colspan="1" class="tdright">名称</td>
<td colspan="5">
<input class="formInput" v-model="formData.fbfmc"/>
</td>
</tr>
<tr>
<td colspan="1" class="tdright">负责人姓名</td>
<td colspan="2">
<input class="formInput" v-model="formData.fzrxm"/>
</td>
<td colspan="1" class="tdright">联系电话</td>
<td colspan="2">
<input class="formInput" v-model="formData.lxdh"/>
</td>
</tr>
<tr>
<td colspan="1" class="tdright">负责人地址</td>
<td colspan="2">
<input class="formInput" v-model="formData.fzrdz"/>
</td>
<td colspan="1" class="tdright">邮政编码</td>
<td colspan="2">
<input class="formInput" v-model="formData.yzbm"/>
</td>
</tr>
<tr>
<td colspan="1" class="tdright">证件种类</td>
<td colspan="2">
<el-select class="formSelect" v-model="formData.zjzl" ref="zjzlbsm">
<el-option
v-for="item in $store.state.zjzlList"
:key="item.dm"
:label="item.mc"
:value="item.dm"
>
</el-option>
</el-select>
</td>
<td colspan="1" class="tdright">证件号</td>
<td colspan="2">
<input class="formInput" v-model="formData.zjh"/>
</td>
</tr>
<tr >
<td :rowspan="chengbaoNum" colspan="2" class="tdright">
承包方
</td>
<td colspan="1" class="tdright">承包方(代表)</td>
<td colspan="5">
<input class="formInput" v-model="formData.cbfdb"/>
</td>
</tr>
<tr>
<td colspan="1" class="tdright">有无承包合同</td>
<td colspan="2">
<el-radio-group v-model="formData.ywcbht" class="has-choose">
<el-radio :label="1"></el-radio>
<el-radio :label="0"></el-radio>
</el-radio-group>
</td>
<td colspan="1" class="tdright"><i class="requisite" v-if="formData.ywcbht=='1'">*</i>承包合同编号</td>
<td colspan="2">
<input class="formInput" v-model="formData.cbhtbh"/>
</td>
</tr>
<tr>
<td colspan="1" class="tdright">有无经营权证</td>
<td colspan="2">
<el-radio-group v-model="formData.ywjyqz" class="has-choose">
<el-radio :label="1"></el-radio>
<el-radio :label="0"></el-radio>
</el-radio-group>
</td>
<td colspan="1" class="tdright">经营权证编号</td>
<td colspan="2">
<input class="formInput" v-model="formData.jyqzbh"/>
</td>
</tr>
<tr >
<td colspan="1" class="tdright">取得(承包)方式</td>
<td colspan="5">
<el-radio-group v-model="formData.qdzbfs" class="has-choose">
<el-radio :label="'1'">家庭承包</el-radio>
<el-radio :label="'2'">招标</el-radio>
<el-radio :label="'3'">公开协商</el-radio>
<el-radio :label="'4'">拍卖</el-radio>
<el-radio :label="'5'">转让</el-radio>
<el-radio :label="'6'">互换</el-radio>
<el-radio :label="'7'">其他</el-radio>
</el-radio-group>
</td>
</tr>
<tr >
<td colspan="2"></td>
<td colspan="3" class="tdcenter">家庭成员总数</td>
<td colspan="1"><input type="number" class="total-number" v-model="formData.jtcyzs"/></td>
</tr>
<tr >
<td colspan="2">
<div class="add-to" @click="addFamily">+</div>
<div class="name-num">成员姓名</div>
</td>
<td colspan="3" style="width:550px">
<div class="householder">与户主关系</div><div class="id-no">身份证号码</div>
</td>
<td colspan="1">成员备注</td>
</tr>
<tr v-for="(item,index) in formData.jtcyList" :key="index+'1'">
<td colspan="2">
<div class="add-to" @click="delFamily(index)">-</div><div class="name-num"><input class="name-input" v-model="item.cyxm"/></div>
</td>
<td colspan="3">
<div class="householder">
<el-select class="formSelect" filterable v-model="item.yhzgx" ref="zjzlbsm">
<el-option
v-for="item in $store.state.familyList"
:key="item.dm"
:label="item.mc"
:value="item.dm"
>
</el-option>
</el-select>
</div><div class="id-no"><input class="name-input" v-model="item.zjhm"/></div>
</td>
<td colspan="1"><input class="name-input" style="margin-top:0;" v-model="item.cybz"/></td>
</tr>
<tr >
<td colspan="2" class="tdright">
土地用途
</td>
<td colspan="6">
<el-radio-group v-model="formData.tdyt" class="has-choose">
<el-radio :label="'1'">种植业</el-radio>
<el-radio :label="'2'">林业</el-radio>
<el-radio :label="'3'">畜牧业</el-radio>
<el-radio :label="'4'">渔业</el-radio>
<el-radio :label="'5'">其他</el-radio>
</el-radio-group>
</td>
</tr>
<tr >
<td colspan="2" class="tdright">
地力等级
</td>
<td colspan="2">
<input class="formInput" v-model="formData.dldj"/>
</td>
<td colspan="1" class="tdright">
是否是基本农田
</td>
<td colspan="3">
<el-radio-group v-model="formData.isjbnt" class="has-choose">
<el-radio :label="1"></el-radio>
<el-radio :label="0"></el-radio>
</el-radio-group>
</td>
</tr>
<tr >
<td colspan="2" class="tdright">
水域滩涂类型
</td>
<td colspan="2">
<el-select class="formSelect" v-model="formData.syttlx" ref="syttlx">
<el-option
v-for="item in $store.state.syttlx"
:key="item.dm"
:label="item.mc"
:value="item.dm"
>
</el-option>
</el-select>
</td>
<td colspan="1" class="tdright">
养殖业方式
</td>
<td colspan="3">
<el-select class="formSelect" v-model="formData.yzyfs" ref="yzyfs">
<el-option
v-for="item in $store.state.yzyfs"
:key="item.dm"
:label="item.mc"
:value="item.dm"
>
</el-option>
</el-select>
</td>
</tr>
<tr >
<td colspan="2" class="tdright">
适宜载畜量
</td>
<td colspan="2">
<input type="number" v-model="formData.syzcl" class="formInput"/>
</td>
<td colspan="1" class="tdright">
承包(使用权)面积{{formData.mjdw=='1'?'(㎡)':''}}{{formData.mjdw=='2'?'(公顷)':''}}{{formData.mjdw=='3'?'(亩)':''}}
</td>
<td colspan="3">
<input class="formInput" v-model="formData.cbmj"/>
</td>
</tr>
<tr >
<td colspan="1" class="tdright">
承包(使用)起始时间
</td>
<td colspan="2">
<el-date-picker
v-model="formData.cbsyqssj"
type="date"
value-format='yyyy-MM-dd'
placeholder="选择日期">
</el-date-picker>
</td>
<td colspan="1" class="tdright">
期限(年)
</td>
<td colspan="1">
<input type="number" v-model="formData.cbqx" class="formInput"/>
</td>
<td colspan="1" class="tdright">
承包(使用)结束时间
</td>
<td colspan="2">
<el-date-picker
v-model="formData.cbsyjssj"
type="date"
value-format='yyyy-MM-dd'
placeholder="选择日期">
</el-date-picker>
</td>
</tr>
<tr >
<td rowspan="4" colspan="2" class="tdright">
草原质量
</td>
<td colspan="1" class="tdright">草层高度(cm)</td>
<td colspan="5">
<input type="number" v-model="formData.cygd" class="formInput"/>
</td>
</tr>
<tr>
<td colspan="1" class="tdright">草地覆盖度(%)</td>
<td colspan="5">
<input type="number" v-model="formData.cyfgd" class="formInput"/>
</td>
</tr>
<tr>
<td colspan="1" class="tdright">建群</td>
<td colspan="5">
<input class="formInput" v-model="formData.jq"/>
</td>
</tr>
<tr>
<td colspan="1" class="tdright">优势种</td>
<td colspan="5">
<input class="formInput" v-model="formData.ysz"/>
</td>
</tr>
<tr >
<td rowspan="2" colspan="2" class="tdright">
调查记事
</td>
<td colspan="6">
<input class="formInput" v-model="formData.dcjs"/>
</td>
</tr>
<tr >
<td colspan="6">
<div class="jishi-time">
<span>调查员:</span>
<input class="investigator" v-model="formData.dcy" type="text"/>
<span>日期:</span>
<div class="time-pick">
<el-date-picker
v-model="formData.dcrq"
type="date"
value-format='yyyy-MM-dd'
placeholder="选择日期">
</el-date-picker>
</div>
</div>
</td>
</tr>
<tr >
<td rowspan="2" colspan="2" class="tdright">
审核意见
</td>
<td colspan="6">
<input class="formInput" v-model="formData.shyj"/>
</td>
</tr>
<tr >
<td colspan="6">
<div class="jishi-time">
<span>审核员:</span>
<input class="investigator" v-model="formData.shr" type="text"/>
<span>日期:</span>
<div class="time-pick">
<el-date-picker
v-model="formData.shrq"
type="date"
value-format='yyyy-MM-dd'
placeholder="选择日期">
</el-date-picker>
</div>
</div>
</td>
</tr>
<tr>
<td colspan="8" style="text-align: center">
<el-button type="primary" @click="save">保存</el-button>
</td>
</tr>
</tbody>
</table>
</div>
</template>
<script>
import {getQjTdcbjyqNydqtsyqdcDetailByZdbsm,saveOrUpdateQjTdcbjyqNydqtsyqdc} from '@api/tdcb'
export default {
name:"",
components:{},
props:{},
data(){
name: "",
components: {},
props: {
zddm:{
type:String
},
bdcdyh:{
type:String
}
},
data() {
return {
chengbaoNum:'7',
formData:{
jtcyList: [ //家庭成员集合
{
cybz: '',//成员备注 ,
cyxm: '',//成员姓名 ,
yhzgx: '',//与户主关系 ,
zjhm: ''//证件号码
}
],
bsm: '', //土地承包经营权、农用地其他使用权调查标识码:32位GUID
cbfdb: '', // 承包方代表
cbhtbh: '',// 承包合同编号
cbmj: 0,//承包(使用权)面积
cbqx:0,//承包期限
cbsyjssj: '',//承包(使用)结束时间
cbsyqssj: '',//承包(使用)起始时间
cyfgd: '',//草地覆盖度
cygd: '',//草原高度
dcjs: '',//调查记事
dcrq: '',//调查日期
dcy: '',//调查人
dldj: '',//地力等级
fbfmc: '',//发包方名称
fzrdz: '',//负责人地址
fzrxm: '',// 负责人姓名 ,
isdel: 0,//是否删除:[0] 未删除(缺省值);[1] 删除 ,
isjbnt: 0,//是否是基本农田 ,
jq: '',//建群 ,
jtcyzs: 0,//家庭成员总数 ,
jyqzbh: '',//经营权证编号 ,
lxdh: '',//联系电话 ,
mjdw: '',//面积单位 0:平方米 1:公顷 2:亩 ,
qdzbfs: '',//取得承包方式:家庭承包|招标|公开协商|拍卖|转让|互换|其他 ,
shr: '',//审核人 ,
shrq: '',//审核日期 ,
shyj: '',//审核意见 ,
syttlx: '',//水域滩涂类型 ,
syzcl: '',//适宜载畜量 ,
tdyt: '',//土地用途:种植业|林业|畜牧业|渔业|其他 ,
ysz: '',//优势种 ,
ywcbht: 0,//有无承包合同,0:无;1:有 ,
ywjyqz: 0,//有无经营权证,0:无;1:有 ,
yzbm: '',//邮政编码 ,
yzyfs: '',//养殖业方式
zdbsm: '',//宗地标识码,
zjh: '',//证件号 ,
zjzl: ''//证件种类
}
};
},
created() {},
mounted() {
this.formData.zdbsm=this.$route.query.bsm;
this.getQjTdcbjyqNydqtsyqdcDetailByZdbsm(this.formData.zdbsm);
// this.getQjTdcbjyqNydqtsyqdcDetailByZdbsm('85a47e4ce38fcc300101aa42d3ca667b');
},
methods: {
getQjTdcbjyqNydqtsyqdcDetailByZdbsm(zdbsm){
getQjTdcbjyqNydqtsyqdcDetailByZdbsm(zdbsm).then(res=>{
if(res.success){
console.log('获取明细',res)
this.formData= res.result || this.formData;
if(this.formData.jtcyList){
this.chengbaoNum=this.formData.jtcyList.length+6+''
}else{
this.chengbaoNum='6'
}
}
})
},
addFamily(){
let itemObj={cybz:'',cyxm:'',yhzgx:'',zjhm:''};
if(this.formData.jtcyList){
this.formData.jtcyList.push(itemObj);
this.chengbaoNum=this.chengbaoNum-0+1+'';
}else{
this.formData.jtcyList=[itemObj]
this.chengbaoNum=this.chengbaoNum-0+1+'';
}
},
delFamily(index){
if(this.formData.jtcyList.length==1){
return
}
this.formData.jtcyList.splice(index, 1);
this.chengbaoNum=this.chengbaoNum-1+'';
},
save(){
if(this.formData.ywcbht==1 && !this.formData.cbhtbh){
this.$message.warning("承包合同编号不能为空");
return
}
saveOrUpdateQjTdcbjyqNydqtsyqdc(this.formData).then(res=>{
if (res.success) {
console.log(res,"保存成功")
this.$message.success("保存成功")
}
})
}
},
created(){},
mounted(){},
methods:{},
computed: {},
watch: {},
}
};
</script>
<style scoped lang="less">
table {
margin-top: 20px;
background-color: #fff;
font-size: 14px;
width: 100%;
cursor: pointer;
.el-radio-group {
margin-left: 10px;
}
.el-radio {
margin-right: 20px !important;
}
th {
height: 36px;
line-height: 36px;
font-size: 16px;
}
td {
text-align: center;
height: 36px;
border-color: #e6e6e6;
}
/deep/.el-input__inner {
margin: 0;
height: 36px;
outline: none;
border: none;
color: #606764;
overflow: visible;
text-align: center;
}
.formSelect{
width: 100%;
}
.tdcenter{
text-align: center;
}
.total-number{
width: 60px;
background:none;
outline:none;
border:1px solid #e6e6e6;
box-sizing: border-box;
display: inline-block;
height: 20px;
margin-right: 3px;
}
.total-number:focus{
border: 1px solid #A0C5F6;
}
.add-to{
position: relative;
width: 37px;
height: 38px;
text-align: center;
line-height: 37px;
display: inline-block;
border-right:1px solid #e6e6e6;
}
.name-num{
display: inline-block;
width: calc(100% - 38px);
text-align: center;
line-height: 37px;
}
.name-input{
width: calc(100% - 6px);
height: 32px;
outline:none;
border:1px solid #e6e6e6;
box-sizing: border-box;
margin-top: -2px;
}
.name-input:focus{
border: 1px solid #A0C5F6;
}
.householder{
display: inline-block;
width: 40%;
text-align: center;
border-right:1px solid #e6e6e6;
box-sizing: border-box;
line-height: 38px;
}
.id-no{
display: inline-block;
width: 60%;
text-align: center;
line-height: 37px;
}
}
.tit{
width: 100%;
font-size: 18px;
text-align: center;
line-height: 28px;
padding-top: 12px;
}
.dw{
width: 100%;
padding-right: 10px;
text-align: right;
box-sizing: border-box;
line-height: 28px;
}
.has-choose{
float: left;
}
.jishi-time{
height: 100%;
float: right;
margin-right: 10px;
line-height: 36px;
span{
line-height: 36px;
}
.investigator{
width: 120px;
background:none;
outline:none;
border:1px solid #e6e6e6;
box-sizing: border-box;
display: inline-block;
height: 26px;
margin-right: 10px;
line-height: 26px;
margin-top: -2px;
}
.investigator:focus{
border: 1px solid #A0C5F6;
}
.time-pick{
display: inline-block;
height: 36px;
/deep/.el-input__inner{
margin-top:-2px;
}
}
}
</style>
\ No newline at end of file
......
<template>
<div class="main">暂无登记薄(功能接口开发中)</div>
<div class="main">暂无登记薄</div>
</template>
<script>
......
......@@ -817,6 +817,7 @@ export default {
item.style.border = '';
item.className = '';
});
this.bsms=bsms;
//清除选中户
// this.$refs.lpbContent.clearChoosedH();
this.$nextTick(()=>{
......
......@@ -5,7 +5,6 @@ let Timestamp = new Date().getTime();
function resolve(dir) {
return path.join(__dirname, dir)
}
const UglifyJsPlugin = require("uglifyjs-webpack-plugin");
module.exports = {
publicPath: './',
......@@ -20,7 +19,6 @@ module.exports = {
.set('@libs', resolve('src/libs'))
.set('@router', resolve('src/router'))
.set('@components', resolve('src/components'))
.set('@assets', resolve('src/assets'))
},
pluginOptions: {
'style-resources-loader': {
......@@ -33,17 +31,8 @@ module.exports = {
filename: `js/[name].${Timestamp}.js`,
chunkFilename: `js/[name].${Timestamp}.js`
},
plugins: [
// 去除console和debugger
// new UglifyJsPlugin({
// uglifyOptions: {
// compress: {
// drop_console: true,
// drop_debugger: true,
// },
// },
// parallel: true,
// }),
devtool: 'source-map'
// plugins: [
// new FileManagerPlugin({ //初始化 filemanager-webpack-plugin 插件实例
// onEnd: {
// mkdir: ['./zip','./dist'], //初始化生产zip和dist文件夹
......@@ -52,20 +41,16 @@ module.exports = {
// ]
// }
// })
]
// ]
},
devServer: {
host: "192.168.2.61",
host: "0.0.0.0",
port: 8008,
port: 8006,
https: false,
hotOnly: false,
proxy: {
"/api": {
// target: 'https://192.168.2.119:8006', //泽平
// target: process.env.VUE_APP_api1, //本地
target: process.env.VUE_APP_api, //赵千
// target: process.env.VUE_APP_api4, //赵千
target: process.env.VUE_APP_api2,
changeOrigin: true,
pathRewrite: {
"^/api": "/",
......