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
dff309c3
Commit
dff309c3
authored
Jun 22, 2021
by
潘际乾
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://114.115.138.98:8900/fukai/vue-gjjs
parents
1263ee26
99a63797
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
84 additions
and
7 deletions
+84
-7
Event.js
src/model/Ditopn/Event.js
+48
-6
index.js
src/routers/index.js
+3
-1
index.vue
src/views/Docpan/index.vue
+33
-0
No files found.
src/model/Ditopn/Event.js
View file @
dff309c3
...
...
@@ -313,13 +313,55 @@ export default {
onSeainf
()
{
},
handleDisplay
(
index
,
row
){
console
.
log
(
index
);
console
.
log
(
row
);
async
handleDisplay
(
index
,
row
){
let
cortyp
=
row
.
cortyp
let
rtnmsg
if
(
cortyp
==
'SWT'
||
cortyp
==
'FMT'
||
cortyp
==
'CMT'
)
{
this
.
model
.
setmod
.
msgmod
.
doccod
=
row
.
id
rtnmsg
=
await
Api
.
post
(
'cptopn/msgmod_butshw'
,
{
data
:
Utils
.
flatObject
(
this
.
model
)
})
}
else
{
this
.
model
.
trnmod
.
trndoc
.
doccod
=
row
.
id
this
.
model
.
trnmod
.
trndoc
.
cortyp
=
cortyp
const
params
=
{
index
:
index
}
rtnmsg
=
await
Api
.
post
(
"ditopn/executeDocpan/trnmod.trndoc.doccur.butshw"
,
{
...
Utils
.
flatObject
(
this
.
model
),
params
})
}
if
(
rtnmsg
.
respCode
==
"AAAAAA"
)
{
if
(
cortyp
==
'SWT'
||
cortyp
==
'FMT'
||
cortyp
==
'CMT'
)
{
let
viewurl
=
rtnmsg
.
data
.
setmod_msgmod_docpth
;
this
.
viewurl
=
viewurl
this
.
title
=
"报文"
//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'
)
{
Modal
.
info
({
title
:
'电证报文'
,
content
:
<
div
style
=
{{
height
:
400
,
overflow
:
'auto'
}}
><
ELCMessage
mty
=
{
row
.
id
}
message
=
{
rtnmsg
.
data
[
"
\\
trnmod
\\
trndoc
\\
docinf"
]}
/></
div
>
,
width
:
1000
,
})
}
else
{
// let url = rtnmsg.data.trnmod_trndoc_smh_docpth;
this
.
title
=
"面函"
let
viewurl
=
"/#/docpan"
;
viewurl
+=
"?model="
+
rtnmsg
.
data
.
litbenl1blk
;
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'
);
}
this
.
dialogOpen
=
true
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
})
}
},
handleDetail
(
index
,
row
){
console
.
log
(
index
);
console
.
log
(
row
);
async
handleDetail
(
index
,
row
){
let
rtnmsg
=
await
Api
.
post
(
"ditopn/executeRule/trnmod.trndoc.doccur.butadd"
,
Utils
.
flatObject
(
this
.
model
))
if
(
rtnmsg
.
respCode
==
"AAAAAA"
)
{
//TODO 处理数据逻辑
let
viewurl
=
"/#/public/"
+
doc
.
vue
;
window
.
open
(
viewurl
,
'newwindow'
,
'height=1200,width=900,top=100,left=100,toolbar=no,resizable=no,menubar=no,location=no, status=no'
);
}
},
async
BlurBennam
(
e
){
let
rtnmsg
=
await
Api
.
post
(
"ditopn/default/ditp.remark"
,
Utils
.
flatObject
(
this
.
model
))
...
...
src/routers/index.js
View file @
dff309c3
...
...
@@ -5,6 +5,7 @@ import Display from "../views/Display"
import
Login
from
"../views/Login"
import
Layout
from
"../views/Layout"
import
BusRouter
from
'../views/Business/BusRouter'
import
Docpan
from
"../views/Docpan"
Vue
.
use
(
VueRouter
)
...
...
@@ -13,7 +14,8 @@ const rootRouter = new VueRouter({
{
path
:
"/display"
,
component
:
Display
,
children
:
BusRouter
},
{
path
:
"/login"
,
component
:
Login
},
{
path
:
"/business"
,
component
:
Layout
,
children
:
BusRouter
}
{
path
:
"/business"
,
component
:
Layout
,
children
:
BusRouter
},
{
path
:
"/docpan"
,
component
:
Docpan
}
]
})
...
...
src/views/Docpan/index.vue
0 → 100644
View file @
dff309c3
<
template
>
<div>
<div
class=
"title"
>
面函列表
</div>
<div>
<c-input
type=
"textarea"
:autosize=
"
{ minRows: 16, maxRows: 32}"
placeholder="请输入原因"
v-model="model">
</c-input>
</div>
</div>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
import
Utils
from
"~/utils"
export
default
{
data
(){
return
{
model
:
this
.
$route
.
query
.
model
,
}
},
mounted
()
{
console
.
log
(
this
.
$router
);
}
}
</
script
>
<
style
scoped
>
</
style
>
\ No newline at end of file
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