0c06227e by 田浩浩
2 parents 021d4985 cb6d7e91
......@@ -5,4 +5,4 @@ NODE_ENV=development
VUE_APP_BASE_API = '/bdcdj'
# 开发环境
VUE_APP_API_BASE_URL = 'http://192.168.2.95:8018'
VUE_APP_API_BASE_URL = 'http://192.168.2.88:8018'
......
......@@ -38,3 +38,12 @@ export function saveData (data) {
data
})
}
// 批量数据保存
export function batchSaveData (data) {
return request({
url: '/ywbl/cfdj/batchSaveData',
method: 'post',
data
})
}
......
<template>
<div>
<!-- 界面后期调整开发,报表开发,目前先放一张图片 -->
<el-form :model="ruleForm" label-width="120px">
<el-row>
<el-col :span="6">
<el-form-item label="查询时间:">
<!-- <el-input disabled v-model="ruleForm.cxlx"></el-input> -->
<img :src="imgUrl" alt="" srcset="" />
<!-- <el-form-item label="查询时间:">
{{ ruleForm.cxsj }}
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="不动产单元号:">
{{ ruleForm.bdcdyh }}
</el-form-item>
</el-form-item> -->
</el-col>
</el-row>
<el-row>
<el-col :span="24">
<table class="table1">
<tr>
<td>1</td>
<td>2</td>
<td>3</td>
<td>4</td>
<td>5</td>
<td>6</td>
<td>7</td>
<td>8</td>
<td>9</td>
<td>10</td>
<td>11</td>
</tr>
</table>
</el-col>
</el-row>
</el-form>
</div>
......@@ -40,6 +23,7 @@
<script>
import { getJtfcInfo } from "@/api/sqcxjl";
import imgPath from "./打印登记薄.png" //先导入
export default {
components: {},
......@@ -56,6 +40,7 @@ export default {
cxsj: "",
bdcdyh: "",
},
imgUrl:imgPath,
};
},
......
......@@ -98,10 +98,10 @@ export default {
// var sqcxBsm = scope.row.bsmSqcx;
this.$popup({
title: "打印登记薄",
width: "85%",
width: "65%",
btnShow: true,
editItem: "sqcx/dydjb/components/dydjbInfo", // 弹窗内容
height: "700px",
height: "800px",
formData: {
sqcxdata: scope.row,
},
......
......@@ -30,7 +30,7 @@
<el-button @click="resetClick()">重置</el-button>
</div>
<b class="title">查询结果</b>
<p>查询编号:202200409</p>
<!-- <p>查询编号:{{cxbh}}</p> -->
<lb-table :column="searchData.columns" border :data="searchData.data" :maxHeight="200" heightNumSetting
:pagination="false">
</lb-table>
......
......@@ -23,7 +23,7 @@ class data extends filter {
label: '登记时间',
},
{
prop: 'hth',
prop: 'wqhth',
label: '合同号',
},
{
......@@ -39,11 +39,11 @@ class data extends filter {
label: '共有方式',
},
{
prop: 'qlr',
prop: 'qlrmc',
label: '权利人',
},
{
prop: 'zjh',
prop: 'zjhm',
label: '证件号',
},
{
......@@ -51,7 +51,7 @@ class data extends filter {
label: '房地坐落',
},
{
prop: 'jzmj',
prop: 'fwmj',
label: '建筑面积(㎡)',
},
{
......
......@@ -73,7 +73,7 @@
</el-row>
<el-row>
<el-col>
<p>查询编号:202200409</p>
<p>查询编号:{{cxbh}}</p>
</el-col>
</el-row>
<el-row>
......@@ -145,6 +145,7 @@ export default {
this.sqrData.data = res.result.sqxx;
this.qlrData.data = res.result.qlrxx;
this.cxjgData.data = res.result.djSqcxCxjgDOList;
this.cxbh=res.result.djSqcxDO.cxbh;
}
})
......
......@@ -8,11 +8,23 @@ class data extends filter {
constructor() {
super()
}
cxjgcolumns () {
cxjgcolumns() {
return [
{
prop: 'qszt',
label: '权属状态',
render: (h, scope) => {
switch (scope.row.qszt) {
case '0':
return <div>临时</div>
case '1':
return <div>现势</div>
case '2':
return <div>历史</div>
case '3':
return <div>终止</div>
}
}
},
{
prop: 'bdcqzh',
......@@ -23,7 +35,7 @@ class data extends filter {
label: '登记时间',
},
{
prop: 'hth',
prop: 'wqhth',
label: '合同号',
},
{
......@@ -39,19 +51,19 @@ class data extends filter {
label: '共有方式',
},
{
prop: 'qlr',
prop: 'qlrmc',
label: '权利人',
},
{
prop: 'zjh',
prop: 'zjhm',
label: '证件号',
},
{
prop: 'fdzl',
prop: 'zl',
label: '房地坐落',
},
{
prop: 'jzmj',
prop: 'fwmj',
label: '建筑面积(㎡)',
},
{
......@@ -74,7 +86,7 @@ class data extends filter {
}
]
}
sqrcolumns () {
sqrcolumns() {
return [
{
prop: 'sqrxm',
......@@ -95,7 +107,7 @@ class data extends filter {
]
}
qlrcolumns () {
qlrcolumns() {
return [
{
prop: 'sqrxm',
......
......@@ -59,14 +59,6 @@ export default {
label: "权利人"
},
{
prop: "ywrmc",
label: "义务人"
},
{
prop: "qlxz",
label: "权利性质"
},
{
prop: "ytmc",
label: "用途"
},
......
......@@ -132,7 +132,7 @@
</template>
<script>
import cfBdcdyTable from "@/views/workflow/components/cfBdcdyTable";
import { cfBatchInit, saveData } from "@/api/cfdjFlow.js";
import { cfBatchInit, batchSaveData } from "@/api/cfdjFlow.js";
import { mapGetters } from "vuex";
export default {
data () {
......@@ -179,8 +179,9 @@ export default {
});
},
onSubmit () {
saveData(this.ruleForm).then((res) => {
if (res.code === 200 && res.result) {
this.ruleForm.bsmSlsq = this.$route.query.bsmSlsq;
batchSaveData(this.ruleForm).then((res) => {
if (res.code === 200) {
this.$message.success('保存成功');
}
});
......
......@@ -63,20 +63,20 @@
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item :class="flag ? 'marginBot0' : ''" label="宗地面积:">
<el-input disabled v-model="ruleForm.zdjbxx.zdmj"></el-input>
<el-form-item :class="flag ? 'marginBot0' : ''" label="面积:">
<el-input disabled v-model="ruleForm.qlxx.mj"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="10">
<el-col :span="8">
<el-form-item :class="flag ? 'marginBot0' : ''" label="土地用途:">
<el-input disabled v-model="ruleForm.zdjbxx.ghytmc"></el-input>
<el-form-item :class="flag ? 'marginBot0' : ''" label="用途:">
<el-input disabled v-model="ruleForm.qlxx.ytmc"></el-input>
</el-form-item>
</el-col>
<el-col :span="16">
<el-form-item :class="flag ? 'marginBot0' : ''" label="坐落:">
<el-input disabled v-model="ruleForm.zdjbxx.zl"></el-input>
<el-input disabled v-model="ruleForm.qlxx.zl"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -104,13 +104,13 @@
<el-row :gutter="10">
<el-col :span="8">
<el-form-item :class="flag ? 'marginBot0' : ''" label="查封机关:" prop="cfdj.cfjg">
<el-input v-model="ruleForm.cfdj.cfjg" :disabled="$route.query.viewtype"></el-input>
<el-input v-model="ruleForm.cfdj.cfjg" :disabled="$route.query.viewtype || ableEdit"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item :class="flag ? 'marginBot0' : ''" label="查封类型:" prop="cfdj.cflx">
<el-select v-model="ruleForm.cfdj.cflx" class="width100" filterable clearable placeholder="请选择查封类型:"
:disabled="$route.query.viewtype" @change="changeCflx">
:disabled="$route.query.viewtype || ableEdit" @change="changeCflx">
<el-option v-for="item in dictData['A32']" :key="item.dcode" :label="item.dname" :value="item.dcode">
</el-option>
</el-select>
......@@ -118,25 +118,25 @@
</el-col>
<el-col :span="8">
<el-form-item :class="flag ? 'marginBot0' : ''" label="查封文件:" prop="cfdj.cfwj">
<el-input v-model="ruleForm.cfdj.cfwj" :disabled="$route.query.viewtype"></el-input>
<el-input v-model="ruleForm.cfdj.cfwj" :disabled="$route.query.viewtype || ableEdit"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="10">
<el-col :span="8">
<el-form-item :class="flag ? 'marginBot0' : ''" label="查封文号:" prop="cfdj.cfwh">
<el-input v-model="ruleForm.cfdj.cfwh" :disabled="$route.query.viewtype"></el-input>
<el-input v-model="ruleForm.cfdj.cfwh" :disabled="$route.query.viewtype || ableEdit"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item :class="flag ? 'marginBot0' : ''" label="查封起始时间:" prop="cfdj.cfqssj">
<el-date-picker v-model="ruleForm.cfdj.cfqssj" class="width100" :disabled="$route.query.viewtype"
<el-date-picker v-model="ruleForm.cfdj.cfqssj" class="width100" :disabled="$route.query.viewtype || ableEdit"
type="date" placeholder="选择日期" value-format="yyyy-MM-dd"></el-date-picker>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item :class="flag ? 'marginBot0' : ''" label="查封结束时间:" prop="cfdj.cfjssj">
<el-date-picker v-model="ruleForm.cfdj.cfjssj" class="width100" :disabled="$route.query.viewtype"
<el-date-picker v-model="ruleForm.cfdj.cfjssj" class="width100" :disabled="$route.query.viewtype || ableEdit"
type="date" placeholder="选择日期" value-format="yyyy-MM-dd"></el-date-picker>
</el-form-item>
</el-col>
......@@ -144,26 +144,26 @@
<el-row :gutter="10">
<el-col :span="24">
<el-form-item :class="flag ? 'marginBot0' : ''" label="查封范围:" prop="cfdj.cffw">
<el-input v-model="ruleForm.cfdj.cffw" :disabled="$route.query.viewtype"></el-input>
<el-input v-model="ruleForm.cfdj.cffw" :disabled="$route.query.viewtype || ableEdit"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="10">
<el-col :span="24">
<el-form-item :class="flag ? 'marginBot0' : ''" label="附记:" prop="cfdj.fj">
<el-input v-model="ruleForm.cfdj.fj" type="textarea" :disabled="$route.query.viewtype"></el-input>
<el-input v-model="ruleForm.cfdj.fj" type="textarea" :disabled="$route.query.viewtype || ableEdit"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="10">
<el-col>
<el-form-item :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="cfdj.djyy">
<el-input class="textArea" type="textarea" v-model="ruleForm.cfdj.djyy" :disabled="$route.query.viewtype"></el-input>
<el-input class="textArea" type="textarea" v-model="ruleForm.cfdj.djyy" :disabled="$route.query.viewtype || ableEdit"></el-input>
</el-form-item>
</el-col>
</el-row>
</div>
<el-row class="btn" v-if="!$route.query.viewtype">
<el-row class="btn" v-if="!$route.query.viewtype && !ableEdit">
<el-form-item :class="flag ? 'marginBot0' : ''">
<el-button type="primary" @click="onSubmit">保存</el-button>
</el-form-item>
......@@ -185,11 +185,13 @@ export default {
propsParam: {},
//页面数据
ruleForm: {},
//是否可编辑
ableEdit: false
};
},
created () {
this.propsParam = this.$attrs;
this.ableEdit = this.$parent.showBatch;
this.list(this.propsParam.bsmSldy);
},
watch: {
......