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
f80d9177
Commit
f80d9177
authored
Nov 28, 2022
by
nanrui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
infcur以及Dbecur静态交易优化。
parent
652ca280
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
29 deletions
+27
-29
BusRouter.js
src/views/Business/BusRouter.js
+1
-1
index.vue
src/views/Statics/Dbecur/index.vue
+6
-0
Cur.js
src/views/Statics/Infcur/Cur.js
+2
-2
Infsea.vue
src/views/Statics/Infcur/Infsea.vue
+18
-26
No files found.
src/views/Business/BusRouter.js
View file @
f80d9177
...
...
@@ -67,7 +67,7 @@ import Bctrad from "./Bctrad"
import
Bctdor
from
"./Bctdor"
import
Bctset
from
"./Bctset"
import
Bctame
from
"./Bctame"
import
Infcur
from
".
./Statics
/Infcur"
import
Infcur
from
"./Infcur"
import
Infbed
from
"./Infbed"
import
Letcan
from
"./Letcan"
import
Ordrel
from
"./Ordrel"
...
...
src/views/Statics/Dbecur/index.vue
View file @
f80d9177
...
...
@@ -42,6 +42,9 @@ export default {
};
},
methods
:
{
async
goin
(){
this
.
model
=
await
curInfo
(
this
.
$route
.
params
.
inr
);
},
commitEdit
()
{
this
.
model
.
inr
=
this
.
$route
.
params
.
inr
this
.
$refs
.
modelForm
.
validate
((
validated
)
=>
{
...
...
@@ -64,6 +67,9 @@ export default {
this
.
$router
.
push
({
name
:
"StaticsInfcur"
,
params
:
{
update
}
});
},
},
created
()
{
this
.
goin
(
this
.
$route
.
params
.
inr
);
},
mounted
()
{
// this.$refs.cur.rules['ptaList'] = [
// { type: 'array', required: true, min: 1, message: '地址信息栏不能为空' }
...
...
src/views/Statics/Infcur/Cur.js
View file @
f80d9177
...
...
@@ -48,8 +48,8 @@ export default class Cur {
"maxamt"
:
9999999999.99
,
"ver"
:
"0001"
,
"etgextkey"
:
"CEBGRP"
,
"pageSize"
:
0
,
"pageNum"
:
0
"pageSize"
:
5
,
"pageNum"
:
1
}
}
}
...
...
src/views/Statics/Infcur/Infsea.vue
View file @
f80d9177
...
...
@@ -103,38 +103,36 @@ export default {
console
.
log
(
this
.
model
);
})
},
async
onInfbutSearow
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"infbut.searow"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
console
.
log
(
rtnmsg
.
data
);
//TODO 处理数据逻辑
this
.
updateModel
(
rtnmsg
.
data
);
this
.
stmData
.
data
=
rtnmsg
.
data
.
infbut_dspstm
.
rows
;
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
//
async onInfbutSearow() {
//
let rtnmsg = await this.executeRule("infbut.searow")
//
if (rtnmsg.respCode == SUCCESS) {
//
console.log(rtnmsg.data);
//
//TODO 处理数据逻辑
//
this.updateModel(rtnmsg.data);
//
this.stmData.data = rtnmsg.data.infbut_dspstm.rows;
//
}
//
else {
//
this.$notify.error({ title: '错误', message: '服务请求失败!' });
//
}
//
},
queryFunc
(
pageNumber
,
pageSize
)
{
this
.
model
.
pageNum
=
pageNumber
this
.
model
.
pageSize
=
pageSize
// console.log(this.model);
this
.
onInfcurSearch
()
},
curtypeChange
(
val
)
{
this
.
model
.
curtyp
=
val
;
},
//
curtypeChange(val) {
//
this.model.curtyp = val;
//
},
getCodesByKey
(
key
)
{
return
codes
[
key
]
??
[];
},
curAdd
()
{
this
.
$router
.
push
(
`/statics/dbacur`
)
},
curInfo
(
index
,
row
)
{
// console.log(row);
this
.
$router
.
push
(
`/statics/dbicur/
${
row
.
inr
}
`
)
},
curEdit
(
index
,
row
)
{
this
.
$router
.
push
(
`/statics/dbecur/
${
row
.
inr
}
`
)
this
.
$router
.
push
(
`/statics/dbecur/
${
row
.
inr
}
`
)
;
},
// curDelete(index, row) {
// this.$router.push(`/statics/dbdcur/${row.inr}`)
...
...
@@ -148,13 +146,6 @@ export default {
.
then
(()
=>
{
let
paramsData
=
{
};
paramsData
.
inr
=
row
.
inr
;
// let result = deleteById(paramsData).then((d) => {return {data: d}});
// console.log(result);
// if(result == "true"){
// this.$message.success("删除成功!");
// }else{
// this.$message.error("删除失败!");
// }
deleteById
(
paramsData
)
.
then
((
res
)
=>
{
console
.
log
(
res
);
...
...
@@ -171,6 +162,7 @@ export default {
message
:
"已取消删除"
,
});
});
this
.
onInfcurSearch
();
},
goBack
(
update
)
{
this
.
$store
.
dispatch
(
"TagsView/delView"
,
this
.
$route
);
...
...
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