4013442d by 田浩浩

111修改对应的抵押权信息

1 parent 792dd787
import request from '@/utils/request'
import SERVER from './config'
// 初始化内容
export function Init (data) {
let apiUrl = "";
switch (data.get("djlx")) {
case "100":
apiUrl = "/rest/ywbl/jsydsyqlr/fristInit";
break;
case "200":
apiUrl = "/rest/ywbl/jsydsyqlr/transferInit";
break;
case "300":
apiUrl = "/rest/ywbl/jsydsyqlr/changeInit";
break;
case "400":
apiUrl = "/rest/ywbl/jsydsyqlr/logoutInit";
break;
case "500":
apiUrl = "/rest/ywbl/jsydsyqlr/riviseInit";
break;
case "901":
apiUrl = "/rest/ywbl/jsydsyqlr/renewalInit";
break;
case "902":
apiUrl = "/rest/ywbl/jsydsyqlr/replaceInit";
break;
}
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/dyaq/Init',
url: SERVER.SERVERAPI + apiUrl,
method: 'post',
data
})
}
// 受理信息保存
export function saveData (data) {
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/jsydsyqlr/saveData',
method: 'post',
data
})
}
// 流程图
export function getWorkFlowImage (bsmSlsq, bestepid) {
return request({
url: SERVER.SERVERAPI + '/rest/business/workFlow/getWorkFlowImage',
method: 'get',
params: {
bsmSlsq: bsmSlsq,
bestepid: bestepid
}
})
}
// 上传单个文件
export function sjClmxUpload (data) {
return request({
url: SERVER.SERVERAPI + '/rest/zhcx/sjClmx/upload',
method: 'post',
data
})
}
// 删除上传文件
export function sjClmxDelete (bsmClmx) {
return request({
url: SERVER.SERVERAPI + '/rest/zhcx/sjClmx/delete?bsmClmx=' + bsmClmx,
method: 'delete'
})
}
\ No newline at end of file
......
......@@ -100,9 +100,7 @@ export default {
let that = this;
if(type == 1){
//证书预览
this.$popup({
title: "证书预览",
editItem: "workflow/components/zsyl",
this.$popup("证书预览","workflow/components/zsyl",{
height: '650px',
width: "800px",
formData: {
......@@ -118,9 +116,7 @@ export default {
})
}else{
//证书打印
this.$popup({
title: "证书打印",
editItem: "workflow/components/zsdy",
this.$popup("证书打印","workflow/components/zsdy",{
height: '700px',
width: "800px",
formData: {
......
......@@ -24,17 +24,20 @@ export function getForm(tabName, djywbm) {
form = require("@/views/ywbl/fdcq2/slxx400.vue");
break;
case "fwsyqslxx900":
form = require("@/views/ywbl/fdcq2/slxx900.vue");
break;
form = require("@/views/ywbl/fdcq2/slxx900.vue");
break;
case "nydsyqslxx100":
form = require("@/views/ywbl/nydsyq/slxx.vue");
break;
break;
case "tdslxxCfdj":
form = require("@/views/ywbl/cfdj/tdslxx.vue");
break;
case "plslxxCfdj":
form = require("@/views/ywbl/cfdj/plcfslxx.vue");
break;
case "diyaqSlxx":
form = require("@/views/ywbl/diyaq/slxx.vue");
break;
case "clxx":
form = require("@/views/workflow/components/clxx.vue");
break;
......@@ -52,10 +55,13 @@ export function getForm(tabName, djywbm) {
break;
case "nydsyqQlxx":
form = require("@/views/registerBook/nydsyq.vue");
break;
break;
case "fdcq2Qlxx":
form = require("@/views/registerBook/fdcq2.vue");
break;
case "diyaqQlxx":
form = require("@/views/registerBook/diyaq.vue");
break;
case "szxx":
form = require("@/views/workflow/components/szxx.vue");
break;
......
......@@ -194,17 +194,15 @@ import { mapGetters } from "vuex";
export default {
async created () {
this.propsParam = this.$attrs;
Init({
bsmSldy: this.propsParam.bsmSldy.split(",")
}).then((res) => {
var formdata = new FormData();
formdata.append("bsmSldy", this.propsParam.bsmSldy);
formdata.append("djlx", this.propsParam.djlx);
Init(formdata).then((res) => {
if (res.code === 200 && res.result) {
this.ruleForm = {
...res.result,
...res.result.zdjbxxdatas,
...res.result.qlxxdatas,
...res.result.jsydsyqdatas,
}
console.log(this.ruleForm, 'this.ruleFormthis.ruleFormthis.ruleForm');
}
});
},
......