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
0dfde824
Commit
0dfde824
authored
Nov 04, 2019
by
786817560
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'ren' into develop
parents
20db385d
6adf2d95
Changes
9
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
583 additions
and
159 deletions
+583
-159
lease.png
src/assets/constractSigning/lease.png
+0
-0
unLease.png
src/assets/constractSigning/unLease.png
+0
-0
contract-detail.vue
src/pages/contractSigning/contract-detail.vue
+481
-95
contract-signing.vue
src/pages/contractSigning/contract-signing.vue
+6
-8
entry-info.vue
src/pages/contractSigning/entry-info.vue
+3
-3
product-detailed.vue
src/pages/productQuery/product-detailed.vue
+83
-43
product-list.vue
src/pages/productQuery/product-list.vue
+1
-1
query-home.vue
src/pages/productQuery/query-home.vue
+2
-2
tab.vue
src/pages/productQuery/tab.vue
+7
-7
No files found.
src/assets/constractSigning/lease.png
0 → 100644
View file @
0dfde824
926 Bytes
src/assets/constractSigning/unLease.png
0 → 100644
View file @
0dfde824
1.02 KB
src/pages/contractSigning/contract-detail.vue
View file @
0dfde824
This diff is collapsed.
Click to expand it.
src/pages/contractSigning/contract-signing.vue
View file @
0dfde824
<!--
<!--
* @Author: your name
* @Author: your name
* @Date: 2019-09-29 10:02:11
* @Date: 2019-09-29 10:02:11
* @LastEditTime: 2019-1
0-30 09:34:22
* @LastEditTime: 2019-1
1-03 17:35:19
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @Description: In User Settings Edit
-->
-->
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
<p
class=
"incoming-num"
>
进件号
</p>
<p
class=
"incoming-num"
>
进件号
</p>
<p
class=
"code"
>
{{
item
.
project_number
}}
</p>
<p
class=
"code"
>
{{
item
.
project_number
}}
</p>
</div>
</div>
<div
class=
"details"
@
click=
"goDetails(item
.project_id,item.con_confirm_status,item.confirm_id,item.bp_name
)"
>
<div
class=
"details"
@
click=
"goDetails(item)"
>
<div
class=
"option"
>
<div
class=
"option"
>
<p
class=
"name"
>
承租人
</p>
<p
class=
"name"
>
承租人
</p>
<p
class=
"full-name normal"
>
{{
item
.
bp_name
}}
</p>
<p
class=
"full-name normal"
>
{{
item
.
bp_name
}}
</p>
...
@@ -56,7 +56,7 @@
...
@@ -56,7 +56,7 @@
<p
class=
"incoming-num"
>
进件号
</p>
<p
class=
"incoming-num"
>
进件号
</p>
<p
class=
"code"
>
{{
item
.
project_number
}}
</p>
<p
class=
"code"
>
{{
item
.
project_number
}}
</p>
</div>
</div>
<div
class=
"details"
@
click=
"goDetails(item
.project_id,item.con_confirm_status,item.confirm_id,item.bp_name
)"
>
<div
class=
"details"
@
click=
"goDetails(item)"
>
<div
class=
"option"
>
<div
class=
"option"
>
<p
class=
"name"
>
承租人
</p>
<p
class=
"name"
>
承租人
</p>
<p
class=
"full-name normal"
>
{{
item
.
bp_name
}}
</p>
<p
class=
"full-name normal"
>
{{
item
.
bp_name
}}
</p>
...
@@ -109,6 +109,7 @@ export default {
...
@@ -109,6 +109,7 @@ export default {
// next()
// next()
},
},
methods
:
{
methods
:
{
// 合同查询
contractList
()
{
contractList
()
{
let
vm
=
this
let
vm
=
this
let
url
=
$config
.
basePath
+
'con_confirm_list_query'
let
url
=
$config
.
basePath
+
'con_confirm_list_query'
...
@@ -127,14 +128,11 @@ export default {
...
@@ -127,14 +128,11 @@ export default {
})
})
},
},
// val: project_id, status: confirm_status, bpName: 承租人
// val: project_id, status: confirm_status, bpName: 承租人
goDetails
(
val
,
status
,
id
,
bpName
)
{
goDetails
(
item
)
{
this
.
$router
.
push
({
this
.
$router
.
push
({
name
:
'ContractDetail'
,
name
:
'ContractDetail'
,
params
:
{
params
:
{
project_id
:
val
,
item
:
item
,
confirm_id
:
id
,
bp_name
:
bpName
,
confirm_status
:
status
,
},
},
})
})
},
},
...
...
src/pages/contractSigning/entry-info.vue
View file @
0dfde824
<!--
<!--
* @Author: your name
* @Author: your name
* @Date: 2019-09-29 10:02:11
* @Date: 2019-09-29 10:02:11
* @LastEditTime: 2019-1
0-30 14:29:27
* @LastEditTime: 2019-1
1-02 19:54:08
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @Description: In User Settings Edit
-->
-->
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
<div
slot=
"name"
>
银行卡卡号
</div>
<div
slot=
"name"
>
银行卡卡号
</div>
<input
<input
slot=
"content"
v-model=
"bank_lists[0].bank_account_num"
type=
"text"
slot=
"content"
v-model=
"bank_lists[0].bank_account_num"
type=
"text"
placeholder=
"上传银行卡自动填充"
readonly
placeholder=
"上传银行卡自动填充"
>
>
</item>
</item>
<item>
<item>
...
@@ -43,7 +43,7 @@
...
@@ -43,7 +43,7 @@
<div
slot=
"name"
>
银行名称
</div>
<div
slot=
"name"
>
银行名称
</div>
<input
<input
slot=
"content"
v-model=
"bank_lists[0].bank_full_name"
type=
"text"
slot=
"content"
v-model=
"bank_lists[0].bank_full_name"
type=
"text"
placeholder=
"请输入银行名称"
readonly
>
placeholder=
"请输入银行名称"
>
</item>
</item>
<item>
<item>
<div
slot=
"name"
>
支行名称
</div>
<div
slot=
"name"
>
支行名称
</div>
...
...
src/pages/productQuery/product-detailed.vue
View file @
0dfde824
...
@@ -2,53 +2,58 @@
...
@@ -2,53 +2,58 @@
* @Descrip: 产品明细
* @Descrip: 产品明细
* @Author: your name
* @Author: your name
* @Date: 2019-10-15 14:30:00
* @Date: 2019-10-15 14:30:00
* @LastEditTime: 2019-11-0
1 16:32:46
* @LastEditTime: 2019-11-0
4 19:00:24
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
-->
-->
<
template
>
<
template
>
<h-view
id=
"detailed"
class=
"public-style"
title=
"产品查询"
>
<h-view
v-swipeup=
"(e)=>vueTouch('上滑',e)"
v-swipedown=
"(e)=>vueTouch('下滑',e)"
id=
"detailed"
class=
"public-style"
title=
"产品查询"
>
<h-header
:proportion=
"[5,1,1]"
class=
"bar-custom"
>
<h-header
:proportion=
"[5,1,1]"
class=
"bar-custom"
>
<div
slot=
"left"
class=
"h-header-btn"
>
<div
slot=
"left"
class=
"h-header-btn"
>
<img
src=
"@/assets/userBind/arrow.png"
@
click=
"
$route
Go()"
>
<img
src=
"@/assets/userBind/arrow.png"
@
click=
"
return
Go()"
>
<span>
产品明细
</span>
<span>
产品明细
</span>
</div>
</div>
</h-header>
</h-header>
<
!--
<Tab
:tabNums=
"tabNum"
@
getTabNum=
"getTabNum"
/>
--
>
<
Tab
v-if=
"slide"
:tabNums=
"tabNum"
@
getTabNum=
"getTabNum"
/
>
<!-- 基本信息 -->
<!-- 基本信息 -->
<h-content
@
touchmove=
"moves"
@
mousemove=
"mousemove"
>
<h-content
class=
"hcontent"
>
<img
:src=
"picLists[0].url"
alt=
""
class=
"detail-pic"
>
<div
id=
"baseInfo"
class=
"base"
>
<div
class=
"base-content"
>
<div
class=
"top-code"
>
<img
:src=
"picLists[0].url"
alt=
""
class=
"detail-pic"
>
<div>
参数项
{{
baseInfo
.
product_code
}}
</div>
<div
class=
"base-content"
>
<div>
{{
baseInfo
.
division_n
}}
</div>
<div
class=
"top-code"
>
</div>
<div>
参数项
{{
baseInfo
.
product_code
}}
</div>
<div
class=
"pro-name"
>
{{
baseInfo
.
product_name
}}
</div>
<div>
{{
baseInfo
.
division_n
}}
</div>
<div
class=
"pro-price"
>
<p>
参考价
<span
class=
"prices"
>
¥
{{
baseInfo
.
plan_price
|
currency
}}
</span></p>
<p
class=
"dates"
>
价格有效期
{{
baseInfo
.
price_date_to
|
dateFormat
}}
</p>
</div>
<div
class=
"agent"
>
<div
class=
"items"
>
<img
src=
"@/assets/productQuery/agent.png"
alt=
""
>
<p>
{{
baseInfo
.
agent_bp_name
}}
</p>
</div>
<div
class=
"items"
>
<img
src=
"@/assets/productQuery/address.png"
alt=
""
>
<p>
{{
baseInfo
.
business_address
}}
.
{{
baseInfo
.
province_name
}}
</p>
</div>
</div>
<div
class=
"items"
>
<div
class=
"pro-name"
>
{{
baseInfo
.
product_name
}}
</div>
<img
src=
"@/assets/productQuery/call.png"
alt=
""
>
<div
class=
"pro-price"
>
<p>
{{
baseInfo
.
phone
}}
</p>
<p>
参考价
<span
class=
"prices"
>
¥
{{
baseInfo
.
plan_price
|
currency
}}
</span></p>
<p
class=
"dates"
>
价格有效期
{{
baseInfo
.
price_date_to
|
dateFormat
}}
</p>
</div>
</div>
<div
class=
"items"
>
<div
class=
"agent"
>
<img
src=
"@/assets/productQuery/house.png"
alt=
""
>
<div
class=
"items"
>
<p>
{{
baseInfo
.
factory_bp_name
}}
</p>
<img
src=
"@/assets/productQuery/agent.png"
alt=
""
>
<p>
{{
baseInfo
.
agent_bp_name
}}
</p>
</div>
<div
class=
"items"
>
<img
src=
"@/assets/productQuery/address.png"
alt=
""
>
<p>
{{
baseInfo
.
business_address
}}
.
{{
baseInfo
.
province_name
}}
</p>
</div>
<div
class=
"items"
>
<img
src=
"@/assets/productQuery/call.png"
alt=
""
>
<p>
{{
baseInfo
.
phone
}}
</p>
</div>
<div
class=
"items"
>
<img
src=
"@/assets/productQuery/house.png"
alt=
""
>
<p>
{{
baseInfo
.
factory_bp_name
}}
</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- 商品详情 -->
<!-- 商品详情 -->
<div
class=
"pro-details
"
>
<div
id=
"prodetail"
ref=
"detail"
class=
"pro-details prodetail
"
>
<div
class=
"equipment-list"
>
商品详情
</div>
<div
class=
"equipment-list"
>
商品详情
</div>
<div
v-for=
"item in picLists"
:key=
"item.product_attachment_id"
class=
"proPic"
>
<div
v-for=
"item in picLists"
:key=
"item.product_attachment_id"
class=
"proPic"
>
...
@@ -57,7 +62,7 @@
...
@@ -57,7 +62,7 @@
</div>
</div>
<!-- 产品配置 -->
<!-- 产品配置 -->
<div
class=
"pro-details
"
>
<div
id=
"procfg"
class=
"pro-details procnf
"
>
<div
class=
"equipment-list"
>
产品配置
</div>
<div
class=
"equipment-list"
>
产品配置
</div>
<div
class=
"table-wrap"
v-html=
"confgInfo.product_properties"
/>
<div
class=
"table-wrap"
v-html=
"confgInfo.product_properties"
/>
</div>
</div>
...
@@ -89,17 +94,20 @@ export default {
...
@@ -89,17 +94,20 @@ export default {
return
{
return
{
text
:
''
,
text
:
''
,
tabNum
:
0
,
tabNum
:
0
,
picLists
:
[],
picLists
:
[],
// 图片列表
baseInfo
:
{},
baseInfo
:
{},
// 基本信息
show_text
:
''
,
show_text
:
''
,
confgInfo
:
{},
confgInfo
:
{},
// 配置信息
detailInfo
:
{},
detailInfo
:
{},
// 详情
bgc_flag
:
true
,
bgc_flag
:
true
,
// 背景图切换
collect_flag
:
false
,
collect_flag
:
false
,
slide
:
false
,
}
}
},
},
computed
:
{},
computed
:
{},
watch
:
{},
watch
:
{
},
beforeRouteEnter
(
to
,
from
,
next
)
{
beforeRouteEnter
(
to
,
from
,
next
)
{
if
(
from
.
name
===
'ProductList'
||
from
.
name
===
'MyProductList'
)
{
if
(
from
.
name
===
'ProductList'
||
from
.
name
===
'MyProductList'
)
{
next
(
vm
=>
{
next
(
vm
=>
{
...
@@ -127,11 +135,27 @@ export default {
...
@@ -127,11 +135,27 @@ export default {
},
},
methods
:
methods
:
{
{
moves
()
{
returnGo
()
{
console
.
log
(
'moves'
)
// this.$router.replace({
// name: 'ProductList',
// })
this
.
$router
.
go
(
-
1
)
},
},
mousemove
()
{
vueTouch
:
function
(
s
,
e
)
{
console
.
log
(
'mousemove'
)
console
.
log
(
s
,
e
)
this
.
slide
=
true
// console.log(this.$refs.detail.style)
let
clientHeight
=
document
.
body
.
clientHeight
// 屏幕可视高度
let
procnfGather
=
document
.
getElementsByClassName
(
'procnf'
)[
0
].
getBoundingClientRect
()
// 配置信息元素集合
let
detailGather
=
document
.
getElementsByClassName
(
'prodetail'
)[
0
].
getBoundingClientRect
()
// 详情信息元素集合
let
baseGather
=
document
.
getElementsByClassName
(
'base'
)[
0
].
getBoundingClientRect
()
// 基本信息元素集合
if
(
clientHeight
-
procnfGather
.
top
>=
procnfGather
.
height
)
{
this
.
tabNum
=
2
}
else
if
(
clientHeight
-
detailGather
.
top
>=
detailGather
.
height
)
{
this
.
tabNum
=
1
}
else
if
(
clientHeight
-
baseGather
.
top
>=
baseGather
.
height
)
{
this
.
tabNum
=
0
}
},
},
getTabNum
(
i
)
{
getTabNum
(
i
)
{
console
.
log
(
i
)
console
.
log
(
i
)
...
@@ -262,6 +286,18 @@ export default {
...
@@ -262,6 +286,18 @@ export default {
</
script
>
</
script
>
<
style
lang=
'less'
>
<
style
lang=
'less'
>
#detailed {
#detailed {
// .hcontent {
// .base {
// position: relative;
// }
// .prodetail {
// position: absolute;
// top: 500px;
// }
// .procnf {
// margin-bottom: 70px
// }
// }
.detail-pic {
.detail-pic {
width: 100%;
width: 100%;
}
}
...
@@ -290,7 +326,8 @@ export default {
...
@@ -290,7 +326,8 @@ export default {
}
}
div:nth-of-type(2) {
div:nth-of-type(2) {
margin-left: 16px;
margin-left: 16px;
width: 73px;
// width: 73px;
padding: 0 4px;
}
}
}
}
.pro-name {
.pro-name {
...
@@ -378,6 +415,9 @@ export default {
...
@@ -378,6 +415,9 @@ export default {
top: 10px;
top: 10px;
}
}
}
}
.procnf {
margin-bottom: 70px
}
.footer-button {
.footer-button {
.butt {
.butt {
width: 48%;
width: 48%;
...
...
src/pages/productQuery/product-list.vue
View file @
0dfde824
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
</div>
</div>
<div
class=
"division-box"
>
<div
class=
"division-box"
>
<list-item
v-for=
"
item in lists"
:key=
"item.product_id
"
>
<list-item
v-for=
"
(item,index) in lists"
:key=
"index
"
>
<item
:proportion=
"[1,4]"
@
click
.
native=
"goDetailed(item.product_id,item.collect_status,item.bp_id)"
>
<item
:proportion=
"[1,4]"
@
click
.
native=
"goDetailed(item.product_id,item.collect_status,item.bp_id)"
>
<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=
""
>
...
...
src/pages/productQuery/query-home.vue
View file @
0dfde824
...
@@ -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-11-0
1 10:21:19
* @LastEditTime: 2019-11-0
4 11:15:13
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
-->
-->
<
template
>
<
template
>
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
<p
class=
"product"
>
{{
item
.
factory_bp_name
}}
</p>
<p
class=
"product"
>
{{
item
.
factory_bp_name
}}
</p>
</div>
</div>
<div
class=
"second"
>
<div
class=
"second"
>
<p
class=
"product-class"
>
产品
线
</p>
<p
class=
"product-class"
>
产品
名称
</p>
<div
class=
"product"
>
<div
class=
"product"
>
<p>
{{
item
.
division_n
}}
</p>
<p>
{{
item
.
division_n
}}
</p>
</div>
</div>
...
...
src/pages/productQuery/tab.vue
View file @
0dfde824
...
@@ -2,17 +2,17 @@
...
@@ -2,17 +2,17 @@
* @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-1
0-22 14:38:34
* @LastEditTime: 2019-1
1-04 14:34:16
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
-->
-->
<
template
>
<
template
>
<div
class=
"tab-style"
>
<div
class=
"tab-style"
>
<
div
:class=
"
{'tab-content-bg':tabNum == 0}" class="tab-content
" @click="tabNum = 0;sendTabNum()">
<img
:src=
"tabNum == 0?baseInfo:unBaseInfo"
><span
<
a
:class=
"
{'tab-content-bg':tabNum == 0}" class="tab-content" href="#baseInfo
" @click="tabNum = 0;sendTabNum()">
<img
:src=
"tabNum == 0?baseInfo:unBaseInfo"
><span
:class=
"
{'colored':tabNum == 0}">基本信息
</span></
div
>
:class=
"
{'colored':tabNum == 0}">基本信息
</span></
a
>
<
div
:class=
"
{'tab-content-bg':tabNum == 1}" class="tab-content
" @click="tabNum = 1;sendTabNum()">
<img
:src=
"tabNum == 1?detail:unDetail"
><span
<
a
:class=
"
{'tab-content-bg':tabNum == 1}" class="tab-content" href="#prodetail
" @click="tabNum = 1;sendTabNum()">
<img
:src=
"tabNum == 1?detail:unDetail"
><span
:class=
"
{'colored':tabNum == 1}">商品详情
</span></
div
>
:class=
"
{'colored':tabNum == 1}">商品详情
</span></
a
>
<
div
:class=
"
{'tab-content-bg':tabNum == 2}" class="tab-content
" @click="tabNum = 2;sendTabNum()">
<img
:src=
"tabNum == 2?config:unConfig"
><span
<
a
:class=
"
{'tab-content-bg':tabNum == 2}" class="tab-content" href="#procfg
" @click="tabNum = 2;sendTabNum()">
<img
:src=
"tabNum == 2?config:unConfig"
><span
:class=
"
{'colored':tabNum == 2}">产品配置
</span></
div
>
:class=
"
{'colored':tabNum == 2}">产品配置
</span></
a
>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
...
...
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