|
@@ -249,6 +249,22 @@ async def is_close_changed_notice(exf_id: str = '', is_close: str = ''):
|
|
if r1['alert_date_1'] is None:
|
|
if r1['alert_date_1'] is None:
|
|
r1['alert_date_1'] = '無'
|
|
r1['alert_date_1'] = '無'
|
|
|
|
|
|
|
|
+ # 執行單位Email
|
|
|
|
+ if r1['execute_man'] == 'hhh_edit@hhh.com.tw':
|
|
|
|
+ r1['execute_man'] = '編輯採訪部'
|
|
|
|
+ elif r1['execute_man'] == 'hhh_mk@hhh.com.tw':
|
|
|
|
+ r1['execute_man'] = '行銷企劃部'
|
|
|
|
+ elif r1['execute_man'] == 'hhh_web@hhh.com.tw':
|
|
|
|
+ r1['execute_man'] = '網站工程部'
|
|
|
|
+ elif r1['execute_man'] == 'hhh_video@hhh.com.tw':
|
|
|
|
+ r1['execute_man'] = '影音企劃部'
|
|
|
|
+ elif r1['execute_man'] == 'agent@hhh.com.tw':
|
|
|
|
+ r1['execute_man'] = '幸福經紀人'
|
|
|
|
+ elif r1['execute_man'] == 'hhh_admin@hhh.com.tw':
|
|
|
|
+ r1['execute_man'] = '行政部'
|
|
|
|
+ elif r1['execute_man'] == 'hhh_sales@hhh.com.tw':
|
|
|
|
+ r1['execute_man'] = '業務部'
|
|
|
|
+
|
|
html += "<tr><td>" + str(idx) + "</td><td>" + r1['lv1'] + "</td><td>" + r1['lv2'] + "</td><td>" + r1['execute_man'] + "</td><td>" + r1['is_complete'] + "</td><td>" + r1['complete_man'] + "</td><td>" + r1['note'] + "</td><td>" + str(r1['set_date']) + "</td><td>" + str(r1['alert_date_1']) + "</td></tr>"
|
|
html += "<tr><td>" + str(idx) + "</td><td>" + r1['lv1'] + "</td><td>" + r1['lv2'] + "</td><td>" + r1['execute_man'] + "</td><td>" + r1['is_complete'] + "</td><td>" + r1['complete_man'] + "</td><td>" + r1['note'] + "</td><td>" + str(r1['set_date']) + "</td><td>" + str(r1['alert_date_1']) + "</td></tr>"
|
|
|
|
|
|
idx += 1
|
|
idx += 1
|