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
64ba09a1
Commit
64ba09a1
authored
Dec 19, 2019
by
786817560
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'12/19'
parent
8efae4f3
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
192 additions
and
53 deletions
+192
-53
contract-create-list.vue
src/pages/contractCreate/contract-create-list.vue
+4
-4
pick-lessee.vue
src/pages/contractCreate/pick-lessee.vue
+20
-2
sales-info.vue
src/pages/contractCreate/sales-info.vue
+121
-4
my-info.vue
src/pages/myInfo/my-info.vue
+2
-1
bankInfo.vue
src/pages/userBindNew/org/bankInfo.vue
+45
-42
No files found.
src/pages/contractCreate/contract-create-list.vue
View file @
64ba09a1
<!--
<!--
* @Author: your name
* @Author: your name
* @Date: 2019-09-29 10:02:11
* @Date: 2019-09-29 10:02:11
* @LastEditTime: 2019-12-19 1
0:23:09
* @LastEditTime: 2019-12-19 1
4:28:00
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @Description: In User Settings Edit
-->
-->
...
@@ -68,9 +68,9 @@ export default {
...
@@ -68,9 +68,9 @@ export default {
uncheck2
:
unCheck2
,
uncheck2
:
unCheck2
,
searchInput
:
''
,
// 搜索内容
searchInput
:
''
,
// 搜索内容
showLists
:
[
showLists
:
[
{
project_number
:
'201903022001'
,
bp_name
:
'
zhangsan
'
,
total_price
:
'1000000'
,
confirm_start_date
:
'2019-12-18'
},
{
project_number
:
'201903022001'
,
bp_name
:
'
张三
'
,
total_price
:
'1000000'
,
confirm_start_date
:
'2019-12-18'
},
{
project_number
:
'201903022001'
,
bp_name
:
'
zhangsan
'
,
total_price
:
'1000000'
,
confirm_start_date
:
'2019-12-18'
},
{
project_number
:
'201903022001'
,
bp_name
:
'
张三
'
,
total_price
:
'1000000'
,
confirm_start_date
:
'2019-12-18'
},
{
project_number
:
'201903022001'
,
bp_name
:
'
zhangsan
'
,
total_price
:
'1000000'
,
confirm_start_date
:
'2019-12-18'
},
{
project_number
:
'201903022001'
,
bp_name
:
'
张三
'
,
total_price
:
'1000000'
,
confirm_start_date
:
'2019-12-18'
},
],
],
}
}
},
},
...
...
src/pages/contractCreate/pick-lessee.vue
View file @
64ba09a1
<!--
<!--
* @Author: your name
* @Author: your name
* @Date: 2019-12-18 20:15:42
* @Date: 2019-12-18 20:15:42
* @LastEditTime: 2019-12-19 1
0:09:43
* @LastEditTime: 2019-12-19 1
5:54:45
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @Description: In User Settings Edit
* @FilePath: \hls-xcmg-vue-app\src\pages\contractCreate\pick-lessee.vue
* @FilePath: \hls-xcmg-vue-app\src\pages\contractCreate\pick-lessee.vue
...
@@ -60,8 +60,26 @@ export default {
...
@@ -60,8 +60,26 @@ export default {
},
},
computed
:
{},
computed
:
{},
watch
:
{},
watch
:
{},
beforeRouteEnter
(
to
,
from
,
next
)
{
next
(
vm
=>
{
vm
.
lesseeQuery
()
})
},
methods
:
{
methods
:
{
// 承租人查询
lesseeQuery
()
{
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'prj_bp_master_query'
let
param
=
{
}
vm
.
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
console
.
log
(
'承租人'
,
res
)
if
(
res
.
result
===
'S'
)
{
// vm.certification_status = res.info.certification_status
}
})
},
},
},
}
}
</
script
>
</
script
>
...
...
src/pages/contractCreate/sales-info.vue
View file @
64ba09a1
<!--
<!--
* @Author: your name
* @Author: your name
* @Date: 2019-09-29 10:02:11
* @Date: 2019-09-29 10:02:11
* @LastEditTime: 2019-12-19
09:35:51
* @LastEditTime: 2019-12-19
16:06:34
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @Description: In User Settings Edit
-->
-->
...
@@ -21,7 +21,13 @@
...
@@ -21,7 +21,13 @@
</item>
</item>
<item
:showArrow=
"true"
>
<item
:showArrow=
"true"
>
<div
slot=
"name"
class=
"font-color"
>
业务类型
</div>
<div
slot=
"name"
class=
"font-color"
>
业务类型
</div>
<input
slot=
"content"
placeholder=
"请选择"
>
<input
slot=
"content"
type=
"text"
readonly
placeholder=
"请选择"
@
click=
"selectBusiness"
>
</item>
</item>
<item>
<item>
<div
slot=
"name"
class=
"font-color"
>
经销商
</div>
<div
slot=
"name"
class=
"font-color"
>
经销商
</div>
...
@@ -124,7 +130,12 @@ export default {
...
@@ -124,7 +130,12 @@ export default {
},
},
beforeRouteEnter
(
to
,
from
,
next
)
{
beforeRouteEnter
(
to
,
from
,
next
)
{
next
(
vm
=>
{
next
(
vm
=>
{
vm
.
businessQuery
()
vm
.
agentQuery
()
vm
.
factoryQuery
()
vm
.
salesQuery
()
vm
.
officeQuery
()
vm
.
creditQuery
()
})
})
},
},
methods
:
{
methods
:
{
...
@@ -139,6 +150,112 @@ export default {
...
@@ -139,6 +150,112 @@ export default {
},
},
})
})
},
},
// 业务类型查询
businessQuery
()
{
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'prj_business_type'
let
param
=
{
}
vm
.
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
console
.
log
(
'业务类型'
,
res
)
if
(
res
.
result
===
'S'
)
{
// vm.certification_status = res.info.certification_status
}
})
},
// 业务类型选择
selectBusiness
()
{
let
vm
=
this
vm
.
hlsPopup
.
selectList
({
// list: vm.taxpayerList,
// code: 'bp_type',
// object: {},
// returnItem: function (index, obj) {
// vm.invoiceInfo.taxpayer_type = obj.bp_type
// vm.invoiceInfo.taxpayer_type_n = obj.bp_type_n
// console.log('obj', vm.invoiceInfo)
// },
})
},
// 经销商查询
agentQuery
()
{
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'prj_bp_agent_query'
let
param
=
{
user_phone
:
window
.
localStorage
.
user_phone
,
}
vm
.
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
console
.
log
(
'经销商'
,
res
)
if
(
res
.
result
===
'S'
)
{
// vm.certification_status = res.info.certification_status
}
})
},
// 主机厂查询
factoryQuery
()
{
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'prj_factory_list'
let
param
=
{
}
vm
.
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
console
.
log
(
'主机厂'
,
res
)
if
(
res
.
result
===
'S'
)
{
// vm.certification_status = res.info.certification_status
}
})
},
// 销售人员查询
salesQuery
()
{
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'prj_bp_agent_user'
let
param
=
{
bp_agent_id
:
'7781'
,
}
vm
.
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
console
.
log
(
'销售人员'
,
res
)
if
(
res
.
result
===
'S'
)
{
// vm.certification_status = res.info.certification_status
}
})
},
// 办事处查询
officeQuery
()
{
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'prj_office_list'
let
param
=
{
bp_agent_id
:
'7781'
,
}
vm
.
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
console
.
log
(
'办事处'
,
res
)
if
(
res
.
result
===
'S'
)
{
// vm.certification_status = res.info.certification_status
}
})
},
// 授信额度查询
creditQuery
()
{
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'prj_agent_credit_query'
let
param
=
{
bp_agent_id
:
'7781'
,
}
vm
.
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
console
.
log
(
'授信额度查询'
,
res
)
if
(
res
.
result
===
'S'
)
{
// vm.certification_status = res.info.certification_status
}
})
},
picker
()
{
picker
()
{
this
.
$router
.
push
({
this
.
$router
.
push
({
name
:
'PickLessee'
,
name
:
'PickLessee'
,
...
@@ -153,7 +270,7 @@ export default {
...
@@ -153,7 +270,7 @@ export default {
.date-pic {
.date-pic {
height: 17px;
height: 17px;
width: 17px;
width: 17px;
margin-top: 1
3
px;
margin-top: 1
4
px;
margin-left: 6px;
margin-left: 6px;
}
}
.bottom-tab-button{
.bottom-tab-button{
...
...
src/pages/myInfo/my-info.vue
View file @
64ba09a1
<!--
<!--
* @Author: your name
* @Author: your name
* @Date: 2019-11-07 17:48:53
* @Date: 2019-11-07 17:48:53
* @LastEditTime: 2019-12-1
8 18:45:40
* @LastEditTime: 2019-12-1
9 14:49:11
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @Description: In User Settings Edit
-->
-->
...
@@ -723,6 +723,7 @@ export default {
...
@@ -723,6 +723,7 @@ export default {
window
.
localStorage
.
setItem
(
'bp_id'
,
res
.
info
.
user_bp_id
)
window
.
localStorage
.
setItem
(
'bp_id'
,
res
.
info
.
user_bp_id
)
window
.
localStorage
.
setItem
(
'user_bp_status'
,
res
.
info
.
user_bp_status
)
window
.
localStorage
.
setItem
(
'user_bp_status'
,
res
.
info
.
user_bp_status
)
window
.
localStorage
.
setItem
(
'bp_name'
,
res
.
info
.
user_bp_name
)
window
.
localStorage
.
setItem
(
'bp_name'
,
res
.
info
.
user_bp_name
)
window
.
localStorage
.
setItem
(
'bp_identity'
,
res
.
info
.
bp_identity
)
vm
.
user_bp_name
=
res
.
info
.
user_bp_name
vm
.
user_bp_name
=
res
.
info
.
user_bp_name
vm
.
user_bp_type
=
res
.
info
.
user_bp_type
vm
.
user_bp_type
=
res
.
info
.
user_bp_type
vm
.
user_phone
=
res
.
info
.
user_phone
vm
.
user_phone
=
res
.
info
.
user_phone
...
...
src/pages/userBindNew/org/bankInfo.vue
View file @
64ba09a1
...
@@ -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 21:29:35
* @Date: 2019-09-24 21:29:35
* @LastEditTime: 2019-12-19 1
2:21:38
* @LastEditTime: 2019-12-19 1
5:06:22
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
-->
-->
<
template
>
<
template
>
...
@@ -160,7 +160,11 @@ export default {
...
@@ -160,7 +160,11 @@ export default {
vm
.
certification_status
=
''
vm
.
certification_status
=
''
vm
.
getBankInfo
()
vm
.
getBankInfo
()
vm
.
electQuery
()
vm
.
electQuery
()
if
(
window
.
localStorage
.
bp_identity
===
'ORG_NO'
)
{
vm
.
getOrgCertificationUrl
()
vm
.
getOrgCertificationUrl
()
}
else
{
vm
.
getNpCertificationUrl
()
}
}
}
})
})
},
},
...
@@ -275,37 +279,31 @@ export default {
...
@@ -275,37 +279,31 @@ export default {
}
}
let
vm
=
this
let
vm
=
this
vm
.
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsPopup
.
showLoading
(
'请稍候'
)
this
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
if
(
res
.
result
===
'S'
)
{
vm
.
hlsPopup
.
showSuccess
(
'提交成功'
)
vm
.
hlsPopup
.
showSuccess
(
'提交成功'
)
if
(
vm
.
certification_status
===
'Y'
)
{
vm
.
$router
.
push
({
vm
.
$router
.
push
({
name
:
'MyInfo'
,
name
:
'MyInfo'
,
})
})
}
else
{
if
(
vm
.
authUrl
)
{
vm
.
$router
.
push
({
name
:
'Certification'
,
params
:
{
authUrl
:
vm
.
authUrl
,
},
})
}
else
{
vm
.
hlsPopup
.
showSuccess
(
vm
.
errorMsg
)
}
}
}
}
})
})
}
}
},
},
})
})
// debugger
// let vm = this
// if (vm.certification_status === 'Y') {
// vm.$router.push({
// name: 'MyInfo',
// })
// } else {
// if (vm.authUrl) {
// vm.$router.push({
// name: 'MyInfo',
// params: {
// authUrl: vm.authUrl,
// },
// })
// } else {
// vm.hlsPopup.showSuccess(vm.errorMsg)
// }
// }
// this.hlsPopup.showConfirm({
// this.hlsPopup.showConfirm({
// title: '提示',
// title: '提示',
// content: '您确认提交吗?',
// content: '您确认提交吗?',
...
@@ -320,32 +318,37 @@ export default {
...
@@ -320,32 +318,37 @@ export default {
// }
// }
// let vm = this
// let vm = this
// vm.hlsPopup.showLoading('请稍候')
// vm.hlsPopup.showLoading('请稍候')
//
vm
.hlsHttp.post(url, param).then(function (res) {
//
this
.hlsHttp.post(url, param).then(function (res) {
// vm.hlsPopup.hideLoading()
// vm.hlsPopup.hideLoading()
// if (res.result === 'S') {
// if (res.result === 'S') {
// vm.hlsPopup.showSuccess('提交成功')
// vm.hlsPopup.showSuccess('提交成功')
// if (vm.certification_status === 'Y') {
// vm.$router.push({
// vm.$router.push({
// name: 'MyInfo',
// name: 'MyInfo',
// })
// })
// } else {
// if (vm.authUrl) {
// vm.$router.push({
// name: 'MyInfo',
// params: {
// authUrl: vm.authUrl,
// },
// })
// } else {
// vm.hlsPopup.showSuccess(vm.errorMsg)
// }
// }
// }
// }
// })
// })
// }
// }
// },
// },
// })
// })
},
},
// 获取个人认证url
getNpCertificationUrl
()
{
let
vm
=
this
let
url
=
$config
.
basePath
+
'auth_user_sign'
let
param
=
{
phone
:
window
.
localStorage
.
user_phone
,
}
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
hlsPopup
.
hideLoading
()
console
.
log
(
'获取个人认证url'
,
res
)
if
(
res
.
info
.
code
===
0
)
{
vm
.
authUrl
=
res
.
info
.
data
.
authUrl
}
else
{
vm
.
errorMsg
=
res
.
info
.
msg
}
})
},
// 获取企业认证url
// 获取企业认证url
getOrgCertificationUrl
()
{
getOrgCertificationUrl
()
{
let
vm
=
this
let
vm
=
this
...
...
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