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
26084c4c
Commit
26084c4c
authored
Oct 12, 2020
by
jiacheng.mao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
合同创建BUG修复
parent
d3bf0337
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
5 deletions
+22
-5
prod.env.js
config/prod.env.js
+1
-1
uat.env.js
config/uat.env.js
+1
-1
sales-info.vue
src/pages/contractCreate/sales-info.vue
+12
-3
my-info.vue
src/pages/myInfo/my-info.vue
+8
-0
No files found.
config/prod.env.js
View file @
26084c4c
...
...
@@ -11,5 +11,5 @@ module.exports = {
ocrPath
:
'"http://www.xcmgfs.com:8087/r/api"'
,
fileUploadSvcPath
:
'"http://www.xcmgfs.com:8087/r/api/app/fileUploadSvc?sysName=XCMG_PROD&apiName="'
,
appId
:
'"com.xcmg.app"'
,
currentVersion
:
'"0.
1.9
"'
currentVersion
:
'"0.
2.0
"'
}
config/uat.env.js
View file @
26084c4c
...
...
@@ -11,5 +11,5 @@ module.exports = {
ocrPath
:
'"http://180.104.121.66:8088/r/api"'
,
fileUploadSvcPath
:
'"http://180.104.121.66:8088/r/api/app/fileUploadSvc?sysName=XCMG_UAT&apiName="'
,
appId
:
'"com.xcmg.app.dev"'
,
currentVersion
:
'"2.3.
4
"'
currentVersion
:
'"2.3.
5
"'
}
src/pages/contractCreate/sales-info.vue
View file @
26084c4c
...
...
@@ -30,10 +30,18 @@
@
click=
"selectBusiness"
>
</item>
<item>
<!--
<item>
-->
<!--
<div
slot=
"name"
class=
"font-color required"
>
经销商
</div>
-->
<!--
<input
v-if=
"(user_bp_type === 'AGENT'&&!multiple)||(multiple==='AGENT')"
slot=
"content"
v-model=
"bp_agent_name"
readonly
>
-->
<!--
<input
v-if=
"(user_bp_type === 'OFFICE'&&!multiple)||(multiple==='OFFICE')"
slot=
"content"
placeholder=
"直销"
readonly
>
-->
<!--
</item>
-->
<item
v-if=
"(user_bp_type === 'AGENT'&&!multiple)||(multiple==='AGENT')"
>
<div
slot=
"name"
class=
"font-color required"
>
经销商
</div>
<input
slot=
"content"
v-model=
"bp_agent_name"
type=
"text"
readonly
>
</item>
<item
v-if=
"(user_bp_type === 'OFFICE'&&!multiple)||(multiple==='OFFICE')"
>
<div
slot=
"name"
class=
"font-color required"
>
经销商
</div>
<input
v-if=
"(user_bp_type === 'AGENT'&&!multiple)||(multiple==='AGENT')"
slot=
"content"
v-model=
"bp_agent_name"
readonly
>
<input
v-if=
"(user_bp_type === 'OFFICE'&&!multiple)||(multiple==='OFFICE')"
slot=
"content"
placeholder=
"直销"
readonly
>
<input
slot=
"content"
placeholder=
"直销"
type=
"text"
readonly
>
</item>
<item
:showArrow=
"true"
>
<div
slot=
"name"
class=
"font-color required"
>
销售人员
</div>
...
...
@@ -320,6 +328,7 @@ export default {
return
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
console
.
log
(
'经销商'
,
res
)
debugger
if
(
res
.
result
===
'S'
)
{
vm
.
bp_agent_name
=
res
.
info
.
bp_agent_name
vm
.
bp_agent_id
=
res
.
info
.
bp_agent_id
...
...
src/pages/myInfo/my-info.vue
View file @
26084c4c
...
...
@@ -351,6 +351,7 @@ export default {
},
// 选择角色后确定
roleConfirm
(
role
)
{
debugger
this
.
roleSwitchFlag
=
false
if
(
role
.
bp_type
===
'TENANT'
)
{
window
.
localStorage
.
setItem
(
'multipleRole'
,
'TENANT'
)
...
...
@@ -951,6 +952,13 @@ export default {
vm
.
user_bp_type
=
res
.
info
.
user_bp_type
vm
.
user_phone
=
res
.
info
.
user_phone
vm
.
bp_type_n
=
res
.
info
.
user_bp_type_n
if
(
res
.
info
.
user_bp_type
===
'TENANT'
)
{
window
.
localStorage
.
setItem
(
'multipleRole'
,
'TENANT'
)
}
else
if
(
res
.
info
.
user_bp_type
===
'GUTA'
)
{
window
.
localStorage
.
setItem
(
'multipleRole'
,
'GUTA'
)
}
else
if
(
res
.
info
.
user_bp_type
===
'AGENT'
)
{
window
.
localStorage
.
setItem
(
'multipleRole'
,
'AGENT'
)
}
vm
.
watchBpStatus
()
vm
.
getHead
()
vm
.
getMultipleRole
()
...
...
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