From ba5f9f95bb8191c73c1a6fe5d1810cdfce217502 Mon Sep 17 00:00:00 2001 From: Tomas <tomasysh@gmail.com> Date: 星期一, 21 八月 2023 15:37:39 +0800 Subject: [PATCH] Update: [推廣影片] sandbox attribute add allow-presentation --- PAMapp/plugins/api/home.ts | 96 +++++++++++++++++++++++++++++++++++++---------- 1 files changed, 75 insertions(+), 21 deletions(-) diff --git a/PAMapp/plugins/api/home.ts b/PAMapp/plugins/api/home.ts index 854f0ff..8e48b54 100644 --- a/PAMapp/plugins/api/home.ts +++ b/PAMapp/plugins/api/home.ts @@ -8,7 +8,7 @@ new: true, agentNo: 0, name: '撘萄���', - img: 'https://randomuser.me/api/portraits/women/31.jpg', + img: '', professionals: ['鞎∪����', '鞈頧宏'], satisfaction: 4.8, contactStatus: 'reserved', @@ -18,7 +18,7 @@ new: true, agentNo: 1, name: '�撣亙', - img: 'https://randomuser.me/api/portraits/men/32.jpg', + img: '', professionals: [], satisfaction: 4, contactStatus: 'contacted', @@ -28,7 +28,7 @@ new: false, agentNo: 2, name: '���戊', - img: 'https://randomuser.me/api/portraits/women/33.jpg', + img: '', professionals: ['鞎∪����', '鞈頧宏'], satisfaction: 5, contactStatus: 'picked', @@ -38,7 +38,7 @@ new: false, agentNo: 3, name: '�蝢��', - img: 'https://randomuser.me/api/portraits/women/34.jpg', + img: '', professionals: ['鞎∪����', '鞈頧宏'], satisfaction: 4.3, contactStatus: 'picked', @@ -48,7 +48,7 @@ new: true, agentNo: 4, name: '撘萄���', - img: 'https://randomuser.me/api/portraits/women/35.jpg', + img: '', professionals: [], satisfaction: 4.8, contactStatus: 'picked', @@ -58,7 +58,7 @@ new: true, agentNo: 5, name: '�撣亙', - img: 'https://randomuser.me/api/portraits/men/36.jpg', + img: '', professionals: ['鞎∪����', '鞈頧宏'], satisfaction: 4.8, contactStatus: 'reserved', @@ -68,7 +68,7 @@ new: false, agentNo: 6, name: '���戊', - img: 'https://randomuser.me/api/portraits/women/37.jpg', + img: '', professionals: ['鞎∪����', '鞈蝘餉��', '蝭�蝔�', '璅暑��隡�'], satisfaction: 4.8, contactStatus: 'picked', @@ -78,24 +78,78 @@ new: false, agentNo: 7, name: '�蝢��', - img: 'https://randomuser.me/api/portraits/women/38.jpg', + img: '', professionals: ['鞎∪����', '蝭�蝔�', '璅暑��隡�'], satisfaction: 4.8, contactStatus: 'picked', updateTime: 'Tue Sep 02 2021 09:40:02 GMT+0800 (��������)' } ] - return CommonService.prototype.withDebugData(debugData, 'https://randomuser.me/api/') - } -}) + return CommonService.prototype.withDebugData(debugData, '') + }, + clientReservedList() { + const debugData = [{ + name: '�����', + clientId: '1', + phone: '091234567', + time: new Date('Tue Nov 02 2021 11:23:14 GMT+0800 (��������)'), + gender: 'male', + age: '26-30', + job: 'general', + requirements: ['靽�瑼�/閬��', '��靽����'], + communicateStatus: 'reserved' + },{ + name: 'Ariel', + clientId: '2', + phone: '091234567', + time: new Date('Tue Oct 15 2020 11:23:14 GMT+0800 (��������)'), + gender: 'female', + age: '30-40', + job: 'general', + requirements: ['靽�瑼�/閬��', '鞈頧宏', '��靽����'], + communicateStatus: 'contacted' + },{ + name: 'Donna', + clientId: '3', + phone: '091234567', + time: new Date('Tue Oct 31 2021 10:23:14 GMT+0800 (��������)'), + gender: 'female', + age: '10-20', + job: 'general', + requirements: ['��靽����'], + communicateStatus: 'reserved' + },{ + name: '���', + clientId: '4', + phone: '091234567', + time: new Date('Tue Dec 31 2020 19:23:14 GMT+0800 (��������)'), + gender: 'female', + age: '50-60', + job: 'general', + requirements: ['鞈頧宏', '蝭�蝔�'], + communicateStatus: 'reserved' + },{ + name: '��摩隡�', + clientId: '5', + phone: '091234567', + time: new Date('Tue Oct 15 2020 11:23:14 GMT+0800 (��������)'), + gender: 'male', + age: '60-70', + job: 'general', + requirements: ['蝭�蝔�', '鞈頧宏', '��靽����'], + communicateStatus: 'contacted' + },{ + name: '�慦賢直', + clientId: '6', + phone: '091234567', + time: new Date('Tue Dec 31 2020 19:23:14 GMT+0800 (��������)'), + gender: 'female', + age: '50-60', + job: 'general', + requirements: [], + communicateStatus: 'reserved' + }] -export interface Agents { - agentNo: number, - name: string, - img: string, - new: boolean, - satisfaction: number, - professionals: string[], - contactStatus: string, - updateTime: Date - } \ No newline at end of file + return CommonService.prototype.withDebugData(debugData, '') + } +}) \ No newline at end of file -- Gitblit v1.8.0