Commit bdb0a9e2 by 李伟康

还原

1 parent 2ca552ba
...@@ -38,12 +38,6 @@ ...@@ -38,12 +38,6 @@
@choose="chooseCustomerType" @choose="chooseCustomerType"
title="请选择当前洽谈的客户类型" title="请选择当前洽谈的客户类型"
/> />
<order-popup
ref="test"
:data="data"
@onConfirm="data.customer.carSeriesId = $event.carSeriesId"
popupType="0"
/>
</template> </template>
</home-frame> </home-frame>
</template> </template>
...@@ -76,19 +70,11 @@ const defaultConfig = [ ...@@ -76,19 +70,11 @@ const defaultConfig = [
tabId: 3 tabId: 3
} }
] ]
import OrderPopup from '@/components/OrderPopup/index.vue'
export default { export default {
components: { HomeFrame, detail, CenterPopup, OrderPopup }, components: { HomeFrame, detail, CenterPopup },
name: 'boutique', name: 'boutique',
data () { data () {
return { return {
data: {
customer: {
carSeriesId: 1145120
},
userId: '1caea5b0a50b433bacf5be533af6a4e3',
sellerUserId: '9ec5c68f73e84357a427da9503a5ee8b'
},
moduleList: [], moduleList: [],
toolList: [], toolList: [],
chooseItem: {}, chooseItem: {},
......
...@@ -46,11 +46,11 @@ class Track { ...@@ -46,11 +46,11 @@ class Track {
async sendTrackData () { async sendTrackData () {
const recordList = uni.getStorageSync('TRACK_LIST') || [] const recordList = uni.getStorageSync('TRACK_LIST') || []
// if (recordList.length) { if (recordList.length) {
// const res = await uni.$api.commonApi.recordInsert({ recordList }) const res = await uni.$api.commonApi.recordInsert({ recordList })
// if (res) if (res)
uni.setStorageSync('TRACK_LIST', []) uni.setStorageSync('TRACK_LIST', [])
// } }
} }
} }
......
...@@ -4,20 +4,19 @@ import { getTime, withinSpliter, daysBetween } from './util' ...@@ -4,20 +4,19 @@ import { getTime, withinSpliter, daysBetween } from './util'
class LocalLog { class LocalLog {
logger = null logger = null
constructor() { constructor() {
this.logger = {} this.logger = new LogCat()
// this.logger = new LogCat()
} }
debug(msg) { debug(msg) {
// this.logger.writeLog(LogLevel.DEBUG, msg) this.logger.writeLog(LogLevel.DEBUG, msg)
} }
info(msg) { info(msg) {
// this.logger.writeLog(LogLevel.INFO, msg) this.logger.writeLog(LogLevel.INFO, msg)
} }
warn(msg) { warn(msg) {
// this.logger.writeLog(LogLevel.WARN, msg) this.logger.writeLog(LogLevel.WARN, msg)
} }
error(msg) { error(msg) {
// this.logger.writeLog(LogLevel.ERROR, msg) this.logger.writeLog(LogLevel.ERROR, msg)
} }
getFiles(beginDate, endDate) { getFiles(beginDate, endDate) {
const logFiles = this.logger.getLogFileList() const logFiles = this.logger.getLogFileList()
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!