d19f0e47 by 任超
2 parents 39d91ee3 792dd787
......@@ -33,7 +33,7 @@ export function Init (data) {
data
})
}
// 初始化内容
// 受理信息保存
export function saveData (data) {
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/jsydsyqlr/saveData',
......@@ -42,52 +42,6 @@ export function saveData (data) {
})
}
// // 初始化内容
// export function Init (data) {
// return request({
// url: SERVER.SERVERAPI +'/rest/ywbl/tdsyqlr/Init',
// method: 'post',
// data
// })
// }
// 首次登记保存
export function fristReg (data) {
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/jsydsyqlr/fristReg',
method: 'post',
data
})
}
// 转移登记保存
export function transferReg (data) {
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/jsydsyqlr/transferReg',
method: 'post',
data
})
}
// 变更登记保存
export function changeReg (data) {
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/jsydsyqlr/changeReg',
method: 'post',
data
})
}
// 注销登记保存
export function logoutReg (data) {
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/jsydsyqlr/logoutReg',
method: 'post',
data
})
}
// 流程图
export function getWorkFlowImage (bsmSlsq, bestepid) {
return request({
......@@ -102,7 +56,7 @@ export function getWorkFlowImage (bsmSlsq, bestepid) {
// 上传单个文件
export function sjClmxUpload (data) {
return request({
url: 'zhcx/sjClmx/upload',
url: SERVER.SERVERAPI + '/rest/zhcx/sjClmx/upload',
method: 'post',
data
})
......@@ -110,7 +64,7 @@ export function sjClmxUpload (data) {
// 删除上传文件
export function sjClmxDelete (bsmClmx) {
return request({
url: 'zhcx/sjClmx/delete?bsmClmx=' + bsmClmx,
url: SERVER.SERVERAPI + '/rest/zhcx/sjClmx/delete?bsmClmx=' + bsmClmx,
method: 'delete'
})
}
\ No newline at end of file
......
......@@ -155,6 +155,7 @@ export default {
this._beforeUnload_time = new Date().getTime()
},
unloadHandler(e) {
thsi.$alert("234234");
this._gap_time = new Date().getTime() - this._beforeUnload_time
//判断是窗口关闭还是刷新
if (this._gap_time <= 10) {
......@@ -286,10 +287,7 @@ export default {
}
break;
case "B4":
this.$popup({
titleStyle: "left",
title: "登记簿详情", // 弹窗标题
editItem: "registerBook/djbFrame", // 弹窗内容
this.$popup("登记簿详情","registerBook/djbFrame",{
formData: this.currentSelectProps,
width: "1220px",
height: "790px",
......@@ -304,16 +302,13 @@ export default {
});
break;
case "B5":
this.$popup({
title: "证书预览",
editItem: "workflow/components/zsyl",
this.$popup( "证书预览","workflow/components/zsyl",{
height: "600px",
width: "800px",
formData: {
bsmSlsq: this.bsmSlsq,
entryType: '1'
},
btnShow: false,
cancel: () => {
console.log("取消回调");
},
......
......@@ -147,6 +147,14 @@
</el-row>
<InformationTable :tableData="ruleForm.qlrList" @upDateQlrxxList="upDateQlrxxList"
:viewtype="$route.query.viewtype" :gyfs="ruleForm.slywxx.gyfs" />
<div v-if="ruleForm.ywrList.length>0">
<div class="slxx_title title-block">
义务人信息
<div class="triangle"></div> </div>
<InformationTable :tableData="ruleForm.ywrList" @upDateQlrxxList="upDateYwrxxList"
:viewtype="$route.query.viewtype" />
</div>
<div class="slxx_title title-block">
登记原因
<div class="triangle"></div>
......@@ -223,13 +231,11 @@ export default {
methods: {
// 更新权利人信息
upDateQlrxxList (val) {
this.ruleForm.qlrList = _.cloneDeep(val)
// this.$store.dispatch('slxx/setQlrxxNew', {
// qlrxx: this.ruleForm.qlrxx,
// fj: this.ruleForm.fj,
// gyfs: this.ruleForm.gyfs,
// djyy: this.ruleForm.djyy
// })
this.ruleForm.qlrList = _.cloneDeep(val);
},
// 更新义务人信息
upDateYwrxxList (val) {
this.ruleForm.ywrList = _.cloneDeep(val);
},
onSubmit () {
saveData(this.ruleForm).then((res) => {
......