b5b92f32 by 蔡俊立
2 parents 8d1be713 cf036db5
1 import request from '@/utils/request' 1 import request from '@/utils/request'
2 import SERVER from './config' 2 import SERVER from './config'
3 // 初始化内容 3 // 初始化内容
4 export function Init (data) { 4 export function Init(data) {
5 let apiUrl = ""; 5 let apiUrl = "";
6 switch (data.get("djlx")) { 6 switch (data.get("djlx")) {
7 case "100": 7 case "100":
8 apiUrl = "/ywbl/fdcq2lr/fristInit"; 8 apiUrl = SERVER.SERVERAPI+"/rest/ywbl/fdcq2lr/fristInit";
9 break; 9 break;
10 case "200": 10 case "200":
11 apiUrl = "/ywbl/fdcq2lr/transferInit"; 11 apiUrl = SERVER.SERVERAPI+"/rest/ywbl/fdcq2lr/transferInit";
12 break; 12 break;
13 case "300": 13 case "300":
14 apiUrl = "/ywbl/fdcq2lr/changeInit"; 14 apiUrl = SERVER.SERVERAPI+"/rest/ywbl/fdcq2lr/changeInit";
15 break; 15 break;
16 case "400": 16 case "400":
17 apiUrl = "/ywbl/fdcq2lr/logoutInit"; 17 apiUrl = SERVER.SERVERAPI+"/rest/ywbl/fdcq2lr/logoutInit";
18 break; 18 break;
19 case "500": 19 case "500":
20 apiUrl = "/ywbl/fdcq2lr/riviseInit"; 20 apiUrl = SERVER.SERVERAPI+"/rest/ywbl/fdcq2lr/riviseInit";
21 break; 21 break;
22 case "901": 22 case "901":
23 apiUrl = "/ywbl/fdcq2lr/renewalInit"; 23 apiUrl = SERVER.SERVERAPI+"/rest/ywbl/fdcq2lr/renewalInit";
24 break; 24 break;
25 case "902": 25 case "902":
26 apiUrl = "/ywbl/fdcq2lr/replaceInit"; 26 apiUrl = SERVER.SERVERAPI+"/rest/ywbl/fdcq2lr/replaceInit";
27 break; 27 break;
28 } 28 }
29 return request({ 29 return request({
...@@ -32,11 +32,19 @@ export function Init (data) { ...@@ -32,11 +32,19 @@ export function Init (data) {
32 data 32 data
33 }) 33 })
34 } 34 }
35 // 初始化内容 35 // 注销登记提交数据
36 export function saveData (data) { 36 export function saveLogoutData(data) {
37 return request({ 37 return request({
38 url: SERVER.SERVERAPI + '/rest/ywbl/fdcq2lr/saveData', 38 url: '/ywbl/fdcq2lr/saveLogoutData',
39 method: 'post', 39 method: 'post',
40 data 40 data
41 }) 41 })
42 }
...\ No newline at end of file ...\ No newline at end of file
42 }
43 // 首次登记提交
44 export function saveBatchData(data) {
45 return request({
46 url: '/ywbl/fdcq2lr/saveBatchData',
47 method: 'post',
48 data
49 })
50 }
......
...@@ -13,6 +13,16 @@ export function selectScBdcdy(data) { ...@@ -13,6 +13,16 @@ export function selectScBdcdy(data) {
13 }) 13 })
14 } 14 }
15 15
16 export function selectZdjbxx(data) {
17 return request({
18 url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectZdjbxx',
19 method: 'post',
20 data,
21 showLoading: true
22 })
23 }
24
25
16 /* 26 /*
17 选择建设用地用地查询方法 27 选择建设用地用地查询方法
18 */ 28 */
......
...@@ -20,9 +20,9 @@ export function getForm(tabName, djywbm) { ...@@ -20,9 +20,9 @@ export function getForm(tabName, djywbm) {
20 case "fwsyqslxx300": 20 case "fwsyqslxx300":
21 form = require("@/views/ywbl/fdcq2/slxx300.vue"); 21 form = require("@/views/ywbl/fdcq2/slxx300.vue");
22 break; 22 break;
23 // case "fwsyqslxx400": 23 case "fwsyqslxx400":
24 // form = require("@/views/ywbl/fdcq2/slxx400.vue"); 24 form = require("@/views/ywbl/fdcq2/slxx400.vue");
25 // break; 25 break;
26 case "tdslxxCfdj": 26 case "tdslxxCfdj":
27 form = require("@/views/ywbl/cfdj/tdslxx.vue"); 27 form = require("@/views/ywbl/cfdj/tdslxx.vue");
28 break; 28 break;
...@@ -31,10 +31,10 @@ export function getForm(tabName, djywbm) { ...@@ -31,10 +31,10 @@ export function getForm(tabName, djywbm) {
31 break; 31 break;
32 case "plslxxjfdj": 32 case "plslxxjfdj":
33 form = require("@/views/ywbl/cfdj/pljfslxx.vue"); 33 form = require("@/views/ywbl/cfdj/pljfslxx.vue");
34 break; 34 break;
35 case "jfslxxCfdj": 35 case "jfslxxCfdj":
36 form = require("@/views/ywbl/cfdj/jfslxx.vue"); 36 form = require("@/views/ywbl/cfdj/jfslxx.vue");
37 break; 37 break;
38 case "clxx": 38 case "clxx":
39 form = require("@/views/workflow/components/clxx.vue"); 39 form = require("@/views/workflow/components/clxx.vue");
40 break; 40 break;
......
...@@ -44,7 +44,8 @@ import { datas, sendThis } from "../javascript/jsydsyq100.js"; ...@@ -44,7 +44,8 @@ import { datas, sendThis } from "../javascript/jsydsyq100.js";
44 import { defaultParameters } from "../javascript/publicDefaultPar.js"; 44 import { defaultParameters } from "../javascript/publicDefaultPar.js";
45 import table from "@/utils/mixin/table"; 45 import table from "@/utils/mixin/table";
46 import jump from "../components/mixin/jump"; 46 import jump from "../components/mixin/jump";
47 import { selectScBdcdy, startBusinessFlow } from "@/api/ywbl.js"; 47 import { startBusinessFlow } from "@/api/ywbl.js";
48 import { selectZdjbxx } from "@/api/selectQlxx.js";
48 export default { 49 export default {
49 mixins: [table, jump], 50 mixins: [table, jump],
50 props: { 51 props: {
...@@ -76,7 +77,7 @@ export default { ...@@ -76,7 +77,7 @@ export default {
76 fetchData () { 77 fetchData () {
77 this.queryForm.sqywbm = this.djywbm; 78 this.queryForm.sqywbm = this.djywbm;
78 79
79 selectScBdcdy({ ...this.queryForm, ...this.pageData }).then((res) => { 80 selectZdjbxx({ ...this.queryForm, ...this.pageData }).then((res) => {
80 if (res.code === 200) { 81 if (res.code === 200) {
81 let { total, records } = res.result; 82 let { total, records } = res.result;
82 this.tableData.total = total; 83 this.tableData.total = total;
......
...@@ -60,11 +60,11 @@ class data extends filter { ...@@ -60,11 +60,11 @@ class data extends filter {
60 label: "不动产单元号", 60 label: "不动产单元号",
61 }, 61 },
62 { 62 {
63 prop: "showQlxz", 63 prop: "qlxzmc",
64 label: "权利性质", 64 label: "权利性质",
65 }, 65 },
66 { 66 {
67 prop: "zdmj", 67 prop: "mj",
68 label: "宗地面积(㎡)", 68 label: "宗地面积(㎡)",
69 }, 69 },
70 { 70 {
...@@ -72,7 +72,7 @@ class data extends filter { ...@@ -72,7 +72,7 @@ class data extends filter {
72 label: "权利设定方式", 72 label: "权利设定方式",
73 }, 73 },
74 { 74 {
75 prop: "showTdyt", 75 prop: "ytmc",
76 label: "土地用途", 76 label: "土地用途",
77 }, 77 },
78 { 78 {
......