Commit e32d2879 by 前端

记录

1 parent 32021f38
...@@ -182,6 +182,8 @@ export default { ...@@ -182,6 +182,8 @@ export default {
}, },
async handleSubmit (val) { async handleSubmit (val) {
this.showRecord = true; this.showRecord = true;
delete val.duration
delete val.startTime
await uni.$dbManager.addRecord(val) await uni.$dbManager.addRecord(val)
uni.$logger.local.info(`添加记录${JSON.stringify(val)}`) uni.$logger.local.info(`添加记录${JSON.stringify(val)}`)
interruptRecord.removePreRecord(val.id) interruptRecord.removePreRecord(val.id)
......
...@@ -105,7 +105,6 @@ export default { ...@@ -105,7 +105,6 @@ export default {
const len = this.$refs.leftBox.tabs.length const len = this.$refs.leftBox.tabs.length
if (this.tabIndex == 0) return 'HomeSlot' if (this.tabIndex == 0) return 'HomeSlot'
else if (this.tabIndex == 1) return 'RecordList' else if (this.tabIndex == 1) return 'RecordList'
else if (this.tabIndex == len - 1) return 'Point'
else return 'CustomerFile' else return 'CustomerFile'
} }
}, },
......
const target = ['ip', 'dev', 'uat', 'prod', 'beta'] const target = ['ip', 'dev', 'uat', 'prod', 'beta']
const index = 4 const index = 3
/** /**
* *
0本地 0本地
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!