Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
isc-web-vue
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
isc-v3.1-tmp
isc-web-vue
Commits
682e2bb1
Commit
682e2bb1
authored
Oct 19, 2024
by
李少勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改oftopn和oftsel交易
parent
75c24127
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
32 additions
and
62 deletions
+32
-62
index.js
src/page/Frontend/Oftopn/event/index.js
+2
-0
Oftp13.vue
src/page/Frontend/Oftopn/views/Oftp13.vue
+14
-31
index.js
src/page/Frontend/Oftsel/event/index.js
+2
-0
Oftp01.vue
src/page/Frontend/Oftsel/views/Oftp01.vue
+14
-31
No files found.
src/page/Frontend/Oftopn/event/index.js
View file @
682e2bb1
import
Api
from
"~/service/Api"
;
import
moment
from
"moment"
;
import
getSubtyp
from
'~/page/Frontend/Rcvsel/event/getSubtyp.js'
;
import
Oftopn
from
'../model'
;
export
default
{
mixins
:
[
getSubtyp
],
methods
:
{
async
handleSearch
()
{
let
rsptims
=
this
.
model
.
oftp
.
rel
.
rsptims
;
...
...
src/page/Frontend/Oftopn/views/Oftp13.vue
View file @
682e2bb1
...
...
@@ -6,6 +6,19 @@
<el-row>
<c-col
:span=
"24"
>
<c-col
:span=
"8"
>
<el-form-item
label=
"报文标准"
style=
"width: 100%"
>
<c-select
v-model=
"model.oftp.rel.msgtyp"
style=
"width: 100%"
:code=
"codes.msgtyp3"
@
change=
"getSubtyp(model.oftp.rel.msgtyp, 'oftp.rel.mty')"
/>
</el-form-item>
</c-col>
<c-col
:span=
"8"
>
<el-form-item
label=
"报文类型"
style=
"width: 100%"
>
<el-select
v-model=
"model.oftp.rel.mty"
>
<el-option
v-for=
"code in subtypCodes"
:key=
"code.label"
:label=
"code.label"
:value=
"code.value"
>
</el-option>
</el-select>
</el-form-item>
</c-col>
<c-col
:span=
"8"
>
<el-form-item
label=
"起止日期"
style=
"width: 100%"
>
<c-col
:span=
"11"
>
<c-date-picker
type=
"date"
v-model=
"model.oftp.rel.rsptims"
style=
"width: 100%"
></c-date-picker>
...
...
@@ -18,20 +31,6 @@
</c-col>
</el-form-item>
</c-col>
<c-col
:span=
"8"
>
<el-form-item
label=
"报文标准"
style=
"width: 100%"
>
<c-select
v-model=
"model.oftp.rel.msgtyp"
style=
"width: 100%"
:code=
"codes.msgtyp3"
/>
</el-form-item>
</c-col>
<c-col
:span=
"8"
>
<el-form-item
label=
"报文类型"
style=
"width: 100%"
>
<el-select
v-model=
"model.oftp.rel.mty"
>
<el-option
v-for=
"code in subtypCodes"
:key=
"code.label"
:label=
"code.label"
:value=
"code.value"
>
</el-option>
</el-select>
</el-form-item>
</c-col>
</c-col>
</el-row>
<!-- 可控展示区 -->
...
...
@@ -281,23 +280,7 @@ export default {
}
},
watch
:
{
'model.oftp.rel.msgtyp'
:
{
handler
:
function
(
newTyp
,
oldTyp
)
{
// 把已经选择的 subtyp 重置
this
.
model
.
oftp
.
rel
.
mty
=
''
;
const
{
codes
}
=
this
;
if
(
newTyp
===
'sf2'
)
{
this
.
subtypCodes
=
codes
.
mttyp
;
}
else
if
(
newTyp
===
'iso'
)
{
this
.
subtypCodes
=
codes
.
isotyp
;
}
else
if
(
newTyp
===
'txt'
)
{
this
.
subtypCodes
=
codes
.
fmttyp
;
}
else
{
this
.
subtypCodes
=
codes
.
cipstyp
;
}
},
deep
:
true
}
},
methods
:
{
dbClickRow
(
row
)
{
...
...
src/page/Frontend/Oftsel/event/index.js
View file @
682e2bb1
import
Api
from
"~/service/Api"
;
import
getSubtyp
from
'~/page/Frontend/Rcvsel/event/getSubtyp.js'
;
import
moment
from
"moment"
;
export
default
{
mixins
:
[
getSubtyp
],
methods
:
{
async
handleSearch
()
{
let
rsptims
=
this
.
model
.
oftp
.
rel
.
rsptims
;
...
...
src/page/Frontend/Oftsel/views/Oftp01.vue
View file @
682e2bb1
...
...
@@ -6,6 +6,19 @@
<el-row>
<c-col
:span=
"24"
>
<c-col
:span=
"8"
>
<el-form-item
label=
"报文标准"
style=
"width: 100%"
>
<c-select
v-model=
"model.oftp.rel.msgtyp"
style=
"width: 100%"
:code=
"codes.msgtyp3"
@
change=
"getSubtyp(model.oftp.rel.msgtyp, 'oftp.rel.mty')"
/>
</el-form-item>
</c-col>
<c-col
:span=
"8"
>
<el-form-item
label=
"报文类型"
style=
"width: 100%"
>
<el-select
v-model=
"model.oftp.rel.mty"
>
<el-option
v-for=
"code in subtypCodes"
:key=
"code.label"
:label=
"code.label"
:value=
"code.value"
>
</el-option>
</el-select>
</el-form-item>
</c-col>
<c-col
:span=
"8"
>
<el-form-item
label=
"起止日期"
style=
"width: 100%"
>
<c-col
:span=
"11"
>
<c-date-picker
type=
"date"
v-model=
"model.oftp.rel.rsptims"
style=
"width: 100%"
></c-date-picker>
...
...
@@ -18,20 +31,6 @@
</c-col>
</el-form-item>
</c-col>
<c-col
:span=
"8"
>
<el-form-item
label=
"报文标准"
style=
"width: 100%"
>
<c-select
v-model=
"model.oftp.rel.msgtyp"
style=
"width: 100%"
:code=
"codes.msgtyp3"
/>
</el-form-item>
</c-col>
<c-col
:span=
"8"
>
<el-form-item
label=
"报文类型"
style=
"width: 100%"
>
<el-select
v-model=
"model.oftp.rel.mty"
>
<el-option
v-for=
"code in subtypCodes"
:key=
"code.label"
:label=
"code.label"
:value=
"code.value"
>
</el-option>
</el-select>
</el-form-item>
</c-col>
</c-col>
</el-row>
<!-- 可控展示区 -->
...
...
@@ -279,23 +278,7 @@ export default {
}
},
watch
:
{
'model.sndp.msgtyp'
:
{
handler
:
function
(
newTyp
,
oldTyp
)
{
// 把已经选择的 subtyp 重置
this
.
model
.
sndp
.
subtyp
=
''
;
const
{
codes
}
=
this
;
if
(
newTyp
===
'sf2'
)
{
this
.
subtypCodes
=
codes
.
mttyp
;
}
else
if
(
newTyp
===
'iso'
)
{
this
.
subtypCodes
=
codes
.
isotyp
;
}
else
if
(
newTyp
===
'txt'
)
{
this
.
subtypCodes
=
codes
.
fmttyp
;
}
else
{
this
.
subtypCodes
=
codes
.
cipstyp
;
}
},
deep
:
true
}
},
methods
:
{},
mounted
:
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