8d88fef4 by 蔡俊立
2 parents bb659e38 9258d07d
1 # just a flag 1 # just a flag
2 ENV = 'demonstration' 2 ENV = 'production'
3 NODE_ENV=development 3 NODE_ENV=production
4 # base api 4 # base api
5 VUE_APP_BASE_API = '/dev-api' 5 VUE_APP_BASE_API = '/service-bdcdj'
6 6
7 # 演示,正式后端 7 # 演示,正式后端
8 VUE_APP_API_BASE_URL = 'http://192.168.2.38:8018' 8 VUE_APP_API_BASE_URL = 'http://192.168.2.38:8008/service-bdcdj'
......
...@@ -4,8 +4,8 @@ ...@@ -4,8 +4,8 @@
4 "description": "HOUTAI", 4 "description": "HOUTAI",
5 "author": "psh", 5 "author": "psh",
6 "scripts": { 6 "scripts": {
7 "dev": "vue-cli-service serve --mode development", 7 "dev": "vue-cli-service serve",
8 "build": "vue-cli-service build --mode build-development" 8 "build": "vue-cli-service build"
9 }, 9 },
10 "dependencies": { 10 "dependencies": {
11 "@babel/polyfill": "^7.12.1", 11 "@babel/polyfill": "^7.12.1",
......
...@@ -69,3 +69,12 @@ export function save (data) { ...@@ -69,3 +69,12 @@ export function save (data) {
69 data 69 data
70 }) 70 })
71 } 71 }
72
73 // 材料目录批量删除
74 export function clmlDelete (params) {
75 return request({
76 url: '/zhcx/clml/delete',
77 method: 'delete',
78 params: params
79 })
80 }
......
...@@ -22,14 +22,13 @@ ...@@ -22,14 +22,13 @@
22 </template> 22 </template>
23 <script> 23 <script>
24 import { mapGetters } from 'vuex' 24 import { mapGetters } from 'vuex'
25 import logonImg from '@/image/logo.png'
26 export default { 25 export default {
27 computed: { 26 computed: {
28 ...mapGetters(['sidebar', 'avatar', 'name']) 27 ...mapGetters(['sidebar', 'avatar', 'name'])
29 }, 28 },
30 data () { 29 data () {
31 return { 30 return {
32 logo: logonImg 31 logo: require('../../image/logo.png')
33 } 32 }
34 }, 33 },
35 methods: { 34 methods: {
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
8 .sidebar-container { 8 .sidebar-container {
9 transition: width 0.28s; 9 transition: width 0.28s;
10 width: $sideBarWidth !important; 10 width: $sideBarWidth !important;
11 height: calc(100% - $headerHeight); 11 height: calc(100% - #{$headerHeight});
12 position: fixed; 12 position: fixed;
13 font-size: 0px; 13 font-size: 0px;
14 top: $headerHeight; 14 top: $headerHeight;
......
...@@ -224,7 +224,22 @@ export default { ...@@ -224,7 +224,22 @@ export default {
224 }) 224 })
225 }, 225 },
226 handleMinus (index, row) { 226 handleMinus (index, row) {
227 removeTreeListItem(this.tableData, row.bsmDict) 227 this.$confirm('此操作将永久删除, 是否继续?', '提示', {
228 confirmButtonText: '确定',
229 cancelButtonText: '取消',
230 type: 'warning'
231 }).then(() => {
232 removeTreeListItem(this.tableData, row.bsmDict)
233 this.$message({
234 type: 'success',
235 message: '删除成功!'
236 })
237 }).catch(() => {
238 this.$message({
239 type: 'info',
240 message: '已取消删除'
241 })
242 })
228 }, 243 },
229 handleSubmit () { 244 handleSubmit () {
230 editDictNode({ 245 editDictNode({
......
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
47 <!-- 表格 --> 47 <!-- 表格 -->
48 <!-- 表格 --> 48 <!-- 表格 -->
49 <div class="from-clues-content"> 49 <div class="from-clues-content">
50 <lb-table :page-size="pageData.size" :current-page.sync="pageData.currentPage" :total="tableData.total" 50 <lb-table :page-size="pageData.size" border :current-page.sync="pageData.currentPage" :total="tableData.total"
51 @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns" 51 @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns"
52 :data="tableData.data"> 52 :data="tableData.data">
53 </lb-table> 53 </lb-table>
......
...@@ -13,7 +13,7 @@ class data extends filter { ...@@ -13,7 +13,7 @@ class data extends filter {
13 { 13 {
14 label: '序号', 14 label: '序号',
15 type: 'index', 15 type: 'index',
16 width: '60' 16 width: '50'
17 }, 17 },
18 { 18 {
19 prop: "ywlymc", 19 prop: "ywlymc",
...@@ -75,13 +75,13 @@ class data extends filter { ...@@ -75,13 +75,13 @@ class data extends filter {
75 { 75 {
76 prop: "zl", 76 prop: "zl",
77 label: "坐落", 77 label: "坐落",
78 width:'180' 78 width:'260'
79 }, 79 },
80 { 80 {
81 prop: "slsj", 81 prop: "slsj",
82 label: "受理时间", 82 label: "受理时间",
83 sortable: 'custom', 83 sortable: 'custom',
84 width:'160' 84 width:'150'
85 }, 85 },
86 { 86 {
87 prop: "slry", 87 prop: "slry",
......
...@@ -28,18 +28,18 @@ ...@@ -28,18 +28,18 @@
28 <!-- 材料预览 --> 28 <!-- 材料预览 -->
29 <div class="clyl-box" v-if="checkedId == '2'"> 29 <div class="clyl-box" v-if="checkedId == '2'">
30 <div class="menu-tree"> 30 <div class="menu-tree">
31 <div class="item" v-for="item in treedata" :key="item.id"> 31 <div class="item">
32 {{ item.label }} 32 材料目录
33 <i :class="iclass" @click="iconClick()"></i> 33 <i :class="iclass" @click="iconClick()"></i>
34 <el-collapse-transition> 34 <el-collapse-transition>
35 <div v-show="menuOpen"> 35 <div v-show="menuOpen">
36 <div 36 <div
37 v-for="item2 in item.children" 37 v-for="item in tableData"
38 :key="item2.id" 38 :key="item.bsmSj"
39 :class="['child', treeCheckId == item2.id ? 'checked' : '']" 39 :class="['child', treeCheckId == item.bsmSj ? 'checked' : '']"
40 @click="treeClick(item2)" 40 @click="treeClick(item)"
41 > 41 >
42 {{ item2.label }} 42 {{ item.sjmc }}
43 </div> 43 </div>
44 </div> 44 </div>
45 </el-collapse-transition> 45 </el-collapse-transition>
...@@ -47,7 +47,12 @@ ...@@ -47,7 +47,12 @@
47 </div> 47 </div>
48 <div class="clyl-img"> 48 <div class="clyl-img">
49 <div class="header"> 49 <div class="header">
50 <div class="title">{{ title }}</div> 50 <div class="title" v-if="titleNum == 0">
51 {{ title }}
52 </div>
53 <div class="title" v-else>
54 {{ title }} ({{ titleYs }} / {{ titleNum }})
55 </div>
51 <div class="i-group"> 56 <div class="i-group">
52 <i class="el-icon-zoom-in"></i> 57 <i class="el-icon-zoom-in"></i>
53 <i class="el-icon-zoom-out"></i> 58 <i class="el-icon-zoom-out"></i>
...@@ -56,16 +61,22 @@ ...@@ -56,16 +61,22 @@
56 <i class="el-icon-document"></i> 61 <i class="el-icon-document"></i>
57 </div> 62 </div>
58 </div> 63 </div>
64 <div class="prev" @click="imgPrev()" v-if="imgList.length > 0">
65 <i class="el-icon-arrow-left"></i>
66 </div>
59 <div class="img-box"> 67 <div class="img-box">
60 <img :src="showImg.imgUrl" alt="" /> 68 <img :src="showImg.imgUrl" alt="" />
61 </div> 69 </div>
70 <div class="next" @click="imgNext()" v-if="imgList.length > 0">
71 <i class="el-icon-arrow-right"></i>
72 </div>
62 <div class="img-list"> 73 <div class="img-list">
63 <div class="item" v-for="(item, index) in imgList" :key="index"> 74 <div class="item" v-for="(item, index) in imgList" :key="index">
64 <img 75 <img
65 :class="showImg.id == item.id ? 'active' : ''" 76 :class="showImg.id == item.id ? 'active' : ''"
66 :src="item.imgUrl" 77 :src="item.imgUrl"
67 alt="" 78 alt=""
68 @click="imgClick(item)" 79 @click="imgClick(item, index)"
69 /> 80 />
70 </div> 81 </div>
71 </div> 82 </div>
...@@ -81,16 +92,14 @@ ...@@ -81,16 +92,14 @@
81 </div> 92 </div>
82 </template> 93 </template>
83 <script> 94 <script>
95 import { mapGetters } from "vuex";
84 import clxxAddDialog from "./clxxAddDialog.vue"; 96 import clxxAddDialog from "./clxxAddDialog.vue";
85 import { upward, down } from "@/utils/operation"; 97 import { upward, down } from "@/utils/operation";
86 import { clmlInit, move, save } from "@/api/fqsq.js"; 98 import { clmlInit, move, save, clmlDelete } from "@/api/fqsq.js";
99 import filter from "@/utils/filter.js";
87 100
88 export default { 101 export default {
89 components: { clxxAddDialog }, 102 components: { clxxAddDialog },
90 props: {
91 id: "",
92 unitData: Array,
93 },
94 data() { 103 data() {
95 return { 104 return {
96 isDialog: false, 105 isDialog: false,
...@@ -120,12 +129,13 @@ export default { ...@@ -120,12 +129,13 @@ export default {
120 ); 129 );
121 }, 130 },
122 render: (h, scope) => { 131 render: (h, scope) => {
123 if (scope.row.isAdd) { 132 // 新建的材料,可删除
133 if (scope.row.sfxjcl === "1") {
124 return ( 134 return (
125 <i 135 <i
126 class="el-icon-minus pointer" 136 class="el-icon-minus pointer"
127 onClick={() => { 137 onClick={() => {
128 this.handleMinus(scope.$index, scope.row); 138 this.handleDelete(scope.$index, scope.row);
129 }} 139 }}
130 ></i> 140 ></i>
131 ); 141 );
...@@ -138,28 +148,68 @@ export default { ...@@ -138,28 +148,68 @@ export default {
138 type: "index", 148 type: "index",
139 }, 149 },
140 { 150 {
141 prop: "sfbx", 151 prop: "isrequired",
142 label: "是否必选", 152 label: "是否必选",
143 width: "100", 153 width: "100",
154 render: (h, scope) => {
155 // 新增的材料,全部为系统默认可选
156 if (scope.row.sfxjcl === "1") {
157 return (
158 <div>
159 <span>可选</span>
160 </div>
161 );
162 }
163 // 系统配置的材料
164 else {
165 return (
166 <div>
167 <span>必选</span>
168 </div>
169 );
170 }
171 },
144 }, 172 },
145 { 173 {
146 prop: "clmc", 174 prop: "sjmc",
147 label: "材料名称", 175 label: "材料名称",
148 }, 176 },
149 { 177 {
150 prop: "cllx", 178 prop: "sjlx",
151 label: "材料类型", 179 label: "材料类型",
180 render: (h, scope) => {
181 return (
182 <div>
183 <span>{this.dicStatus(scope.row.sjlx, "A40")}</span>
184 </div>
185 );
186 },
152 }, 187 },
153 { 188 {
154 prop: "fs", 189 prop: "sjsl",
155 label: "份数", 190 label: "份数",
156 }, 191 },
157 { 192 {
158 prop: "smzt", 193 prop: "smzt",
159 label: "扫描状态", 194 label: "扫描状态",
195 render: (h, scope) => {
196 if (scope.row.children.length > 0) {
197 return (
198 <div>
199 <span>已扫描</span>
200 </div>
201 );
202 } else {
203 return (
204 <div>
205 <span>未扫描</span>
206 </div>
207 );
208 }
209 },
160 }, 210 },
161 { 211 {
162 prop: "smys", 212 prop: "ys",
163 label: "扫描页数", 213 label: "扫描页数",
164 }, 214 },
165 { 215 {
...@@ -193,115 +243,27 @@ export default { ...@@ -193,115 +243,27 @@ export default {
193 ], 243 ],
194 key: 0, 244 key: 0,
195 tableData: [], 245 tableData: [],
196 tableData1: [
197 {
198 sfbx: "必选",
199 clmc: "不动产登记申请书",
200 cllx: "原件正本",
201 fs: 2,
202 smzt: "已扫描",
203 smys: 4,
204 },
205 {
206 sfbx: "必选",
207 clmc: "申请人身份证明",
208 cllx: "正本复印件",
209 fs: 1,
210 smzt: "已扫描",
211 smys: 6,
212 },
213 {
214 sfbx: "必选",
215 clmc: "土地权属来源材",
216 cllx: "副本复印件",
217 fs: 1,
218 smzt: "未扫描",
219 smys: 0,
220 },
221 {
222 sfbx: "必选",
223 clmc: "不动产权籍调查表",
224 cllx: "副本复印件",
225 fs: 1,
226 smzt: "未扫描",
227 smys: 0,
228 },
229 {
230 sfbx: "必选",
231 clmc: "完税凭证",
232 cllx: "副本复印件",
233 fs: 1,
234 smzt: "未扫描",
235 smys: 0,
236 },
237 ],
238
239 treedata: [
240 {
241 id: "clml",
242 label: "材料目录",
243 children: [
244 {
245 id: "bdcdjsqs",
246 label: "不动产登记申请书",
247 },
248 {
249 id: "sqrsfzm",
250 label: "申请人身份证明",
251 },
252 {
253 id: "tdqslycl",
254 label: "土地权属来源材料",
255 },
256 {
257 id: "bdcqjdcb",
258 label: "不动产权籍调查表",
259 },
260 {
261 id: "wspz",
262 label: "完税凭证",
263 },
264 ],
265 },
266 ],
267 menuOpen: true, 246 menuOpen: true,
268 treeCheckId: "bdcdjsqs", 247 treeCheckId: "",
269 defaultProps: { 248 defaultProps: {
270 children: "children", 249 children: "children",
271 label: "label", 250 label: "label",
272 }, 251 },
273 defaultKey: "bdcdjsqs", 252 title: "",
274 title: "不动产登记申请书 (1/2)", 253 titleYs: 1,
275 imgList: [ 254 titleNum: 0,
276 { 255 imgList:[],
277 id: "1", 256 showImg:{},
278 imgUrl: require("../images/1.png"),
279 },
280 {
281 id: "2",
282 imgUrl: require("../images/2.png"),
283 },
284 {
285 id: "3",
286 imgUrl: require("../images/3.png"),
287 },
288 ],
289 showImg: {
290 id: "1",
291 imgUrl: require("../images/1.png"),
292 },
293 iclass: "itemIcon el-icon-caret-bottom", 257 iclass: "itemIcon el-icon-caret-bottom",
294 }; 258 };
295 }, 259 },
296 watch: { 260 computed: {
297 unitData: { 261 ...mapGetters(["dictData"]),
298 handler(newName, oldName) { 262 },
299 if (newName && newName.length > 0) { 263 mounted() {
300 this.clmlmxInit(); 264 if (this.$parent.index == 1) {
301 } 265 this.clmlmxInit();
302 }, 266 }
303 immediate: true,
304 },
305 }, 267 },
306 methods: { 268 methods: {
307 // 左侧菜单点击 269 // 左侧菜单点击
...@@ -314,36 +276,87 @@ export default { ...@@ -314,36 +276,87 @@ export default {
314 }, 276 },
315 // 上移 277 // 上移
316 moveUpward(index, row) { 278 moveUpward(index, row) {
317 upward(index, this.tableData); 279 let obj = {
280 xh: row.xh,
281 bsmSlsq: row.bsmSlsq,
282 moveDirection: "up",
283 };
284 // 接口待调
285 move(obj).then((res) => {
286 console.log("111111", res);
287 this.clmlmxInit();
288 });
318 }, 289 },
319 // 下移 290 // 下移
320 moveDown(index, row) { 291 moveDown(index, row) {
321 down(index, this.tableData); 292 let obj = {
293 xh: row.xh,
294 bsmSlsq: row.bsmSlsq,
295 moveDirection: "down",
296 };
297 // 接口待调
298 move(obj).then((res) => {
299 console.log("222222222", res);
300 this.clmlmxInit();
301 });
322 }, 302 },
323 // 材料目录明细初始化 303 // 材料目录明细初始化
324 clmlmxInit() { 304 clmlmxInit() {
305 this.id = this.$parent.$parent.$parent.id;
306 this.unitData = this.$parent.$parent.$parent.unitData;
325 var formdata = new FormData(); 307 var formdata = new FormData();
326 formdata.append("bsmSldy", this.unitData[0].bsmSldy); 308 formdata.append("bsmSldy", this.unitData[0].bsmSldy);
327 formdata.append("bsmSlsq", this.id); 309 formdata.append("bsmSlsq", this.id);
328 clmlInit(formdata).then((res) => { 310 clmlInit(formdata).then((res) => {
329 if (res.result.result) { 311 if (res.result.result) {
330 this.tableData = res.result.result; 312 this.tableData = res.result.result;
313 this.treeCheckId = this.tableData[0].bsmSj;
314 this.title = this.tableData[0].sjmc;
315 this.titleYs = 1;
316 this.titleNum = this.tableData[0].children.length;
331 } 317 }
332 }); 318 });
333 }, 319 },
334 // 新增弹窗保存 320 // 新增弹窗保存
335 addSave(data){ 321 addSave(data) {
336 let obj = [...this.tableData]; 322 let maxXh = 0;
337 obj.push({ 323 this.tableData.forEach((item) => {
338 bsmSlsq:this.id, 324 if (item.xh > maxXh) {
339 xh: this.tableData.length + 1, 325 maxXh = item.xh;
340 isrequired:'0', 326 }
341 sjmc:data.clmc, 327 });
342 sjlx:data.cllx 328 let obj = {
343 }) 329 bsmSlsq: this.id,
344 save(obj).then(res => { 330 xh: maxXh + 1,
345 console.log('22222',res); 331 isrequired: "0",
346 }) 332 sjmc: data.clmc,
333 sjlx: data.cllx,
334 sfxjcl: "1", // 是否是新建材料
335 };
336 save(obj).then((res) => {
337 if (res.code == 200) {
338 this.$message({
339 message: "新增成功",
340 type: "success",
341 });
342 this.tableData = res.result;
343 // 加载表格
344 this.clmlmxInit();
345 }
346 });
347 },
348 // 材料目录删除
349 handleDelete(index, row) {
350 clmlDelete({ sjBsm: row.bsmSj }).then((res) => {
351 if (res.code == 200) {
352 this.$message({
353 message: "删除成功",
354 type: "success",
355 });
356 // 加载表格
357 this.clmlmxInit();
358 }
359 });
347 }, 360 },
348 // 材料目录关闭收起 361 // 材料目录关闭收起
349 iconClick() { 362 iconClick() {
...@@ -356,11 +369,36 @@ export default { ...@@ -356,11 +369,36 @@ export default {
356 }, 369 },
357 // 材料目录点击选中 370 // 材料目录点击选中
358 treeClick(item) { 371 treeClick(item) {
359 this.treeCheckId = item.id; 372 this.treeCheckId = item.bsmSj;
373 this.title = item.sjmc;
374 this.titleYs = 1;
375 this.titleNum = item.children.length;
360 }, 376 },
361 // 小图片点击 377 // 小图片点击
362 imgClick(item) { 378 imgClick(item, index) {
363 this.showImg = item; 379 this.showImg = item;
380 this.titleYs = index + 1;
381 },
382 // 图片上一张
383 imgPrev(){
384
385 },
386 // 图片下一张
387 imgNext(){
388
389 },
390 // 字典
391 dicStatus(val, code) {
392 let data = this.$store.getters.dictData[code],
393 name = "暂无";
394 if (data) {
395 data.map((item) => {
396 if (item.dcode == val) {
397 name = item.dname;
398 }
399 });
400 return name;
401 }
364 }, 402 },
365 }, 403 },
366 }; 404 };
...@@ -489,6 +527,7 @@ export default { ...@@ -489,6 +527,7 @@ export default {
489 height: 800px; 527 height: 800px;
490 background: #f3f4f7; 528 background: #f3f4f7;
491 margin: 0 auto; 529 margin: 0 auto;
530 position: relative;
492 .header { 531 .header {
493 height: 54px; 532 height: 54px;
494 line-height: 52px; 533 line-height: 52px;
...@@ -509,6 +548,30 @@ export default { ...@@ -509,6 +548,30 @@ export default {
509 } 548 }
510 } 549 }
511 } 550 }
551 .prev,
552 .next {
553 width: 60px;
554 height: 60px;
555 line-height: 60px;
556 text-align: center;
557 font-size: 40px;
558 border-radius: 6px;
559 cursor: pointer;
560 position: absolute;
561 }
562 .prev:hover,
563 .next:hover{
564 background: #7a7a7a;
565 }
566
567 .prev {
568 top: 40%;
569 left: 10px;
570 }
571 .next {
572 top: 40%;
573 right: 10px;
574 }
512 .img-box { 575 .img-box {
513 width: 800px; 576 width: 800px;
514 height: calc(100% - 214px); 577 height: calc(100% - 214px);
......
...@@ -43,7 +43,8 @@ ...@@ -43,7 +43,8 @@
43 <div class="splitScreen-con" v-if='index == 0'> 43 <div class="splitScreen-con" v-if='index == 0'>
44 <component ref='slxx' :is="editItem" :flag="flag" :key="key" /> 44 <component ref='slxx' :is="editItem" :flag="flag" :key="key" />
45 </div> 45 </div>
46 <component :is="editItem" v-else :key="key" :unitData="unitData" :id="id" /> 46 <component ref='clxx' :is="editItem" v-else-if="index == 1" :key="key" />
47 <component :is="editItem" v-else :key="key" />
47 </el-tab-pane> 48 </el-tab-pane>
48 </el-tabs> 49 </el-tabs>
49 </div> 50 </div>
......
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
53 </template> 53 </template>
54 <script> 54 <script>
55 //查封登记 55 //查封登记
56 import { datas, sendThis } from "./cfdj.js"; 56 import { datas, sendThis } from "../javascript/bdcql.js";
57 import table from "@/utils/mixin/table"; 57 import table from "@/utils/mixin/table";
58 import { selectQlxx, startBusinessFlow } from "@/api/ywbl.js"; 58 import { selectQlxx, startBusinessFlow } from "@/api/ywbl.js";
59 export default { 59 export default {
......
1 <template> 1 <template>
2 <!-- 主体权利信息查询 -->
2 <div class="from-clues"> 3 <div class="from-clues">
3 <!-- 表单部分 --> 4 <!-- 表单部分 -->
4 <div class="from-clues-header"> 5 <div class="from-clues-header">
...@@ -52,10 +53,9 @@ ...@@ -52,10 +53,9 @@
52 </div> 53 </div>
53 </template> 54 </template>
54 <script> 55 <script>
55 //续封登记 56 import { datas, sendThis } from "../javascript/bdcqlMain.js";
56 import { datas, sendThis } from "./xfdj.js";
57 import table from "@/utils/mixin/table"; 57 import table from "@/utils/mixin/table";
58 import { selectScBdcdy, startBusinessFlow } from "@/api/ywbl.js"; 58 import { selectQlxx, startBusinessFlow } from "@/api/ywbl.js";
59 export default { 59 export default {
60 props: { 60 props: {
61 bsmSqyw: { type: String, default: '' }, 61 bsmSqyw: { type: String, default: '' },
...@@ -68,7 +68,7 @@ export default { ...@@ -68,7 +68,7 @@ export default {
68 bdcdyh: "", 68 bdcdyh: "",
69 ywh: "", 69 ywh: "",
70 bdcqzh: "", 70 bdcqzh: "",
71 sqywbm: "A03100", 71 sqywbm: "B39800",
72 }, 72 },
73 qllxs: [], 73 qllxs: [],
74 tableData: { 74 tableData: {
...@@ -94,7 +94,7 @@ export default { ...@@ -94,7 +94,7 @@ export default {
94 }, 94 },
95 fetchData () { 95 fetchData () {
96 if (this.bsmSqyw) { 96 if (this.bsmSqyw) {
97 selectScBdcdy({ ...this.queryForm, ...this.pageData }) 97 selectQlxx({ ...this.queryForm, ...this.pageData })
98 .then((res) => { 98 .then((res) => {
99 if (res.code === 200) { 99 if (res.code === 200) {
100 let { total, records } = res.result; 100 let { total, records } = res.result;
...@@ -104,21 +104,30 @@ export default { ...@@ -104,21 +104,30 @@ export default {
104 }) 104 })
105 } 105 }
106 }, 106 },
107 submitForm () { 107 submitForm() {
108 if (this.bdcdysz.length == 0) { 108 if (this.bdcdysz.length == 0) {
109 this.$message.error('请至少选择一条数据'); 109 this.$message.error("请至少选择一条数据");
110 return 110 return;
111 } 111 }
112 this.saveloding = true 112 this.saveloding = true;
113 startBusinessFlow({ 113 startBusinessFlow({
114 bsmSqyw: this.bsmSqyw, 114 bsmSqyw: this.bsmSqyw,
115 bdcdysz: this.bdcdysz 115 bdcdysz: this.bdcdysz,
116 }).then(res => { 116 }).then((res) => {
117 this.saveloding = false 117 this.saveloding = false;
118 this.$emit("closeDialog") 118 if (res.code == 200) {
119 const { href } = this.$router.resolve('/fqsq?bsmSqyw=' + this.bsmSqyw + '&bsmSlsq=' + res.message) 119 this.$emit("closeDialog");
120 window.open(href, '_blank'); 120 const { href } = this.$router.resolve(
121 }) 121 "/fqsq?bsmSlsq=" +
122 res.result.bsmSlsq +
123 "&bestepid=" +
124 res.result.bestepid
125 );
126 window.open(href, "_blank");
127 } else {
128 this.$message.error(res.message);
129 }
130 });
122 }, 131 },
123 handleSelectionChange (val) { 132 handleSelectionChange (val) {
124 this.bdcdysz = val 133 this.bdcdysz = val
......
...@@ -52,10 +52,10 @@ ...@@ -52,10 +52,10 @@
52 </div> 52 </div>
53 </template> 53 </template>
54 <script> 54 <script>
55 //转移登记 55 //查封登记
56 import { datas, sendThis } from "./zydj.js"; 56 import { datas, sendThis } from "../javascript/cfdj.js";
57 import table from "@/utils/mixin/table"; 57 import table from "@/utils/mixin/table";
58 import { selectScBdcdy, startBusinessFlow } from "@/api/ywbl.js"; 58 import { selectQlxx, startBusinessFlow } from "@/api/ywbl.js";
59 export default { 59 export default {
60 props: { 60 props: {
61 bsmSqyw: { type: String, default: '' }, 61 bsmSqyw: { type: String, default: '' },
...@@ -68,7 +68,7 @@ export default { ...@@ -68,7 +68,7 @@ export default {
68 bdcdyh: "", 68 bdcdyh: "",
69 ywh: "", 69 ywh: "",
70 bdcqzh: "", 70 bdcqzh: "",
71 sqywbm: "A03100", 71 sqywbm: "B39800",
72 }, 72 },
73 qllxs: [], 73 qllxs: [],
74 tableData: { 74 tableData: {
...@@ -94,7 +94,7 @@ export default { ...@@ -94,7 +94,7 @@ export default {
94 }, 94 },
95 fetchData () { 95 fetchData () {
96 if (this.bsmSqyw) { 96 if (this.bsmSqyw) {
97 selectScBdcdy({ ...this.queryForm, ...this.pageData }) 97 selectQlxx({ ...this.queryForm, ...this.pageData })
98 .then((res) => { 98 .then((res) => {
99 if (res.code === 200) { 99 if (res.code === 200) {
100 let { total, records } = res.result; 100 let { total, records } = res.result;
...@@ -104,21 +104,30 @@ export default { ...@@ -104,21 +104,30 @@ export default {
104 }) 104 })
105 } 105 }
106 }, 106 },
107 submitForm () { 107 submitForm() {
108 if (this.bdcdysz.length == 0) { 108 if (this.bdcdysz.length == 0) {
109 this.$message.error('请至少选择一条数据'); 109 this.$message.error("请至少选择一条数据");
110 return 110 return;
111 } 111 }
112 this.saveloding = true 112 this.saveloding = true;
113 startBusinessFlow({ 113 startBusinessFlow({
114 bsmSqyw: this.bsmSqyw, 114 bsmSqyw: this.bsmSqyw,
115 bdcdysz: this.bdcdysz 115 bdcdysz: this.bdcdysz,
116 }).then(res => { 116 }).then((res) => {
117 this.saveloding = false 117 this.saveloding = false;
118 this.$emit("closeDialog") 118 if (res.code == 200) {
119 const { href } = this.$router.resolve('/fqsq?bsmSqyw=' + this.bsmSqyw + '&bsmSlsq=' + res.message) 119 this.$emit("closeDialog");
120 window.open(href, '_blank'); 120 const { href } = this.$router.resolve(
121 }) 121 "/fqsq?bsmSlsq=" +
122 res.result.bsmSlsq +
123 "&bestepid=" +
124 res.result.bestepid
125 );
126 window.open(href, "_blank");
127 } else {
128 this.$message.error(res.message);
129 }
130 });
122 }, 131 },
123 handleSelectionChange (val) { 132 handleSelectionChange (val) {
124 this.bdcdysz = val 133 this.bdcdysz = val
......
...@@ -91,7 +91,7 @@ ...@@ -91,7 +91,7 @@
91 </template> 91 </template>
92 <script> 92 <script>
93 //抵押权首次登记 93 //抵押权首次登记
94 import { datas, sendThis } from "./scdy.js"; 94 import { datas, sendThis } from "../javascript/diyaq.js";
95 import table from "@/utils/mixin/table"; 95 import table from "@/utils/mixin/table";
96 import { selectQlxx, startBusinessFlow } from "@/api/ywbl.js"; 96 import { selectQlxx, startBusinessFlow } from "@/api/ywbl.js";
97 export default { 97 export default {
......
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
4 </dialogBox> 4 </dialogBox>
5 </template> 5 </template>
6 <script> 6 <script>
7 import {queueDjywmc} from './fqsqdata.js';
7 export default { 8 export default {
8 props: { 9 props: {
9 value: { type: Boolean, default: true }, 10 value: { type: Boolean, default: true },
...@@ -22,24 +23,27 @@ export default { ...@@ -22,24 +23,27 @@ export default {
22 this.myValue = val 23 this.myValue = val
23 }, 24 },
24 djywbm (val) { 25 djywbm (val) {
25 let itemObj = { 'A03100': 'scdj','A37100': 'scdy','B39800':'cfdj', default: 'scdj' } 26 //let itemObj = { 'A03100': 'scdj','A37100': 'scdy','B39800':'cfdj', default: 'scdj' };
26 this.editItem = this.loadView(itemObj[val]) 27 // this.editItem = this.loadView(itemObj[val]);
28 let dd=queueDjywmc(val);
29 this.editItem = this.loadView(dd);
27 }, 30 },
28 }, 31 },
29 methods: { 32 methods: {
30 loadView (view) { 33 loadView (view) {
31 return r => require.ensure([], () => r(require(`../${view}/${view}.vue`))) 34 console.log(view);
35 return r => require.ensure([], () => r(require(`../${view}.vue`)))
32 }, 36 },
33 closeDialog () { 37 closeDialog () {
34 this.$emit("input", false); 38 this.$emit("input", false);
35 } 39 }
40
36 }, 41 },
37 }; 42 };
38 </script> 43 </script>
39 <style scoped lang="scss"> 44 <style scoped lang="scss">
40 @import "~@/styles/mixin.scss"; 45 @import "~@/styles/mixin.scss";
41 @import "~@/styles/public.scss"; 46 @import "~@/styles/public.scss";
42
43 /deep/.submit_button { 47 /deep/.submit_button {
44 text-align: center; 48 text-align: center;
45 padding: 10px; 49 padding: 10px;
......
1 export function queueDjywmc(djywbm) {
2 let vm = null;
3 switch (djywbm) {
4 case "A03100"://建设用地使用权(首次登记)
5 case "A05100"://宅基地使用权(首次登记)
6 case "A07100"://集体建设用地使用权(首次登记)
7 vm = "jsydsyq100";
8 break;
9 case "A03200":
10 case "A03300":
11 case "A03400":
12 case "A05200":
13 case "A05300":
14 case "A05400":
15 case "A07200":
16 case "A07300":
17 case "A07400":
18 vm = "jsydsyq200";
19 break;
20 case "A07100"://抵押权首次
21 vm = "bdcqlMain";
22 break;
23 case "A37200"://抵押权转移
24 case "A37300"://抵押权变更
25 case "A37400"://抵押权注销
26 vm = "diyaq";
27 break;
28 case "B39300"://续封
29 case "B39400"://解封
30 vm = "cfdj";
31 break;
32 default:
33 vm = "bdcql";
34 }
35 return vm;
36 }
...\ No newline at end of file ...\ No newline at end of file
...@@ -91,7 +91,7 @@ ...@@ -91,7 +91,7 @@
91 </template> 91 </template>
92 <script> 92 <script>
93 //首次登记 93 //首次登记
94 import { datas, sendThis } from "./scdj.js"; 94 import { datas, sendThis } from "../javascript/jsydsyq100.js";
95 import table from "@/utils/mixin/table"; 95 import table from "@/utils/mixin/table";
96 import { selectScBdcdy, startBusinessFlow } from "@/api/ywbl.js"; 96 import { selectScBdcdy, startBusinessFlow } from "@/api/ywbl.js";
97 export default { 97 export default {
......
1 <template>
2 <div class="from-clues">
3 <!-- 表单部分 -->
4 <div class="from-clues-header">
5 <el-form :model="queryForm" ref="queryForm" label-width="120px">
6 <el-row>
7 <el-col :span="10">
8 <el-form-item label="权利类型200">
9 <el-select
10 v-model="queryForm.qllx"
11 filterable
12 clearable
13 placeholder="请选择权利类型"
14 class="width300px"
15 >
16 <el-option
17 v-for="item in qllxs"
18 :key="item.value"
19 :label="item.label"
20 :value="item.value"
21 >
22 </el-option>
23 </el-select>
24 </el-form-item>
25 </el-col>
26 <el-col :span="10">
27 <el-form-item label="不动产单元号">
28 <el-input
29 placeholder="请输入不动产单元号"
30 v-model="queryForm.bdcdyh"
31 clearable
32 class="width300px"
33 >
34 </el-input>
35 </el-form-item>
36 </el-col>
37 </el-row>
38 <el-row>
39 <el-col :span="10">
40 <el-form-item label="业务号">
41 <el-input
42 placeholder="请输入业务号"
43 v-model="queryForm.ywh"
44 clearable
45 class="width300px"
46 >
47 </el-input>
48 </el-form-item>
49 </el-col>
50 <el-col :span="10">
51 <el-form-item label="不动产权证号">
52 <el-input
53 placeholder="请输入不动产权证号"
54 v-model="queryForm.bdcqzh"
55 clearable
56 class="width300px"
57 >
58 </el-input>
59 </el-form-item>
60 </el-col>
61 <el-col :span="2" class="btnCol">
62 <el-form-item>
63 <el-button type="primary" @click="queryClick()">查询</el-button>
64 </el-form-item>
65 </el-col>
66 </el-row>
67 </el-form>
68 </div>
69 <!-- 表格 -->
70 <div class="from-clues-content">
71 <lb-table
72 :page-size="pageData.pageSize"
73 :heightNum="400"
74 :current-page.sync="pageData.currentPage"
75 :total="tableData.total"
76 @size-change="handleSizeChange"
77 @p-current-change="handleCurrentChange"
78 @selection-change="handleSelectionChange"
79 :column="tableData.columns"
80 :data="tableData.data"
81 >
82 </lb-table>
83 </div>
84 <div class="submit_button">
85 <el-button @click="closeDialog">取消</el-button>
86 <el-button type="primary" plain @click="submitForm" :loading="saveloding"
87 >发起申请</el-button
88 >
89 </div>
90 </div>
91 </template>
92 <script>
93 //首次登记
94 import { datas, sendThis } from "../javascript/jsydsyq200.js";
95 import table from "@/utils/mixin/table";
96 import { selectScBdcdy, startBusinessFlow } from "@/api/ywbl.js";
97 export default {
98 props: {
99 bsmSqyw: { type: String, default: "" },
100 djqxObj: { type: Object, default: "" },
101 },
102 mixins: [table],
103 data() {
104 return {
105 queryForm: {
106 qllx: "",
107 bdcdyh: "",
108 ywh: "",
109 bdcqzh: "",
110 sqywbm: "A03100",
111 },
112 qllxs: [],
113 tableData: {
114 total: 0,
115 columns: datas.columns(),
116 data: [],
117 },
118 bdcdysz: [],
119 saveloding: false,
120 };
121 },
122 watch: {
123 bsmSqyw(val) {
124 this.fetchData();
125 },
126 },
127 mounted() {
128 sendThis(this);
129 },
130 methods: {
131 closeDialog() {
132 this.$emit("closeDialog");
133 },
134 fetchData() {
135 if (this.bsmSqyw) {
136 selectScBdcdy({ ...this.queryForm, ...this.pageData }).then((res) => {
137 if (res.code === 200) {
138 let { total, records } = res.result;
139 this.tableData.total = total;
140 this.tableData.data = records;
141 }
142 });
143 }
144 },
145 submitForm() {
146 if (this.bdcdysz.length == 0) {
147 this.$message.error("请至少选择一条数据");
148 return;
149 }
150 this.saveloding = true;
151 startBusinessFlow({
152 bsmSqyw: this.bsmSqyw,
153 bdcdysz: this.bdcdysz,
154 djqxbm: this.djqxObj.djqxbm,
155 djqxmc: this.djqxObj.djqxmc,
156 }).then((res) => {
157 this.saveloding = false;
158 if (res.code == 200) {
159 this.$emit("closeDialog");
160 const { href } = this.$router.resolve(
161 "/fqsq?bsmSlsq=" +
162 res.result.bsmSlsq +
163 "&bestepid=" +
164 res.result.bestepid
165 );
166 window.open(href, "_blank");
167 } else {
168 this.$message.error(res.message);
169 }
170 });
171 },
172 handleSelectionChange(val) {
173 this.bdcdysz = val;
174 },
175 queryClick() {
176 this.fetchData();
177 },
178 },
179 };
180 </script>
181 <style scoped lang="scss">
182 @import "~@/styles/mixin.scss";
183 @import "~@/styles/public.scss";
184 </style>
...@@ -31,7 +31,7 @@ class data extends filter { ...@@ -31,7 +31,7 @@ class data extends filter {
31 label: "状态", 31 label: "状态",
32 }, 32 },
33 { 33 {
34 prop: "qllx", 34 prop: "qllxmc",
35 label: "权利类型", 35 label: "权利类型",
36 }, 36 },
37 { 37 {
...@@ -47,7 +47,7 @@ class data extends filter { ...@@ -47,7 +47,7 @@ class data extends filter {
47 label: "权利人", 47 label: "权利人",
48 }, 48 },
49 { 49 {
50 prop: "zjh", 50 prop: "zjhm",
51 label: "证件号", 51 label: "证件号",
52 }, 52 },
53 { 53 {
...@@ -55,7 +55,7 @@ class data extends filter { ...@@ -55,7 +55,7 @@ class data extends filter {
55 label: "面积", 55 label: "面积",
56 }, 56 },
57 { 57 {
58 prop: "ytmc", 58 prop: "yt",
59 label: "用途", 59 label: "用途",
60 }, 60 },
61 { 61 {
......
...@@ -47,7 +47,7 @@ class data extends filter { ...@@ -47,7 +47,7 @@ class data extends filter {
47 label: "权利人", 47 label: "权利人",
48 }, 48 },
49 { 49 {
50 prop: "zjh", 50 prop: "zjhm",
51 label: "证件号", 51 label: "证件号",
52 }, 52 },
53 { 53 {
...@@ -55,13 +55,13 @@ class data extends filter { ...@@ -55,13 +55,13 @@ class data extends filter {
55 label: "面积", 55 label: "面积",
56 }, 56 },
57 { 57 {
58 prop: "ytmc", 58 prop: "yt",
59 label: "用途", 59 label: "用途",
60 }, 60 },
61 { 61 {
62 prop: "zl", 62 prop: "zl",
63 label: "坐落", 63 label: "坐落",
64 }, 64 }
65 ] 65 ]
66 } 66 }
67 67
......
1 import filter from '@/utils/filter.js'
2 let vm = null
3
4 const sendThis = (_this) => {
5 vm = _this
6 }
7 class data extends filter {
8 constructor() {
9 super()
10 }
11 columns () {
12 return [
13 {
14 type: 'selection',
15 label: '全选'
16 },
17 {
18 label: '序号',
19 type: 'index',
20 width: '50',
21 render: (h, scope) => {
22 return (
23 <div>
24 {(vm.pageData.currentPage - 1) * vm.pageData.pageSize + scope.$index + 1}
25 </div>
26 )
27 }
28 },
29 {
30 prop: "status",
31 label: "状态",
32 },
33 {
34 prop: "qllxmc",
35 label: "权利类型",
36 },
37 {
38 prop: "bdcdyh",
39 label: "不动产单元号",
40 },
41 {
42 prop: "bdcqzh",
43 label: "不动产权证号",
44 },
45 {
46 prop: "qlrmc",
47 label: "使用权人",
48 },
49 {
50 prop: "zjh",
51 label: "证件号",
52 },
53 {
54 prop: "qlxzmc",
55 label: "权利性质",
56 },
57 {
58 prop: "zdmj",
59 label: "使用权面积",
60 },
61 {
62 prop: "showTdyt",
63 label: "土地用途",
64 },
65 {
66 prop: "zl",
67 label: "坐落",
68 },
69 ]
70 }
71
72
73 }
74 let datas = new data()
75 export {
76 datas,
77 sendThis
78 }
...@@ -75,7 +75,7 @@ export default { ...@@ -75,7 +75,7 @@ export default {
75 n: 0, 75 n: 0,
76 activeNames: ['1'], 76 activeNames: ['1'],
77 leftList: [ 77 leftList: [
78 '常办业务', '一并申请', '补申请', 78 '常办业务', '一并申请', '登记簿补录',
79 ], 79 ],
80 list: [], 80 list: [],
81 djlxList: [], 81 djlxList: [],
...@@ -191,6 +191,7 @@ export default { ...@@ -191,6 +191,7 @@ export default {
191 this.isDialog = true 191 this.isDialog = true
192 }, 192 },
193 loadView (view) { 193 loadView (view) {
194 console.log(view);
194 return r => require.ensure([], () => r(require(`./components/${view}/${view}.vue`))) 195 return r => require.ensure([], () => r(require(`./components/${view}/${view}.vue`)))
195 }, 196 },
196 } 197 }
......
...@@ -25,8 +25,10 @@ module.exports = { ...@@ -25,8 +25,10 @@ module.exports = {
25 assetsDir: 'static', 25 assetsDir: 'static',
26 lintOnSave: process.env.NODE_ENV === 'development', 26 lintOnSave: process.env.NODE_ENV === 'development',
27 productionSourceMap: false, 27 productionSourceMap: false,
28 filenameHashing: false,
28 // webpack开发服务器 29 // webpack开发服务器
29 devServer: { 30 devServer: {
31 hot: true,
30 port: port, 32 port: port,
31 open: true, 33 open: true,
32 disableHostCheck: true, 34 disableHostCheck: true,
...@@ -37,24 +39,29 @@ module.exports = { ...@@ -37,24 +39,29 @@ module.exports = {
37 proxy: { 39 proxy: {
38 '/bdcdj': { 40 '/bdcdj': {
39 target: process.env.VUE_APP_API_BASE_URL,//本机服务 41 target: process.env.VUE_APP_API_BASE_URL,//本机服务
40 ws: false,
41 changeOrigin: true, 42 changeOrigin: true,
42 pathRewrite: { 43 pathRewrite: {
43 '^/bdcdj': '' // 需要rewrite的, 44 '^/bdcdj': ''
45 }
46 },
47 '/service-bdcdj': {
48 target: process.env.VUE_APP_API_BASE_URL,
49 changeOrigin: true,
50 pathRewrite: {
51 '^/service-bdcdj': ''
44 } 52 }
45 } 53 }
46
47 }, 54 },
48 }, 55 },
49 css: { 56 css: {
50 extract: true, // 是否使用css分离插件 ExtractTextPlugin 57 extract: false, // 是否使用css分离插件 ExtractTextPlugin
51 sourceMap: false, // 开启 CSS source maps? 58 sourceMap: false, // 开启 CSS source maps?
52 loaderOptions: { 59 loaderOptions: {
53 sass: { 60 sass: {
54 prependData: `@import "@/styles/variables.scss";` 61 prependData: `@import "@/styles/variables.scss";`
55 } 62 }
56 }, 63 },
57 modules: false,// 启用 CSS modules for all css / pre-processor files. 64 modules: false,
58 }, 65 },
59 // configureWebpack通过操作对象的形式,来修改默认的webpack配置 66 // configureWebpack通过操作对象的形式,来修改默认的webpack配置
60 configureWebpack: { 67 configureWebpack: {
...@@ -117,17 +124,17 @@ module.exports = { ...@@ -117,17 +124,17 @@ module.exports = {
117 name: 'chunk-libs', 124 name: 'chunk-libs',
118 test: /[\\/]node_modules[\\/]/, 125 test: /[\\/]node_modules[\\/]/,
119 priority: 10, 126 priority: 10,
120 chunks: 'initial' // only package third parties that are initially dependent 127 chunks: 'initial'
121 }, 128 },
122 elementUI: { 129 elementUI: {
123 name: 'chunk-elementUI', // split elementUI into a single package 130 name: 'chunk-elementUI',
124 priority: 20, // the weight needs to be larger than libs and app or it will be packaged into libs or app 131 priority: 20,
125 test: /[\\/]node_modules[\\/]_?element-ui(.*)/ // in order to adapt to cnpm 132 test: /[\\/]node_modules[\\/]_?element-ui(.*)/
126 }, 133 },
127 commons: { 134 commons: {
128 name: 'chunk-commons', 135 name: 'chunk-commons',
129 test: resolve('src/components'), // can customize your rules 136 test: resolve('src/components'),
130 minChunks: 3, // minimum common number 137 minChunks: 3,
131 priority: 5, 138 priority: 5,
132 reuseExistingChunk: true 139 reuseExistingChunk: true
133 } 140 }
......