Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue-gjjs
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fukai
vue-gjjs
Commits
8d12264f
Commit
8d12264f
authored
Jul 21, 2020
by
liuyunfeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
查看面函
parent
a36c6ee9
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
4 deletions
+12
-4
00000299.sf2
data/msgtmp/ZJK001/00000299.sf2
+3
-0
Doc.vue
src/views/Public/Doc.vue
+9
-4
No files found.
data/msgtmp/ZJK001/00000299.sf2
0 → 100644
View file @
8d12264f
{4:
-}
\ No newline at end of file
src/views/Public/Doc.vue
View file @
8d12264f
...
...
@@ -25,8 +25,11 @@
<el-table-column
prop=
"op"
label=
"操作"
>
<template
slot-scope=
"scope"
>
<el-button
size=
"small"
type=
"primary"
@
click=
"detail"
>
明细
</el-button>
@
click=
"detail(scope.row)"
>
明细
</el-button>
</
template
>
</el-table-column>
</el-table>
</div>
...
...
@@ -40,8 +43,9 @@ import Utils from "~/utils"
export
default
{
props
:[
'model'
],
methods
:{
async
detail
(){
async
detail
(
row
){
let
cortyp
=
row
.
cortyp
let
rtnmsg
if
(
cortyp
==
'SWT'
||
cortyp
==
'FMT'
||
cortyp
==
'CMT'
)
{
this
.
model
.
msgmod_doccod
=
row
.
id
rtnmsg
=
await
Api
.
post
(
'cptopn/msgmod_butshw'
,
{
data
:
Utils
.
flatObject
(
this
.
model
)
})
...
...
@@ -50,10 +54,11 @@ export default {
this
.
model
.
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
=
"/psbcfront"
+
rtnmsg
.
data
.
msgmod_docpth
;
let
viewurl
=
"/gjjs/files"
+
rtnmsg
.
data
.
setmod_msgmod_docpth
;
console
.
log
(
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'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment