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
b6ee2add
Commit
b6ee2add
authored
Oct 18, 2024
by
李少勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cpsmsg交易修改
parent
16b2462e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
255 additions
and
16 deletions
+255
-16
Mainpnl.vue
src/page/Frontend/Cpsmsg/views/Mainpnl.vue
+35
-16
loginDialog.vue
src/page/Frontend/Cpsmsg/views/loginDialog.vue
+111
-0
logoutDialog.vue
src/page/Frontend/Cpsmsg/views/logoutDialog.vue
+109
-0
No files found.
src/page/Frontend/Cpsmsg/views/Mainpnl.vue
View file @
b6ee2add
...
...
@@ -7,18 +7,17 @@
<c-col
:span=
"24"
>
<c-col
:span=
"8"
>
<el-form-item
label=
"申请序号"
prop=
""
style=
"width: 100%"
>
<c-input
v-model=
"model.cpsmsgp.reqnum"
style=
"width: 100%"
placeholder=
"请输入申请序号"
/>
<c-input
v-model=
"model.cpsmsgp.reqnum"
style=
"width: 100%"
placeholder=
"请输入申请序号"
/>
</el-form-item>
</c-col>
<c-col
:span=
"8"
>
<el-form-item
label=
"报文类型"
prop=
""
style=
"width: 100%"
>
<c-select
v-model=
"model.cpsmsgp.subtyp"
style=
"width: 100%"
placeholder=
"请选择报文类型"
:code=
"codes.subtyp"
/>
<c-select
v-model=
"model.cpsmsgp.subtyp"
style=
"width: 100%"
placeholder=
"请选择报文类型"
:code=
"codes.subtyp"
/>
</el-form-item>
</c-col>
<c-col
:span=
"8"
>
<el-form-item
label=
"发起节点"
prop=
""
style=
"width: 100%"
>
<c-input
v-model=
"model.cpsmsgp.sndcod"
style=
"width: 100%"
placeholder=
"请输入发起节点"
/>
<c-input
v-model=
"model.cpsmsgp.sndcod"
style=
"width: 100%"
placeholder=
"请输入发起节点"
/>
</el-form-item>
</c-col>
...
...
@@ -31,15 +30,21 @@
</c-list-search>
<el-col
:span=
"24"
style=
"margin-top: 2px;margin-bottom: 1px;"
>
<c-button
:disabled=
"isFoldDisable"
class=
"medium_bcs"
size=
"medium"
style=
"margin-left: 0"
type=
"primary"
>
{{ $t('public.归档') }}
<c-button
:disabled=
"isFoldDisable"
class=
"medium_bcs"
size=
"medium"
style=
"margin-left: 0"
type=
"primary"
>
{{ $t('public.归档') }}
</c-button>
<c-button
:disabled=
"isRoutingDisable"
class=
"medium_bcs"
size=
"medium"
style=
"margin-left: 20"
type=
"primary"
>
ReRouting
<c-button
:disabled=
"isRoutingDisable"
class=
"medium_bcs"
size=
"medium"
style=
"margin-left: 20"
type=
"primary"
>
ReRouting
</c-button>
<c-button
class=
"medium_bcs"
size=
"medium"
style=
"margin-left: 20"
type=
"primary"
>
{{ $t('public.导出Excel') }}
</c-button>
<!-- <c-button class="medium_bcs" size="medium" style="margin-left: 20" type="primary" @click="handleToLogin">
登录
</c-button>
<c-button class="medium_bcs" size="medium" style="margin-left: 20" type="primary" @click="handleToLogout">
退出
</c-button> -->
</el-col>
<el-col
:span=
"24"
style=
"margin-top: 10px"
>
...
...
@@ -48,34 +53,41 @@
<el-tabs
v-model=
"activeTab"
class=
"y-tabs"
>
<el-tab-pane
label=
"系统管理"
name=
"fb"
>
<el-table
:data=
"stmData.data"
:columns=
"stmData.columns"
v-loading=
"load"
style=
"width: 100%"
@
selection-change=
"handleSelectionChange
"
size=
"small"
:border=
"true"
height=
"calc(100vh - 480px)"
:highlight-current-row=
"true"
>
@
selection-change=
"handleSelectionChange"
size=
"small"
:border=
"true"
height=
"calc(100vh - 480px)
"
:highlight-current-row=
"true"
>
<el-table-column
type=
"selection"
width=
"55"
>
</el-table-column>
<el-table-column
v-for=
"(item, key) in stmData.columns"
:key=
"key"
:label=
"item.label"
:prop=
"item.prop"
:min-width=
"item.width"
>
:min-width=
"item.width"
>
</el-table-column>
</el-table>
<el-pagination
layout=
"total, sizes, prev, pager, next, jumper"
:total=
"pagination.total"
:page-size=
"pagination.pageSize"
:current-page
.
sync=
"pagination.pageNum"
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
>
:page-size=
"pagination.pageSize"
:current-page
.
sync=
"pagination.pageNum"
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
>
</el-pagination>
</el-tab-pane>
</el-tabs>
</c-col>
</div>
</el-col>
<login-dialog
ref=
"loginDialog"
:codes=
"codes"
></login-dialog>
<logout-dialog
ref=
"logoutDialog"
:codes=
"codes"
></logout-dialog>
</div>
</template>
<
script
>
import
event
from
"../event"
;
import
loginDialog
from
'./loginDialog'
import
logoutDialog
from
'./logoutDialog'
export
default
{
inject
:
[
"root"
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
event
],
components
:
{
'login-dialog'
:
loginDialog
,
'logout-dialog'
:
logoutDialog
,
},
data
()
{
return
{
activeTab
:
'fb'
,
...
...
@@ -151,7 +163,14 @@ export default {
return
this
.
multipleSelection
.
length
==
0
;
}
},
methods
:
{},
methods
:
{
handleToLogin
()
{
this
.
$refs
.
loginDialog
.
visible
=
true
},
handleToLogout
()
{
this
.
$refs
.
logoutDialog
.
visible
=
true
},
},
mounted
:
function
()
{
},
};
...
...
src/page/Frontend/Cpsmsg/views/loginDialog.vue
0 → 100644
View file @
b6ee2add
<
template
>
<div>
<el-dialog
v-if=
"visible"
v-dialogDrag
:visible=
"visible"
:modal-append-to-body=
"false"
:close-on-click-modal=
"false"
title=
"签到信息展示"
destroy-on-close
width=
"50%"
@
close=
"visible = false"
>
<div>
<el-form
:model=
"formdata"
:rules=
"rules"
ref=
"modelForm"
label-width=
"120px"
label-position=
"right"
size=
"small"
:validate-on-rule-change=
"false"
>
<el-form-item
label=
"报文标识号"
prop=
"msgcod"
style=
"width: 100%"
>
<c-input
v-model=
"formdata.msgcod"
style=
"width: 100%"
placeholder=
"请输入报文标识号"
/>
</el-form-item>
<el-form-item
label=
"报文参考号"
prop=
"msgref"
style=
"width: 100%"
>
<c-input
v-model=
"formdata.msgref"
style=
"width: 100%"
placeholder=
"请输入报文参考号"
/>
</el-form-item>
<el-form-item
label=
"报文发起方"
prop=
"sndnam"
style=
"width: 100%"
>
<c-input
v-model=
"formdata.sndnam"
style=
"width: 100%"
placeholder=
"请输入报文发起方"
/>
</el-form-item>
<el-form-item
label=
"报文接收方"
prop=
"rcvnam"
style=
"width: 100%"
>
<c-input
v-model=
"formdata.rcvnam"
style=
"width: 100%"
placeholder=
"请输入报文接收方"
/>
</el-form-item>
<el-form-item
label=
"发起日期"
prop=
"snddat"
style=
"width: 100%"
>
<c-date-picker
type=
"date"
v-model=
"formdata.snddat"
style=
"width: 100%"
></c-date-picker>
</el-form-item>
<el-form-item
label=
"报文类型"
prop=
"usrmsggrp.usrtab.subtyp"
style=
"width: 100%"
>
<c-select
v-model=
"formdata.usrmsggrp.usrtab.subtyp"
style=
"width: 100%"
placeholder=
"请选择报文类型"
:code=
"codes.subtyp"
/>
</el-form-item>
<el-form-item
label=
"操作类型"
prop=
"lgotyp"
style=
"width: 100%"
>
<c-select
v-model=
"formdata.lgotyp"
style=
"width: 100%"
placeholder=
"请选择报文类型"
:code=
"[]"
/>
</el-form-item>
</el-form>
</div>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
type=
"primary"
@
click=
"handleSubmit()"
>
确 定
</el-button>
<el-button
@
click=
"handleCancel()"
>
取 消
</el-button>
</span>
</el-dialog>
</div>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
export
default
{
mixins
:
[],
props
:
[
'codes'
],
computed
:
{
},
data
()
{
return
{
visible
:
false
,
formdata
:
{
msgcod
:
''
,
msgref
:
''
,
sndnam
:
''
,
rcvnam
:
''
,
snddat
:
''
,
lgotyp
:
''
,
usrmsggrp
:
{
usrtab
:
{
subtyp
:
''
}
},
},
rules
:
{
}
};
},
watch
:
{
},
methods
:
{
async
handleSubmit
()
{
let
rtnmsg
=
await
Api
.
post
(
"/frontend/fxdsdb/saveXml"
,
this
.
formdata
);
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
visible
=
false
;
this
.
$notify
.
success
({
title
:
'提示'
,
message
:
'提交成功'
,
});
}
else
{
this
.
$notify
.
error
({
title
:
this
.
$t
(
"financing.错误"
),
message
:
this
.
$t
(
"financing.服务请求失败!"
),
});
}
},
handleCancel
()
{
this
.
formdata
.
msgcod
=
''
this
.
formdata
.
msgref
=
''
this
.
formdata
.
sndnam
=
''
this
.
formdata
.
rcvnam
=
''
this
.
formdata
.
snddat
=
''
this
.
formdata
.
lgotyp
=
''
this
.
formdata
.
usrmsggrp
.
usrtab
.
subtyp
=
''
this
.
visible
=
false
;
}
}
};
</
script
>
<
style
scoped
lang=
"less"
></
style
>
\ No newline at end of file
src/page/Frontend/Cpsmsg/views/logoutDialog.vue
0 → 100644
View file @
b6ee2add
<
template
>
<div>
<el-dialog
v-if=
"visible"
v-dialogDrag
:visible=
"visible"
:modal-append-to-body=
"false"
:close-on-click-modal=
"false"
title=
"签退信息展示"
destroy-on-close
width=
"50%"
@
close=
"visible = false"
>
<div>
<el-form
:model=
"formdata"
:rules=
"rules"
ref=
"modelForm"
label-width=
"120px"
label-position=
"right"
size=
"small"
:validate-on-rule-change=
"false"
>
<el-form-item
label=
"报文标识号"
prop=
"msgcod"
style=
"width: 100%"
>
<c-input
v-model=
"formdata.msgcod"
style=
"width: 100%"
placeholder=
"请输入报文标识号"
/>
</el-form-item>
<el-form-item
label=
"报文参考号"
prop=
"msgref"
style=
"width: 100%"
>
<c-input
v-model=
"formdata.msgref"
style=
"width: 100%"
placeholder=
"请输入报文参考号"
/>
</el-form-item>
<el-form-item
label=
"报文发起方"
prop=
"sndnam"
style=
"width: 100%"
>
<c-input
v-model=
"formdata.sndnam"
style=
"width: 100%"
placeholder=
"请输入报文发起方"
/>
</el-form-item>
<el-form-item
label=
"报文接收方"
prop=
"rcvnam"
style=
"width: 100%"
>
<c-input
v-model=
"formdata.rcvnam"
style=
"width: 100%"
placeholder=
"请输入报文接收方"
/>
</el-form-item>
<el-form-item
label=
"发起日期"
prop=
"snddat"
style=
"width: 100%"
>
<c-date-picker
type=
"date"
v-model=
"formdata.snddat"
style=
"width: 100%"
></c-date-picker>
</el-form-item>
<el-form-item
label=
"报文类型"
prop=
"usrmsggrp.usrtab.subtyp"
style=
"width: 100%"
>
<c-select
v-model=
"formdata.usrmsggrp.usrtab.subtyp"
style=
"width: 100%"
placeholder=
"请选择报文类型"
:code=
"codes.subtyp"
/>
</el-form-item>
<el-form-item
label=
"操作类型"
prop=
"lgotyp"
style=
"width: 100%"
>
<c-select
v-model=
"formdata.lgotyp"
style=
"width: 100%"
placeholder=
"请选择报文类型"
:code=
"[]"
/>
</el-form-item>
</el-form>
</div>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
type=
"primary"
@
click=
"handleSubmit()"
>
确 定
</el-button>
<el-button
@
click=
"handleCancel()"
>
取 消
</el-button>
</span>
</el-dialog>
</div>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
export
default
{
mixins
:
[],
props
:
[
'codes'
],
computed
:
{
},
data
()
{
return
{
visible
:
false
,
formdata
:
{
msgcod
:
''
,
msgref
:
''
,
sndnam
:
''
,
rcvnam
:
''
,
snddat
:
''
,
lgotyp
:
''
,
usrmsggrp
:
{
usrtab
:
{
subtyp
:
''
}
},
},
rules
:
{}
};
},
watch
:
{
},
methods
:
{
async
handleSubmit
()
{
let
rtnmsg
=
await
Api
.
post
(
"/frontend/fxdsdb/saveXml"
,
this
.
formdata
);
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
visible
=
false
;
this
.
$notify
.
success
({
title
:
'提示'
,
message
:
'提交成功'
,
});
}
else
{
this
.
$notify
.
error
({
title
:
this
.
$t
(
"financing.错误"
),
message
:
this
.
$t
(
"financing.服务请求失败!"
),
});
}
},
handleCancel
()
{
this
.
formdata
.
msgcod
=
''
this
.
formdata
.
msgref
=
''
this
.
formdata
.
sndnam
=
''
this
.
formdata
.
rcvnam
=
''
this
.
formdata
.
snddat
=
''
this
.
formdata
.
lgotyp
=
''
this
.
formdata
.
usrmsggrp
.
usrtab
.
subtyp
=
''
this
.
visible
=
false
;
}
}
};
</
script
>
<
style
scoped
lang=
"less"
></
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