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
78639211
Commit
78639211
authored
Jun 25, 2021
by
1377875331@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
面函过滤与显示
parent
dff309c3
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
29 additions
and
32 deletions
+29
-32
index.js
src/config/CodeTable/index.js
+4
-4
Event.js
src/model/Ditopn/Event.js
+6
-3
index.js
src/routers/index.js
+2
-2
index.vue
src/views/Business/Ditopn/index.vue
+8
-1
index.vue
src/views/Docpan/index.vue
+9
-22
No files found.
src/config/CodeTable/index.js
View file @
78639211
...
...
@@ -5699,10 +5699,10 @@ const CodeTable = {
{
label
:
"simple letter"
,
value
:
"LET"
},
{
label
:
"by Airmail"
,
value
:
"LETAML"
},
{
label
:
"by Courier"
,
value
:
"LETCOU"
},
{
label
:
"DHL中外运"
,
value
:
"LETDHC"
},
{
label
:
"DHL敦豪"
,
value
:
"LETDHL"
},
{
label
:
"EMS"
,
value
:
"LETEMS"
},
{
label
:
"send as MT999"
,
value
:
"SWT999"
},
//
{label:"DHL中外运",value:"LETDHC" },
//
{label:"DHL敦豪",value:"LETDHL" },
//
{label:"EMS",value:"LETEMS" },
//
{label:"send as MT999",value:"SWT999" },
],
litameadv
:[
{
label
:
"无特殊规定"
,
value
:
"1"
},
...
...
src/model/Ditopn/Event.js
View file @
78639211
...
...
@@ -344,7 +344,7 @@ export default {
else
{
// let url = rtnmsg.data.trnmod_trndoc_smh_docpth;
this
.
title
=
"面函"
let
viewurl
=
"/#/docpan"
;
let
viewurl
=
"/#/docpan
/show
"
;
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'
);
...
...
@@ -356,10 +356,13 @@ export default {
}
},
async
handleDetail
(
index
,
row
){
let
rtnmsg
=
await
Api
.
post
(
"ditopn/executeRule/trnmod.trndoc.doccur.butadd"
,
Utils
.
flatObject
(
this
.
model
))
const
params
=
{
index
:
index
}
let
rtnmsg
=
await
Api
.
post
(
"ditopn/executeDocpanDetail/trnmod.trndoc.doccur.butadd"
,
{
...
Utils
.
flatObject
(
this
.
model
),
params
})
if
(
rtnmsg
.
respCode
==
"AAAAAA"
)
{
//TODO 处理数据逻辑
let
viewurl
=
"/#/
public/"
+
doc
.
vue
;
let
viewurl
=
"/#/
docpan/detail"
;
window
.
open
(
viewurl
,
'newwindow'
,
'height=1200,width=900,top=100,left=100,toolbar=no,resizable=no,menubar=no,location=no, status=no'
);
}
},
...
...
src/routers/index.js
View file @
78639211
...
...
@@ -5,7 +5,7 @@ import Display from "../views/Display"
import
Login
from
"../views/Login"
import
Layout
from
"../views/Layout"
import
BusRouter
from
'../views/Business/BusRouter'
import
Doc
pan
from
"../views/Docpan"
import
Doc
Router
from
'../views/Docpan/DocRouter'
Vue
.
use
(
VueRouter
)
...
...
@@ -15,7 +15,7 @@ const rootRouter = new VueRouter({
{
path
:
"/display"
,
component
:
Display
,
children
:
BusRouter
},
{
path
:
"/login"
,
component
:
Login
},
{
path
:
"/business"
,
component
:
Layout
,
children
:
BusRouter
},
{
path
:
"/docpan"
,
component
:
Docpan
}
{
path
:
"/docpan"
,
component
:
()
=>
import
(
'../views/Docpan'
),
children
:
DocRouter
}
]
})
...
...
src/views/Business/Ditopn/index.vue
View file @
78639211
...
...
@@ -199,7 +199,14 @@ export default {
this
.
executeRule
(
"trnmod.trndoc.docpan"
).
then
(
res
=>
{
const
data
=
res
.
data
;
Utils
.
copyValueFromVO
(
this
.
model
,
data
)
this
.
$refs
.
docpan
.
stmData
.
data
=
res
.
data
.
trnmod_trndoc_doceot
var
stm
=
[];
let
k
=
0
;
for
(
let
i
=
0
;
i
<
res
.
data
.
trnmod_trndoc_doceot
.
length
;
i
++
){
if
(
res
.
data
.
trnmod_trndoc_doceot
[
i
].
role
!=
""
){
stm
[
k
++
]
=
res
.
data
.
trnmod_trndoc_doceot
[
i
];
}
}
this
.
$refs
.
docpan
.
stmData
.
data
=
stm
})
}
}
...
...
src/views/Docpan/index.vue
View file @
78639211
<
template
>
<div>
<div
class=
"title"
>
面函列表
</div>
<div>
<c-input
type=
"textarea"
:autosize=
"
{ minRows: 16, maxRows: 32}"
placeholder="请输入原因"
v-model="model">
</c-input>
</div>
<div
id=
"docpan_container"
>
<router-view></router-view>
</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
>
#docpan_container
{
width
:
100%
;
height
:
100%
;
}
</
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