Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bms-vue-obear
Project
Project
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
daywrite
bms-vue-obear
Commits
2ac46e87
Commit
2ac46e87
authored
Jun 25, 2019
by
huai.li
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
客户导入
parent
4b57880f
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
9 deletions
+26
-9
searchHeader.vue
src/components/common/searchHeader.vue
+1
-0
import_history_list.vue
...nents/setting_list/import-history/import_history_list.vue
+16
-3
tipModal.vue
src/components/setting_list/import-history/tipModal.vue
+9
-6
No files found.
src/components/common/searchHeader.vue
View file @
2ac46e87
...
@@ -6,6 +6,7 @@
...
@@ -6,6 +6,7 @@
<el-col
:span=
"18"
class=
"header-search"
>
<el-col
:span=
"18"
class=
"header-search"
>
<el-form
ref=
"form"
:model=
"search"
size=
"mini"
label-width=
"0"
>
<el-form
ref=
"form"
:model=
"search"
size=
"mini"
label-width=
"0"
>
<div
class=
"pull-right search-form"
>
<div
class=
"pull-right search-form"
>
<slot
name=
"pre"
></slot>
<el-form-item
v-if=
"searchKey"
>
<el-form-item
v-if=
"searchKey"
>
<el-input
size=
"small"
v-model=
"search['ClientSearch[keyword]']"
placeholder=
"关键词"
>
<el-input
size=
"small"
v-model=
"search['ClientSearch[keyword]']"
placeholder=
"关键词"
>
<el-button
slot=
"append"
type=
"primary"
@
click
.
stop
.
prevent=
"searchKeyword"
>
搜索
</el-button>
<el-button
slot=
"append"
type=
"primary"
@
click
.
stop
.
prevent=
"searchKeyword"
>
搜索
</el-button>
...
...
src/components/setting_list/import-history/import_history_list.vue
View file @
2ac46e87
...
@@ -7,6 +7,11 @@
...
@@ -7,6 +7,11 @@
:add-title=
"'客户导入'"
:add-title=
"'客户导入'"
@
update:headerAdd=
"() => add()"
@
update:headerAdd=
"() => add()"
@
update:headerClear=
"() => searchClear()"
>
@
update:headerClear=
"() => searchClear()"
>
<el-form-item
slot=
"pre"
>
<el-button
type=
"primary"
size=
"mini"
@
click
.
stop
.
prevent=
"downLoad"
>
<i
class=
"fa fa-download"
></i><a
href=
"/setting/download-templete"
>
下载导入模版
</a>
</el-button>
</el-form-item>
</search-header>
</search-header>
<div
class=
"page-body-content"
>
<div
class=
"page-body-content"
>
<el-alert
title=
""
type=
"info"
>
<el-alert
title=
""
type=
"info"
>
...
@@ -20,7 +25,7 @@
...
@@ -20,7 +25,7 @@
</el-table-column>
</el-table-column>
<el-table-column
prop=
"description"
align=
"center"
label=
"导入信息"
>
<el-table-column
prop=
"description"
align=
"center"
label=
"导入信息"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<a
@
click=
"showTip(scope.row)"
><i
class=
"fa fa-fw fa-file"
></i></a>
<a
v-if=
"scope.row.status !== 3"
@
click=
"showTip(scope.row)"
><i
class=
"fa fa-fw fa-file"
></i></a>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"status_display"
align=
"center"
label=
"状态"
>
<el-table-column
prop=
"status_display"
align=
"center"
label=
"状态"
>
...
@@ -61,12 +66,15 @@
...
@@ -61,12 +66,15 @@
</div>
</div>
</div>
</div>
<FormModal
ref=
"formModal"
></FormModal>
<FormModal
ref=
"formModal"
></FormModal>
<TipModal
ref=
"tipModal"
>
</TipModal>
</section>
</section>
</template>
</template>
<
script
>
<
script
>
import
SearchHeader
from
'../../common/searchHeader'
import
SearchHeader
from
'../../common/searchHeader'
import
BreadCrumb
from
'../BreadCrumb'
import
BreadCrumb
from
'../BreadCrumb'
import
FormModal
from
'./modal'
import
FormModal
from
'./modal'
import
TipModal
from
'./tipModal.vue'
import
Pagenation
from
'../pagenation'
import
Pagenation
from
'../pagenation'
import
{
import
{
requestAPI
,
requestAPI
,
...
@@ -79,7 +87,8 @@ export default {
...
@@ -79,7 +87,8 @@ export default {
SearchHeader
,
SearchHeader
,
BreadCrumb
,
BreadCrumb
,
Pagenation
,
Pagenation
,
FormModal
FormModal
,
TipModal
},
},
data
()
{
data
()
{
...
@@ -126,7 +135,7 @@ export default {
...
@@ -126,7 +135,7 @@ export default {
},
},
showTip
(
model
)
{
showTip
(
model
)
{
// this.$refs.
this
.
$refs
.
tipModal
.
show
(
model
)
},
},
// 6.1新增
// 6.1新增
...
@@ -173,4 +182,8 @@ export default {
...
@@ -173,4 +182,8 @@ export default {
}
}
</
script
>
</
script
>
<
style
scoped
>
<
style
scoped
>
a
{
cursor
:
pointer
;
color
:
white
;
}
</
style
>
</
style
>
src/components/setting_list/import-history/tipModal.vue
View file @
2ac46e87
...
@@ -2,7 +2,13 @@
...
@@ -2,7 +2,13 @@
<section>
<section>
<sidePopup
ref=
"sidePopup"
title=
"客户导入"
:width=
"50"
@
update:close=
"() => btnClose()"
>
<sidePopup
ref=
"sidePopup"
title=
"客户导入"
:width=
"50"
@
update:close=
"() => btnClose()"
>
<ul>
<ul>
<li
v-for=
"(index, item) in model.fail_description"
>
<li
v-for=
"(value, key, index) in model.fail_description"
>
在第
{{
key
}}
行
<ul>
<li
v-for=
"sItem in value"
>
{{
sItem
}}
</li>
</ul>
</li>
</li>
</ul>
</ul>
</sidePopup>
</sidePopup>
...
@@ -17,7 +23,7 @@ export default {
...
@@ -17,7 +23,7 @@ export default {
data
()
{
data
()
{
return
{
return
{
diaVis
:
false
,
diaVis
:
false
,
model
:
null
model
:
{}
}
}
},
},
...
@@ -28,13 +34,10 @@ export default {
...
@@ -28,13 +34,10 @@ export default {
},
},
handleClose
()
{
handleClose
()
{
this
.
$refs
.
sidePopup
.
close
(()
=>
{
this
.
$refs
.
sidePopup
.
close
()
this
.
$refs
.
form
.
_resetFields
()
})
},
},
btnClose
()
{
btnClose
()
{
this
.
$refs
.
form
.
_resetFields
()
}
}
}
}
}
}
...
...
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