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
d9fba1ce
Commit
d9fba1ce
authored
Apr 13, 2023
by
李少勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改一些问题
parent
69ba29b1
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
64 additions
and
73 deletions
+64
-73
index.js
src/business/gitopn/event/index.js
+1
-1
check.js
src/business/gitopn/model/check.js
+2
-2
Ptyp.vue
src/business/gitopn/views/Ptyp.vue
+0
-1
index.vue
src/business/gitopn/views/index.vue
+0
-6
index.js
src/business/sptsel/event/index.js
+1
-5
Menu.vue
src/business/sptsel/views/Menu.vue
+0
-7
index.js
src/business/trnrel/event/index.js
+0
-1
Inftrnps.vue
src/business/trnrel/views/Inftrnps.vue
+0
-1
index.js
src/components/business/docpan/event/index.js
+1
-1
index.vue
src/components/business/docpan/views/index.vue
+8
-21
operationFunc.js
src/mixin/operationFunc.js
+20
-1
index.js
src/review/gitopn/event/index.js
+10
-6
index.vue
src/review/gitopn/views/index.vue
+21
-20
No files found.
src/business/gitopn/event/index.js
View file @
d9fba1ce
...
...
@@ -22,7 +22,7 @@ export default {
...
doctre
,
async
init
()
{
const
params
=
{
spt
:
this
.
toHandleRowData
[
'row_'
+
this
.
trnName
]
spt
:
JSON
.
parse
(
localStorage
.
getItem
(
'row_'
+
this
.
trnName
))
}
const
res
=
await
Api
.
post
(
'/service/gitopn/init'
,
{
...
params
,
...
...
src/business/gitopn/model/check.js
View file @
d9fba1ce
...
...
@@ -375,11 +375,11 @@ export default {
{
max
:
16
,
message
:
"长度不能超过16"
}
],
"gidgrp.blk.exptxt"
:[
{
type
:
"string"
,
required
:
tru
e
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
fals
e
,
message
:
"必输项"
},
{
max
:
780
,
message
:
"长度不能超过780"
}
],
"gidgrp.blk.atxexptxt"
:[
{
type
:
"string"
,
required
:
tru
e
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
fals
e
,
message
:
"必输项"
},
{
max
:
65
,
message
:
"长度不能超过65"
}
],
"gidgrp.rec.inudat"
:[
...
...
src/business/gitopn/views/Ptyp.vue
View file @
d9fba1ce
...
...
@@ -72,7 +72,6 @@
<c-fullbox>
<c-input
v-model=
"model.gidgrp.con.pts.extkey"
disabled
maxlength=
"16"
placeholder=
"请输入"
@
keyup
.
enter
.
native=
"queryGridEtyPromptDialogData('CON', 'B')"
...
...
src/business/gitopn/views/index.vue
View file @
d9fba1ce
...
...
@@ -141,7 +141,6 @@ import Glentry from "~/components/business/glentry/views";
import
Docpan
from
"~/components/business/docpan/views"
;
import
Doctre
from
"~/components/business/doctre/views"
;
import
Limitbody
from
"~/components/business/limitbody/views"
;
import
{
mapState
}
from
'vuex'
;
export
default
{
name
:
"Gitopn"
,
...
...
@@ -175,11 +174,6 @@ export default {
"m-limitbody"
:
Limitbody
,
"m-aacp"
:
Aacp
,
},
computed
:
{
...
mapState
({
toHandleRowData
:
(
state
)
=>
state
.
gitopn
.
toHandleRowData
})
},
provide
()
{
return
{
root
:
this
,
...
...
src/business/sptsel/event/index.js
View file @
d9fba1ce
...
...
@@ -52,14 +52,10 @@ export default {
this
.
$router
.
push
({
path
:
'business-new/sptpopup'
,
query
:
{
inr
:
inr
}
});
},
async
continueEdit
(
row
,
scope
)
{
this
.
updateToHandleRowData
({
...
this
.
toHandleRowData
,
[
`row_
${
row
.
frm
.
toLowerCase
()}
`
]:
row
})
localStorage
.
setItem
(
`row_
${
row
.
frm
.
toLowerCase
()}
`
,
JSON
.
stringify
(
row
))
let
trnName
=
row
.
frm
.
toLowerCase
();
this
.
$router
.
push
({
path
:
'business-new/'
+
trnName
,
params
:
{
prePageId
:
this
.
model
.
pageId
},
});
},
// pageSize改变
...
...
src/business/sptsel/views/Menu.vue
View file @
d9fba1ce
...
...
@@ -148,15 +148,9 @@
<
script
>
import
Api
from
'~/service/Api'
;
import
event
from
'../event'
import
{
mapMutations
,
mapState
}
from
'vuex'
;
export
default
{
inject
:
[
'root'
],
props
:
[
'model'
,
'codes'
],
computed
:
{
...
mapState
({
toHandleRowData
:
(
state
)
=>
state
.
gitopn
.
toHandleRowData
})
},
mixins
:
[
event
],
data
()
{
return
{
...
...
@@ -240,7 +234,6 @@ export default {
];
},
methods
:
{
...
mapMutations
([
'updateToHandleRowData'
]),
getInidatfro
()
{
let
datetime
=
new
Date
();
datetime
=
datetime
.
setDate
(
datetime
.
getDate
()
-
10
);
...
...
src/business/trnrel/event/index.js
View file @
d9fba1ce
...
...
@@ -147,7 +147,6 @@ export default {
const
selDst
=
'trncorco.trnstm'
;
//列表对应后台模型中的stream
let
params
=
{
selDst
:
selDst
,
selIds
:
selIds
};
let
rtnmsg
=
await
this
.
executeRule
(
'relrow'
,
params
);
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
let
errorMsg
=
''
;
...
...
src/business/trnrel/views/Inftrnps.vue
View file @
d9fba1ce
...
...
@@ -211,7 +211,6 @@
watch
:
{
reload
(
val
)
{
if
(
val
)
{
debugger
this
.
handleSearch
()
}
}
...
...
src/components/business/docpan/event/index.js
View file @
d9fba1ce
...
...
@@ -7,7 +7,7 @@ export default {
let
objtyp
=
trndocRequest
.
rec
.
objtyp
;
let
rtnmsg
=
await
Api
.
post
(
`/service/
${
objtyp
.
toLowerCase
()
}
/docpan/assertTrndoc`
,
trndocRequest
);
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
Utils
.
copyValueFromVO
(
this
.
model
.
docpan
,
rtnmsg
.
data
);
this
.
copyValueFromVoData
(
this
.
model
.
docpan
,
rtnmsg
.
data
)
}
loading
.
close
();
}
...
...
src/components/business/docpan/views/index.vue
View file @
d9fba1ce
<
template
>
<div
class=
"eibs-tab"
>
<c-col
:span=
"24"
style=
""
>
<el-table
:data=
"stmData.data"
:columns=
"stmData.columns"
>
<el-table
:data=
"stmData.data"
>
<el-table-column
label=
"介质"
width=
"110px"
>
<template
slot-scope=
"scope"
>
<el-form-item
...
...
@@ -139,22 +139,18 @@
suppress
"
@
click=
"
handleDisplay(
scope.row.index,
scope.row,
model.docpan.doceot[scope.row.idx]
)
"
handleDisplay(scope.row.index, scope.row)"
style=
"margin-right: 10px"
>
预览
</c-button
>
<c-button
<!-- 2023.4.13临时注释,为了当次演示使用,后期详情接口做完了在放开注释联调 -->
<!--
<c-button
size=
"small"
type=
"primary"
style=
"margin-left: 0"
@
click=
"handleDetail(scope.row.index, scope.row)"
>
详情
</c-button
>
>
-->
</
template
>
</el-table-column>
</el-table>
...
...
@@ -502,15 +498,7 @@ export default {
},
centerDialogVisible
:
false
,
stmData
:
{
columns
:
[
//注释的已改成静态
'role 收报人 70px'
,
'pandsc 描述 250px'
,
//"cortyp 类型",
//"docsnf 报文格式",
//"docuil 语言",
//"apf 传送方式"
],
columns
:
[],
data
:
[],
},
gitopn
:
{
...
...
@@ -573,11 +561,10 @@ export default {
}
);
},
async
handleDisplay
(
index
,
row
,
doceot
)
{
async
handleDisplay
(
index
,
row
)
{
//后续要根据快照模式切换请求方式
let
cortyp
=
row
.
cortyp
;
let
docuil
=
doceot
.
docuil
;
let
docnam
=
doceot
.
docnam
||
''
;
let
docnam
=
row
.
docnam
;
docnam
=
docnam
.
substr
(
docnam
.
indexOf
(
'
\
\'
) + 1)
.toLowerCase()
...
...
src/mixin/operationFunc.js
View file @
d9fba1ce
...
...
@@ -97,6 +97,22 @@ export default {
});
this
.
$nextTick
(()
=>
{
let
isError
=
document
.
querySelectorAll
(
'.is-error'
)
let
fields
=
this
.
$refs
[
'modelForm'
].
fields
fields
.
map
((
fieldItem
)
=>
{
if
(
fieldItem
.
validateState
===
'error'
)
{
let
errorComponentName
=
fieldItem
.
$options
.
componentName
console
.
log
(
'fieldItem==='
,
fieldItem
)
// 切换tab
if
(
errorComponentName
===
'ElTabPane'
)
{
fieldItem
.
$parent
.
currentName
=
fieldItem
.
name
// 切换收缩框
}
else
if
(
errorComponentName
===
'ElCollapseItem'
)
{
if
(
fieldItem
.
collapse
.
activeNames
.
indexOf
(
fieldItem
.
name
)
<
0
)
{
fieldItem
.
collapse
.
activeNames
.
push
(
fieldItem
.
name
)
}
}
}
})
isError
[
0
].
scrollIntoView
({
block
:
'center'
,
behavior
:
'smooth'
...
...
@@ -106,6 +122,9 @@ export default {
})
})
},
showFrontendErrors
()
{
},
// 后端校验
showBackendErrors
(
fieldErrors
)
{
// 清除之前的校验状态
...
...
@@ -134,7 +153,7 @@ export default {
setfeg
:
this
.
model
.
setmod
.
setfeg
,
setglg
:
this
.
model
.
setmod
.
setglg
,
doceot
:
this
.
model
.
docpan
.
doceot
,
spt
:
this
.
toHandleRowData
[
'row_'
+
this
.
trnName
]
||
{},
spt
:
JSON
.
parse
(
localStorage
.
getItem
(
'row_'
+
this
.
trnName
))
||
{},
gidgrp
:
this
.
model
.
gidgrp
,
gitp
:
this
.
model
.
gitp
,
}
...
...
src/review/gitopn/event/index.js
View file @
d9fba1ce
...
...
@@ -2,11 +2,12 @@ import Api from '~/service/Api';
export
default
{
methods
:
{
async
init
()
{
const
params
=
{
spt
:
this
.
toHandleRowData
,
};
const
res
=
await
Api
.
post
(
'/service/gitopn/init'
,
{
...
params
,
trnmodVo
:
{
trn
:
{
inr
:
this
.
$route
.
query
.
trn
}
},
transName
:
this
.
trnName
,
userId
:
window
.
sessionStorage
.
userId
||
'ZL'
,
});
...
...
@@ -72,8 +73,11 @@ export default {
//处理-复核
async
handlePass
(
val
)
{
let
params
=
{};
let
rtnmsg
=
await
Api
.
post
(
''
,
params
);
let
params
=
{
transName
:
this
.
trnName
,
userId
:
window
.
sessionStorage
.
userId
||
'ZL'
,
}
let
rtnmsg
=
await
Api
.
post
(
'/service/trnrel/relrow'
,
params
);
if
(
rtnmsg
.
respCode
===
SUCCESS
)
{
let
errorMsg
=
''
;
let
fieldErrorsFlag
=
JSON
.
stringify
(
rtnmsg
.
fieldErrors
)
==
'{}'
;
...
...
src/review/gitopn/views/index.vue
View file @
d9fba1ce
...
...
@@ -247,26 +247,27 @@ export default {
}
},
},
created
:
async
function
()
{
console
.
log
(
"进入gitopn交易"
);
let
params
=
{
transName
:
this
.
trnName
,
trnmodVo
:
{
trn
:
{
inr
:
this
.
$route
.
query
.
trn
}
}
}
let
res
=
await
Api
.
post
(
'/service/gitopn/init'
,
params
);
if
(
res
&&
res
.
respCode
==
SUCCESS
)
{
this
.
model
=
res
.
data
//TODO 处理数据逻辑
if
(
this
.
isInDisplay
)
{
this
.
restoreDisplay
();
}
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
}
mounted
()
{
this
.
init
()
// console.log("进入gitopn交易");
// let params = {
// transName: this.trnName,
// trnmodVo: {
// trn: {
// inr: this.$route.query.trn
// }
// }
// }
// let res = await Api.post('/service/gitopn/init', params);
// if (res && res.respCode == SUCCESS) {
// this.model = res.data
// //TODO 处理数据逻辑
// if (this.isInDisplay) {
// this.restoreDisplay();
// }
// } else {
// this.$notify.error({ title: "错误", message: "服务请求失败!" });
// }
},
};
</
script
>
...
...
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