4013442d by 田浩浩

111修改对应的抵押权信息

1 parent 792dd787
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 // 初始化内容
4 export function Init (data) { 5 export function Init (data) {
6 let apiUrl = "";
7 switch (data.get("djlx")) {
8 case "100":
9 apiUrl = "/rest/ywbl/jsydsyqlr/fristInit";
10 break;
11 case "200":
12 apiUrl = "/rest/ywbl/jsydsyqlr/transferInit";
13 break;
14 case "300":
15 apiUrl = "/rest/ywbl/jsydsyqlr/changeInit";
16 break;
17 case "400":
18 apiUrl = "/rest/ywbl/jsydsyqlr/logoutInit";
19 break;
20 case "500":
21 apiUrl = "/rest/ywbl/jsydsyqlr/riviseInit";
22 break;
23 case "901":
24 apiUrl = "/rest/ywbl/jsydsyqlr/renewalInit";
25 break;
26 case "902":
27 apiUrl = "/rest/ywbl/jsydsyqlr/replaceInit";
28 break;
29 }
5 return request({ 30 return request({
6 url: SERVER.SERVERAPI + '/rest/ywbl/dyaq/Init', 31 url: SERVER.SERVERAPI + apiUrl,
7 method: 'post', 32 method: 'post',
8 data 33 data
9 }) 34 })
35 }
36 // 受理信息保存
37 export function saveData (data) {
38 return request({
39 url: SERVER.SERVERAPI + '/rest/ywbl/jsydsyqlr/saveData',
40 method: 'post',
41 data
42 })
43 }
44
45 // 流程图
46 export function getWorkFlowImage (bsmSlsq, bestepid) {
47 return request({
48 url: SERVER.SERVERAPI + '/rest/business/workFlow/getWorkFlowImage',
49 method: 'get',
50 params: {
51 bsmSlsq: bsmSlsq,
52 bestepid: bestepid
53 }
54 })
55 }
56 // 上传单个文件
57 export function sjClmxUpload (data) {
58 return request({
59 url: SERVER.SERVERAPI + '/rest/zhcx/sjClmx/upload',
60 method: 'post',
61 data
62 })
63 }
64 // 删除上传文件
65 export function sjClmxDelete (bsmClmx) {
66 return request({
67 url: SERVER.SERVERAPI + '/rest/zhcx/sjClmx/delete?bsmClmx=' + bsmClmx,
68 method: 'delete'
69 })
10 } 70 }
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -100,9 +100,7 @@ export default { ...@@ -100,9 +100,7 @@ export default {
100 let that = this; 100 let that = this;
101 if(type == 1){ 101 if(type == 1){
102 //证书预览 102 //证书预览
103 this.$popup({ 103 this.$popup("证书预览","workflow/components/zsyl",{
104 title: "证书预览",
105 editItem: "workflow/components/zsyl",
106 height: '650px', 104 height: '650px',
107 width: "800px", 105 width: "800px",
108 formData: { 106 formData: {
...@@ -118,9 +116,7 @@ export default { ...@@ -118,9 +116,7 @@ export default {
118 }) 116 })
119 }else{ 117 }else{
120 //证书打印 118 //证书打印
121 this.$popup({ 119 this.$popup("证书打印","workflow/components/zsdy",{
122 title: "证书打印",
123 editItem: "workflow/components/zsdy",
124 height: '700px', 120 height: '700px',
125 width: "800px", 121 width: "800px",
126 formData: { 122 formData: {
......
...@@ -24,17 +24,20 @@ export function getForm(tabName, djywbm) { ...@@ -24,17 +24,20 @@ export function getForm(tabName, djywbm) {
24 form = require("@/views/ywbl/fdcq2/slxx400.vue"); 24 form = require("@/views/ywbl/fdcq2/slxx400.vue");
25 break; 25 break;
26 case "fwsyqslxx900": 26 case "fwsyqslxx900":
27 form = require("@/views/ywbl/fdcq2/slxx900.vue"); 27 form = require("@/views/ywbl/fdcq2/slxx900.vue");
28 break; 28 break;
29 case "nydsyqslxx100": 29 case "nydsyqslxx100":
30 form = require("@/views/ywbl/nydsyq/slxx.vue"); 30 form = require("@/views/ywbl/nydsyq/slxx.vue");
31 break; 31 break;
32 case "tdslxxCfdj": 32 case "tdslxxCfdj":
33 form = require("@/views/ywbl/cfdj/tdslxx.vue"); 33 form = require("@/views/ywbl/cfdj/tdslxx.vue");
34 break; 34 break;
35 case "plslxxCfdj": 35 case "plslxxCfdj":
36 form = require("@/views/ywbl/cfdj/plcfslxx.vue"); 36 form = require("@/views/ywbl/cfdj/plcfslxx.vue");
37 break; 37 break;
38 case "diyaqSlxx":
39 form = require("@/views/ywbl/diyaq/slxx.vue");
40 break;
38 case "clxx": 41 case "clxx":
39 form = require("@/views/workflow/components/clxx.vue"); 42 form = require("@/views/workflow/components/clxx.vue");
40 break; 43 break;
...@@ -52,10 +55,13 @@ export function getForm(tabName, djywbm) { ...@@ -52,10 +55,13 @@ export function getForm(tabName, djywbm) {
52 break; 55 break;
53 case "nydsyqQlxx": 56 case "nydsyqQlxx":
54 form = require("@/views/registerBook/nydsyq.vue"); 57 form = require("@/views/registerBook/nydsyq.vue");
55 break; 58 break;
56 case "fdcq2Qlxx": 59 case "fdcq2Qlxx":
57 form = require("@/views/registerBook/fdcq2.vue"); 60 form = require("@/views/registerBook/fdcq2.vue");
58 break; 61 break;
62 case "diyaqQlxx":
63 form = require("@/views/registerBook/diyaq.vue");
64 break;
59 case "szxx": 65 case "szxx":
60 form = require("@/views/workflow/components/szxx.vue"); 66 form = require("@/views/workflow/components/szxx.vue");
61 break; 67 break;
......
...@@ -194,17 +194,15 @@ import { mapGetters } from "vuex"; ...@@ -194,17 +194,15 @@ import { mapGetters } from "vuex";
194 export default { 194 export default {
195 async created () { 195 async created () {
196 this.propsParam = this.$attrs; 196 this.propsParam = this.$attrs;
197 Init({ 197 var formdata = new FormData();
198 bsmSldy: this.propsParam.bsmSldy.split(",") 198 formdata.append("bsmSldy", this.propsParam.bsmSldy);
199 }).then((res) => { 199 formdata.append("djlx", this.propsParam.djlx);
200 Init(formdata).then((res) => {
200 if (res.code === 200 && res.result) { 201 if (res.code === 200 && res.result) {
201 this.ruleForm = { 202 this.ruleForm = {
202 ...res.result, 203 ...res.result,
203 ...res.result.zdjbxxdatas,
204 ...res.result.qlxxdatas, 204 ...res.result.qlxxdatas,
205 ...res.result.jsydsyqdatas,
206 } 205 }
207 console.log(this.ruleForm, 'this.ruleFormthis.ruleFormthis.ruleForm');
208 } 206 }
209 }); 207 });
210 }, 208 },
......