Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx-web
/
glsx-oss-merchant-data
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit da8a7015
authored
Apr 25, 2019
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
xiugai
1 parent
9a837160
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
26 additions
and
23 deletions
src/views/customer/businessDetails/index.vue
src/views/customer/businessGroup/index.vue
src/views/customer/businessGroupDetail/index.vue
src/views/customer/businessList/AddDialog.vue
src/views/customer/businessList/SearchDialog.vue
src/views/customer/businessList/index.vue
src/views/customer/businessManagement/index.vue
src/views/customer/businessDetails/index.vue
View file @
da8a701
...
@@ -349,8 +349,7 @@ export default {
...
@@ -349,8 +349,7 @@ export default {
}).
catch
(
err
=>
{
}).
catch
(
err
=>
{
this
.
IdChange
[
0
]
=
0
this
.
IdChange
[
0
]
=
0
this
.
basicLoading
=
false
this
.
basicLoading
=
false
console
.
log
(
err
)
notice
.
errorTips
(
err
)
notice
.
errorTips
(
'查询失败'
)
})
})
},
},
assignBasicInfo
()
{
assignBasicInfo
()
{
...
@@ -381,10 +380,10 @@ export default {
...
@@ -381,10 +380,10 @@ export default {
this
.
staffTableData
.
data
=
res
.
merchantPersonals
this
.
staffTableData
.
data
=
res
.
merchantPersonals
this
.
IdChange
[
1
]
=
0
this
.
IdChange
[
1
]
=
0
this
.
staffLoading
=
false
this
.
staffLoading
=
false
}).
catch
(()
=>
{
}).
catch
((
err
)
=>
{
this
.
IdChange
[
1
]
=
0
this
.
IdChange
[
1
]
=
0
this
.
staffLoading
=
false
this
.
staffLoading
=
false
notice
.
errorTips
(
'查询失败'
)
notice
.
errorTips
(
err
)
})
})
},
},
// 分组信息
// 分组信息
...
@@ -395,10 +394,10 @@ export default {
...
@@ -395,10 +394,10 @@ export default {
this
.
groupTableData
.
data
=
res
.
merchantGroups
this
.
groupTableData
.
data
=
res
.
merchantGroups
this
.
IdChange
[
2
]
=
0
this
.
IdChange
[
2
]
=
0
this
.
groupLoading
=
false
this
.
groupLoading
=
false
}).
catch
(()
=>
{
}).
catch
((
err
)
=>
{
this
.
IdChange
[
2
]
=
0
this
.
IdChange
[
2
]
=
0
this
.
groupLoading
=
false
this
.
groupLoading
=
false
notice
.
errorTips
(
'查询失败'
)
notice
.
errorTips
(
err
)
})
})
},
},
// 分组信息-详情
// 分组信息-详情
...
@@ -409,8 +408,8 @@ export default {
...
@@ -409,8 +408,8 @@ export default {
request
.
req
(
params
).
then
(
res
=>
{
request
.
req
(
params
).
then
(
res
=>
{
res
.
parentMerchantLevel
&&
(
this
.
parentLevelTableData
.
data
=
[
res
.
parentMerchantLevel
])
res
.
parentMerchantLevel
&&
(
this
.
parentLevelTableData
.
data
=
[
res
.
parentMerchantLevel
])
res
.
childMerchantLevels
&&
(
this
.
childLevelTableData
.
data
=
res
.
childMerchantLevels
)
res
.
childMerchantLevels
&&
(
this
.
childLevelTableData
.
data
=
res
.
childMerchantLevels
)
}).
catch
(()
=>
{
}).
catch
((
err
)
=>
{
notice
.
errorTips
(
'查询失败'
)
notice
.
errorTips
(
err
)
})
})
},
},
detailVisible
()
{
detailVisible
()
{
...
...
src/views/customer/businessGroup/index.vue
View file @
da8a701
...
@@ -72,6 +72,11 @@ export default {
...
@@ -72,6 +72,11 @@ export default {
watch
:
{
watch
:
{
dialogVisible
(
val
)
{
dialogVisible
(
val
)
{
this
.
$validator
.
errors
.
clear
()
this
.
$validator
.
errors
.
clear
()
if
(
!
val
)
{
setTimeout
(()
=>
{
this
.
addParams
=
{
groupName
:
''
,
businessCode
:
''
}
},
400
)
}
}
}
},
},
data
()
{
data
()
{
...
@@ -179,7 +184,7 @@ export default {
...
@@ -179,7 +184,7 @@ export default {
})
})
.
catch
(
err
=>
{
.
catch
(
err
=>
{
this
.
tableLoading
=
false
this
.
tableLoading
=
false
console
.
log
(
err
)
notice
.
errorTips
(
err
)
})
})
},
},
getBusinessList
()
{
getBusinessList
()
{
...
@@ -192,7 +197,7 @@ export default {
...
@@ -192,7 +197,7 @@ export default {
})
})
.
catch
(
err
=>
{
.
catch
(
err
=>
{
this
.
tableLoading
=
false
this
.
tableLoading
=
false
console
.
log
(
err
)
notice
.
errorTips
(
err
)
})
})
},
},
handleSizeChange
(
val
)
{
handleSizeChange
(
val
)
{
...
@@ -228,7 +233,7 @@ export default {
...
@@ -228,7 +233,7 @@ export default {
notice
.
okTips
()
notice
.
okTips
()
this
.
dialogVisible
=
!
this
.
dialogVisible
this
.
dialogVisible
=
!
this
.
dialogVisible
})
})
.
catch
(
err
=>
console
.
log
(
err
))
.
catch
(
err
=>
notice
.
errorTips
(
err
))
},
},
// 关闭新增分组弹出框
// 关闭新增分组弹出框
handleClose
()
{
handleClose
()
{
...
...
src/views/customer/businessGroupDetail/index.vue
View file @
da8a701
...
@@ -109,6 +109,7 @@ import { groupDetailMethods, request } from '@/api'
...
@@ -109,6 +109,7 @@ import { groupDetailMethods, request } from '@/api'
import
AddBusiness
from
'./addBusiness'
import
AddBusiness
from
'./addBusiness'
import
{
resetSearch
}
from
'@/common/common'
import
{
resetSearch
}
from
'@/common/common'
import
{
CityArea
}
from
'../components'
import
{
CityArea
}
from
'../components'
import
notice
from
'@/common/notice'
export
default
{
export
default
{
name
:
'detail'
,
name
:
'detail'
,
components
:
{
components
:
{
...
@@ -252,7 +253,7 @@ export default {
...
@@ -252,7 +253,7 @@ export default {
})
})
.
catch
(
err
=>
{
.
catch
(
err
=>
{
this
.
tableLoading
=
false
this
.
tableLoading
=
false
console
.
log
(
err
)
notice
.
errorTips
(
err
)
})
})
},
},
handleSizeChange
(
val
)
{
handleSizeChange
(
val
)
{
...
@@ -276,7 +277,7 @@ export default {
...
@@ -276,7 +277,7 @@ export default {
})
})
.
catch
(
err
=>
{
.
catch
(
err
=>
{
this
.
tableLoading
=
false
this
.
tableLoading
=
false
console
.
log
(
err
)
notice
.
errorTips
(
err
)
})
})
},
},
// 打开高级搜索弹出框
// 打开高级搜索弹出框
...
...
src/views/customer/businessList/AddDialog.vue
View file @
da8a701
...
@@ -97,6 +97,7 @@
...
@@ -97,6 +97,7 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
notice
from
'@/common/notice'
import
{
CityArea
}
from
'../components'
import
{
CityArea
}
from
'../components'
import
{
businessManagenMethods
,
request
}
from
'@/api'
import
{
businessManagenMethods
,
request
}
from
'@/api'
const
isPhone
=
{
const
isPhone
=
{
...
@@ -173,7 +174,7 @@ export default {
...
@@ -173,7 +174,7 @@ export default {
request
.
req
(
params
).
then
(
res
=>
{
request
.
req
(
params
).
then
(
res
=>
{
this
.
channelList
=
res
.
merchantDictList
this
.
channelList
=
res
.
merchantDictList
}).
catch
(
err
=>
{
}).
catch
(
err
=>
{
console
.
log
(
err
)
notice
.
errorTips
(
err
)
})
})
},
},
getCityArea
(
params
)
{
getCityArea
(
params
)
{
...
...
src/views/customer/businessList/SearchDialog.vue
View file @
da8a701
...
@@ -98,6 +98,7 @@
...
@@ -98,6 +98,7 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
notice
from
'@/common/notice'
import
{
CityArea
}
from
'../components'
import
{
CityArea
}
from
'../components'
import
{
businessManagenMethods
,
request
}
from
'@/api'
import
{
businessManagenMethods
,
request
}
from
'@/api'
export
default
{
export
default
{
...
@@ -145,7 +146,7 @@ export default {
...
@@ -145,7 +146,7 @@ export default {
request
.
req
(
params
).
then
(
res
=>
{
request
.
req
(
params
).
then
(
res
=>
{
this
.
channelList
=
res
.
merchantDictList
this
.
channelList
=
res
.
merchantDictList
}).
catch
(
err
=>
{
}).
catch
(
err
=>
{
console
.
log
(
err
)
notice
.
errorTips
(
err
)
})
})
},
},
handleClose
()
{
handleClose
()
{
...
...
src/views/customer/businessList/index.vue
View file @
da8a701
...
@@ -175,8 +175,7 @@ export default {
...
@@ -175,8 +175,7 @@ export default {
resetSearch
(
this
.
merchantSearch
)
resetSearch
(
this
.
merchantSearch
)
this
.
tableLoading
=
false
this
.
tableLoading
=
false
}).
catch
(
err
=>
{
}).
catch
(
err
=>
{
console
.
log
(
err
)
notice
.
errorTips
(
err
)
notice
.
errorTips
(
'查询失败'
)
resetSearch
(
this
.
merchantSearch
)
resetSearch
(
this
.
merchantSearch
)
this
.
tableLoading
=
false
this
.
tableLoading
=
false
})
})
...
@@ -190,8 +189,7 @@ export default {
...
@@ -190,8 +189,7 @@ export default {
this
.
handleAddHide
()
this
.
handleAddHide
()
this
.
loadingGetList
()
this
.
loadingGetList
()
}).
catch
(
err
=>
{
}).
catch
(
err
=>
{
console
.
log
(
err
)
notice
.
errorTips
(
err
)
notice
.
errorTips
(
'新增失败'
)
})
})
},
},
// 接口请求-end
// 接口请求-end
...
...
src/views/customer/businessManagement/index.vue
View file @
da8a701
...
@@ -149,9 +149,8 @@ export default {
...
@@ -149,9 +149,8 @@ export default {
this
.
tableData
.
data
=
res
.
merchantDictList
this
.
tableData
.
data
=
res
.
merchantDictList
this
.
tableLoading
=
false
this
.
tableLoading
=
false
}).
catch
(
err
=>
{
}).
catch
(
err
=>
{
console
.
log
(
err
)
this
.
tableLoading
=
false
this
.
tableLoading
=
false
notice
.
errorTips
(
'查询失败'
)
notice
.
errorTips
(
err
)
})
})
},
},
businessCreate
()
{
businessCreate
()
{
...
@@ -162,8 +161,7 @@ export default {
...
@@ -162,8 +161,7 @@ export default {
this
.
showDialog
()
this
.
showDialog
()
this
.
loadingGetList
()
this
.
loadingGetList
()
}).
catch
(
err
=>
{
}).
catch
(
err
=>
{
console
.
log
(
err
)
notice
.
errorTips
(
err
)
notice
.
errorTips
(
'新增失败'
)
})
})
}
}
}
}
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment