|
|
|
@ -17,7 +17,7 @@ |
|
|
|
|
<view class="mart10 fcor666 padleft15 font14" v-else>创建: {{item.createTime | timeFormat('yyyy-mm-dd')}} |
|
|
|
|
{{item.createTime | timeFormat('hh:mm')}} |
|
|
|
|
</view> |
|
|
|
|
<button class="btns" @click="unbindStore(item.id)">解除绑定</button> |
|
|
|
|
<button class="btns" @click="qrcodeunbindStore(item.id)">解除绑定</button> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
</template> |
|
|
|
@ -26,7 +26,7 @@ |
|
|
|
|
import { |
|
|
|
|
getSalesmanQrCodeList, |
|
|
|
|
getStoreQrCodeList, |
|
|
|
|
unbindStore |
|
|
|
|
qrcodeunbindStore |
|
|
|
|
} from '../../../Utils/Api.js'; |
|
|
|
|
let app = getApp(); |
|
|
|
|
export default { |
|
|
|
@ -136,7 +136,7 @@ |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
//解除绑定设备 |
|
|
|
|
unbindStore(item) { |
|
|
|
|
qrcodeunbindStore(item) { |
|
|
|
|
let that = this; |
|
|
|
|
uni.showModal({ |
|
|
|
|
title: '解绑二维码', |
|
|
|
@ -150,7 +150,7 @@ |
|
|
|
|
"qrCodeId": item, |
|
|
|
|
"storeId": that.storeId |
|
|
|
|
} |
|
|
|
|
unbindStore(params).then(res => { |
|
|
|
|
qrcodeunbindStore(params).then(res => { |
|
|
|
|
uni.hideLoading(); |
|
|
|
|
if (res.return_code == '000000') { |
|
|
|
|
uni.showToast({ |
|
|
|
|