Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-xcmg-vue-app
Project
Project
Details
Activity
Releases
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
xugong
hls-xcmg-vue-app
Commits
ffbb28a5
Commit
ffbb28a5
authored
Oct 17, 2019
by
李晓兵
Browse files
Options
Browse Files
Download
Plain Diff
'bug修复'
parents
6baf19c8
d73d99f3
Changes
15
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
174 additions
and
82 deletions
+174
-82
baseInfo.png
src/assets/productQuery/baseInfo.png
+0
-0
config.png
src/assets/productQuery/config.png
+0
-0
detail.png
src/assets/productQuery/detail.png
+0
-0
unBaseInfo.png
src/assets/productQuery/unBaseInfo.png
+0
-0
unConfig.png
src/assets/productQuery/unConfig.png
+0
-0
unDetail.png
src/assets/productQuery/unDetail.png
+0
-0
my-info.vue
src/pages/myInfo/my-info.vue
+6
-1
product-list.vue
src/pages/productQuery/product-list.vue
+12
-7
query-home.vue
src/pages/productQuery/query-home.vue
+60
-7
tab.vue
src/pages/productQuery/tab.vue
+58
-27
bankInfo.vue
src/pages/userBind/np/bankInfo.vue
+6
-1
naturePerson.vue
src/pages/userBind/np/naturePerson.vue
+21
-36
bankInfo.vue
src/pages/userBind/org/bankInfo.vue
+6
-1
enterprise.vue
src/pages/userBind/org/enterprise.vue
+4
-1
index.js
src/router/index.js
+1
-1
No files found.
src/assets/productQuery/baseInfo.png
0 → 100644
View file @
ffbb28a5
430 Bytes
src/assets/productQuery/config.png
0 → 100644
View file @
ffbb28a5
999 Bytes
src/assets/productQuery/detail.png
0 → 100644
View file @
ffbb28a5
1.1 KB
src/assets/productQuery/unBaseInfo.png
0 → 100644
View file @
ffbb28a5
486 Bytes
src/assets/productQuery/unConfig.png
0 → 100644
View file @
ffbb28a5
1.08 KB
src/assets/productQuery/unDetail.png
0 → 100644
View file @
ffbb28a5
1.18 KB
src/pages/myInfo/my-info.vue
View file @
ffbb28a5
...
@@ -91,7 +91,7 @@ export default {
...
@@ -91,7 +91,7 @@ export default {
user_bp_class
:
''
,
user_bp_class
:
''
,
bp_id
:
''
,
bp_id
:
''
,
user_phone
:
''
,
user_phone
:
''
,
// show: false
,
user_bp_name
:
''
,
}
}
},
},
watch
:
{
watch
:
{
...
@@ -219,6 +219,7 @@ export default {
...
@@ -219,6 +219,7 @@ export default {
name
:
'NaturePerson'
,
name
:
'NaturePerson'
,
params
:
{
params
:
{
bp_id
:
this
.
bp_id
,
bp_id
:
this
.
bp_id
,
user_bp_name
:
this
.
user_bp_name
,
},
},
})
})
}
else
{
}
else
{
...
@@ -226,6 +227,7 @@ export default {
...
@@ -226,6 +227,7 @@ export default {
name
:
'Enterprise'
,
name
:
'Enterprise'
,
params
:
{
params
:
{
bp_id
:
this
.
bp_id
,
bp_id
:
this
.
bp_id
,
user_bp_name
:
this
.
user_bp_name
,
},
},
})
})
}
}
...
@@ -236,6 +238,7 @@ export default {
...
@@ -236,6 +238,7 @@ export default {
name
:
'NaturePerson'
,
name
:
'NaturePerson'
,
params
:
{
params
:
{
bp_id
:
this
.
bp_id
,
bp_id
:
this
.
bp_id
,
user_bp_name
:
this
.
user_bp_name
,
status
:
'APPROVED'
,
status
:
'APPROVED'
,
},
},
})
})
...
@@ -244,6 +247,7 @@ export default {
...
@@ -244,6 +247,7 @@ export default {
name
:
'Enterprise'
,
name
:
'Enterprise'
,
params
:
{
params
:
{
bp_id
:
this
.
bp_id
,
bp_id
:
this
.
bp_id
,
user_bp_name
:
this
.
user_bp_name
,
status
:
'APPROVED'
,
status
:
'APPROVED'
,
},
},
})
})
...
@@ -274,6 +278,7 @@ export default {
...
@@ -274,6 +278,7 @@ export default {
vm
.
user_bp_status
=
res
.
info
.
user_bp_status
vm
.
user_bp_status
=
res
.
info
.
user_bp_status
vm
.
user_bp_class
=
res
.
info
.
user_bp_class
vm
.
user_bp_class
=
res
.
info
.
user_bp_class
vm
.
bp_id
=
res
.
info
.
user_bp_id
vm
.
bp_id
=
res
.
info
.
user_bp_id
vm
.
user_bp_name
=
res
.
info
.
user_bp_name
vm
.
user_phone
=
res
.
info
.
user_phone
vm
.
user_phone
=
res
.
info
.
user_phone
}
else
{
}
else
{
this
.
hlsPopup
.
showLongCenter
(
res
.
message
)
this
.
hlsPopup
.
showLongCenter
(
res
.
message
)
...
...
src/pages/productQuery/product-list.vue
View file @
ffbb28a5
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
<img
src=
"@/assets/distributorSign/search.png"
alt=
""
>
<img
src=
"@/assets/distributorSign/search.png"
alt=
""
>
</div>
</div>
</div>
</div>
<list-item
v-for=
"item in lists"
:
item-height=
"102"
:
key=
"item.product_id"
>
<list-item
v-for=
"item in lists"
:key=
"item.product_id"
>
<item>
<item>
<div
slot=
"name"
class=
"item-pic"
>
<div
slot=
"name"
class=
"item-pic"
>
<img
src=
"@/assets/homePage/WechatIMG2 Copy@2x.png"
alt=
""
>
<img
src=
"@/assets/homePage/WechatIMG2 Copy@2x.png"
alt=
""
>
...
@@ -135,7 +135,7 @@ export default {
...
@@ -135,7 +135,7 @@ export default {
.arrow {
.arrow {
width: 16px;
width: 16px;
height: 16px;
height: 16px;
margin-left: 30px;
//
margin-left: 30px;
margin-top: 16px;
margin-top: 16px;
}
}
.item-pic {
.item-pic {
...
@@ -147,19 +147,21 @@ export default {
...
@@ -147,19 +147,21 @@ export default {
}
}
}
}
.item-content {
.item-content {
height: 102px;
// height: 102px;
// width: 100%;
width: 100%;
margin-left: 20px;
.center:nth-of-type(1) {
.center:nth-of-type(1) {
margin-top: 16px;
margin-top: 16px;
}
}
.center:nth-of-type(2) {
.center:nth-of-type(2) {
margin-top:
10
px;
margin-top:
6
px;
}
}
.center:nth-of-type(3) {
.center:nth-of-type(3) {
margin-top:
10
px;
margin-top:
6
px;
}
}
.center {
.center {
// margin-top: 6px;
// margin-top: 6px;
// white-space: nowrap;
font-family: PingFangSC-Semibold;
font-family: PingFangSC-Semibold;
font-size: 13px;
font-size: 13px;
color: rgba(56,63,69,0.60);
color: rgba(56,63,69,0.60);
...
@@ -172,10 +174,13 @@ export default {
...
@@ -172,10 +174,13 @@ export default {
color: rgba(56,63,69,0.60);
color: rgba(56,63,69,0.60);
}
}
.seconds {
.seconds {
margin-left:
20
px;
margin-left:
16
px;
font-family: PingFangSC-Regular;
font-family: PingFangSC-Regular;
font-size: 13px;
font-size: 13px;
color: #383F45;
color: #383F45;
// white-space: nowrap;
// overflow: hidden;
// text-overflow: ellipsis;
}
}
}
}
}
}
...
...
src/pages/productQuery/query-home.vue
View file @
ffbb28a5
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Descrip: 查询首页
* @Descrip: 查询首页
* @Author: your name
* @Author: your name
* @Date: 2019-10-15 14:30:00
* @Date: 2019-10-15 14:30:00
* @LastEditTime: 2019-10-1
6 15:55:05
* @LastEditTime: 2019-10-1
7 13:33:48
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
-->
-->
<
template
>
<
template
>
...
@@ -20,9 +20,9 @@
...
@@ -20,9 +20,9 @@
<img
src=
"@/assets/distributorSign/search.png"
alt=
""
>
<img
src=
"@/assets/distributorSign/search.png"
alt=
""
>
</div>
</div>
</div>
</div>
<div
v-for=
"
item in prolists"
:key=
"item.factory_bp_id
"
class=
"wrap"
>
<div
v-for=
"
(item,index) in prolists"
:key=
"index
"
class=
"wrap"
>
<div
class=
"box"
@
click=
"goLists(item.division)"
>
<div
class=
"box"
>
<div
class=
"first"
>
<div
class=
"first"
>
<img
src=
"@/assets/productQuery/product-query.png"
alt=
""
>
<img
src=
"@/assets/productQuery/product-query.png"
alt=
""
>
<p
class=
"product-class"
>
产品类别
</p>
<p
class=
"product-class"
>
产品类别
</p>
...
@@ -30,10 +30,17 @@
...
@@ -30,10 +30,17 @@
</div>
</div>
<div
class=
"second"
>
<div
class=
"second"
>
<p
class=
"product-class"
>
产品线
</p>
<p
class=
"product-class"
>
产品线
</p>
<p
class=
"product"
>
{{
item
.
division_n
}}
</p>
<div
class=
"product"
>
<img
src=
"@/assets/productQuery/pull.png"
alt=
""
>
<p>
{{
item
.
division_n
}}
</p>
<div
v-for=
"items in divisionList"
v-if=
"list_flag&&item.factory_bp_id === factory_bp_id "
:key=
"items.division"
class=
"division-lists"
>
<div>
<p
@
click=
"checkDivision(items.product_line,items.division,index)"
>
{{
items
.
product_line
}}
</p>
</div>
</div>
</div>
<img
src=
"@/assets/productQuery/pull.png"
alt=
""
@
click=
"queryDivision(item.factory_bp_id)"
>
</div>
</div>
<img
class=
"arrow"
src=
"@/assets/productQuery/getIn.png"
alt=
""
>
<img
class=
"arrow"
src=
"@/assets/productQuery/getIn.png"
alt=
""
@
click=
"goLists(item.division)"
>
</div>
</div>
</div>
</div>
</h-content>
</h-content>
...
@@ -46,6 +53,9 @@ export default {
...
@@ -46,6 +53,9 @@ export default {
data
()
{
data
()
{
return
{
return
{
prolists
:
[],
prolists
:
[],
divisionList
:
[],
list_flag
:
false
,
factory_bp_id
:
''
,
}
}
},
},
computed
:
{},
computed
:
{},
...
@@ -84,6 +94,28 @@ export default {
...
@@ -84,6 +94,28 @@ export default {
},
},
})
})
},
},
queryDivision
(
val
)
{
let
vm
=
this
let
url
=
$config
.
basePath
+
'prd_product_division_list'
let
param
=
{
factory_bp_id
:
val
,
}
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
console
.
log
(
res
)
if
(
res
.
result
===
'S'
)
{
vm
.
divisionList
=
res
.
lists
vm
.
list_flag
=
!
vm
.
list_flag
vm
.
factory_bp_id
=
val
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
}
})
},
checkDivision
(
val
,
division
,
index
)
{
this
.
prolists
[
index
].
division_n
=
val
this
.
prolists
[
index
].
division
=
division
this
.
list_flag
=
!
this
.
list_flag
},
},
},
}
}
</
script
>
</
script
>
...
@@ -184,7 +216,28 @@ export default {
...
@@ -184,7 +216,28 @@ export default {
font-family: PingFangSC-Regular;
font-family: PingFangSC-Regular;
font-size: 14px;
font-size: 14px;
color: #383F45;
color: #383F45;
margin-left: 16px
margin-left: 16px;
.division-lists {
width: 100%;
height: auto;
position: relative;
z-index: 1000;
border: 1px solid #ccc;
border-bottom: none;
// margin-top: 4px;
div {
background: #fff;
//border: 1px solid #ccc;
p {
width: 100%;
height: 24px;
line-height: 24px;
border-bottom: 1px solid #ccc;
// text-align: center
}
}
}
}
}
img {
img {
width: 16px;
width: 16px;
...
...
src/pages/productQuery/tab.vue
View file @
ffbb28a5
...
@@ -2,33 +2,36 @@
...
@@ -2,33 +2,36 @@
* @Description: 详情tab
* @Description: 详情tab
* @Author: your name
* @Author: your name
* @Date: 2019-09-25 19:47:59
* @Date: 2019-09-25 19:47:59
* @LastEditTime: 2019-10-1
6 09:29:53
* @LastEditTime: 2019-10-1
7 10:55:24
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
-->
-->
<
template
>
<
template
>
<div
class=
"tab-style"
>
<div
class=
"tab-style"
>
<span
@
click=
"tabNum = 0;sendTabNum()"
><img
:src=
"tabNum == 0?check1:uncheck1"
></span>
<div
:class=
"
{'tab-content-bg':tabNum == 0}" class="tab-content" @click="tabNum = 0;sendTabNum()">
<img
:src=
"tabNum == 0?baseInfo:unBaseInfo"
><span
<span
@
click=
"tabNum = 1;sendTabNum()"
><img
:src=
"tabNum == 1?check2:uncheck2"
></span>
:class=
"
{'colored':tabNum == 0}">基本信息
</span></div>
<span
@
click=
"tabNum = 2;sendTabNum()"
><img
:src=
"tabNum == 2?check3:uncheck3"
></span>
<div
:class=
"
{'tab-content-bg':tabNum == 1}" class="tab-content" @click="tabNum = 1;sendTabNum()">
<img
:src=
"tabNum == 1?detail:unDetail"
><span
:class=
"
{'colored':tabNum == 1}">商品详情
</span></div>
<div
:class=
"
{'tab-content-bg':tabNum == 2}" class="tab-content" @click="tabNum = 2;sendTabNum()">
<img
:src=
"tabNum == 2?config:unConfig"
><span
:class=
"
{'colored':tabNum == 2}">产品配置
</span></div>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
check1
from
'@/assets/distributorSign/check1
.png'
import
baseInfo
from
'@/assets/productQuery/baseInfo
.png'
import
check2
from
'@/assets/distributorSign/check2
.png'
import
unBaseInfo
from
'@/assets/productQuery/unBaseInfo
.png'
import
check3
from
'@/assets/distributorSign/guaranteed
.png'
import
detail
from
'@/assets/productQuery/detail
.png'
import
un
check1
from
'@/assets/distributorSign/uncheck1
.png'
import
un
Detail
from
'@/assets/productQuery/unDetail
.png'
import
uncheck2
from
'@/assets/distributorSign/uncheck2
.png'
import
config
from
'@/assets/productQuery/config
.png'
import
un
check3
from
'@/assets/distributorSign/guarantee
.png'
import
un
Config
from
'@/assets/productQuery/unConfig
.png'
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
tabNum
:
0
,
tabNum
:
0
,
check1
:
check1
,
baseInfo
:
baseInfo
,
check2
:
check2
,
unBaseInfo
:
unBaseInfo
,
check3
:
check3
,
detail
:
detail
,
un
check1
:
uncheck1
,
un
Detail
:
unDetail
,
uncheck2
:
uncheck2
,
config
:
config
,
un
check3
:
uncheck3
,
un
Config
:
unConfig
,
}
}
},
},
methods
:
{
methods
:
{
...
@@ -49,19 +52,47 @@ export default {
...
@@ -49,19 +52,47 @@ export default {
padding-bottom: 8px;
padding-bottom: 8px;
align-items: center;
align-items: center;
box-shadow:0 2px 3px 0 rgba(220,220,221,0.50);
box-shadow:0 2px 3px 0 rgba(220,220,221,0.50);
span{
.tab-content {
display: block;
display: block;
width:112px;
width: 33%;
height: 32px;
height: 32px;
border-radius:16px;
background: rgba(220, 220, 221, 0.26);
border-radius: 16px;
display: flex;
justify-content: center;
align-items: center;
span {
margin-left: 2%;
font-size: 14px;
color: #383F45;
font-weight: 600;
font-family: PingFangSC-Semibold;
}
.colored {
color: #00469C
}
}
}
img{
.tab-content-bg{
width:112px;
background: rgba(0,70,156,0.10);
height: 32px;
margin-right:5.7px;
}
}
span:nth-of-type(2){
margin:0 10px;
.tab-content:nth-of-type(1) {
margin-left: 12px
}
img {
height: 16px;
// margin-right:5.7px;
}
.tab-content:nth-of-type(2) {
margin-left: 8px;
}
.tab-content:nth-of-type(3) {
margin-left: 8px;
margin-right: 4px;
}
}
}
}
</
style
>
</
style
>
src/pages/userBind/np/bankInfo.vue
View file @
ffbb28a5
...
@@ -21,11 +21,12 @@
...
@@ -21,11 +21,12 @@
<div
class=
"clear"
/>
<div
class=
"clear"
/>
<div
class=
"card-content"
>
<div
class=
"card-content"
>
<ul>
<ul>
<li
v-for=
"(item,index) in getBankList"
:key=
"index"
>
<li
v-for=
"(item,index) in getBankList"
:key=
"index"
>
<item-option
class=
"slider"
>
<item-option
class=
"slider"
>
<div
<div
:style=
"'background-image: url('+ changeBgImg (item) +')'"
:style=
"'background-image: url('+ changeBgImg (item) +')'"
class=
"my-bank-card"
class=
"my-bank-card"
@
click=
"sendList(item)"
>
>
<div
class=
"card-info"
>
<div
class=
"card-info"
>
<span
class=
"name"
>
{{
item
.
bank_full_name
}}
</span>
<span
class=
"name"
>
{{
item
.
bank_full_name
}}
</span>
...
@@ -65,6 +66,10 @@ export default {
...
@@ -65,6 +66,10 @@ export default {
this
.
showModalValue
=
true
this
.
showModalValue
=
true
this
.
$emit
(
'getInfo'
,
this
.
showModalValue
)
this
.
$emit
(
'getInfo'
,
this
.
showModalValue
)
},
},
sendList
(
a
)
{
this
.
$emit
(
'getList'
,
a
)
this
.
sendFlag
()
},
changeBgImg
(
item
)
{
changeBgImg
(
item
)
{
if
(
item
.
bank_full_name
===
'中国农业银行'
)
{
if
(
item
.
bank_full_name
===
'中国农业银行'
)
{
return
backImg1
return
backImg1
...
...
src/pages/userBind/np/naturePerson.vue
View file @
ffbb28a5
...
@@ -198,19 +198,13 @@
...
@@ -198,19 +198,13 @@
<span>
{{
list
.
description
}}
</span>
<span>
{{
list
.
description
}}
</span>
<div
class=
"img-content"
>
<div
class=
"img-content"
>
<!--待上传图片列表-->
<!--待上传图片列表-->
<div
v-for=
"(item, index) in upload_list"
v-if=
"item.check_id==list.check_id"
:key=
"index"
class=
"card-upload"
>
<div
v-for=
"(list, index) in upload_list"
:key=
"index"
>
<img
:src=
"item.picture"
>
<img
:src=
"list.picture"
>
<div
class=
"close"
@
click=
"delete_pic(item.attachment_id)"
>
<img
src=
"@/assets/userBind/deleteIcon.png"
>
</div>
</div>
</div>
<!--从服务器上下载的图片-->
<!--从服务器上下载的图片-->
<div
v-for=
"item in dowload_list"
>
<div
v-for=
"item in dowload_list"
class=
"card-upload"
>
<div
v-for=
"(pic, index) in item"
v-if=
"pic.check_id==list.check_id"
:key=
"index"
class=
"card-upload"
>
<div
v-for=
"(pic, index) in item"
:key=
"index"
>
<img
:src=
"pic.url"
>
<img
:src=
"item.url"
>
<div
class=
"close"
@
click=
"delete_pic(pic.attachment_id)"
>
<img
src=
"@/assets/userBind/deleteIcon.png"
>
</div>
</div>
</div>
</div>
</div>
<div
class=
"card-upload"
@
click=
"imgUploadShow(list.check_id)"
>
<div
class=
"card-upload"
@
click=
"imgUploadShow(list.check_id)"
>
...
@@ -219,7 +213,7 @@
...
@@ -219,7 +213,7 @@
</div>
</div>
</div>
</div>
</div>
</div>
<BankInfo
v-show=
"tabNum==1"
:getBankList=
"getBankList"
@
getInfo=
"getInfo"
/>
<BankInfo
v-show=
"tabNum==1"
:getBankList=
"getBankList"
@
getInfo=
"getInfo"
@
getList=
"getList"
/>
<InvoiceInfo
<InvoiceInfo
v-show=
"tabNum==2"
v-show=
"tabNum==2"
:baseInfo=
"baseInfo"
:baseInfo=
"baseInfo"
...
@@ -444,20 +438,18 @@ export default {
...
@@ -444,20 +438,18 @@ export default {
}
}
})
})
},
},
load_picture
(
check_id
,
index
)
{
load_picture
(
check_id
)
{
let
vm
=
this
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'attachment_list_query'
+
'&index'
+
index
// 附件查询
let
url
=
process
.
env
.
basePath
+
'attachment_list_query'
let
param
=
{
let
param
=
{
check_id
:
check_id
,
check_id
:
check_id
,
}
}
hlsPopup
.
showLoading
(
'请稍候'
)
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
vm
.
hlsPopup
.
hideLoading
()
console
.
log
(
'%%%%%%%%%%%%'
+
res
)
if
(
res
.
result
===
'S'
)
{
if
(
res
.
result
===
'S'
)
{
res
.
lists
.
forEach
(
item
=>
{
console
.
log
(
'**********'
+
res
.
lists
)
item
[
'url'
]
=
process
.
env
.
filePath
+
'attachment_id='
+
item
.
attachment_id
+
'&access_token='
+
window
.
localStorage
.
access_token
})
vm
.
dowload_list
.
push
(
res
.
lists
)
}
else
{
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
hlsPopup
.
showLongCenter
(
res
.
message
)
}
}
...
@@ -605,7 +597,6 @@ export default {
...
@@ -605,7 +597,6 @@ export default {
'pkvalue'
:
check_id
,
'pkvalue'
:
check_id
,
'source_type'
:
'PRJ_CDD_ITEM_CHECK'
,
'source_type'
:
'PRJ_CDD_ITEM_CHECK'
,
'picture'
:
''
,
'picture'
:
''
,
'check_id'
:
check_id
,
'filePath'
:
''
,
'filePath'
:
''
,
'attachment_id'
:
''
,
'attachment_id'
:
''
,
'user_id'
:
1
,
'user_id'
:
1
,
...
@@ -632,21 +623,21 @@ export default {
...
@@ -632,21 +623,21 @@ export default {
quality
:
100
,
quality
:
100
,
}
}
let
success
=
function
(
imgUrl
)
{
let
success
=
function
(
imgUrl
)
{
var
list
=
[]
for
(
let
i
=
0
;
i
<
imgUrl
.
length
;
i
++
)
{
for
(
let
i
=
0
;
i
<
imgUrl
.
length
;
i
++
)
{
let
obj
=
{
let
obj
=
{
'pkvalue'
:
check_id
,
'pkvalue'
:
check_id
,
'source_type'
:
'PRJ_CDD_ITEM_CHECK'
,
'source_type'
:
'PRJ_CDD_ITEM_CHECK'
,
'picture'
:
''
,
'picture'
:
''
,
'check_id'
:
check_id
,
'filePath'
:
''
,
'filePath'
:
''
,
'attachment_id'
:
''
,
'attachment_id'
:
''
,
'user_id'
:
1
,
'user_id'
:
1
,
}
}
obj
.
picture
=
imgUrl
[
i
]
obj
.
picture
=
imgUrl
[
i
]
obj
.
filePath
=
imgUrl
[
i
]
obj
.
filePath
=
imgUrl
[
i
]
var
list
=
[]
list
.
push
(
obj
)
list
.
push
(
obj
)
}
}
// 拍完一张立马执行保存图片逻辑
vm
.
save_picture
(
list
)
vm
.
save_picture
(
list
)
}
}
let
error
=
function
()
{
let
error
=
function
()
{
...
@@ -671,6 +662,7 @@ export default {
...
@@ -671,6 +662,7 @@ export default {
for
(
var
i
=
0
;
i
<
list
.
length
;
i
++
)
{
for
(
var
i
=
0
;
i
<
list
.
length
;
i
++
)
{
let
uploadSuccess
=
function
(
res
)
{
let
uploadSuccess
=
function
(
res
)
{
if
(
res
.
result
===
'S'
)
{
if
(
res
.
result
===
'S'
)
{
alert
(
'返回结果 '
+
JSON
.
stringify
(
res
.
response
))
alreadyUploadNum
++
alreadyUploadNum
++
for
(
var
j
=
0
;
j
<
list
.
length
;
j
++
)
{
for
(
var
j
=
0
;
j
<
list
.
length
;
j
++
)
{
if
(
list
[
j
].
filePath
===
res
.
response
.
filePath
)
{
if
(
list
[
j
].
filePath
===
res
.
response
.
filePath
)
{
...
@@ -826,8 +818,7 @@ export default {
...
@@ -826,8 +818,7 @@ export default {
}
}
},
},
addRowsLive
(
e
)
{
addRowsLive
(
e
)
{
// let addNum = parseInt(e.length / 16)
let
addNum
=
parseInt
(
e
.
length
/
16
)
let
addNum
=
e
.
size
()
console
.
log
(
addNum
)
console
.
log
(
addNum
)
if
(
addNum
===
0
)
{
if
(
addNum
===
0
)
{
this
.
$refs
.
myTestareaLive
.
rows
=
1
this
.
$refs
.
myTestareaLive
.
rows
=
1
...
@@ -850,7 +841,7 @@ export default {
...
@@ -850,7 +841,7 @@ export default {
onConfirm
:
data
=>
{
onConfirm
:
data
=>
{
console
.
log
(
data
)
console
.
log
(
data
)
if
(
data
)
{
if
(
data
)
{
let
bpName
=
window
.
localStorage
.
getItem
(
'bp_name'
)
let
bpName
=
this
.
from
?
this
.
$route
.
params
.
user_bp_name
:
window
.
localStorage
.
getItem
(
'bp_name'
)
if
(
if
(
this
.
bank
.
bank_account_num
===
''
||
this
.
bank
.
bank_account_num
===
''
||
this
.
bank
.
bank_account_name
===
''
||
this
.
bank
.
bank_account_name
===
''
||
...
@@ -914,6 +905,8 @@ export default {
...
@@ -914,6 +905,8 @@ export default {
vm
.
$router
.
push
({
vm
.
$router
.
push
({
name
:
'Home'
,
name
:
'Home'
,
})
})
}
else
{
vm
.
hlsPopup
.
showLongCenter
(
res
.
message
)
}
}
})
})
}
}
...
@@ -929,6 +922,9 @@ export default {
...
@@ -929,6 +922,9 @@ export default {
getInfo
(
i
)
{
getInfo
(
i
)
{
this
.
showModalValue
=
i
this
.
showModalValue
=
i
},
},
getList
(
a
)
{
Object
.
assign
(
this
.
bank
,
a
)
},
showModal
()
{
showModal
()
{
this
.
showModalValue
=
true
this
.
showModalValue
=
true
},
},
...
@@ -1290,17 +1286,7 @@ export default {
...
@@ -1290,17 +1286,7 @@ export default {
align-items: center;
align-items: center;
margin-top: 12px;
margin-top: 12px;
margin-left: 12px;
margin-left: 12px;
float: left;
// float: left;
.close {
position: relative;
color: #F96F68;
margin-top: -100%;
margin-left: -10%;
img{
width: 14px;
height: 14px;
}
}
img {
img {
width: 88px;
width: 88px;
height: 88px;
height: 88px;
...
@@ -1401,4 +1387,3 @@ export default {
...
@@ -1401,4 +1387,3 @@ export default {
line-height: 34px !important;
line-height: 34px !important;
}
}
</
style
>
</
style
>
</h-view></textarea></item></list-item></div></h-content></template>
src/pages/userBind/org/bankInfo.vue
View file @
ffbb28a5
...
@@ -33,8 +33,9 @@
...
@@ -33,8 +33,9 @@
<div
<div
:style=
"'background-image: url('+ changeBgImg (item) +')'"
:style=
"'background-image: url('+ changeBgImg (item) +')'"
class=
"my-bank-card"
class=
"my-bank-card"
@
click=
"sendList(item)"
>
>
<div
class=
"card-info"
>
<div
class=
"card-info"
>
<span
class=
"name"
>
{{
item
.
bank_full_name
}}
</span>
<span
class=
"name"
>
{{
item
.
bank_full_name
}}
</span>
<span
class=
"card-type"
>
{{
item
.
bank_card_type
}}
</span>
<span
class=
"card-type"
>
{{
item
.
bank_card_type
}}
</span>
<span
class=
"number"
>
卡号
</span>
<span
class=
"number"
>
卡号
</span>
...
@@ -72,6 +73,10 @@ export default {
...
@@ -72,6 +73,10 @@ export default {
this
.
showModalValue
=
true
this
.
showModalValue
=
true
this
.
$emit
(
'getInfo'
,
this
.
showModalValue
)
this
.
$emit
(
'getInfo'
,
this
.
showModalValue
)
},
},
sendList
(
a
)
{
this
.
$emit
(
'getList'
,
a
)
this
.
sendFlag
()
},
changeBgImg
(
item
)
{
changeBgImg
(
item
)
{
if
(
item
.
bank_full_name
===
'中国农业银行'
)
{
if
(
item
.
bank_full_name
===
'中国农业银行'
)
{
return
backImg1
return
backImg1
...
...
src/pages/userBind/org/enterprise.vue
View file @
ffbb28a5
...
@@ -318,7 +318,7 @@
...
@@ -318,7 +318,7 @@
</div>
</div>
</div>
</div>
<!--
<BankInfo
v-show=
"tabNum==1"
:bp_id=
"bp_id"
@
getInfo=
"getInfo"
/>
-->
<!--
<BankInfo
v-show=
"tabNum==1"
:bp_id=
"bp_id"
@
getInfo=
"getInfo"
/>
-->
<BankInfo
v-show=
"tabNum==1"
:getBankList=
"getBankList"
@
getInfo=
"getInfo"
/>
<BankInfo
v-show=
"tabNum==1"
:getBankList=
"getBankList"
@
getInfo=
"getInfo"
@
getList=
"getList"
/>
<InvoiceInfo
<InvoiceInfo
v-show=
"tabNum==2"
v-show=
"tabNum==2"
:tabNum=
"tabNum"
:tabNum=
"tabNum"
...
@@ -914,6 +914,9 @@ export default {
...
@@ -914,6 +914,9 @@ export default {
getInfo
(
i
)
{
getInfo
(
i
)
{
this
.
showModalValue
=
i
this
.
showModalValue
=
i
},
},
getList
(
i
)
{
Object
.
assign
(
this
.
bank_lists
,
i
)
},
getinvoiceList
(
val
)
{
getinvoiceList
(
val
)
{
console
.
log
(
val
)
console
.
log
(
val
)
this
.
invoiceInfo
=
val
this
.
invoiceInfo
=
val
...
...
src/router/index.js
View file @
ffbb28a5
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Description: In User Settings Edit
* @Description: In User Settings Edit
* @Author: your name
* @Author: your name
* @Date: 2019-09-24 12:34:06
* @Date: 2019-09-24 12:34:06
* @LastEditTime: 2019-10-1
6 19:08:10
* @LastEditTime: 2019-10-1
7 11:02:08
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
*/
*/
import
Vue
from
'vue'
import
Vue
from
'vue'
...
...
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