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
eb1490ab
Commit
eb1490ab
authored
Nov 24, 2021
by
wangguangchao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
复核任务查询优化
parent
73c0c589
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
71 additions
and
35 deletions
+71
-35
Event.js
src/model/Trnrel/Event.js
+17
-1
index.js
src/model/Trnrel/index.js
+3
-1
Inftrnps.vue
src/views/Business/Trnrel/Inftrnps.vue
+51
-33
No files found.
src/model/Trnrel/Event.js
View file @
eb1490ab
...
...
@@ -283,5 +283,20 @@ export default {
const
ds
=
d
.
split
(
"
\
t"
)
let
viewurl
=
"/#/display/"
+
ds
[
'10'
].
toLowerCase
()
+
"?trn="
+
ds
[
'1'
]
window
.
open
(
viewurl
,
'newwindow'
,
'height=1200,width=900,top=100,left=100,toolbar=no,resizable=no,menubar=no,location=no, status=no'
);
}
},
async
handleSearch
()
{
const
that
=
this
.
root
;
if
(
this
.
model
.
searchAllUsers
){
that
.
executeRule
(
"seajbh"
).
then
(
res
=>
{
//TODO 处理数据逻辑
that
.
$refs
.
inftrnps
.
stmData
.
data
=
res
.
data
.
trncorco_trnstm
.
rows
;
})
}
else
{
that
.
executeRule
(
"searow"
).
then
(
res
=>
{
//TODO 处理数据逻辑
that
.
$refs
.
inftrnps
.
stmData
.
data
=
res
.
data
.
trncorco_trnstm
.
rows
;
this
.
model
.
trncorco
.
trnstm
=
res
.
data
.
trncorco_trnstm
;
})
}
},
}
\ No newline at end of file
src/model/Trnrel/index.js
View file @
eb1490ab
...
...
@@ -107,7 +107,8 @@ export default class Trnrel {
prtpblk
:
""
,
// XMLPanel prtp的内置block .docimm.docbol.prtpblk
},
},
pageId
:
""
// ctx的key
pageId
:
""
,
// ctx的key
searchAllUsers
:
""
}
}
}
\ No newline at end of file
src/views/Business/Trnrel/Inftrnps.vue
View file @
eb1490ab
...
...
@@ -11,6 +11,7 @@
size=
"small"
>
<el-row>
<c-col
:span=
"12"
>
<el-form-item
label=
"Branch"
prop=
"bchcon"
>
<c-select
...
...
@@ -22,6 +23,13 @@
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
" "
prop=
"searchAllUsers"
>
<c-checkbox
v-model=
"model.searchAllUsers"
>
查询所有柜员
</c-checkbox>
</el-form-item>
</c-col>
</el-row>
<el-row>
<c-col
:span=
"12"
>
<el-form-item
label=
"Reference"
prop=
"trncorco.ownref"
>
<c-input
...
...
@@ -50,16 +58,9 @@
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"User"
prop=
"usrcon"
>
<c-select
v-model=
"model.usrcon"
style=
"width: 100%"
placeholder=
"请选择User"
>
</c-select>
</el-form-item>
</c-col>
</el-row>
<!--
<c-col
:span=
"12"
>
...
...
@@ -69,31 +70,43 @@
</c-col>
-->
<el-row
v-show=
"searchSlot.searchToggle"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"Between"
>
<el-date-picker
type=
"date"
v-model=
"model.trncorco.inidatfro"
style=
"width: 45%"
placeholder=
"请选择Date of entry of Transaction"
></el-date-picker>
-
<el-date-picker
type=
"date"
v-model=
"model.trncorco.inidattil"
style=
"width: 45%"
placeholder=
"请选择Date of entry of Transaction until"
></el-date-picker>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"User"
prop=
"usrcon"
>
<c-select
v-model=
"model.usrcon"
style=
"width: 100%"
placeholder=
"请选择User"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Between"
>
<el-date-picker
type=
"date"
v-model=
"model.trncorco.inidatfro"
style=
"width: 45%"
placeholder=
"请选择Date of entry of Transaction"
></el-date-picker>
-
<el-date-picker
type=
"date"
v-model=
"model.trncorco.inidattil"
style=
"width: 45%"
placeholder=
"请选择Date of entry of Transaction until"
></el-date-picker>
</el-form-item>
</c-col>
</c-col>
<!--
<c-col
:span=
"12"
>
<el-form-item
label=
"and"
>
</el-form-item>
</c-col>
-->
<c-col
:span=
"24"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"Transaction Type "
prop=
"atp.cod"
>
<c-input
...
...
@@ -126,18 +139,21 @@
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Transaction Text"
prop=
"atptxt"
>
<c-input
v-model=
"model.atptxt"
maxlength=
"37"
:readonly=
"true"
placeholder=
"请输入Transaction Text"
></c-input>
</el-form-item>
</c-col>
</el-row>
</el-row>
</el-form>
</
template
>
</c-list-search>
...
...
@@ -157,13 +173,15 @@
-->
<div
style=
"margin-top:20px;"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onSeaown"
>
<!-- <c-button size="small" type="primary" @click="onSeaown">
Search Own
</c-button>
<c-button size="small" type="primary" @click="onSeajbh">
Search All
</c-button>
</c-button> -->
<c-button
size=
"small"
...
...
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