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
df3a2548
Commit
df3a2548
authored
Jan 27, 2022
by
潘际乾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
汇款附件
parent
7bf46628
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
76 additions
and
3 deletions
+76
-3
CptAdvChangePanel.vue
src/views/Business/Cptadv/CptAdvChangePanel.vue
+1
-2
Doctre.vue
src/views/Public/Doctre.vue
+75
-1
No files found.
src/views/Business/Cptadv/CptAdvChangePanel.vue
View file @
df3a2548
...
...
@@ -2362,14 +2362,13 @@
<
script
>
import
CommonProcess
from
"~/mixin/CommonProcess"
;
import
Pattern
from
"~/model/Cptopn/Pattern"
;
export
default
{
inject
:
[
"root"
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
CommonProcess
],
data
()
{
return
{
pattern
:
Pattern
,
infptaVisible
:
false
,
};
},
...
...
src/views/Public/Doctre.vue
View file @
df3a2548
<
template
>
<div
class=
"eibs-tab"
>
<c-col
:span=
"24"
style=
"height: 24px"
>
<el-form-item
label=
"Outgoing Messages"
class=
"messageLabel"
></el-form-item>
</c-col>
<c-col
:span=
"24"
style=
"height: 0px"
>
<el-divider></el-divider>
</c-col>
<c-col
:span=
"24"
>
<c-
table
<c-
istream-table-docpan
:border=
"true"
:list=
"data1"
style=
"width:100%,text-align:center"
>
<el-table-column
label=
"Type"
width=
"auto"
>
<template
slot-scope=
"scope"
>
<c-select
v-model=
"
model.trnmod.trndoc.doceot[scope.row.index].cortyp
"
style=
"width: 100%"
disabled
placeholder=
"请选择"
>
<el-option
v-for=
"item in codes.doceotCortyp"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</
template
>
</el-table-column>
<el-table-column
label=
"Document"
width=
"auto"
>
<
template
slot-scope=
"scope"
>
<span>
{{
model
.
trnmod
.
trndoc
.
doceot
[
scope
.
row
.
index
].
pandsc
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"Cre.TRN"
width=
"auto"
></el-table-column>
<el-table-column
label=
"Date"
width=
"auto"
>
<
template
>
<span>
{{
getNow
()
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
""
width=
"auto"
></el-table-column>
<el-table-column
label=
""
width=
"auto"
></el-table-column>
</c-istream-table-docpan>
</c-col>
<c-col
:span=
"24"
style=
"height: 24px;margin-top: 20px;"
>
<el-form-item
label=
"Previous Messages"
class=
"messageLabel"
></el-form-item>
</c-col>
<c-col
:span=
"24"
style=
"height: 0px"
>
<el-divider></el-divider>
</c-col>
<c-col
:span=
"24"
>
<c-table
:border=
"true"
:list=
"data2"
style=
"width:100%,text-align:center"
>
<el-table-column
label=
"Type"
width=
"auto"
></el-table-column>
<el-table-column
label=
"Document"
width=
"auto"
></el-table-column>
<el-table-column
label=
"Cre.TRN"
width=
"auto"
></el-table-column>
...
...
@@ -118,6 +172,7 @@
import
Api
from
"~/service/Api"
import
CommonProcess
from
"~/mixin/CommonProcess"
;
import
CodeTable
from
"~/config/CodeTable"
import
moment
from
'moment'
export
default
{
inject
:
[
'root'
],
...
...
@@ -126,6 +181,7 @@ export default {
data
(){
return
{
data1
:
[],
data2
:
[],
isShow1
:
false
,
isShow2
:
false
,
aDisabled
:
true
,
...
...
@@ -144,6 +200,9 @@ export default {
}
},
methods
:{
getNow
()
{
return
moment
().
format
(
'yyyy-MM-DD'
)
},
handleNodeClick
(
data
)
{
if
(
!
data
.
children
){
//如果没有叶子节点 ,按钮置灰
this
.
atoDisabled
=
false
;
...
...
@@ -215,6 +274,21 @@ export default {
}
},
},
watch
:
{
"model.trnmod.trndoc.doceot"
:
{
handler
(
val
,
oldVal
)
{
var
arr
=
[];
let
k
=
0
;
for
(
let
i
=
0
;
i
<
val
.
length
;
i
++
)
{
if
(
val
[
i
].
role
!=
""
)
{
arr
[
k
++
]
=
val
[
i
];
}
}
this
.
data1
=
arr
},
immediate
:
true
}
},
created
:
function
(){
}
...
...
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