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
zhouqian
vue-gjjs
Commits
c8284a13
Commit
c8284a13
authored
Apr 08, 2022
by
吴佳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2022.04.08 wujia sptrel
parent
e3c6ca05
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
53 additions
and
5 deletions
+53
-5
Check.js
src/model/Sptrel/Check.js
+0
-1
Default.js
src/model/Sptrel/Default.js
+2
-2
Event.js
src/model/Sptrel/Event.js
+16
-0
index.js
src/model/Sptrel/index.js
+10
-0
Menu.vue
src/views/Business/Sptrel/Menu.vue
+0
-0
index.vue
src/views/Business/Sptrel/index.vue
+3
-2
Menu.vue
src/views/Business/Sptsel/Menu.vue
+22
-0
No files found.
src/model/Sptrel/Check.js
View file @
c8284a13
...
...
@@ -6,7 +6,6 @@ import Utils from "~/utils"
let
checkObj
=
{
"inidatfro"
:
null
,
"inidattil"
:
null
,
"atpget.sdamod.dadsnd"
:
null
,
}
for
(
const
key
in
checkObj
)
{
...
...
src/model/Sptrel/Default.js
View file @
c8284a13
...
...
@@ -6,12 +6,12 @@ import Api from "~/service/Api";
import
Utils
from
"~/utils/index"
export
default
{
"usfmod.flt"
:
Utils
.
defaultFunction
,
"sptstm"
:
Utils
.
defaultFunction
,
"usfmod.usr.extkey"
:
Utils
.
defaultFunction
,
"atp.cod"
:
Utils
.
defaultFunction
,
"usfmod.selusg"
:
Utils
.
defaultFunction
,
"usfmod.selusgset"
:
Utils
.
defaultFunction
,
"usfmod.flt"
:
Utils
.
defaultFunction
,
"usr.extkey"
:
Utils
.
defaultFunction
,
"usfmod.usr.extkey"
:
Utils
.
defaultFunction
,
}
//你可以添加自动default处理
src/model/Sptrel/Event.js
View file @
c8284a13
...
...
@@ -26,5 +26,20 @@ export default {
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
handleSearch
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"searow"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
stmData
.
data
=
rtnmsg
.
data
.
sptstm
.
rows
;
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
}
\ No newline at end of file
src/model/Sptrel/index.js
View file @
c8284a13
...
...
@@ -44,6 +44,16 @@ export default class Sptrel{
inidattil
:
""
,
// Date of entry of Transaction until .inidattil
sptstm
:
""
,
// List of SPT records .sptstm
sta
:
""
,
// Status .sta
// chkinc:"",
// chkdzt:"",
// chkpen:"",
// chkcor:"",
// chkaut:"",
// chkdel:"",
// chktco:"",
// chkcan:"",
selrow
:
""
,
pageId
:
""
// ctx的key
}
}
...
...
src/views/Business/Sptrel/Menu.vue
View file @
c8284a13
This diff is collapsed.
Click to expand it.
src/views/Business/Sptrel/index.vue
View file @
c8284a13
...
...
@@ -4,15 +4,16 @@
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"tabClick"
>
<!--PD000042 -->
<
el-tab-pane
label=
"Menu"
name=
"menu"
>
<
c-content
label=
"Menu"
name=
"menu"
>
<m-menu
:model=
"model"
:codes=
"codes"
/>
</
el-tab-pane
>
</
c-content
>
</c-tabs>
</el-form>
</div>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
import
Utils
from
"~/utils/index"
;
import
CodeTable
from
"~/config/CodeTable"
import
Sptrel
from
"~/model/Sptrel"
import
commonProcess
from
"~/mixin/commonProcess"
...
...
src/views/Business/Sptsel/Menu.vue
View file @
c8284a13
...
...
@@ -316,6 +316,13 @@
@
click=
"continueEdit(scope.row)"
>
处理
</c-button>
<!--
<c-button
style=
"margin-left: 0"
size=
"small"
type=
"primary"
@
click=
"choose(scope.$index)"
>
选择
</c-button>
-->
<el-popover
placement=
"top-start"
width=
"50"
trigger=
"click"
>
<!--
<c-button
type=
"primary"
size=
"small"
>
指派
</c-button>
<c-button
type=
"primary"
size=
"small"
>
删除
</c-button>
-->
...
...
@@ -502,6 +509,21 @@ export default {
});
},
// async choose(idx,row){
// var params = {selDst:"sptstm",selrow:[idx+1]}
// let rtnmsg = await this.executeRule("sptstm" , params) //SPTSTM
// if(rtnmsg.respCode == SUCCESS)
// {
// this.stmData.data = rtnmsg.data.sptstm.rows;
// }
// else
// {
// this.$notify.error({title: '错误',message: '服务请求失败!'});
// }
// },
...
Event
,
},
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