Commit 831c6968 authored by Damon's avatar Damon

merge

parents e07aeb57 652548b9
...@@ -99,7 +99,16 @@ ...@@ -99,7 +99,16 @@
return { return {
timeout: false, timeout: false,
timestamp: 0, timestamp: 0,
orderType: 0 /** orderType
0 待接单、
1 待预约、
2 待签到、
3 待完工、
4 审核中、
5 异常单、
6 已完工
*/
orderType: 0
}; };
}, },
computed: { computed: {
...@@ -124,7 +133,7 @@ ...@@ -124,7 +133,7 @@
return this.buttonStyles[2] return this.buttonStyles[2]
} }
}, },
showCountTime() { showCountTime() { // ((待预约、 待签到、 待完工) || (待接单 && 业务类型非抢单)) && 有超过时间点
return ([1, 2, 3].indexOf(this.orderType) != -1 || (this.orderType == 0 && this.orderData return ([1, 2, 3].indexOf(this.orderType) != -1 || (this.orderType == 0 && this.orderData
.orderBusinessType != 'R')) && this.orderData.currentOverTime .orderBusinessType != 'R')) && this.orderData.currentOverTime
}, },
......
...@@ -6,6 +6,10 @@ ...@@ -6,6 +6,10 @@
"versionCode" : "100", "versionCode" : "100",
"transformPx" : false, "transformPx" : false,
"app-plus" : { "app-plus" : {
"optimization": {
"subPackages": true
},
"runmode" : "liberate", // 开启分包优化后,必须配置资源释放模式
/* 5+App特有相关 */ /* 5+App特有相关 */
"usingComponents" : true, "usingComponents" : true,
"splashscreen" : { "splashscreen" : {
......
This diff is collapsed.
This diff is collapsed.
<template> <template>
<view> <view>
<u-navbar v-if="!takeStatus" :is-back="false" :title-size="26" title-color="#000" title="我的"></u-navbar> <u-navbar v-if="!takeStatus" :is-back="false" :title-size="26" title-color="#000" title="我的"></u-navbar>
<view v-if="!takeStatus"> <view v-if="!takeStatus">
<view class="u-flex user-box u-p-l-30 u-p-r-20 u-p-b-30"> <view class="u-flex user-box u-p-l-30 u-p-r-20 u-p-b-30">
<view class="u-m-r-10"> <view class="u-m-r-10">
<u-avatar :src="pic" size="140"></u-avatar> <u-avatar :src="pic" size="140"></u-avatar>
</view> </view>
<view class="u-flex-1"> <view class="u-flex-1">
<view class="u-font-18 u-p-b-20">uView ui</view> <view class="u-font-18 u-p-b-20">uView ui</view>
<view class="u-font-14 u-tips-color">微信号:helang_uView</view> <view class="u-font-14 u-tips-color">微信号:helang_uView</view>
</view> </view>
</view> </view>
<view class="u-m-t-20"> <view class="u-m-t-20">
<u-cell-group> <u-cell-group>
<u-cell-item v-for="(item, index) in items" :title="item.title" :value="item.value" :key="index"> <u-cell-item v-for="(item, index) in items" :title="item.title" :value="item.value" :key="index">
<u-icon slot="icon" size="32" name="search"></u-icon> <u-icon slot="icon" size="32" name="search"></u-icon>
</u-cell-item> </u-cell-item>
</u-cell-group> </u-cell-group>
</view> </view>
<view class="u-m-t-20"> <view class="u-m-t-20">
<u-cell-group> <u-cell-group>
<u-cell-item icon="setting" title="设置"></u-cell-item> <u-cell-item icon="setting" title="设置"></u-cell-item>
</u-cell-group> </u-cell-group>
</view> </view>
<view class="u-m-t-20" @click="take"> <view class="u-m-t-20" @click="take">
<u-cell-group> <u-cell-group>
<u-cell-item icon="setting" title="相机组件测试"></u-cell-item> <u-cell-item icon="setting" title="相机组件测试"></u-cell-item>
</u-cell-group> </u-cell-group>
</view> </view>
</view> </view>
<take-photo v-if="takeStatus" :currentItem="testData" @close="closeTake"></take-photo> <take-photo v-if="takeStatus" :currentItem="testData" @close="closeTake"></take-photo>
</view> </view>
</template> </template>
<script> <script>
import takePhoto from '@/components/take/index.vue' import takePhoto from '@/components/take/index.vue'
export default { export default {
components: { components: {
'take-photo': takePhoto 'take-photo': takePhoto
}, },
data() { data() {
return { return {
pic:'https://uviewui.com/common/logo.png', pic:'https://uviewui.com/common/logo.png',
show:true, show:true,
takeStatus: false, takeStatus: false,
testData: { testData: {
_id: '1', // 规格ID _id: '1', // 规格ID
system_id: '2', // 系统ID system_id: '2', // 系统ID
brand_id: '3', // 品牌ID brand_id: '3', // 品牌ID
classify_id: '4', // 分类ID classify_id: '4', // 分类ID
images: [ // 拍照要求示意图 images: [ // 拍照要求示意图
'https://qn-static.banshouhui.com/live_mark.png', 'https://qn-static.banshouhui.com/live_mark.png',
'https://qn-static.banshouhui.com/live_mark.png', 'https://qn-static.banshouhui.com/live_mark.png',
'https://qn-static.banshouhui.com/live_mark.png' 'https://qn-static.banshouhui.com/live_mark.png'
], ],
main_point: [] // 要点 main_point: [] // 要点
} }
} }
}, },
computed: { computed: {
items() { items() {
return [ return [
{title: '我的钱包', value: '', icon: ''}, {title: '我的钱包', value: '', icon: ''},
{title: '我的质保金', value: '', icon: ''}, {title: '我的质保金', value: '', icon: ''},
{title: '我的合同', value: '', icon: ''}, {title: '我的合同', value: '', icon: ''},
{title: '我的证件', value: '', icon: ''}, {title: '我的证件', value: '', icon: ''},
{title: '我的收货地址', value: '', icon: ''}, {title: '我的收货地址', value: '', icon: ''},
{title: '我的仓库', value: '', icon: ''}, {title: '我的仓库', value: '', icon: ''},
{title: '联系客服', value: '6666666', icon: ''}] {title: '联系客服', value: '6666666', icon: ''}]
} }
}, },
onLoad() { onLoad() {
}, },
methods: { methods: {
take() { take() {
uni.hideTabBar() uni.hideTabBar()
this.takeStatus = true this.takeStatus = true
}, },
closeTake(img) { closeTake(img) {
console.log(img) console.log(img)
this.takeStatus = false this.takeStatus = false
} }
} }
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
</style> </style>
...@@ -160,13 +160,19 @@ export default { ...@@ -160,13 +160,19 @@ export default {
if(pages.length) { if(pages.length) {
let index = pages.length - 1; let index = pages.length - 1;
if(index) { if(index) {
let prevPage = pages[pages.length - 1]; //上一个页面 let prevPage = pages[index]; //上一个页面
if (prevPage && prevPage.$vm) { if(prevPage.route == "pages/login/index") {
prevPage.$vm.isRefresh = true; uni.navigateTo({
url:'pages/index/index'
})
} else {
if (prevPage && prevPage.$vm) {
prevPage.$vm.isRefresh = true;
}
uni.navigateBack({
delta: 1
})
} }
uni.navigateBack({
delta: 1
})
} else { } else {
uni.navigateTo({ uni.navigateTo({
url:'pages/index/index' url:'pages/index/index'
...@@ -174,7 +180,7 @@ export default { ...@@ -174,7 +180,7 @@ export default {
} }
} else { } else {
uni.navigateTo({ uni.navigateTo({
url: "pages/mine/index" url: "pages/index/mine"
}) })
} }
......
...@@ -161,8 +161,7 @@ ...@@ -161,8 +161,7 @@
completeCheckResult: [], completeCheckResult: [],
waitHandlerPanelIndex: 0, waitHandlerPanelIndex: 0,
waitHandlerGroupIndex: 0, waitHandlerGroupIndex: 0,
waitHandlerEleIndex: 0, waitHandlerEleIndex: 0,
pass: false
} }
}, },
components: { components: {
...@@ -311,9 +310,9 @@ ...@@ -311,9 +310,9 @@
self.completeCheckResult = checkResult self.completeCheckResult = checkResult
return pass return pass
}, },
confirm(){// 检查结果窗口 确认回调 confirm(){// 检查结果窗口 确认回调
uni.switchTab({ uni.navigateTo({
url: '/pages/order/index' url: 'pages/index/order'
}) })
}, },
closeCheckResult(){// 检查结果窗口取消回调 closeCheckResult(){// 检查结果窗口取消回调
...@@ -338,8 +337,7 @@ ...@@ -338,8 +337,7 @@
if(!pass){ if(!pass){
self.completeCheckStatus = true self.completeCheckStatus = true
}else{ }else{
console.log("完工"); console.log("完工");
this.pass = pass
if(self.inGuaranteePeriod === 'Y'){ if(self.inGuaranteePeriod === 'Y'){
self.$u.api.inOrderFinish(self.orderId).then((res)=>{ self.$u.api.inOrderFinish(self.orderId).then((res)=>{
console.log(res) console.log(res)
...@@ -382,66 +380,63 @@ ...@@ -382,66 +380,63 @@
nextStep() { nextStep() {
if (this.tabIndex < this.list.length - 1) { if (this.tabIndex < this.list.length - 1) {
this.tabIndex++ this.tabIndex++
this.arr = [] this.arr = []
this.scrollRightTop = 0
this.leftMenuStatus(0)
this.$nextTick(function() { this.$nextTick(function() {
this.getMenuItemTop() this.getMenuItemTop()
}) })
} }
}, },
typeToComponentType(type) { typeToComponentType(type) {
let formType = '' // 将fieldType类型统一转换为公共组件判定类型
if (type) { let formType = ''
// 将fieldType类型统一转换为公共组件判定类型 type = type.toLocaleLowerCase()
type = type.toLocaleLowerCase() switch (type) {
switch (type) { case 'text':
case 'text': formType = 'input'
case 'password': break
case 'textarea': case 'password':
case 'number': case 'textarea':
case 'decimal': case 'number':
case 'double': case 'decimal':
case 'integer': case 'double':
formType = 'input' case 'integer':
break formType = 'input'
case 'multiinput': break
formType = 'multiinput' case 'multiinput':
break; formType = 'multiinput'
case 'select': break;
case 'specifications': case 'select':
formType = 'select' case 'specifications':
break formType = 'select'
case 'radio': break
formType = 'radio' case 'radio':
break formType = 'radio'
case 'checkbox': break
formType = 'checkbox' case 'checkbox':
break formType = 'checkbox'
case 'file': break
case 'photos': case 'file':
formType = 'file' case 'photos':
break formType = 'file'
case 'location': break
formType = 'location' case 'location':
break formType = 'location'
case 'scan': break
formType = 'scan' case 'scan':
break formType = 'scan'
case 'picker': break
case 'mutipicker': case 'picker':
formType = 'picker' case 'mutipicker':
break formType = 'picker'
case 'service_measures': break
formType = 'servicemeasure' case 'service_measures':
break formType = 'servicemeasure'
case 'time': break
case 'date': case 'time':
formType = 'time' case 'date':
break formType = 'time'
} break
} }
return formType return formType
}, },
// ------------------------- 以下方法为展示滚动切换 ------------------------- // ------------------------- 以下方法为展示滚动切换 -------------------------
......
...@@ -156,7 +156,7 @@ ...@@ -156,7 +156,7 @@
import appointTime from '@/components/appoint/appoint-time.vue' import appointTime from '@/components/appoint/appoint-time.vue'
import takePhoto from '@/components/take/index.vue' import takePhoto from '@/components/take/index.vue'
import PopView from "@/components/popView/index.vue" import PopView from "@/components/popView/index.vue"
let now = Date.now() let now = new Date(new Date().toLocaleDateString()).getTime();
let r = require("../../libs/bmap-wx.min.js"); let r = require("../../libs/bmap-wx.min.js");
let h = new r.BMapWX({ let h = new r.BMapWX({
// ak: "rpVq5d3yxaRCoKzVwmFMo0o4iC524CAG", // ak: "rpVq5d3yxaRCoKzVwmFMo0o4iC524CAG",
...@@ -458,6 +458,7 @@ ...@@ -458,6 +458,7 @@
console.log(data,'dateChange') console.log(data,'dateChange')
let self = this let self = this
self.appointmentDatetime = data.item.day self.appointmentDatetime = data.item.day
self.appointmentDatetimeRange = null
self.timeList.map((item, index) => { self.timeList.map((item, index) => {
if(data.item.timeRange.indexOf(item.pkey) > -1) { if(data.item.timeRange.indexOf(item.pkey) > -1) {
item.disabled = true item.disabled = true
...@@ -546,15 +547,15 @@ ...@@ -546,15 +547,15 @@
data.orderId = this.order.orderId data.orderId = this.order.orderId
}else if(this.submitType === 'workerAppointment'){ // 预约 }else if(this.submitType === 'workerAppointment'){ // 预约
data.appointmentDatetime =this.appointmentDatetime data.appointmentDatetime =this.appointmentDatetime
data.appointmentDatetimeRange = this.appointmentDatetimeRange.pkey
if(!data.appointmentDatetime ){ if(!data.appointmentDatetime ){
this.commonToast('请选择预约日期','waring') this.commonToast('请选择预约日期','waring')
return return
} }
if( !data.appointmentDatetimeRange ){ if( !this.appointmentDatetimeRange || !this.appointmentDatetimeRange.pkey ){
this.commonToast('请选择预约时间段','waring') this.commonToast('请选择预约时间段','waring')
return return
} }
data.appointmentDatetimeRange = this.appointmentDatetimeRange.pkey
}else if (this.submitType === 'maintainWorkerCheckin') { // 签到 }else if (this.submitType === 'maintainWorkerCheckin') { // 签到
// 检查见到距离是否符合 // 检查见到距离是否符合
if(!this.isErrorSign){ if(!this.isErrorSign){
...@@ -708,7 +709,7 @@ ...@@ -708,7 +709,7 @@
this.visibale = false this.visibale = false
// 交互规范 // 交互规范
uni.switchTab({ uni.switchTab({
url: 'pages/learn/index' url: 'pages/index/learn'
}) })
}, },
threeDays() { threeDays() {
......
...@@ -121,11 +121,10 @@ export default { ...@@ -121,11 +121,10 @@ export default {
reasonType: '报备', // 反馈类型 reasonType: '报备', // 反馈类型
reasonRelegation: '客户', // 反馈归属 reasonRelegation: '客户', // 反馈归属
reason: '', // 反馈原因 reason: '', // 反馈原因
appointmentDatetime: null, // 预约时间
appointmentDatetimeRange: '', // 预约时间段类型
nextTraceDatetime: '', // 下次跟踪时间
remark: '' // 备注 remark: '' // 备注
}, },
traceDate: null, // 反馈时间
timeRange: null, // 反馈时间段
dateItem: null, dateItem: null,
timeItem: null, timeItem: null,
showRemark: false, showRemark: false,
...@@ -139,23 +138,15 @@ export default { ...@@ -139,23 +138,15 @@ export default {
appointTime appointTime
}, },
watch: { watch: {
vuex_token(val) { // vuex_token(val) {
this.initPageData(); // this.initPageData();
} // }
}, },
computed: { computed: {
disabledSubmit() { disabledSubmit() {
let self = this; let self = this;
if(self.trace.reasonRelegation && self.trace.reason) { if(self.trace.reasonRelegation && self.trace.reason && self.traceDate && self.timeRange) {
if (self.trace.reasonType == '改约') { return false;
if (self.trace.appointmentDatetime && self.trace.appointmentDatetimeRange) {
return false;
}
} else {
if (self.trace.nextTraceDatetime && self.trace.appointmentDatetimeRange) {
return false;
}
}
} }
return true; return true;
...@@ -222,9 +213,8 @@ export default { ...@@ -222,9 +213,8 @@ export default {
self.trace.reason = tabList['owns'][self.curOwn]['types'][0]; self.trace.reason = tabList['owns'][self.curOwn]['types'][0];
self.appointTitle = self.appoint[self.curTab] self.appointTitle = self.appoint[self.curTab]
self.trace.remark = ''; self.trace.remark = '';
self.trace.appointmentDatetime = null; self.traceDate = null;
self.trace.appointmentDatetimeRange = null; self.timeRange = null;
self.trace.nextTraceDatetime = null;
if (self.trace.reasonType == '改约') { if (self.trace.reasonType == '改约') {
self.showRemark = true; self.showRemark = true;
if (self.dateList && self.timeList) { if (self.dateList && self.timeList) {
...@@ -300,12 +290,9 @@ export default { ...@@ -300,12 +290,9 @@ export default {
}, },
dateChange(data) { dateChange(data) {
// 点击日期选择 // 点击日期选择
console.log(data, 'week-data');
let self = this; let self = this;
self.dateItem = data.item self.dateItem = data.item
if (self.trace.reasonType == '改约') { if (self.trace.reasonType == '改约') {
self.trace.appointmentDatetime = data.item.day;
self.trace.nextTraceDatetime = null;
self.timeList.map((item, index) => { self.timeList.map((item, index) => {
if (data.item.timeRange.indexOf(item.pkey) > -1) { if (data.item.timeRange.indexOf(item.pkey) > -1) {
item.disabled = true; item.disabled = true;
...@@ -314,18 +301,17 @@ export default { ...@@ -314,18 +301,17 @@ export default {
} }
}); });
} else { } else {
self.trace.appointmentDatetime = null;
self.trace.nextTraceDatetime = data.item.day;
self.timeList.map((item, index) => { self.timeList.map((item, index) => {
item.disabled = false; item.disabled = false;
}); });
} }
self.trace.appointmentDatetimeRange = ''; self.traceDate = data.item.day;
self.timeRange = null;
}, },
timeChange(data) { timeChange(data) {
// 时间段选择变化 // 时间段选择变化
console.log(data, 'week-data'); console.log(data, 'week-data');
this.trace.appointmentDatetimeRange = data.item.pkey; this.timeRange = data.item.pkey;
this.timeItem = data.item this.timeItem = data.item
}, },
async submitForm() { async submitForm() {
...@@ -341,15 +327,16 @@ export default { ...@@ -341,15 +327,16 @@ export default {
self.submiting = true; self.submiting = true;
let params = this.$u.deepClone(self.trace); let params = this.$u.deepClone(self.trace);
if(self.trace.reasonType != '改约') { if(self.trace.reasonType != '改约') {
params.appointmentDatetimeRange = null if(self.timeItem && self.timeItem.pkey && self.traceDate){
params.appointmentDatetime = null let traceDate = self.moment(self.traceDate);
if(self.timeItem && self.timeItem.pkey && params.nextTraceDatetime){
let traceDate = self.moment(params.nextTraceDatetime);
let timeArr = self.timeItem.pkey.split("_") let timeArr = self.timeItem.pkey.split("_")
let hours = timeArr && timeArr.length && timeArr.pop() let hours = timeArr && timeArr.length && timeArr.pop()
let traceDateTime = traceDate.clone().add(Number(hours), 'hours'); let traceDateTime = traceDate.clone().add(Number(hours), 'hours');
params.nextTraceDatetime = traceDateTime.unix() * 1000 params.nextTraceDatetime = traceDateTime.unix() * 1000
} }
} else {
params.appointmentDatetime = self.traceDate
params.appointmentDatetimeRange = self.timeRange
} }
let res = await self.$u.api.traceAndAppointment(params, self.orderId); let res = await self.$u.api.traceAndAppointment(params, self.orderId);
self.submiting = false; self.submiting = false;
......
<template>
<view class="mtr-content">
<view class="content-view">
<!-- 材料列表 -->
<view class="mtr-tab">
<u-table align="center" border-color="#FFFFFF" color="#333333" font-size="rpx" :th-style="thStyle"
padding="0">
<u-tr class="u-tr">
<u-th class="u-th content-tab-th" v-for="(value, key) in titles" :key="key" width="auto">
<text :class="['tab-th-txt', {'left': key == firstKey}]">{{value}}</text>
</u-th>
</u-tr>
<view class="line-view"></view>
<u-tr class="u-tr" v-for="(item, index) in list" :key="index">
<u-td class="u-td" v-for="(value, key) in titles" :key="key">
<text :class="['tab-th-txt', {'left': key == firstKey}]">{{item[key]}}</text>
</u-td>
</u-tr>
</u-table>
</view>
<!-- 其他 -->
<view class="mtr-other">
<view class="line-view"></view>
<view class="other-space">
<text>其他</text>
<image class="image-view" :src="addImage" @click="handleAdd"></image>
</view>
<view v-if="other.length > 0" class="other-content">
<view class="other-space" v-for="(item, index) in other" :key="index">
<view class="input-view">
<view class="other-space">
<text class="input-title">说明:</text>
<view class="input-content">
<u-input v-model="item.title" :clearable="false" placeholder-style="color:#999999;font-size:26rpx" />
</view>
</view>
<view class="other-space">
<text class="input-title">金额:</text>
<view class="input-content">
<u-input v-model="item.value" type="number" :clearable="false" placeholder-style="color:#999999;font-size:26rpx" />
</view>
</view>
</view>
<image class="image-view" :src="subtractImage" @click="handleSubtract"></image>
</view>
</view>
<view class="other-space">
<text>超出金额</text>
<text>{{money}}元</text>
</view>
</view>
</view>
<!-- 底部确定按钮 -->
<view class="bottom-view">
<u-button class="sure-button" type="primary" shape="circle" @click="handleSure" :custom-style="buttonStyle">
确定
</u-button>
</view>
</view>
</template>
<script>
export default {
data() {
return {
list: [], // 材料列表
other: [], // 其他列表
};
},
computed: {
buttonStyle() {
return {
width: "600rpx",
height: "104rpx",
"font-size": "32rpx",
"font-weight": "bold",
};
},
titles() {
return {
name: '材料名称',
unit: '单位',
freeAmount: '免费量',
price: '单价/元',
consumption: '预计用量'
}
},
thStyle() {
return {
'font-weight': 'bold'
}
},
firstKey() {
return Object.keys(this.titles)[0]
},
subtractImage() {
return process.uniEnv.qn_base_url + 'qxiao.png'
},
addImage() {
return process.uniEnv.qn_base_url + 'tianjia.png'
},
money() { // 总额
var amount = 0
for (var item of this.list) {
if (Number(item.consumption) && Number(item.freeAmount) && Number(item.price)) {
amount += Math.max(Number(item.consumption) - Number(item.freeAmount), 0) * Number(item.price)
}
}
for (var item of this.other) {
if (item.value && Number(item.value)) {
amount += Number(item.value)
}
}
return amount
}
},
created() {
// 测试数据
console.log('0000')
for (var i = 0; i < 20; i++) {
this.list.push({
name: '开关发大法师放大范德萨发大水',
unit: '个',
freeAmount: '1',
price: '45.0',
consumption: '4',
})
}
},
methods: {
/* 其他添加新的 */
handleAdd() {
this.other.push({
title: '',
value: ''
})
},
/* 其他删除某个 */
handleSubtract(index) {
this.other.splice(index, 1)
},
handleSure() {
// 返回总额money
}
}
}
</script>
<style lang="scss" scoped>
.mtr-content {
display: flex;
flex-direction: column;
background-color: #F4F5F7;
height: 100vh;
.content-view {
padding: 30rpx 30rpx 60rpx 30rpx;
margin: 20rpx 30rpx;
border-radius: 12rpx;
background-color: #FFFFFF;
height: 100%;
overflow: auto;
.line-view {
background-color: #F4F5F7;
height: 2rpx;
margin: 20rpx 0;
}
.mtr-tab {
.tab-th-txt {
background-color: #FFFFFF;
padding: 10rpx 0;
&.left {
text-align: left;
}
}
}
.mtr-other {
.other-space {
display: flex;
justify-content: space-between;
align-items: center;
}
.other-content {
margin-bottom: 30rpx;
}
.input-view {
padding: 10rpx 30rpx;
width: 100%;
border-radius: 12rpx;
border: 1px #F4F5F7 solid;
margin-bottom: 30rpx;
.input-title {
width: 80rpx;
flex-shrink: 0;
color: #333333;
font-size: 26rpx;
}
.input-content {
width: 100%;
}
}
.image-view {
width: 52rpx;
height: 52rpx;
flex-shrink: 0;
margin: 30rpx 0 30rpx 30rpx;
}
}
}
.bottom-view {
margin-bottom: 44rpx;
margin-top: 10rpx;
height: 104rpx;
}
}
</style>
<template>
</template>
<script>
</script>
<style>
</style>
...@@ -26,7 +26,6 @@ ...@@ -26,7 +26,6 @@
:send-message-img="sendMessageImg" :send-message-img="sendMessageImg"
:show-message-card="showMessageCard" :show-message-card="showMessageCard"
@getphonenumber="getphonenumber" @getphonenumber="getphonenumber"
@getuserinfo="getuserinfo"
@error="error" @error="error"
@opensetting="opensetting" @opensetting="opensetting"
@launchapp="launchapp" @launchapp="launchapp"
...@@ -325,9 +324,9 @@ export default { ...@@ -325,9 +324,9 @@ export default {
getphonenumber(res) { getphonenumber(res) {
this.$emit('getphonenumber', res); this.$emit('getphonenumber', res);
}, },
getuserinfo(res) { // getuserinfo(res) {
this.$emit('getuserinfo', res); // this.$emit('getuserinfo', res);
}, // },
error(res) { error(res) {
this.$emit('error', res); this.$emit('error', res);
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment