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
7f19c1af
Commit
7f19c1af
authored
Sep 16, 2021
by
SunJie
Browse files
Options
Browse Files
Download
Plain Diff
ditame
parents
f8226492
55ddf3f8
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
42 additions
and
15 deletions
+42
-15
Tabs.vue
src/components/Tabs.vue
+27
-0
index.js
src/components/index.js
+2
-0
index.vue
src/views/Business/Cptadv/index.vue
+2
-2
index.vue
src/views/Business/Ditame/index.vue
+5
-7
index.vue
src/views/Business/Ditopn/index.vue
+2
-2
index.vue
src/views/Business/Office/index.vue
+2
-2
index.vue
src/views/Business/Sptsel/index.vue
+2
-2
No files found.
src/components/Tabs.vue
0 → 100644
View file @
7f19c1af
<
template
>
<el-tabs
v-bind=
"$attrs"
v-on=
"$listeners"
:tab-position=
"tabPosition"
>
<slot></slot>
</el-tabs>
</
template
>
<
script
>
export
default
{
props
:
{
// top/right/bottom/left
tabPosition
:
{
type
:
String
,
default
:
"top"
,
required
:
false
}
},
data
()
{
return
{
}
}
}
</
script
>
<
style
>
</
style
>
\ No newline at end of file
src/components/index.js
View file @
7f19c1af
...
...
@@ -9,6 +9,7 @@ import Button from './Button.vue'
import
DatePicker
from
'./DatePicker.vue'
import
Checkbox
from
'./Checkbox.vue'
import
Table
from
"./Table"
import
Tabs
from
"./Tabs.vue"
import
IStreamTable
from
"./IStreamTable.vue"
import
IStreamTableDocpan
from
"./IStreamTableDocpan.vue"
import
GridEtyPromptDialog
from
"./GridEtyPromptDialog.vue"
...
...
@@ -50,6 +51,7 @@ export default {
Vue
.
component
(
"c-docshow"
,
DocShow
)
Vue
.
component
(
"c-UnicodePicker"
,
UnicodePicker
)
Vue
.
component
(
"c-table"
,
Table
)
Vue
.
component
(
"c-tabs"
,
Tabs
)
Vue
.
component
(
"c-istream-table"
,
IStreamTable
)
Vue
.
component
(
"c-istream-table-docpan"
,
IStreamTableDocpan
)
Vue
.
component
(
"c-grid-ety-prompt-dialog"
,
GridEtyPromptDialog
)
...
...
src/views/Business/Cptadv/index.vue
View file @
7f19c1af
<
template
>
<div
class=
"eContainer"
>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"100px"
size=
"small"
>
<
el
-tabs
ref=
"elment"
type=
"card"
@
tab-click=
"tabClick"
>
<
c
-tabs
ref=
"elment"
type=
"card"
@
tab-click=
"tabClick"
>
<el-tab-pane
label=
"Overview"
>
<!--PD000020 -->
<m-opnp1
:model=
"model"
:codes=
"codes"
/>
...
...
@@ -34,7 +34,7 @@
<!--PD000002 -->
<m-cnyp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
</
el
-tabs>
</
c
-tabs>
</el-form>
</div>
</
template
>
...
...
src/views/Business/Ditame/index.vue
View file @
7f19c1af
...
...
@@ -8,7 +8,7 @@
size=
"small"
>
<
el
-tabs
ref=
"elment"
type=
"card"
@
tab-click=
"tabClick"
>
<
c
-tabs
ref=
"elment"
type=
"card"
@
tab-click=
"tabClick"
>
<el-tab-pane
label=
"修改"
>
<!--PD000015 -->
...
...
@@ -104,13 +104,13 @@
<!--PD000001 -->
<m-limitbody
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
</
el
-tabs>
</
c
-tabs>
<c-bus-button
:
$
pntvm=
"this"
></c-bus-button>
</el-form>
</div>
</
template
>
<
script
>
import
Utils
from
"~/utils/index"
import
Utils
from
"~/utils/index"
;
import
Api
from
"~/service/Api"
;
import
CodeTable
from
"~/config/CodeTable"
;
import
Ditame
from
"~/model/Ditame"
;
...
...
@@ -1999,16 +1999,14 @@ export default {
};
},
methods
:
{
tabClick
(
vm
){
}
tabClick
(
vm
)
{},
},
created
:
async
function
()
{
console
.
log
(
"进入ditame交易"
);
let
rtnmsg
=
await
Api
.
post
(
"ditame/init"
,
{
params
:
{}
});
if
(
rtnmsg
.
respCode
==
"AAAAAA"
)
{
//TODO 处理数据逻辑
Utils
.
copyValueFromVO
(
this
.
model
,
rtnmsg
.
data
)
Utils
.
copyValueFromVO
(
this
.
model
,
rtnmsg
.
data
);
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
}
...
...
src/views/Business/Ditopn/index.vue
View file @
7f19c1af
...
...
@@ -2,7 +2,7 @@
<c-page
title=
"买方信用证开立"
>
<div
class=
"eContainer"
>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"200px"
size=
"small"
:validate-on-rule-change=
"false"
>
<
el
-tabs
ref=
"elment"
type=
"card"
@
tab-click=
"tabClick"
>
<
c
-tabs
ref=
"elment"
type=
"card"
@
tab-click=
"tabClick"
>
<el-tab-pane
label=
"内容"
>
<!--PD000001 -->
<m-ovwp
:model=
"model"
:codes=
"codes"
/>
...
...
@@ -90,7 +90,7 @@
</el-tab-pane>
</
el
-tabs>
</
c
-tabs>
<c-bus-button
:
$
pntvm=
"this"
></c-bus-button>
</el-form>
</div>
...
...
src/views/Business/Office/index.vue
View file @
7f19c1af
...
...
@@ -6,12 +6,12 @@
<el-container
style=
"height:100%"
>
<el-main
style=
"padding:0"
>
<
el
-tabs
class=
"fulltab"
v-model=
"todoActive"
type=
"card"
@
tab-click=
"handleClick"
>
<
c
-tabs
class=
"fulltab"
v-model=
"todoActive"
type=
"card"
@
tab-click=
"handleClick"
>
<el-tab-pane
v-for=
"item in codes.todo"
:key=
"item.value"
:label=
"item.label"
:name=
"item.value"
>
<s-todo
:todoType=
"item.value"
/>
</el-tab-pane>
</
el
-tabs>
</
c
-tabs>
</el-main>
</el-container>
...
...
src/views/Business/Sptsel/index.vue
View file @
7f19c1af
<
template
>
<div
class=
"eContainer"
>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
tokenKey=
"modelForm"
label-width=
"170px"
size=
"small"
:validate-on-rule-change=
"false"
>
<
el
-tabs
ref=
"elment"
type=
"border-card"
@
tab-click=
"tabClick"
>
<
c
-tabs
ref=
"elment"
type=
"border-card"
@
tab-click=
"tabClick"
>
<el-tab-pane
label=
"待办任务查询"
>
<m-menu
:model=
"model"
:codes=
"codes"
ref=
"Menu"
/>
</el-tab-pane>
</
el
-tabs>
</
c
-tabs>
</el-form>
</div>
</
template
>
...
...
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