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 7bf8e03a
authored
Mar 28, 2019
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
合并
2 parents
825bb511
ae9ffb1c
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
108 additions
and
54 deletions
src/api/sign.js
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/components/src/cityArea.vue
src/api/sign.js
View file @
7bf8e03
import
MD5
from
'js-md5'
import
MD5
from
'js-md5'
const
sign
=
params
=>
{
const
sign
=
params
=>
{
delete
params
.
sign
const
secret
=
'c24619ed7fef02a0ae16328146bca5f97cc6493957a2137b'
const
secret
=
'c24619ed7fef02a0ae16328146bca5f97cc6493957a2137b'
const
keys
=
Object
.
keys
(
params
).
sort
()
const
keys
=
Object
.
keys
(
params
).
sort
()
var
str
=
[]
var
str
=
[]
...
...
src/views/customer/businessDetails/index.vue
View file @
7bf8e03
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
label=
'基本信息'
label=
'基本信息'
name=
'first'
name=
'first'
>
>
<gl-col
:span=
"24"
class=
"detail-basic"
>
<gl-col
v-loading=
"IdChange[0]"
:span=
"24"
class=
"detail-basic"
>
<gl-col
<gl-col
class=
"detail-row"
class=
"detail-row"
:span=
"i.isMap? 24 : 8"
:span=
"i.isMap? 24 : 8"
...
@@ -132,6 +132,11 @@ export default {
...
@@ -132,6 +132,11 @@ export default {
return
{
return
{
tabPosition
:
'left'
,
tabPosition
:
'left'
,
merchantId
:
''
,
merchantId
:
''
,
// loading标记
// loading: [0, 0, 0],
// basicLoading: false,
// staffLoading: false,
// groupLoading: false,
// 标记merchantId是否改变
// 标记merchantId是否改变
IdChange
:
[
0
,
0
,
0
],
IdChange
:
[
0
,
0
,
0
],
activeName
:
'first'
,
activeName
:
'first'
,
...
@@ -339,6 +344,7 @@ export default {
...
@@ -339,6 +344,7 @@ export default {
this
.
IdChange
[
0
]
=
0
this
.
IdChange
[
0
]
=
0
// notice.okTips()
// notice.okTips()
}).
catch
(
err
=>
{
}).
catch
(
err
=>
{
this
.
IdChange
[
0
]
=
0
notice
.
errorTips
(
err
)
notice
.
errorTips
(
err
)
})
})
},
},
...
@@ -365,8 +371,10 @@ export default {
...
@@ -365,8 +371,10 @@ export default {
request
.
req
(
params
).
then
(
res
=>
{
request
.
req
(
params
).
then
(
res
=>
{
this
.
staffTableData
.
data
=
res
.
merchantPersonals
this
.
staffTableData
.
data
=
res
.
merchantPersonals
this
.
IdChange
[
1
]
=
0
this
.
IdChange
[
1
]
=
0
// notice.okTips()
console
.
log
(
this
.
IdChange
[
1
])
notice
.
okTips
()
}).
catch
(
err
=>
{
}).
catch
(
err
=>
{
this
.
IdChange
[
1
]
=
0
notice
.
errorTips
(
err
)
notice
.
errorTips
(
err
)
})
})
},
},
...
@@ -377,8 +385,10 @@ export default {
...
@@ -377,8 +385,10 @@ export default {
request
.
req
(
params
).
then
(
res
=>
{
request
.
req
(
params
).
then
(
res
=>
{
this
.
groupTableData
.
data
=
res
.
merchantGroups
this
.
groupTableData
.
data
=
res
.
merchantGroups
this
.
IdChange
[
2
]
=
0
this
.
IdChange
[
2
]
=
0
// notice.okTips()
console
.
log
(
this
.
IdChange
[
2
])
notice
.
okTips
()
}).
catch
(
err
=>
{
}).
catch
(
err
=>
{
this
.
IdChange
[
2
]
=
0
notice
.
errorTips
(
err
)
notice
.
errorTips
(
err
)
})
})
},
},
...
...
src/views/customer/businessGroup/index.vue
View file @
7bf8e03
...
@@ -131,12 +131,12 @@ export default {
...
@@ -131,12 +131,12 @@ export default {
},
},
{
{
label
:
'创建时间'
,
label
:
'创建时间'
,
prop
:
'createTime'
prop
:
'createTime'
,
//
formatter: cellValue => {
formatter
:
cellValue
=>
{
//
if (cellValue.createTime) {
if
(
cellValue
.
createTime
)
{
//
return new Date(cellValue.createTime).format('yyyy-MM-dd')
return
new
Date
(
cellValue
.
createTime
).
format
(
'yyyy-MM-dd'
)
//
}
}
//
}
}
}
}
],
],
// number: {
// number: {
...
@@ -176,8 +176,8 @@ export default {
...
@@ -176,8 +176,8 @@ export default {
/* 接口请求-start */
/* 接口请求-start */
getParams
()
{
getParams
()
{
const
params
=
{}
const
params
=
{}
params
.
pageCount
=
this
.
page
Num
params
.
pageCount
=
this
.
page
Size
params
.
pageSize
=
this
.
page
Size
params
.
pageSize
=
this
.
page
Num
return
params
return
params
},
},
getList
()
{
getList
()
{
...
...
src/views/customer/businessGroupDetail/index.vue
View file @
7bf8e03
...
@@ -69,7 +69,7 @@
...
@@ -69,7 +69,7 @@
</gl-option>
</gl-option>
</gl-select>
</gl-select>
</gl-form-item>
</gl-form-item>
<gl-form-item
label=
"地区:"
prop=
"area"
>
<gl-form-item
label=
"地区:"
>
<city-area
<city-area
ref=
"c"
ref=
"c"
:showCity=
"showCity"
:showCity=
"showCity"
...
@@ -105,7 +105,7 @@
...
@@ -105,7 +105,7 @@
// import { getMerchantGroupDetailList } from '@/api/index'
// import { getMerchantGroupDetailList } from '@/api/index'
// import { NoticeMixin } from '@/mixins'
// import { NoticeMixin } from '@/mixins'
// import Vue from 'vue'
// import Vue from 'vue'
import
Vue
from
'vue'
//
import Vue from 'vue'
import
{
groupDetailMethods
,
request
}
from
'@/api'
import
{
groupDetailMethods
,
request
}
from
'@/api'
import
AddBusiness
from
'./addBusiness'
import
AddBusiness
from
'./addBusiness'
import
{
resetSearch
}
from
'@/common/common'
import
{
resetSearch
}
from
'@/common/common'
...
@@ -118,7 +118,7 @@ export default {
...
@@ -118,7 +118,7 @@ export default {
},
},
watch
:
{
watch
:
{
groupId
(
val
)
{
groupId
(
val
)
{
this
.
g
etList
()
this
.
loadingG
etList
()
}
}
},
},
// mixins: [NoticeMixin],
// mixins: [NoticeMixin],
...
@@ -127,7 +127,7 @@ export default {
...
@@ -127,7 +127,7 @@ export default {
// searchCondition: {},
// searchCondition: {},
groupId
:
''
,
groupId
:
''
,
searchParams
:
{
searchParams
:
{
groupId
:
null
,
groupId
:
''
,
merchantName
:
''
,
merchantName
:
''
,
merchantId
:
''
,
merchantId
:
''
,
merchantType
:
''
,
merchantType
:
''
,
...
@@ -204,7 +204,7 @@ export default {
...
@@ -204,7 +204,7 @@ export default {
})
})
this
.
loadingGetList
()
this
.
loadingGetList
()
this
.
getMerchantType
()
this
.
getMerchantType
()
this
.
eventBus
=
new
Vue
()
this
.
eventBus
=
this
.
$root
.
eventBus
// this.$root.eventBus.$on('params', (params) => {
// this.$root.eventBus.$on('params', (params) => {
// this.searchParams.groupId = params.groupId
// this.searchParams.groupId = params.groupId
// })
// })
...
...
src/views/customer/businessList/AddDialog.vue
View file @
7bf8e03
...
@@ -152,7 +152,6 @@ export default {
...
@@ -152,7 +152,6 @@ export default {
},
},
methods
:
{
methods
:
{
handleClose
()
{
handleClose
()
{
// this.eventBus.$emit('reset')
this
.
$emit
(
'hideDialog'
)
this
.
$emit
(
'hideDialog'
)
},
},
handleComfrim
()
{
handleComfrim
()
{
...
@@ -162,7 +161,6 @@ export default {
...
@@ -162,7 +161,6 @@ export default {
]).
then
((
result
)
=>
{
]).
then
((
result
)
=>
{
if
(
result
[
0
]
&&
result
[
1
])
{
if
(
result
[
0
]
&&
result
[
1
])
{
this
.
$emit
(
'comfirmDialog'
,
this
.
areaInfo
)
this
.
$emit
(
'comfirmDialog'
,
this
.
areaInfo
)
// this.eventBus.$emit('reset')
}
}
})
})
},
},
...
@@ -177,12 +175,12 @@ export default {
...
@@ -177,12 +175,12 @@ export default {
},
},
getCityArea
(
params
)
{
getCityArea
(
params
)
{
// console.log(params)
// console.log(params)
this
.
areaInfo
.
provinceId
=
params
[
0
]
params
[
0
]
&&
(
this
.
areaInfo
.
provinceId
=
params
[
0
])
this
.
areaInfo
.
cityId
=
params
[
1
]
params
[
1
]
&&
(
this
.
areaInfo
.
cityId
=
params
[
1
])
this
.
areaInfo
.
areaId
=
params
[
2
]
params
[
2
]
&&
(
this
.
areaInfo
.
areaId
=
params
[
2
])
this
.
areaInfo
.
provinceName
=
params
[
3
]
params
[
3
]
&&
(
this
.
areaInfo
.
provinceName
=
params
[
3
])
this
.
areaInfo
.
cityName
=
params
[
4
]
params
[
4
]
&&
(
this
.
areaInfo
.
cityName
=
params
[
4
])
this
.
areaInfo
.
areaName
=
params
[
5
]
params
[
5
]
&&
(
this
.
areaInfo
.
areaName
=
params
[
5
])
}
}
}
}
}
}
...
...
src/views/customer/businessList/SearchDialog.vue
View file @
7bf8e03
...
@@ -60,7 +60,15 @@
...
@@ -60,7 +60,15 @@
style=
"width: 100%;"
style=
"width: 100%;"
v-model=
"merchantSearch.merchantChannel"
v-model=
"merchantSearch.merchantChannel"
placeholder=
"请选择渠道"
placeholder=
"请选择渠道"
></gl-select>
>
<gl-option
v-for=
"item in channelList"
:key=
"item.confId"
:label=
"item.confKey"
:value=
"item.confId"
>
</gl-option>
</gl-select>
</gl-form-item>
</gl-form-item>
</gl-col>
</gl-col>
<gl-col
:span=
"12"
>
<gl-col
:span=
"12"
>
...
@@ -79,8 +87,8 @@
...
@@ -79,8 +87,8 @@
<gl-option
<gl-option
v-for=
"(value, key) in statusItems"
v-for=
"(value, key) in statusItems"
:key=
"value"
:key=
"value"
:value=
"key"
:label=
"value"
:label=
"value"
:value=
"key"
></gl-option>
></gl-option>
</gl-select>
</gl-select>
</gl-form-item>
</gl-form-item>
...
@@ -126,13 +134,15 @@
...
@@ -126,13 +134,15 @@
<
script
>
<
script
>
import
Vue
from
'vue'
import
Vue
from
'vue'
import
{
CityArea
}
from
'../components'
import
{
CityArea
}
from
'../components'
import
{
businessManagenMethods
,
request
}
from
'@/api'
export
default
{
export
default
{
name
:
'SearchDialog'
,
name
:
'SearchDialog'
,
data
()
{
data
()
{
return
{
return
{
title
:
'高级搜索'
,
title
:
'高级搜索'
,
eventBus
:
null
,
eventBus
:
null
,
showCity
:
[
1
,
1
]
showCity
:
[
1
,
1
],
channelList
:
[]
}
}
},
},
props
:
{
props
:
{
...
@@ -150,10 +160,25 @@ export default {
...
@@ -150,10 +160,25 @@ export default {
components
:
{
components
:
{
CityArea
CityArea
},
},
watch
:
{
isVisible
(
val
)
{
val
&&
this
.
getChannelList
()
}
},
mounted
()
{
mounted
()
{
this
.
eventBus
=
new
Vue
()
this
.
eventBus
=
new
Vue
()
},
},
methods
:
{
methods
:
{
getChannelList
()
{
const
params
=
{}
params
.
method
=
businessManagenMethods
.
Channel
request
.
req
(
params
).
then
(
res
=>
{
// console.log(res)
this
.
channelList
=
res
.
merchantDictList
}).
catch
(
err
=>
{
console
.
log
(
err
)
})
},
handleClose
()
{
handleClose
()
{
this
.
eventBus
.
$emit
(
'reset'
)
this
.
eventBus
.
$emit
(
'reset'
)
this
.
$emit
(
'hideDialog'
,
true
)
this
.
$emit
(
'hideDialog'
,
true
)
...
@@ -167,8 +192,9 @@ export default {
...
@@ -167,8 +192,9 @@ export default {
this
.
$emit
(
'hideDialog'
)
this
.
$emit
(
'hideDialog'
)
},
},
getCityArea
(
params
)
{
getCityArea
(
params
)
{
this
.
merchantSearch
.
provinceId
=
params
[
0
]
console
.
log
(
params
)
this
.
merchantSearch
.
cityId
=
params
[
1
]
params
[
0
]
&&
(
this
.
merchantSearch
.
provinceId
=
params
[
0
])
params
[
1
]
&&
(
this
.
merchantSearch
.
cityId
=
params
[
1
])
}
}
}
}
}
}
...
...
src/views/customer/businessList/index.vue
View file @
7bf8e03
...
@@ -11,12 +11,13 @@
...
@@ -11,12 +11,13 @@
<gl-table
<gl-table
class=
"m-b10"
class=
"m-b10"
:table=
"ListTableData"
:table=
"ListTableData"
v-loading=
"tableLoading"
></gl-table>
></gl-table>
<gl-pagination
<gl-pagination
background
background
@
size-change=
"handleSizeChange"
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"page
Count
"
:current-page
.
sync=
"page
Num
"
:page-sizes=
"[10, 20, 30, 40]"
:page-sizes=
"[10, 20, 30, 40]"
:page-size=
"pageSize"
:page-size=
"pageSize"
layout=
"sizes, total, ->, prev, pager, next, jumper"
layout=
"sizes, total, ->, prev, pager, next, jumper"
...
@@ -45,6 +46,7 @@
...
@@ -45,6 +46,7 @@
import
SearchDialog
from
'./SearchDialog'
import
SearchDialog
from
'./SearchDialog'
import
AddDialog
from
'./AddDialog'
import
AddDialog
from
'./AddDialog'
import
{
bizMethods
,
request
}
from
'@/api'
import
{
bizMethods
,
request
}
from
'@/api'
import
{
resetSearch
}
from
'@/common/common'
import
notice
from
'@/common/notice'
import
notice
from
'@/common/notice'
export
default
{
export
default
{
name
:
'businessList'
,
name
:
'businessList'
,
...
@@ -54,6 +56,7 @@ export default {
...
@@ -54,6 +56,7 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
tableLoading
:
false
,
// 新增弹窗
// 新增弹窗
addVisible
:
false
,
addVisible
:
false
,
merchantForm
:
{
merchantForm
:
{
...
@@ -88,7 +91,7 @@ export default {
...
@@ -88,7 +91,7 @@ export default {
},
},
// 分页所需参数-start
// 分页所需参数-start
totalCount
:
10
,
totalCount
:
10
,
page
Count
:
1
,
page
Num
:
1
,
pageSize
:
10
,
pageSize
:
10
,
// 分页所需参数-end
// 分页所需参数-end
ListTableData
:
{
ListTableData
:
{
...
@@ -147,16 +150,20 @@ export default {
...
@@ -147,16 +150,20 @@ export default {
}
}
},
},
mounted
()
{
mounted
()
{
this
.
g
etList
()
this
.
loadingG
etList
()
},
},
methods
:
{
methods
:
{
// 获取页面参数
// 获取页面参数
getParams
()
{
getParams
()
{
const
params
=
this
.
$deep_clone
(
this
.
merchantSearch
)
const
params
=
this
.
$deep_clone
(
this
.
merchantSearch
)
params
.
pageSize
=
this
.
page
Size
params
.
pageSize
=
this
.
page
Num
params
.
pageCount
=
this
.
page
Count
params
.
pageCount
=
this
.
page
Size
return
params
return
params
},
},
loadingGetList
()
{
this
.
tableLoading
=
true
this
.
getList
()
},
// 接口请求-start
// 接口请求-start
getList
()
{
getList
()
{
const
params
=
this
.
getParams
()
const
params
=
this
.
getParams
()
...
@@ -165,10 +172,12 @@ export default {
...
@@ -165,10 +172,12 @@ export default {
request
.
req
(
params
).
then
(
res
=>
{
request
.
req
(
params
).
then
(
res
=>
{
this
.
ListTableData
.
data
=
res
.
merchants
this
.
ListTableData
.
data
=
res
.
merchants
this
.
totalCount
=
res
.
pagination
.
totalCount
this
.
totalCount
=
res
.
pagination
.
totalCount
this
.
reset
(
this
.
merchantSearch
)
resetSearch
(
this
.
merchantSearch
)
this
.
tableLoading
=
false
}).
catch
(
err
=>
{
}).
catch
(
err
=>
{
notice
.
errorTips
(
err
)
notice
.
errorTips
(
err
)
this
.
reset
(
this
.
merchantSearch
)
resetSearch
(
this
.
merchantSearch
)
this
.
tableLoading
=
false
})
})
},
},
saveMerchant
(
areaInfo
)
{
saveMerchant
(
areaInfo
)
{
...
@@ -177,41 +186,43 @@ export default {
...
@@ -177,41 +186,43 @@ export default {
params
.
method
=
bizMethods
.
Create
params
.
method
=
bizMethods
.
Create
request
.
req
(
params
).
then
(
res
=>
{
request
.
req
(
params
).
then
(
res
=>
{
notice
.
okTips
()
notice
.
okTips
()
this
.
reset
(
this
.
merchantForm
)
// resetSearch
(this.merchantForm)
this
.
handleAdd
()
this
.
handleAdd
Hide
()
this
.
g
etList
()
this
.
loadingG
etList
()
}).
catch
(
err
=>
{
}).
catch
(
err
=>
{
console
.
log
(
err
)
console
.
log
(
err
)
// resetSearch(this.merchantForm)
notice
.
errorTips
(
err
)
notice
.
errorTips
(
err
)
})
})
},
},
// 接口请求-end
// 接口请求-end
handleSizeChange
(
val
)
{
handleSizeChange
(
val
)
{
this
.
pageSize
=
val
this
.
pageSize
=
val
this
.
g
etList
()
this
.
loadingG
etList
()
},
},
handleCurrentChange
(
val
)
{
handleCurrentChange
(
val
)
{
this
.
pageCount
=
val
this
.
pageNum
=
val
this
.
getList
()
this
.
loadingGetList
()
},
reset
(
params
)
{
for
(
var
item
in
params
)
{
params
[
item
]
=
''
}
},
},
// reset(params) {
// for (var item in params) {
// params[item] = ''
// }
// },
// 搜索-start--------
// 搜索-start--------
handleSearch
()
{
handleSearch
()
{
this
.
searchVisible
=
!
this
.
searchVisible
this
.
searchVisible
=
!
this
.
searchVisible
},
},
// 隐藏/重置
// 隐藏/重置
handleSearchHide
(
hide
)
{
handleSearchHide
(
hide
)
{
this
.
reset
(
this
.
merchantSearch
)
resetSearch
(
this
.
merchantSearch
)
hide
&&
this
.
handleSearch
()
hide
&&
this
.
handleSearch
()
console
.
log
(
this
.
merchantSearch
)
},
},
// 搜索
// 搜索
handleSearchComfirm
()
{
handleSearchComfirm
()
{
this
.
handleSearch
()
this
.
handleSearch
()
this
.
g
etList
()
this
.
loadingG
etList
()
},
},
// 搜索-end--------
// 搜索-end--------
// 新增
// 新增
...
@@ -220,10 +231,9 @@ export default {
...
@@ -220,10 +231,9 @@ export default {
},
},
handleAddHide
()
{
handleAddHide
()
{
this
.
handleAdd
()
this
.
handleAdd
()
this
.
reset
(
this
.
merchantForm
)
resetSearch
(
this
.
merchantForm
)
},
},
handleAddComfirm
(
areaInfo
)
{
handleAddComfirm
(
areaInfo
)
{
// this.handleAdd()
this
.
saveMerchant
(
areaInfo
)
this
.
saveMerchant
(
areaInfo
)
}
}
}
}
...
...
src/views/customer/businessManagement/index.vue
View file @
7bf8e03
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
@
click=
"add"
@
click=
"add"
>
新增商户
</gl-button>
-->
>
新增商户
</gl-button>
-->
</div>
</div>
<gl-table
:table=
"tableData"
></gl-table>
<gl-table
v-loading=
"tableLoading"
:table=
"tableData"
></gl-table>
<gl-dialog
<gl-dialog
title=
"新增业务"
title=
"新增业务"
:visible
.
sync=
"dialogFormVisible"
:visible
.
sync=
"dialogFormVisible"
...
@@ -69,13 +69,14 @@
...
@@ -69,13 +69,14 @@
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
Vue
from
'vue'
//
import Vue from 'vue'
import
notice
from
'@/common/notice'
import
notice
from
'@/common/notice'
import
{
businessManagenMethods
,
request
}
from
'@/api'
import
{
businessManagenMethods
,
request
}
from
'@/api'
export
default
{
export
default
{
name
:
'BusinessManagement'
,
name
:
'BusinessManagement'
,
data
()
{
data
()
{
return
{
return
{
tableLoading
:
false
,
tableData
:
{
tableData
:
{
border
:
true
,
border
:
true
,
stripe
:
true
,
stripe
:
true
,
...
@@ -120,9 +121,13 @@ export default {
...
@@ -120,9 +121,13 @@ export default {
}
}
},
},
mounted
()
{
mounted
()
{
this
.
g
etList
()
this
.
loadingG
etList
()
},
},
methods
:
{
methods
:
{
loadingGetList
()
{
this
.
tableLoading
=
true
this
.
getList
()
},
// 显示隐藏弹窗
// 显示隐藏弹窗
showDialog
()
{
showDialog
()
{
this
.
dialogFormVisible
=
!
this
.
dialogFormVisible
this
.
dialogFormVisible
=
!
this
.
dialogFormVisible
...
@@ -142,7 +147,9 @@ export default {
...
@@ -142,7 +147,9 @@ export default {
request
.
req
(
params
).
then
(
res
=>
{
request
.
req
(
params
).
then
(
res
=>
{
// console.log(res)
// console.log(res)
this
.
tableData
.
data
=
res
.
merchantDictList
this
.
tableData
.
data
=
res
.
merchantDictList
this
.
tableLoading
=
false
}).
catch
(
err
=>
{
}).
catch
(
err
=>
{
this
.
tableLoading
=
false
notice
.
errorTips
(
err
)
notice
.
errorTips
(
err
)
})
})
},
},
...
@@ -154,6 +161,7 @@ export default {
...
@@ -154,6 +161,7 @@ export default {
request
.
req
(
params
).
then
(
res
=>
{
request
.
req
(
params
).
then
(
res
=>
{
notice
.
okTips
()
notice
.
okTips
()
this
.
showDialog
()
this
.
showDialog
()
this
.
loadingGetList
()
}).
catch
(
err
=>
{
}).
catch
(
err
=>
{
notice
.
errorTips
(
err
)
notice
.
errorTips
(
err
)
})
})
...
...
src/views/customer/components/src/cityArea.vue
View file @
7bf8e03
...
@@ -135,6 +135,7 @@ export default {
...
@@ -135,6 +135,7 @@ export default {
this
.
city
=
''
this
.
city
=
''
this
.
area
=
''
this
.
area
=
''
this
.
mutIndex
=
[]
this
.
mutIndex
=
[]
this
.
namesArr
=
[]
clearTimeout
(
timer
)
clearTimeout
(
timer
)
const
timer
=
setTimeout
(()
=>
{
const
timer
=
setTimeout
(()
=>
{
this
.
$validator
.
errors
.
clear
()
this
.
$validator
.
errors
.
clear
()
...
...
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