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 {
}).
catch
(
err
=>
{
this
.
IdChange
[
0
]
=
0
this
.
basicLoading
=
false
console
.
log
(
err
)
notice
.
errorTips
(
'查询失败'
)
notice
.
errorTips
(
err
)
})
},
assignBasicInfo
()
{
...
...
@@ -381,10 +380,10 @@ export default {
this
.
staffTableData
.
data
=
res
.
merchantPersonals
this
.
IdChange
[
1
]
=
0
this
.
staffLoading
=
false
}).
catch
(()
=>
{
}).
catch
((
err
)
=>
{
this
.
IdChange
[
1
]
=
0
this
.
staffLoading
=
false
notice
.
errorTips
(
'查询失败'
)
notice
.
errorTips
(
err
)
})
},
// 分组信息
...
...
@@ -395,10 +394,10 @@ export default {
this
.
groupTableData
.
data
=
res
.
merchantGroups
this
.
IdChange
[
2
]
=
0
this
.
groupLoading
=
false
}).
catch
(()
=>
{
}).
catch
((
err
)
=>
{
this
.
IdChange
[
2
]
=
0
this
.
groupLoading
=
false
notice
.
errorTips
(
'查询失败'
)
notice
.
errorTips
(
err
)
})
},
// 分组信息-详情
...
...
@@ -409,8 +408,8 @@ export default {
request
.
req
(
params
).
then
(
res
=>
{
res
.
parentMerchantLevel
&&
(
this
.
parentLevelTableData
.
data
=
[
res
.
parentMerchantLevel
])
res
.
childMerchantLevels
&&
(
this
.
childLevelTableData
.
data
=
res
.
childMerchantLevels
)
}).
catch
(()
=>
{
notice
.
errorTips
(
'查询失败'
)
}).
catch
((
err
)
=>
{
notice
.
errorTips
(
err
)
})
},
detailVisible
()
{
...
...
src/views/customer/businessGroup/index.vue
View file @
da8a701
...
...
@@ -72,6 +72,11 @@ export default {
watch
:
{
dialogVisible
(
val
)
{
this
.
$validator
.
errors
.
clear
()
if
(
!
val
)
{
setTimeout
(()
=>
{
this
.
addParams
=
{
groupName
:
''
,
businessCode
:
''
}
},
400
)
}
}
},
data
()
{
...
...
@@ -179,7 +184,7 @@ export default {
})
.
catch
(
err
=>
{
this
.
tableLoading
=
false
console
.
log
(
err
)
notice
.
errorTips
(
err
)
})
},
getBusinessList
()
{
...
...
@@ -192,7 +197,7 @@ export default {
})
.
catch
(
err
=>
{
this
.
tableLoading
=
false
console
.
log
(
err
)
notice
.
errorTips
(
err
)
})
},
handleSizeChange
(
val
)
{
...
...
@@ -228,7 +233,7 @@ export default {
notice
.
okTips
()
this
.
dialogVisible
=
!
this
.
dialogVisible
})
.
catch
(
err
=>
console
.
log
(
err
))
.
catch
(
err
=>
notice
.
errorTips
(
err
))
},
// 关闭新增分组弹出框
handleClose
()
{
...
...
src/views/customer/businessGroupDetail/index.vue
View file @
da8a701
...
...
@@ -109,6 +109,7 @@ import { groupDetailMethods, request } from '@/api'
import
AddBusiness
from
'./addBusiness'
import
{
resetSearch
}
from
'@/common/common'
import
{
CityArea
}
from
'../components'
import
notice
from
'@/common/notice'
export
default
{
name
:
'detail'
,
components
:
{
...
...
@@ -252,7 +253,7 @@ export default {
})
.
catch
(
err
=>
{
this
.
tableLoading
=
false
console
.
log
(
err
)
notice
.
errorTips
(
err
)
})
},
handleSizeChange
(
val
)
{
...
...
@@ -276,7 +277,7 @@ export default {
})
.
catch
(
err
=>
{
this
.
tableLoading
=
false
console
.
log
(
err
)
notice
.
errorTips
(
err
)
})
},
// 打开高级搜索弹出框
...
...
src/views/customer/businessList/AddDialog.vue
View file @
da8a701
...
...
@@ -97,6 +97,7 @@
</
template
>
<
script
>
import
notice
from
'@/common/notice'
import
{
CityArea
}
from
'../components'
import
{
businessManagenMethods
,
request
}
from
'@/api'
const
isPhone
=
{
...
...
@@ -173,7 +174,7 @@ export default {
request
.
req
(
params
).
then
(
res
=>
{
this
.
channelList
=
res
.
merchantDictList
}).
catch
(
err
=>
{
console
.
log
(
err
)
notice
.
errorTips
(
err
)
})
},
getCityArea
(
params
)
{
...
...
src/views/customer/businessList/SearchDialog.vue
View file @
da8a701
...
...
@@ -98,6 +98,7 @@
</
template
>
<
script
>
import
notice
from
'@/common/notice'
import
{
CityArea
}
from
'../components'
import
{
businessManagenMethods
,
request
}
from
'@/api'
export
default
{
...
...
@@ -145,7 +146,7 @@ export default {
request
.
req
(
params
).
then
(
res
=>
{
this
.
channelList
=
res
.
merchantDictList
}).
catch
(
err
=>
{
console
.
log
(
err
)
notice
.
errorTips
(
err
)
})
},
handleClose
()
{
...
...
src/views/customer/businessList/index.vue
View file @
da8a701
...
...
@@ -175,8 +175,7 @@ export default {
resetSearch
(
this
.
merchantSearch
)
this
.
tableLoading
=
false
}).
catch
(
err
=>
{
console
.
log
(
err
)
notice
.
errorTips
(
'查询失败'
)
notice
.
errorTips
(
err
)
resetSearch
(
this
.
merchantSearch
)
this
.
tableLoading
=
false
})
...
...
@@ -190,8 +189,7 @@ export default {
this
.
handleAddHide
()
this
.
loadingGetList
()
}).
catch
(
err
=>
{
console
.
log
(
err
)
notice
.
errorTips
(
'新增失败'
)
notice
.
errorTips
(
err
)
})
},
// 接口请求-end
...
...
src/views/customer/businessManagement/index.vue
View file @
da8a701
...
...
@@ -149,9 +149,8 @@ export default {
this
.
tableData
.
data
=
res
.
merchantDictList
this
.
tableLoading
=
false
}).
catch
(
err
=>
{
console
.
log
(
err
)
this
.
tableLoading
=
false
notice
.
errorTips
(
'查询失败'
)
notice
.
errorTips
(
err
)
})
},
businessCreate
()
{
...
...
@@ -162,8 +161,7 @@ export default {
this
.
showDialog
()
this
.
loadingGetList
()
}).
catch
(
err
=>
{
console
.
log
(
err
)
notice
.
errorTips
(
'新增失败'
)
notice
.
errorTips
(
err
)
})
}
}
...
...
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