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
bde620c3
Commit
bde620c3
authored
Oct 22, 2019
by
786817560
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'ren' into develop
parents
d0d3984b
664da302
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
65 additions
and
15 deletions
+65
-15
contract-detail.vue
src/pages/contractSigning/contract-detail.vue
+13
-2
financ-details.vue
src/pages/distributorSign/financ-details.vue
+2
-2
product-detailed.vue
src/pages/productQuery/product-detailed.vue
+23
-2
product-list.vue
src/pages/productQuery/product-list.vue
+8
-2
query-home.vue
src/pages/productQuery/query-home.vue
+5
-4
tab.vue
src/pages/productQuery/tab.vue
+13
-2
index.js
src/router/index.js
+1
-1
No files found.
src/pages/contractSigning/contract-detail.vue
View file @
bde620c3
<!--
<!--
* @Author: your name
* @Author: your name
* @Date: 2019-09-29 10:02:11
* @Date: 2019-09-29 10:02:11
* @LastEditTime: 2019-10-22
09:43:48
* @LastEditTime: 2019-10-22
13:33:30
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @Description: In User Settings Edit
-->
-->
...
@@ -78,7 +78,7 @@
...
@@ -78,7 +78,7 @@
</item>
</item>
</list-item>
</list-item>
<div
class=
"repay-plan"
>
<div
class=
"repay-plan"
>
<p>
查看还款计划
</p>
<p
@
click=
"repayPlan"
>
查看还款计划
</p>
</div>
</div>
<div
class=
"equipment-list"
>
设备清单
</div>
<div
class=
"equipment-list"
>
设备清单
</div>
<list-item
:item-height=
"44"
class=
"second-part"
>
<list-item
:item-height=
"44"
class=
"second-part"
>
...
@@ -171,6 +171,7 @@ export default {
...
@@ -171,6 +171,7 @@ export default {
return
{
return
{
isshow
:
false
,
// 提示框的显示与隐藏
isshow
:
false
,
// 提示框的显示与隐藏
num
:
0
,
num
:
0
,
project_id
:
''
,
conditionInfo
:
{},
conditionInfo
:
{},
check1
:
Check1
,
check1
:
Check1
,
check2
:
Check2
,
check2
:
Check2
,
...
@@ -183,6 +184,7 @@ export default {
...
@@ -183,6 +184,7 @@ export default {
beforeRouteEnter
(
to
,
from
,
next
)
{
beforeRouteEnter
(
to
,
from
,
next
)
{
if
(
from
.
name
===
'ContractSigning'
)
{
if
(
from
.
name
===
'ContractSigning'
)
{
next
(
vm
=>
{
next
(
vm
=>
{
vm
.
project_id
=
vm
.
$route
.
params
.
project_id
vm
.
conditionQuery
()
vm
.
conditionQuery
()
})
})
}
}
...
@@ -205,6 +207,15 @@ export default {
...
@@ -205,6 +207,15 @@ export default {
}
}
})
})
},
},
// 还款计划
repayPlan
()
{
this
.
$router
.
push
({
name
:
'FinancDetails'
,
params
:
{
project_id
:
this
.
project_id
,
},
})
},
// 跳转合同详情
// 跳转合同详情
goContractContent
(
name
)
{
goContractContent
(
name
)
{
this
.
$router
.
push
({
this
.
$router
.
push
({
...
...
src/pages/distributorSign/financ-details.vue
View file @
bde620c3
...
@@ -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-27 18:07:12
* @Date: 2019-09-27 18:07:12
* @LastEditTime: 2019-10-
10 11:55:05
* @LastEditTime: 2019-10-
22 13:38:33
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
-->
-->
<
template
>
<
template
>
...
@@ -166,7 +166,7 @@ export default {
...
@@ -166,7 +166,7 @@ export default {
}
}
.top {
.top {
width: 100%;
width: 100%;
height: 2
5
0px;
height: 2
6
0px;
background: url("../../assets/intoApproval/backtop.png") no-repeat;
background: url("../../assets/intoApproval/backtop.png") no-repeat;
background-size: 100% 285px;
background-size: 100% 285px;
.top-detail {
.top-detail {
...
...
src/pages/productQuery/product-detailed.vue
View file @
bde620c3
...
@@ -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-22 1
0:28:25
* @LastEditTime: 2019-10-22 1
6:31:22
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
-->
-->
<
template
>
<
template
>
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
<span>
产品明细
</span>
<span>
产品明细
</span>
</div>
</div>
</h-header>
</h-header>
<Tab
@
getTabNum=
"getTabNum"
/>
<Tab
:tabNums=
"tabNum"
@
getTabNum=
"getTabNum"
/>
<!-- 基本信息 -->
<!-- 基本信息 -->
<h-content
v-if=
"tabNum === 0"
>
<h-content
v-if=
"tabNum === 0"
>
<list-item
:item-height=
"44"
class=
"second-part"
>
<list-item
:item-height=
"44"
class=
"second-part"
>
...
@@ -77,6 +77,10 @@
...
@@ -77,6 +77,10 @@
<span
slot=
"content"
>
{{
detailInfo
.
factory_bp_name
}}
</span>
<span
slot=
"content"
>
{{
detailInfo
.
factory_bp_name
}}
</span>
</item>
</item>
</list-item>
</list-item>
<div
v-for=
"item in picLists"
:key=
"item.product_attachment_id"
class=
"proPic"
>
<img
:src=
"item.url"
alt=
""
>
</div>
</h-content>
</h-content>
<!-- 产品配置 -->
<!-- 产品配置 -->
<h-content
v-if=
"tabNum === 2"
>
<h-content
v-if=
"tabNum === 2"
>
...
@@ -114,6 +118,7 @@ export default {
...
@@ -114,6 +118,7 @@ export default {
return
{
return
{
text
:
''
,
text
:
''
,
tabNum
:
0
,
tabNum
:
0
,
picLists
:
[],
baseInfo
:
{},
baseInfo
:
{},
show_text
:
''
,
show_text
:
''
,
confgInfo
:
{},
confgInfo
:
{},
...
@@ -128,6 +133,7 @@ export default {
...
@@ -128,6 +133,7 @@ export default {
beforeRouteEnter
(
to
,
from
,
next
)
{
beforeRouteEnter
(
to
,
from
,
next
)
{
if
(
from
.
name
===
'ProductList'
)
{
if
(
from
.
name
===
'ProductList'
)
{
next
(
vm
=>
{
next
(
vm
=>
{
vm
.
tabNum
=
0
vm
.
product_id
=
vm
.
$route
.
params
.
product_id
vm
.
product_id
=
vm
.
$route
.
params
.
product_id
vm
.
baseMsg
()
vm
.
baseMsg
()
vm
.
detailMsg
()
vm
.
detailMsg
()
...
@@ -176,6 +182,7 @@ export default {
...
@@ -176,6 +182,7 @@ export default {
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
console
.
log
(
'取消收藏。。。。。。。。'
,
res
)
console
.
log
(
'取消收藏。。。。。。。。'
,
res
)
if
(
res
.
result
===
'S'
)
{
if
(
res
.
result
===
'S'
)
{
window
.
sessionStorage
.
setItem
(
'collect_status'
,
'N'
)
vm
.
show_text
=
'取消成功'
vm
.
show_text
=
'取消成功'
vm
.
collect_flag
=
true
vm
.
collect_flag
=
true
vm
.
src
=
require
(
'@/assets/productQuery/collect.png'
)
vm
.
src
=
require
(
'@/assets/productQuery/collect.png'
)
...
@@ -203,6 +210,7 @@ export default {
...
@@ -203,6 +210,7 @@ export default {
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
console
.
log
(
'收藏'
,
res
)
console
.
log
(
'收藏'
,
res
)
if
(
res
.
result
===
'S'
)
{
if
(
res
.
result
===
'S'
)
{
window
.
sessionStorage
.
setItem
(
'collect_status'
,
'Y'
)
vm
.
src
=
require
(
'@/assets/productQuery/coll-success.png'
)
vm
.
src
=
require
(
'@/assets/productQuery/coll-success.png'
)
setTimeout
(()
=>
{
setTimeout
(()
=>
{
vm
.
text
=
'取消收藏'
vm
.
text
=
'取消收藏'
...
@@ -241,6 +249,12 @@ export default {
...
@@ -241,6 +249,12 @@ export default {
console
.
log
(
'产品详情'
,
res
)
console
.
log
(
'产品详情'
,
res
)
if
(
res
.
result
===
'S'
)
{
if
(
res
.
result
===
'S'
)
{
vm
.
detailInfo
=
res
.
info
vm
.
detailInfo
=
res
.
info
// vm.picLists = res.lists
res
.
lists
.
forEach
(
item
=>
{
item
[
'url'
]
=
process
.
env
.
filePath
+
'attachment_id='
+
item
.
product_attachment_id
+
'&access_token='
+
window
.
localStorage
.
access_token
})
vm
.
picLists
=
res
.
lists
console
.
log
(
'。。。。。。。。。。。。。。。'
,
res
.
lists
)
}
else
{
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
hlsPopup
.
showLongCenter
(
res
.
message
)
}
}
...
@@ -378,5 +392,12 @@ export default {
...
@@ -378,5 +392,12 @@ export default {
margin-left: -4px;
margin-left: -4px;
}
}
}
}
.proPic {
width: 100%;
img {
width: 94%;
margin-left: 10px
}
}
}
}
</
style
>
</
style
>
src/pages/productQuery/product-list.vue
View file @
bde620c3
...
@@ -58,11 +58,16 @@ export default {
...
@@ -58,11 +58,16 @@ export default {
beforeRouteEnter
(
to
,
from
,
next
)
{
beforeRouteEnter
(
to
,
from
,
next
)
{
if
(
from
.
name
===
'QueryHome'
)
{
if
(
from
.
name
===
'QueryHome'
)
{
next
(
vm
=>
{
next
(
vm
=>
{
vm
.
proQuery
()
// vm.proQuery()
// vm.division = vm.$route.params.division
})
})
}
}
// this.proQuery()
next
()
next
()
},
},
activated
()
{
this
.
proQuery
()
},
methods
:
methods
:
{
{
// 根据产品线查询列表
// 根据产品线查询列表
...
@@ -70,7 +75,8 @@ export default {
...
@@ -70,7 +75,8 @@ export default {
let
vm
=
this
let
vm
=
this
let
url
=
$config
.
basePath
+
'prd_product_list'
let
url
=
$config
.
basePath
+
'prd_product_list'
let
param
=
{
let
param
=
{
division
:
vm
.
$route
.
params
.
division
,
division
:
window
.
sessionStorage
.
division
,
user_phone
:
window
.
localStorage
.
user_phone
,
}
}
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
console
.
log
(
res
)
console
.
log
(
res
)
...
...
src/pages/productQuery/query-home.vue
View file @
bde620c3
...
@@ -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-2
1 16:41:10
* @LastEditTime: 2019-10-2
2 15:14:27
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
-->
-->
<
template
>
<
template
>
...
@@ -85,11 +85,12 @@ export default {
...
@@ -85,11 +85,12 @@ export default {
},
},
// 跳列表 val = 产品线
// 跳列表 val = 产品线
goLists
(
val
)
{
goLists
(
val
)
{
window
.
sessionStorage
.
setItem
(
'division'
,
val
)
this
.
$router
.
push
({
this
.
$router
.
push
({
name
:
'ProductList'
,
name
:
'ProductList'
,
params
:
{
//
params: {
division
:
val
,
//
division: val,
},
//
},
})
})
},
},
...
...
src/pages/productQuery/tab.vue
View file @
bde620c3
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @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-
17 10:55:2
4
* @LastEditTime: 2019-10-
22 14:38:3
4
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
-->
-->
<
template
>
<
template
>
...
@@ -23,9 +23,15 @@ import unDetail from '@/assets/productQuery/unDetail.png'
...
@@ -23,9 +23,15 @@ import unDetail from '@/assets/productQuery/unDetail.png'
import
config
from
'@/assets/productQuery/config.png'
import
config
from
'@/assets/productQuery/config.png'
import
unConfig
from
'@/assets/productQuery/unConfig.png'
import
unConfig
from
'@/assets/productQuery/unConfig.png'
export
default
{
export
default
{
props
:
{
tabNums
:
{
type
:
Number
,
default
:
0
,
},
},
data
()
{
data
()
{
return
{
return
{
tabNum
:
0
,
tabNum
:
this
.
tabNums
,
baseInfo
:
baseInfo
,
baseInfo
:
baseInfo
,
unBaseInfo
:
unBaseInfo
,
unBaseInfo
:
unBaseInfo
,
detail
:
detail
,
detail
:
detail
,
...
@@ -34,6 +40,11 @@ export default {
...
@@ -34,6 +40,11 @@ export default {
unConfig
:
unConfig
,
unConfig
:
unConfig
,
}
}
},
},
watch
:
{
tabNums
()
{
this
.
tabNum
=
this
.
tabNums
},
},
methods
:
{
methods
:
{
sendTabNum
()
{
sendTabNum
()
{
this
.
$emit
(
'getTabNum'
,
this
.
tabNum
)
this
.
$emit
(
'getTabNum'
,
this
.
tabNum
)
...
...
src/router/index.js
View file @
bde620c3
...
@@ -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-
18 10:14:00
* @LastEditTime: 2019-10-
22 14:52:22
* @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