Commit cc4dbb26 by 前端

时间

1 parent a5f98c87
......@@ -187,6 +187,8 @@ export default {
this.getPreRecordFail()
},
jumpDetail(item) {
console.log(this.firstIndex,'this.firstIndex')
if(this.firstIndex!=2) return
this.showRecord = false;
this.customerInfo = item
},
......@@ -245,7 +247,7 @@ export default {
getPreRecordNum() {
const preRecordList = uni.$storage.get(STORAGE_OBJECTkEY.preRecordList)||[]
console.log(preRecordList)
this.preRecordFailList = preRecordList
this.preRecordFailList = preRecordList.reverse()
},
getRecordFail () {
this.getRecordNum()
......
const target = ['ip', 'dev', 'uat', 'prod', 'beta']
const index = 1
const index = 2
/**
*
0本地
......
......@@ -2,7 +2,7 @@
"name" : "展业助手",
"appid" : "__UNI__D3BD3DF",
"description" : "",
"versionName" : "1.9.0",
"versionName" : "1.9.1",
"versionCode" : "100",
"transformPx" : false,
/* 5+App特有相关 */
......
......@@ -2,7 +2,7 @@
* @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2024-04-08 11:28:48
* @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditTime: 2024-10-18 16:49:15
* @LastEditTime: 2024-10-21 10:49:34
* @FilePath: \gl_tape\mixin\click.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
......@@ -14,6 +14,7 @@ const UPLOAD_STATUS = {
success: 1,
fail: 2
}
const audioTime = 10 * 60 * 1000
import { mapMutations, mapState } from 'vuex'
import utils from '@/utils/utils.js'
export default {
......@@ -163,14 +164,14 @@ export default {
}, 1000)
})
recorderManager.start({
duration: 60000,
duration: audioTime,
sampleRate: 16000,
numberOfChannels: 1
})
recorderManager.onStop(async res => {
if (this.audioInfo.audioStatus == 'start') {
uni.getRecorderManager().start({
duration: 60000,
duration: audioTime,
sampleRate: 16000,
numberOfChannels: 1
})
......
......@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2024-04-07 18:15:11
* @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditTime: 2024-10-18 11:40:02
* @LastEditTime: 2024-10-21 11:49:44
*/
// import { setToken, getToken, removeToken } from '@/utils/token';;
import utils from '@/utils/utils'
......@@ -31,6 +31,7 @@ export default {
setAudioInfo(state, data) {
if (data.audioStatus == 'start') {
data.receptionStartTime = utils.convertDateTimeFormat(new Date(), '/')
data.receptionEndTime = ''
}
if (data.audioStatus == 'end') {
data.receptionEndTime = utils.convertDateTimeFormat(new Date(), '/')
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!