0c06227e by 田浩浩
2 parents 021d4985 cb6d7e91
...@@ -5,4 +5,4 @@ NODE_ENV=development ...@@ -5,4 +5,4 @@ NODE_ENV=development
5 VUE_APP_BASE_API = '/bdcdj' 5 VUE_APP_BASE_API = '/bdcdj'
6 6
7 # 开发环境 7 # 开发环境
8 VUE_APP_API_BASE_URL = 'http://192.168.2.95:8018' 8 VUE_APP_API_BASE_URL = 'http://192.168.2.88:8018'
......
...@@ -38,3 +38,12 @@ export function saveData (data) { ...@@ -38,3 +38,12 @@ export function saveData (data) {
38 data 38 data
39 }) 39 })
40 } 40 }
41
42 // 批量数据保存
43 export function batchSaveData (data) {
44 return request({
45 url: '/ywbl/cfdj/batchSaveData',
46 method: 'post',
47 data
48 })
49 }
......
1 <template> 1 <template>
2 <div> 2 <div>
3 <!-- 界面后期调整开发,报表开发,目前先放一张图片 -->
3 <el-form :model="ruleForm" label-width="120px"> 4 <el-form :model="ruleForm" label-width="120px">
4 <el-row> 5 <el-row>
5 <el-col :span="6"> 6 <el-col :span="6">
6 <el-form-item label="查询时间:"> 7 <img :src="imgUrl" alt="" srcset="" />
7 <!-- <el-input disabled v-model="ruleForm.cxlx"></el-input> --> 8 <!-- <el-form-item label="查询时间:">
8 {{ ruleForm.cxsj }} 9 {{ ruleForm.cxsj }}
9 </el-form-item> 10 </el-form-item>
10 </el-col> 11 </el-col>
11 <el-col :span="8"> 12 <el-col :span="8">
12 <el-form-item label="不动产单元号:"> 13 <el-form-item label="不动产单元号:">
13 {{ ruleForm.bdcdyh }} 14 {{ ruleForm.bdcdyh }}
14 </el-form-item> 15 </el-form-item> -->
15 </el-col> 16 </el-col>
16 </el-row> 17 </el-row>
17 <el-row> 18 <el-row>
18 <el-col :span="24">
19 <table class="table1">
20 <tr>
21 <td>1</td>
22 <td>2</td>
23 <td>3</td>
24 <td>4</td>
25 <td>5</td>
26 <td>6</td>
27 <td>7</td>
28 <td>8</td>
29 <td>9</td>
30 <td>10</td>
31 <td>11</td>
32
33 </tr>
34 </table>
35 </el-col>
36 </el-row> 19 </el-row>
37 </el-form> 20 </el-form>
38 </div> 21 </div>
...@@ -40,6 +23,7 @@ ...@@ -40,6 +23,7 @@
40 23
41 <script> 24 <script>
42 import { getJtfcInfo } from "@/api/sqcxjl"; 25 import { getJtfcInfo } from "@/api/sqcxjl";
26 import imgPath from "./打印登记薄.png" //先导入
43 27
44 export default { 28 export default {
45 components: {}, 29 components: {},
...@@ -56,6 +40,7 @@ export default { ...@@ -56,6 +40,7 @@ export default {
56 cxsj: "", 40 cxsj: "",
57 bdcdyh: "", 41 bdcdyh: "",
58 }, 42 },
43 imgUrl:imgPath,
59 }; 44 };
60 }, 45 },
61 46
......
...@@ -98,10 +98,10 @@ export default { ...@@ -98,10 +98,10 @@ export default {
98 // var sqcxBsm = scope.row.bsmSqcx; 98 // var sqcxBsm = scope.row.bsmSqcx;
99 this.$popup({ 99 this.$popup({
100 title: "打印登记薄", 100 title: "打印登记薄",
101 width: "85%", 101 width: "65%",
102 btnShow: true, 102 btnShow: true,
103 editItem: "sqcx/dydjb/components/dydjbInfo", // 弹窗内容 103 editItem: "sqcx/dydjb/components/dydjbInfo", // 弹窗内容
104 height: "700px", 104 height: "800px",
105 formData: { 105 formData: {
106 sqcxdata: scope.row, 106 sqcxdata: scope.row,
107 }, 107 },
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
30 <el-button @click="resetClick()">重置</el-button> 30 <el-button @click="resetClick()">重置</el-button>
31 </div> 31 </div>
32 <b class="title">查询结果</b> 32 <b class="title">查询结果</b>
33 <p>查询编号:202200409</p> 33 <!-- <p>查询编号:{{cxbh}}</p> -->
34 <lb-table :column="searchData.columns" border :data="searchData.data" :maxHeight="200" heightNumSetting 34 <lb-table :column="searchData.columns" border :data="searchData.data" :maxHeight="200" heightNumSetting
35 :pagination="false"> 35 :pagination="false">
36 </lb-table> 36 </lb-table>
......
...@@ -23,7 +23,7 @@ class data extends filter { ...@@ -23,7 +23,7 @@ class data extends filter {
23 label: '登记时间', 23 label: '登记时间',
24 }, 24 },
25 { 25 {
26 prop: 'hth', 26 prop: 'wqhth',
27 label: '合同号', 27 label: '合同号',
28 }, 28 },
29 { 29 {
...@@ -39,11 +39,11 @@ class data extends filter { ...@@ -39,11 +39,11 @@ class data extends filter {
39 label: '共有方式', 39 label: '共有方式',
40 }, 40 },
41 { 41 {
42 prop: 'qlr', 42 prop: 'qlrmc',
43 label: '权利人', 43 label: '权利人',
44 }, 44 },
45 { 45 {
46 prop: 'zjh', 46 prop: 'zjhm',
47 label: '证件号', 47 label: '证件号',
48 }, 48 },
49 { 49 {
...@@ -51,7 +51,7 @@ class data extends filter { ...@@ -51,7 +51,7 @@ class data extends filter {
51 label: '房地坐落', 51 label: '房地坐落',
52 }, 52 },
53 { 53 {
54 prop: 'jzmj', 54 prop: 'fwmj',
55 label: '建筑面积(㎡)', 55 label: '建筑面积(㎡)',
56 }, 56 },
57 { 57 {
......
...@@ -73,7 +73,7 @@ ...@@ -73,7 +73,7 @@
73 </el-row> 73 </el-row>
74 <el-row> 74 <el-row>
75 <el-col> 75 <el-col>
76 <p>查询编号:202200409</p> 76 <p>查询编号:{{cxbh}}</p>
77 </el-col> 77 </el-col>
78 </el-row> 78 </el-row>
79 <el-row> 79 <el-row>
...@@ -145,6 +145,7 @@ export default { ...@@ -145,6 +145,7 @@ export default {
145 this.sqrData.data = res.result.sqxx; 145 this.sqrData.data = res.result.sqxx;
146 this.qlrData.data = res.result.qlrxx; 146 this.qlrData.data = res.result.qlrxx;
147 this.cxjgData.data = res.result.djSqcxCxjgDOList; 147 this.cxjgData.data = res.result.djSqcxCxjgDOList;
148 this.cxbh=res.result.djSqcxDO.cxbh;
148 149
149 } 150 }
150 }) 151 })
......
...@@ -8,11 +8,23 @@ class data extends filter { ...@@ -8,11 +8,23 @@ class data extends filter {
8 constructor() { 8 constructor() {
9 super() 9 super()
10 } 10 }
11 cxjgcolumns () { 11 cxjgcolumns() {
12 return [ 12 return [
13 { 13 {
14 prop: 'qszt', 14 prop: 'qszt',
15 label: '权属状态', 15 label: '权属状态',
16 render: (h, scope) => {
17 switch (scope.row.qszt) {
18 case '0':
19 return <div>临时</div>
20 case '1':
21 return <div>现势</div>
22 case '2':
23 return <div>历史</div>
24 case '3':
25 return <div>终止</div>
26 }
27 }
16 }, 28 },
17 { 29 {
18 prop: 'bdcqzh', 30 prop: 'bdcqzh',
...@@ -23,7 +35,7 @@ class data extends filter { ...@@ -23,7 +35,7 @@ class data extends filter {
23 label: '登记时间', 35 label: '登记时间',
24 }, 36 },
25 { 37 {
26 prop: 'hth', 38 prop: 'wqhth',
27 label: '合同号', 39 label: '合同号',
28 }, 40 },
29 { 41 {
...@@ -39,19 +51,19 @@ class data extends filter { ...@@ -39,19 +51,19 @@ class data extends filter {
39 label: '共有方式', 51 label: '共有方式',
40 }, 52 },
41 { 53 {
42 prop: 'qlr', 54 prop: 'qlrmc',
43 label: '权利人', 55 label: '权利人',
44 }, 56 },
45 { 57 {
46 prop: 'zjh', 58 prop: 'zjhm',
47 label: '证件号', 59 label: '证件号',
48 }, 60 },
49 { 61 {
50 prop: 'fdzl', 62 prop: 'zl',
51 label: '房地坐落', 63 label: '房地坐落',
52 }, 64 },
53 { 65 {
54 prop: 'jzmj', 66 prop: 'fwmj',
55 label: '建筑面积(㎡)', 67 label: '建筑面积(㎡)',
56 }, 68 },
57 { 69 {
...@@ -74,7 +86,7 @@ class data extends filter { ...@@ -74,7 +86,7 @@ class data extends filter {
74 } 86 }
75 ] 87 ]
76 } 88 }
77 sqrcolumns () { 89 sqrcolumns() {
78 return [ 90 return [
79 { 91 {
80 prop: 'sqrxm', 92 prop: 'sqrxm',
...@@ -95,7 +107,7 @@ class data extends filter { ...@@ -95,7 +107,7 @@ class data extends filter {
95 ] 107 ]
96 } 108 }
97 109
98 qlrcolumns () { 110 qlrcolumns() {
99 return [ 111 return [
100 { 112 {
101 prop: 'sqrxm', 113 prop: 'sqrxm',
......
...@@ -59,14 +59,6 @@ export default { ...@@ -59,14 +59,6 @@ export default {
59 label: "权利人" 59 label: "权利人"
60 }, 60 },
61 { 61 {
62 prop: "ywrmc",
63 label: "义务人"
64 },
65 {
66 prop: "qlxz",
67 label: "权利性质"
68 },
69 {
70 prop: "ytmc", 62 prop: "ytmc",
71 label: "用途" 63 label: "用途"
72 }, 64 },
......
...@@ -132,7 +132,7 @@ ...@@ -132,7 +132,7 @@
132 </template> 132 </template>
133 <script> 133 <script>
134 import cfBdcdyTable from "@/views/workflow/components/cfBdcdyTable"; 134 import cfBdcdyTable from "@/views/workflow/components/cfBdcdyTable";
135 import { cfBatchInit, saveData } from "@/api/cfdjFlow.js"; 135 import { cfBatchInit, batchSaveData } from "@/api/cfdjFlow.js";
136 import { mapGetters } from "vuex"; 136 import { mapGetters } from "vuex";
137 export default { 137 export default {
138 data () { 138 data () {
...@@ -179,8 +179,9 @@ export default { ...@@ -179,8 +179,9 @@ export default {
179 }); 179 });
180 }, 180 },
181 onSubmit () { 181 onSubmit () {
182 saveData(this.ruleForm).then((res) => { 182 this.ruleForm.bsmSlsq = this.$route.query.bsmSlsq;
183 if (res.code === 200 && res.result) { 183 batchSaveData(this.ruleForm).then((res) => {
184 if (res.code === 200) {
184 this.$message.success('保存成功'); 185 this.$message.success('保存成功');
185 } 186 }
186 }); 187 });
......
...@@ -63,20 +63,20 @@ ...@@ -63,20 +63,20 @@
63 </el-form-item> 63 </el-form-item>
64 </el-col> 64 </el-col>
65 <el-col :span="8"> 65 <el-col :span="8">
66 <el-form-item :class="flag ? 'marginBot0' : ''" label="宗地面积:"> 66 <el-form-item :class="flag ? 'marginBot0' : ''" label="面积:">
67 <el-input disabled v-model="ruleForm.zdjbxx.zdmj"></el-input> 67 <el-input disabled v-model="ruleForm.qlxx.mj"></el-input>
68 </el-form-item> 68 </el-form-item>
69 </el-col> 69 </el-col>
70 </el-row> 70 </el-row>
71 <el-row :gutter="10"> 71 <el-row :gutter="10">
72 <el-col :span="8"> 72 <el-col :span="8">
73 <el-form-item :class="flag ? 'marginBot0' : ''" label="土地用途:"> 73 <el-form-item :class="flag ? 'marginBot0' : ''" label="用途:">
74 <el-input disabled v-model="ruleForm.zdjbxx.ghytmc"></el-input> 74 <el-input disabled v-model="ruleForm.qlxx.ytmc"></el-input>
75 </el-form-item> 75 </el-form-item>
76 </el-col> 76 </el-col>
77 <el-col :span="16"> 77 <el-col :span="16">
78 <el-form-item :class="flag ? 'marginBot0' : ''" label="坐落:"> 78 <el-form-item :class="flag ? 'marginBot0' : ''" label="坐落:">
79 <el-input disabled v-model="ruleForm.zdjbxx.zl"></el-input> 79 <el-input disabled v-model="ruleForm.qlxx.zl"></el-input>
80 </el-form-item> 80 </el-form-item>
81 </el-col> 81 </el-col>
82 </el-row> 82 </el-row>
...@@ -104,13 +104,13 @@ ...@@ -104,13 +104,13 @@
104 <el-row :gutter="10"> 104 <el-row :gutter="10">
105 <el-col :span="8"> 105 <el-col :span="8">
106 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封机关:" prop="cfdj.cfjg"> 106 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封机关:" prop="cfdj.cfjg">
107 <el-input v-model="ruleForm.cfdj.cfjg" :disabled="$route.query.viewtype"></el-input> 107 <el-input v-model="ruleForm.cfdj.cfjg" :disabled="$route.query.viewtype || ableEdit"></el-input>
108 </el-form-item> 108 </el-form-item>
109 </el-col> 109 </el-col>
110 <el-col :span="8"> 110 <el-col :span="8">
111 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封类型:" prop="cfdj.cflx"> 111 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封类型:" prop="cfdj.cflx">
112 <el-select v-model="ruleForm.cfdj.cflx" class="width100" filterable clearable placeholder="请选择查封类型:" 112 <el-select v-model="ruleForm.cfdj.cflx" class="width100" filterable clearable placeholder="请选择查封类型:"
113 :disabled="$route.query.viewtype" @change="changeCflx"> 113 :disabled="$route.query.viewtype || ableEdit" @change="changeCflx">
114 <el-option v-for="item in dictData['A32']" :key="item.dcode" :label="item.dname" :value="item.dcode"> 114 <el-option v-for="item in dictData['A32']" :key="item.dcode" :label="item.dname" :value="item.dcode">
115 </el-option> 115 </el-option>
116 </el-select> 116 </el-select>
...@@ -118,25 +118,25 @@ ...@@ -118,25 +118,25 @@
118 </el-col> 118 </el-col>
119 <el-col :span="8"> 119 <el-col :span="8">
120 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封文件:" prop="cfdj.cfwj"> 120 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封文件:" prop="cfdj.cfwj">
121 <el-input v-model="ruleForm.cfdj.cfwj" :disabled="$route.query.viewtype"></el-input> 121 <el-input v-model="ruleForm.cfdj.cfwj" :disabled="$route.query.viewtype || ableEdit"></el-input>
122 </el-form-item> 122 </el-form-item>
123 </el-col> 123 </el-col>
124 </el-row> 124 </el-row>
125 <el-row :gutter="10"> 125 <el-row :gutter="10">
126 <el-col :span="8"> 126 <el-col :span="8">
127 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封文号:" prop="cfdj.cfwh"> 127 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封文号:" prop="cfdj.cfwh">
128 <el-input v-model="ruleForm.cfdj.cfwh" :disabled="$route.query.viewtype"></el-input> 128 <el-input v-model="ruleForm.cfdj.cfwh" :disabled="$route.query.viewtype || ableEdit"></el-input>
129 </el-form-item> 129 </el-form-item>
130 </el-col> 130 </el-col>
131 <el-col :span="8"> 131 <el-col :span="8">
132 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封起始时间:" prop="cfdj.cfqssj"> 132 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封起始时间:" prop="cfdj.cfqssj">
133 <el-date-picker v-model="ruleForm.cfdj.cfqssj" class="width100" :disabled="$route.query.viewtype" 133 <el-date-picker v-model="ruleForm.cfdj.cfqssj" class="width100" :disabled="$route.query.viewtype || ableEdit"
134 type="date" placeholder="选择日期" value-format="yyyy-MM-dd"></el-date-picker> 134 type="date" placeholder="选择日期" value-format="yyyy-MM-dd"></el-date-picker>
135 </el-form-item> 135 </el-form-item>
136 </el-col> 136 </el-col>
137 <el-col :span="8"> 137 <el-col :span="8">
138 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封结束时间:" prop="cfdj.cfjssj"> 138 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封结束时间:" prop="cfdj.cfjssj">
139 <el-date-picker v-model="ruleForm.cfdj.cfjssj" class="width100" :disabled="$route.query.viewtype" 139 <el-date-picker v-model="ruleForm.cfdj.cfjssj" class="width100" :disabled="$route.query.viewtype || ableEdit"
140 type="date" placeholder="选择日期" value-format="yyyy-MM-dd"></el-date-picker> 140 type="date" placeholder="选择日期" value-format="yyyy-MM-dd"></el-date-picker>
141 </el-form-item> 141 </el-form-item>
142 </el-col> 142 </el-col>
...@@ -144,26 +144,26 @@ ...@@ -144,26 +144,26 @@
144 <el-row :gutter="10"> 144 <el-row :gutter="10">
145 <el-col :span="24"> 145 <el-col :span="24">
146 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封范围:" prop="cfdj.cffw"> 146 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封范围:" prop="cfdj.cffw">
147 <el-input v-model="ruleForm.cfdj.cffw" :disabled="$route.query.viewtype"></el-input> 147 <el-input v-model="ruleForm.cfdj.cffw" :disabled="$route.query.viewtype || ableEdit"></el-input>
148 </el-form-item> 148 </el-form-item>
149 </el-col> 149 </el-col>
150 </el-row> 150 </el-row>
151 <el-row :gutter="10"> 151 <el-row :gutter="10">
152 <el-col :span="24"> 152 <el-col :span="24">
153 <el-form-item :class="flag ? 'marginBot0' : ''" label="附记:" prop="cfdj.fj"> 153 <el-form-item :class="flag ? 'marginBot0' : ''" label="附记:" prop="cfdj.fj">
154 <el-input v-model="ruleForm.cfdj.fj" type="textarea" :disabled="$route.query.viewtype"></el-input> 154 <el-input v-model="ruleForm.cfdj.fj" type="textarea" :disabled="$route.query.viewtype || ableEdit"></el-input>
155 </el-form-item> 155 </el-form-item>
156 </el-col> 156 </el-col>
157 </el-row> 157 </el-row>
158 <el-row :gutter="10"> 158 <el-row :gutter="10">
159 <el-col> 159 <el-col>
160 <el-form-item :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="cfdj.djyy"> 160 <el-form-item :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="cfdj.djyy">
161 <el-input class="textArea" type="textarea" v-model="ruleForm.cfdj.djyy" :disabled="$route.query.viewtype"></el-input> 161 <el-input class="textArea" type="textarea" v-model="ruleForm.cfdj.djyy" :disabled="$route.query.viewtype || ableEdit"></el-input>
162 </el-form-item> 162 </el-form-item>
163 </el-col> 163 </el-col>
164 </el-row> 164 </el-row>
165 </div> 165 </div>
166 <el-row class="btn" v-if="!$route.query.viewtype"> 166 <el-row class="btn" v-if="!$route.query.viewtype && !ableEdit">
167 <el-form-item :class="flag ? 'marginBot0' : ''"> 167 <el-form-item :class="flag ? 'marginBot0' : ''">
168 <el-button type="primary" @click="onSubmit">保存</el-button> 168 <el-button type="primary" @click="onSubmit">保存</el-button>
169 </el-form-item> 169 </el-form-item>
...@@ -185,11 +185,13 @@ export default { ...@@ -185,11 +185,13 @@ export default {
185 propsParam: {}, 185 propsParam: {},
186 //页面数据 186 //页面数据
187 ruleForm: {}, 187 ruleForm: {},
188 188 //是否可编辑
189 ableEdit: false
189 }; 190 };
190 }, 191 },
191 created () { 192 created () {
192 this.propsParam = this.$attrs; 193 this.propsParam = this.$attrs;
194 this.ableEdit = this.$parent.showBatch;
193 this.list(this.propsParam.bsmSldy); 195 this.list(this.propsParam.bsmSldy);
194 }, 196 },
195 watch: { 197 watch: {
......