|
|
@ -60,6 +60,7 @@ class MeetingTaskService extends GetxService { |
|
|
String tolanguage, |
|
|
String tolanguage, |
|
|
bool isdistinguishspeaker, |
|
|
bool isdistinguishspeaker, |
|
|
int templateid, |
|
|
int templateid, |
|
|
|
|
|
String tid, |
|
|
) async { |
|
|
) async { |
|
|
if (audiourl.isEmpty) { |
|
|
if (audiourl.isEmpty) { |
|
|
Map uploadData = _uploadService.uploadList.firstWhere( |
|
|
Map uploadData = _uploadService.uploadList.firstWhere( |
|
|
@ -73,6 +74,7 @@ class MeetingTaskService extends GetxService { |
|
|
uploadData['tolanguage'] = tolanguage; |
|
|
uploadData['tolanguage'] = tolanguage; |
|
|
uploadData['isdistinguishspeaker'] = isdistinguishspeaker; |
|
|
uploadData['isdistinguishspeaker'] = isdistinguishspeaker; |
|
|
uploadData['templateid'] = templateid; |
|
|
uploadData['templateid'] = templateid; |
|
|
|
|
|
uploadData['tid'] = tid; |
|
|
} else { |
|
|
} else { |
|
|
await submitTask( |
|
|
await submitTask( |
|
|
id, |
|
|
id, |
|
|
@ -80,6 +82,7 @@ class MeetingTaskService extends GetxService { |
|
|
tolanguage, |
|
|
tolanguage, |
|
|
isdistinguishspeaker, |
|
|
isdistinguishspeaker, |
|
|
templateid, |
|
|
templateid, |
|
|
|
|
|
tid, |
|
|
); |
|
|
); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
@ -90,6 +93,7 @@ class MeetingTaskService extends GetxService { |
|
|
tolanguage, |
|
|
tolanguage, |
|
|
isdistinguishspeaker, |
|
|
isdistinguishspeaker, |
|
|
templateid, |
|
|
templateid, |
|
|
|
|
|
tid, |
|
|
); |
|
|
); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
@ -100,6 +104,7 @@ class MeetingTaskService extends GetxService { |
|
|
String tolanguage, |
|
|
String tolanguage, |
|
|
bool isdistinguishspeaker, |
|
|
bool isdistinguishspeaker, |
|
|
int templateid, |
|
|
int templateid, |
|
|
|
|
|
String tid, |
|
|
) async { |
|
|
) async { |
|
|
await Api.startTaskEchomeet({ |
|
|
await Api.startTaskEchomeet({ |
|
|
'id': id, |
|
|
'id': id, |
|
|
@ -107,6 +112,7 @@ class MeetingTaskService extends GetxService { |
|
|
'tolanguage': tolanguage, |
|
|
'tolanguage': tolanguage, |
|
|
'isdistinguishspeaker': isdistinguishspeaker, |
|
|
'isdistinguishspeaker': isdistinguishspeaker, |
|
|
'templateid': templateid, |
|
|
'templateid': templateid, |
|
|
|
|
|
'tid': tid, |
|
|
}); |
|
|
}); |
|
|
final seconds = await _getMeetingSeconds(id); |
|
|
final seconds = await _getMeetingSeconds(id); |
|
|
_decrementMeetingIntegral(cost: seconds); |
|
|
_decrementMeetingIntegral(cost: seconds); |
|
|
@ -122,11 +128,13 @@ class MeetingTaskService extends GetxService { |
|
|
_executeTask(); |
|
|
_executeTask(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
Future<void> refreshTask(int id, int templateid) async { |
|
|
Future<void> refreshTask(int id, int templateid, String tid, String tolanguage) async { |
|
|
tasktype.value = 3; |
|
|
tasktype.value = 3; |
|
|
await Api.refreshTaskEchomeet({ |
|
|
await Api.refreshTaskEchomeet({ |
|
|
'id': id, |
|
|
'id': id, |
|
|
'templateid': templateid, |
|
|
'templateid': templateid, |
|
|
|
|
|
'tid': tid, |
|
|
|
|
|
'tolanguage': tolanguage, |
|
|
}); |
|
|
}); |
|
|
_taskList.add({ |
|
|
_taskList.add({ |
|
|
'id': id, |
|
|
'id': id, |
|
|
|