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
59909f72
Commit
59909f72
authored
Jun 07, 2022
by
wangren
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://192.168.0.110:11080/fukai/vue-gjjs
parents
d63ac4e5
18a7c885
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
106 additions
and
58 deletions
+106
-58
Pattern.js
src/model/Detsel/Pattern.js
+2
-2
Drv.vue
src/views/Business/Detdrv/Drv.vue
+0
-0
index.vue
src/views/Business/Detdrv/index.vue
+2
-2
Sel.vue
src/views/Business/Detsel/Sel.vue
+0
-0
SelMune.vue
src/views/Business/Detsel/SelMune.vue
+51
-11
index.vue
src/views/Business/Detsel/index.vue
+45
-38
Ptsmsg.vue
src/views/Public/Ptsmsg.vue
+6
-5
No files found.
src/model/Detsel/Pattern.js
View file @
59909f72
...
@@ -129,7 +129,7 @@ export default {
...
@@ -129,7 +129,7 @@ export default {
{
max
:
3
,
message
:
"长度不能超过3"
}
{
max
:
3
,
message
:
"长度不能超过3"
}
],
],
"bfdgrp.cbs.max.amt"
:[
"bfdgrp.cbs.max.amt"
:[
{
type
:
"
number
"
,
required
:
false
,
message
:
"必输项"
},
{
type
:
"
string
"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
],
...
@@ -228,7 +228,7 @@ export default {
...
@@ -228,7 +228,7 @@ export default {
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
],
"bfdgrp.cbs.opn1.amt"
:[
"bfdgrp.cbs.opn1.amt"
:[
{
type
:
"
number
"
,
required
:
false
,
message
:
"必输项"
},
{
type
:
"
string
"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
],
...
...
src/views/Business/Detdrv/Drv.vue
View file @
59909f72
This diff is collapsed.
Click to expand it.
src/views/Business/Detdrv/index.vue
View file @
59909f72
...
@@ -129,14 +129,14 @@ export default {
...
@@ -129,14 +129,14 @@ export default {
mixins
:
[
commonProcess
],
// 里面包含了Default、Check等的公共处理
mixins
:
[
commonProcess
],
// 里面包含了Default、Check等的公共处理
data
(){
data
(){
return
{
return
{
tabVal
:
""
,
tabVal
:
"
drv
"
,
trnName
:
"detdrv"
,
trnName
:
"detdrv"
,
model
:
new
Detdrv
().
data
,
model
:
new
Detdrv
().
data
,
checkRules
:
Check
,
checkRules
:
Check
,
defaultRules
:
Default
,
defaultRules
:
Default
,
pattern
:
Pattern
,
pattern
:
Pattern
,
rules
:
null
,
rules
:
null
,
codes
:
{
codes
:
{
...
CodeTable
},
},
}
}
},
},
...
...
src/views/Business/Detsel/Sel.vue
View file @
59909f72
This diff is collapsed.
Click to expand it.
src/views/Business/Detsel/SelMune.vue
View file @
59909f72
<
template
>
<
template
>
<el-table
<el-table
:data=
"d
ata"
:data=
"tableD
ata"
border
border
stripe
stripe
:show-header=
"false"
:show-header=
"false"
:cell-style=
"cellSttyle"
:cell-style=
"cellSttyle"
>
>
<el-table-column
prop=
"title
"
align=
"center"
>
<el-table-column
prop=
"label
"
align=
"center"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<c-button
<c-button
@
click
.
native=
"onNarBtnClick(scope.row.url, scope.row.hotsubx
)"
@
click=
"onNarBtnClick(scope.row.url, scope.row.label
)"
:title=
"scope.row.title
"
:label=
"scope.row.label
"
:disabled=
"scope.row.disabled"
:disabled=
"scope.row.disabled"
>
{{
scope
.
row
.
title
}}
</c-button
>
{{
scope
.
row
.
label
}}
</c-button
>
>
<!--
<el-link
<!--
<el-link
:disabled=
"scope.row.disabled"
:disabled=
"scope.row.disabled"
...
@@ -34,18 +34,58 @@ export default {
...
@@ -34,18 +34,58 @@ export default {
data
()
{
data
()
{
return
{
return
{
cellSttyle
:
{
height
:
"25px"
},
cellSttyle
:
{
height
:
"25px"
},
meumItem
:
[],
};
};
},
},
methods
:
{
methods
:
{
//各入口按钮请求
//各入口按钮请求
async
onNarBtnClick
(
href
,
hotsubx
)
{
async
onNarBtnClick
(
url
,
label
)
{
let
rtnmsg
=
await
this
.
executeRule
(
`cfgfil.hotsub
${
hotsubx
}
`
);
let
key
=
0
;
console
.
log
(
"cfgfil.code:"
+
this
.
model
.
cfgfil
[
`subtrn
${
hotsubx
}
`
]);
if
((
rtnmsg
.
respCode
==
SUCCESS
))
{
for
(
let
i
=
1
;
i
<=
11
;
i
++
){
this
.
$router
.
history
.
push
(
href
);
let
temp_label
=
this
.
model
.
cfgfil
[
'subtxt'
+
i
];
if
(
temp_label
==
label
){
key
=
i
;
break
;
}
}
let
rtnmsg
=
await
this
.
executeRule
(
"cfgfil.hotsub"
+
key
);
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
);
this
.
$router
.
history
.
push
(
"/business/"
+
url
);
}
else
{
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
,
});
}
// let rtnmsg = await this.executeRule(`cfgfil.hotsub${hotsubx}`);
// console.log("cfgfil.code:" + this.model.cfgfil[`subtrn${hotsubx}`]);
// if (rtnmsg.respCode == SUCCESS) {
// this.$router.history.push(href);
// } else {
// this.$notify.error({
// title: "错误",
// message: "服务请求失败!",
// });
// }
},
},
computed
:
{
tableData
()
{
const
arr
=
[];
var
data
=
this
.
data
;
for
(
let
i
=
0
;
i
<
data
.
length
;
i
++
)
{
const
items
=
data
[
i
].
split
(
"
\
t"
);
arr
.
push
({
url
:
items
[
0
],
label
:
items
[
1
],
disabled
:
items
[
2
]
==
"N"
?
true
:
false
,
other
:
items
[
3
],
});
}
}
console
.
log
(
arr
);
return
arr
;
},
},
},
},
};
};
...
...
src/views/Business/Detsel/index.vue
View file @
59909f72
<
template
>
<
template
>
<c-page
title=
"出口信用证查询"
>
<c-page
title=
"出口信用证查询"
>
<!--
<div
class=
"eContainer"
>
-->
<!--
<div
class=
"eContainer"
>
-->
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"150px"
label-position=
"right"
size=
"small"
:validate-on-rule-change=
"false"
>
<el-form
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"myTabClick"
>
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"150px"
label-position=
"right"
size=
"small"
:validate-on-rule-change=
"false"
>
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"myTabClick"
>
<!--PD000035 -->
<!--PD000035 -->
<el-tab-pane
label=
"查询"
name=
"sel"
>
<el-tab-pane
label=
"查询"
name=
"sel"
>
<m-sel
:model=
"model"
:codes=
"codes"
/>
<m-sel
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
</el-tab-pane>
</c-tabs>
</c-tabs>
</el-form>
</el-form>
...
@@ -20,28 +32,27 @@
...
@@ -20,28 +32,27 @@
</c-page>
</c-page>
</
template
>
</
template
>
<
script
>
<
script
>
import
Api
from
"~/service/Api"
import
Api
from
"~/service/Api"
;
import
CodeTable
from
"~/config/CodeTable"
import
CodeTable
from
"~/config/CodeTable"
;
import
Detsel
from
"~/model/Detsel"
import
Detsel
from
"~/model/Detsel"
;
import
commonProcess
from
"~/mixin/commonProcess"
import
commonProcess
from
"~/mixin/commonProcess"
;
import
Check
from
"~/model/Detsel/Check"
import
Check
from
"~/model/Detsel/Check"
;
import
Default
from
"~/model/Detsel/Default"
import
Default
from
"~/model/Detsel/Default"
;
import
Pattern
from
"~/model/Detsel/Pattern"
import
Pattern
from
"~/model/Detsel/Pattern"
;
import
Sel
from
"./Sel"
import
Sel
from
"./Sel"
;
export
default
{
export
default
{
name
:
"Detsel"
,
name
:
"Detsel"
,
components
:{
components
:
{
"m-sel"
:
Sel
,
"m-sel"
:
Sel
,
},
},
provide
()
{
provide
()
{
return
{
return
{
root
:
this
root
:
this
,
}
}
;
},
},
mixins
:
[
commonProcess
],
// 里面包含了Default、Check等的公共处理
mixins
:
[
commonProcess
],
// 里面包含了Default、Check等的公共处理
data
(){
data
()
{
return
{
return
{
tabVal
:
"sel"
,
tabVal
:
"sel"
,
trnName
:
"detsel"
,
trnName
:
"detsel"
,
...
@@ -50,32 +61,28 @@ export default {
...
@@ -50,32 +61,28 @@ export default {
defaultRules
:
Default
,
defaultRules
:
Default
,
pattern
:
Pattern
,
pattern
:
Pattern
,
rules
:
null
,
rules
:
null
,
codes
:
{
codes
:
{},
},
};
}
},
},
methods
:{
methods
:
{
myTabClick
(
tab
){
myTabClick
(
tab
)
{
this
.
tabClick
(
tab
)
this
.
tabClick
(
tab
)
;
/**
/**
* do it yourself
* do it yourself
**/
**/
}
},
},
created
:
async
function
(){
},
created
:
async
function
()
{
console
.
log
(
"进入detsel交易"
);
console
.
log
(
"进入detsel交易"
);
let
rtnmsg
=
await
this
.
init
({})
let
rtnmsg
=
await
this
.
init
({});
if
(
rtnmsg
.
respCode
==
SUCCESS
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
{
//TODO 处理数据逻辑
this
.
updateModel
(
rtnmsg
.
data
)
this
.
updateModel
(
rtnmsg
.
data
);
}
}
else
{
else
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
}
}
,
}
}
;
</
script
>
</
script
>
<
style
>
<
style
>
</
style
>
</
style
>
src/views/Public/Ptsmsg.vue
View file @
59909f72
<
template
>
<
template
>
<div
class=
"eibs-tab"
>
<!--
<div
class=
"eibs-tab"
>
-->
<div>
<c-col
:span=
"24"
>
<c-col
:span=
"24"
>
<el-form-item
:label=
"argadr.title + '编号'"
:prop=
"
argadr.url + '
ref'"
>
<el-form-item
:label=
"argadr.title + '编号'"
:prop=
"
'$
{argadr.grp}.${argadr.rol}.pts.
ref'">
<c-input
<c-input
v-model=
"model[argadr.
url + 'ref']
"
v-model=
"model[argadr.
grp][argadr.rol].pts.ref
"
maxlength=
"16"
maxlength=
"16"
:placeholder=
"'请输入' + argadr.title + '编号'"
:placeholder=
"'请输入' + argadr.title + '编号'"
:disabled=
"disabled"
:disabled=
"disabled"
...
@@ -12,9 +13,9 @@
...
@@ -12,9 +13,9 @@
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"24"
>
<el-form-item
:label=
"argadr.title + '名称'"
:prop=
"
argadr.url + '
nam'"
>
<el-form-item
:label=
"argadr.title + '名称'"
:prop=
"
'$
{argadr.grp}.${argadr.rol}.pts.
nam'">
<c-input
<c-input
v-model=
"model[argadr.
url + 'nam']
"
v-model=
"model[argadr.
grp][argadr.rol].pts.nam
"
maxlength=
"40"
maxlength=
"40"
:placeholder=
"'请输入' + argadr.title + '名称'"
:placeholder=
"'请输入' + argadr.title + '名称'"
:disabled=
"disabled"
:disabled=
"disabled"
...
...
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