Commit abae1376 by liuyunfeng

面函展示

parent 8d12264f
{4:
-}
\ No newline at end of file
{4:
-}
\ No newline at end of file
{4:
-}
\ No newline at end of file
{1:F01null0001000001}{2:I103null193420072120072119349999N}{3:{111:001}{121:b10f3129-a9a0-4c00-8d96-357124fb9768}} {4:
:20:OR000020000096
:23B:CRED
:50K:HEBEIJIANSHE JITUAN TIANCHENJIANZHU
GONGCHENG YOUXIANGONGSI
-}
\ No newline at end of file
{1:F01null0001000001}{2:I103null193420072120072119349999N}{3:{111:001}{121:b10f3129-a9a0-4c00-8d96-357124fb9768}} {4:
:20:OR000020000096
:23B:CRED
:50K:HEBEIJIANSHE JITUAN TIANCHENJIANZHU
GONGCHENG YOUXIANGONGSI
-}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -469,21 +469,8 @@ export default { ...@@ -469,21 +469,8 @@ export default {
} }
}) })
}, },
onRecpanButshw(){ onRecpanButshw(row){
this.$refs.modelForm.validate(async valid => { //let path = row.docpth
if(!valid)
return;
let rtnmsg = await Api.post("trnrel/recpan_butshw",{data:this.model})
if(rtnmsg.code == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
}, },
onRecpanInc(){ onRecpanInc(){
this.$refs.modelForm.validate(async valid => { this.$refs.modelForm.validate(async valid => {
......
...@@ -47,11 +47,11 @@ export default { ...@@ -47,11 +47,11 @@ export default {
let cortyp = row.cortyp let cortyp = row.cortyp
let rtnmsg let rtnmsg
if (cortyp == 'SWT'|| cortyp == 'FMT' || cortyp == 'CMT') { if (cortyp == 'SWT'|| cortyp == 'FMT' || cortyp == 'CMT') {
this.model.msgmod_doccod = row.id this.model.setmod.msgmod.doccod = row.id
rtnmsg = await Api.post('cptopn/msgmod_butshw', { data: Utils.flatObject(this.model) }) rtnmsg = await Api.post('cptopn/msgmod_butshw', { data: Utils.flatObject(this.model) })
} else { } else {
this.model.trndoc_doccod = row.id this.model.trnmod.trndoc.doccod = row.id
this.model.trndoc_cortyp = cortyp this.model.trnmod.trndoc.cortyp = cortyp
rtnmsg = await Api.post('cptopn/trndoc_butshw', { data: Utils.flatObject(this.model) }) rtnmsg = await Api.post('cptopn/trndoc_butshw', { data: Utils.flatObject(this.model) })
} }
console.log(rtnmsg) console.log(rtnmsg)
...@@ -59,6 +59,8 @@ export default { ...@@ -59,6 +59,8 @@ export default {
if (cortyp == 'SWT' || cortyp == 'FMT' || cortyp == 'CMT') { if (cortyp == 'SWT' || cortyp == 'FMT' || cortyp == 'CMT') {
let viewurl = "/gjjs/files" + rtnmsg.data.setmod_msgmod_docpth; let viewurl = "/gjjs/files" + rtnmsg.data.setmod_msgmod_docpth;
console.log(viewurl) console.log(viewurl)
alert(viewurl)
window.location.href=viewurl
window.open(viewurl, 'newwindow', 'height=1200,width=800,top=100,left=100,toolbar=no,resizable=no,menubar=no,location=no, status=no'); window.open(viewurl, 'newwindow', 'height=1200,width=800,top=100,left=100,toolbar=no,resizable=no,menubar=no,location=no, status=no');
} }
else if(cortyp == 'ELC') else if(cortyp == 'ELC')
...@@ -69,11 +71,13 @@ export default { ...@@ -69,11 +71,13 @@ export default {
}) })
} }
else { else {
let url = "/psbcfront" + rtnmsg.data.trndoc_docpth; let url = "/gjjs/files" + rtnmsg.data.trnmod_trndoc_docpth;
console.log(url)
// window.location.href = url
// let url = rtnmsg.data.trndoc_docpth; // let url = rtnmsg.data.trndoc_docpth;
let viewurl = "/psbcfront/pdfjs/web/viewer.html"; // let viewurl = "/psbcfront/pdfjs/web/viewer.html";
viewurl += "?file=" + url; // viewurl += "?file=" + url;
window.open(viewurl, 'newwindow', 'height=1200,width=800,top=100,left=100,toolbar=no,resizable=no,menubar=no,location=no, status=no'); // window.open(viewurl, 'newwindow', 'height=1200,width=800,top=100,left=100,toolbar=no,resizable=no,menubar=no,location=no, status=no');
} }
} }
else { else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment