|
|
@@ -173,26 +173,6 @@ export default {
|
|
|
},
|
|
|
changeLevel(){
|
|
|
this.$msg('开发中')
|
|
|
- let that = this
|
|
|
- let levelList = ['散客', '普店', '银店', '金店']
|
|
|
- uni.showActionSheet({
|
|
|
- itemList: levelList,
|
|
|
- success: function (respond) {
|
|
|
- let currentIndex = respond.tapIndex
|
|
|
- let levelName = levelList[currentIndex] || '';
|
|
|
-
|
|
|
- that.$util.confirmModal({content:"确认修改客户等级为"+levelName+"?"},() => {
|
|
|
- changeLevel({customId:that.option.id,level:currentIndex}).then(res => {
|
|
|
- if(res.code == 1) {
|
|
|
- that.getUserDetail()
|
|
|
- that.$msg(res.msg)
|
|
|
- }
|
|
|
- })
|
|
|
- })
|
|
|
-
|
|
|
- }
|
|
|
- })
|
|
|
-
|
|
|
},
|
|
|
navigate(latitude, longitude, address) {
|
|
|
// 将经纬度转换成Number
|