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
a5424d67
Commit
a5424d67
authored
Jun 02, 2022
by
liuxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
detsel,detdrv样式调整
parent
d4f207bd
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
47 additions
and
43 deletions
+47
-43
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
index.vue
src/views/Business/Detsel/index.vue
+45
-41
No files found.
src/views/Business/Detdrv/Drv.vue
View file @
a5424d67
This diff is collapsed.
Click to expand it.
src/views/Business/Detdrv/index.vue
View file @
a5424d67
...
...
@@ -129,14 +129,14 @@ export default {
mixins
:
[
commonProcess
],
// 里面包含了Default、Check等的公共处理
data
(){
return
{
tabVal
:
""
,
tabVal
:
"
drv
"
,
trnName
:
"detdrv"
,
model
:
new
Detdrv
().
data
,
checkRules
:
Check
,
defaultRules
:
Default
,
pattern
:
Pattern
,
rules
:
null
,
codes
:
{
codes
:
{
...
CodeTable
},
}
},
...
...
src/views/Business/Detsel/Sel.vue
View file @
a5424d67
This diff is collapsed.
Click to expand it.
src/views/Business/Detsel/index.vue
View file @
a5424d67
<
template
>
<c-page
title=
"出口信用证查询"
>
<c-page
title=
"出口信用证查询"
>
<!--
<div
class=
"eContainer"
>
-->
<el-form
: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"
>
<el-form
: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 -->
<el-tab-pane
label=
"查询"
name=
"sel"
>
<m-sel
:model=
"model"
:codes=
"codes"
/>
<m-sel
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
</c-tabs>
</el-form>
...
...
@@ -20,65 +32,57 @@
</c-page>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
import
CodeTable
from
"~/config/CodeTable"
import
Detsel
from
"~/model/Detsel"
import
commonProcess
from
"~/mixin/commonProcess"
import
Check
from
"~/model/Detsel/Check"
import
Default
from
"~/model/Detsel/Default"
import
Pattern
from
"~/model/Detsel/Pattern"
import
Sel
from
"./Sel"
import
Api
from
"~/service/Api"
;
import
CodeTable
from
"~/config/CodeTable"
;
import
Detsel
from
"~/model/Detsel"
;
import
commonProcess
from
"~/mixin/commonProcess"
;
import
Check
from
"~/model/Detsel/Check"
;
import
Default
from
"~/model/Detsel/Default"
;
import
Pattern
from
"~/model/Detsel/Pattern"
;
import
Sel
from
"./Sel"
;
export
default
{
name
:
"Detsel"
,
components
:{
"m-sel"
:
Sel
,
components
:
{
"m-sel"
:
Sel
,
},
provide
()
{
return
{
root
:
this
}
root
:
this
,
}
;
},
mixins
:
[
commonProcess
],
// 里面包含了Default、Check等的公共处理
data
(){
data
()
{
return
{
tabVal
:
""
,
tabVal
:
"
sel
"
,
trnName
:
"detsel"
,
model
:
new
Detsel
().
data
,
checkRules
:
Check
,
defaultRules
:
Default
,
pattern
:
Pattern
,
rules
:
null
,
codes
:
{
},
}
codes
:
{},
};
},
methods
:{
myTabClick
(
tab
){
this
.
tabClick
(
tab
)
methods
:
{
myTabClick
(
tab
)
{
this
.
tabClick
(
tab
)
;
/**
* do it yourself
**/
}
},
created
:
async
function
(){
},
created
:
async
function
()
{
console
.
log
(
"进入detsel交易"
);
let
rtnmsg
=
await
this
.
init
({})
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
)
let
rtnmsg
=
await
this
.
init
({});
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
Utils
.
copyValueFromVO
(
this
.
model
,
rtnmsg
.
data
);
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
updateModel
(
rtnmsg
.
data
);
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
}
}
}
}
,
}
;
</
script
>
<
style
>
</
style
>
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