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 {
}
})
},
onRecpanButshw(){
this.$refs.modelForm.validate(async valid => {
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: '服务请求失败!'});
}
})
onRecpanButshw(row){
//let path = row.docpth
},
onRecpanInc(){
this.$refs.modelForm.validate(async valid => {
......
......@@ -47,18 +47,20 @@ export default {
let cortyp = row.cortyp
let rtnmsg
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) })
} else {
this.model.trndoc_doccod = row.id
this.model.trndoc_cortyp = cortyp
this.model.trnmod.trndoc.doccod = row.id
this.model.trnmod.trndoc.cortyp = cortyp
rtnmsg = await Api.post('cptopn/trndoc_butshw', { data: Utils.flatObject(this.model) })
}
console.log(rtnmsg)
if (rtnmsg.code == SUCCESS) {
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)
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');
}
else if(cortyp == 'ELC')
......@@ -69,11 +71,13 @@ export default {
})
}
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 viewurl = "/psbcfront/pdfjs/web/viewer.html";
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');
// let viewurl = "/psbcfront/pdfjs/web/viewer.html";
// 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');
}
}
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