愛招飛幫助手冊 愛招飛幫助手冊
  • FastERP-1
  • Smart
  • PinToo
  • FastWeb
  • FastERP-2 企業管理系統 (opens new window)
  • 印染業ERP (opens new window)
  • 工廠終端機 (opens new window)
  • TARS
  • MARS
  • TaskRunner
  • Flying
  • FastDesk
  • HiDesk
  • HiNAT
  • FastBPM
  • 設備故障診斷 (opens new window)
  • 設備最佳運轉效益 (opens new window)
  • 企業智能助手SmeGPT (opens new window)
  • 燈號管理 (opens new window)
  • 戰情室 (opens new window)
  • 能源管理 (opens new window)
  • 人車定位 (opens new window)
  • 戰情指揮系統 (opens new window)
  • FastERP-1
  • FastWeb
  • Smart
  • PinToo
  • Flying
  • TARS
  • 通用功能

    • Report
    • Script
    • Echarts
    • Chart
    • DB Install
  • FastERP-1
  • Smart
  • PinToo
  • FastWeb
  • FastERP-2 企業管理系統 (opens new window)
  • 印染業ERP (opens new window)
  • 工廠終端機 (opens new window)
  • TARS
  • MARS
  • TaskRunner
  • Flying
  • FastDesk
  • HiDesk
  • HiNAT
  • FastBPM
  • 設備故障診斷 (opens new window)
  • 設備最佳運轉效益 (opens new window)
  • 企業智能助手SmeGPT (opens new window)
  • 燈號管理 (opens new window)
  • 戰情室 (opens new window)
  • 能源管理 (opens new window)
  • 人車定位 (opens new window)
  • 戰情指揮系統 (opens new window)
  • FastERP-1
  • FastWeb
  • Smart
  • PinToo
  • Flying
  • TARS
  • 通用功能

    • Report
    • Script
    • Echarts
    • Chart
    • DB Install
  • FastERP常見問題
  • FastWeb常見問題
    • 1. FastWeb如何匯入模板?
    • 2. FastWeb除安裝本機外其餘設備無法訪問服務
    • 3. FastWeb運行時出現報錯Ajax ERROR
    • 4. FastWeb在模組設計界面未載入完成直接關閉導致出錯提示
    • 5. 如何在FastWeb中切換登錄的模式?
    • 6. 如何在FastWeb中建立功能表訪問的模組?
    • 7. FastWeb如何設計並繫結線上列印模板?
    • 8. FastWeb如何在設計界面中放置控制元件?
    • 9. 如何註冊FastWeb產品?
    • 10. FastWeb如何使用節點資料庫連線?
    • 11. FastWeb如何指定FastWeb登錄時的語言?
    • 12. 如何指定FastWeb登錄時使用的外觀樣式?
    • 13. 如何直接打開FastWeb中指定的模板頁面?
    • 14. 如何修改FastWeb訪問的埠號?
    • 15. 如何在FastWeb中啟用tls連線?
    • 16. FastWeb中配置檔案內容及其含義?
    • 17. FastWeb中如何為元件使用自定義的CSS樣式?*
    • 18. 可以通過URL參數的方式向FastWeb模組傳遞變數參數資訊嗎?
  • Smart常見問題
  • PinToo常見問題
  • Flying常見問題
  • TARS常見問題
目录

FastWeb常見問題

# FastWeb常見問題

# 1. FastWeb如何匯入模板?

  FastWeb中匯入模板檔案前需要先建立對應的模板。進入設計界面后,點選設計區左上角的資料夾圖示按鈕(匯入)打開檔案選擇界面。

  在檔案上傳界面中,點選[Browse...]。

  在打開界面中,選擇要打開的檔案,選擇完成後,點選[打開(O)]。

  返回至檔案上傳界面,該界面下點選[Upload]上傳模板檔案並打開。

# 2. FastWeb除安裝本機外其餘設備無法訪問服務

  • 在FastWeb運行時,除了本機可以訪問服務外,其他設備均無法連線到該服務。

  該情況下請先檢查安裝FastWeb服務的設備是否與訪問端處在同一個區域網中,且訪問端與服務端的網路是否聯通。若處於聯通狀態則檢查FastWeb的主程式的對外埠是否被防火墻攔截。

# 3. FastWeb運行時出現報錯Ajax ERROR

  • 在設計界面進行屬性操作時,可能會出現Ajax ERROR錯誤。

  這種情況是由於js的特性導致的,目前FastWeb部分控制元件不能實現修改屬性后的實時的預覽,但是更改屬性時的報錯不會影響最終的運行效果。

# 4. FastWeb在模組設計界面未載入完成直接關閉導致出錯提示

  • 在點選[模組設計]后,未等模組設計界面載入完畢就進行關閉操作,導致出現一些出錯的提示。

  這種情況下,只要將出錯提示關閉即可,不會影響後續的操作。

# 5. 如何在FastWeb中切換登錄的模式?

  FastWeb中包含三種不同的登錄型別,包含以下三種:

  • 系統使用者: 系統使用者模式就是僅訪問FastWeb開發的系統,該模式下的使用者只能訪問指定的模組界面。該型別為預設的登錄型別,對應的登錄方式為http://localhost:8888 (opens new window)或者http://localhost:8888/?logintype=0 (opens new window)。
  • 開發使用者: 該模式下不僅可以訪問FastWeb開發的系統模組,還可以訪問模組設計開發的界面,用來對模組進行配置,對應的登錄方式為http://localhost:8888/?logintype=1 (opens new window)。
  • 框架使用者: 該模式下可以訪問FastWeb的前端界面框架配置模組,用於實現自定義化的操作,對應的登錄方式為http://localhost:8888/?logintype=2 (opens new window)。

  通常情況下使用的登錄型別為系統使用者和開發使用者。

# 6. 如何在FastWeb中建立功能表訪問的模組?

  在FastWeb中建立功能表訪問的模組,需要建立並設計模組的功能,然後建立功能表並繫結模組。具體的建立方式請參考FastWeb快速上手。

# 7. FastWeb如何設計並繫結線上列印模板?

  線上列印模板在使用前需要進行建立,進行列印模板的設計,然後再進行列印模板的引用。具體的操作方式可參考FastWeb列印模板。

# 8. FastWeb如何在設計界面中放置控制元件?

  在設計界面,點選控制元件盤中需要放置的控制元件。在設計區點選將該控制元件放置在界面上。

# 9. 如何註冊FastWeb產品?

  FastWeb是由愛招飛推出的一款低程式碼開發平臺,如果您需要使用FastWeb作為開發以及應用用途,請及時聯繫愛招飛服務人員以獲取註冊啟用方式。

  在程式未啟用時,每次使用瀏覽器登錄至界面時均會顯示啟用的對話方塊。

  請參考 註冊 進行操作。

# 10. FastWeb如何使用節點資料庫連線?

  FastWeb中包含節點資料庫的設定,可在運行過程中直接引用進行資料庫的連線。

# 11. FastWeb如何指定FastWeb登錄時的語言?

  在輸入FastWeb的網頁地址時新增參數language。

  輸入的網址樣例如下:

http://localhost:8888/?language=en 
1

  可指定的語言包括zh_CN(簡體中文,預設語言)、en(英文)、zh_TW(繁體中文)。

  或者在登錄界面中,在語言欄的框中選擇顯示多語言。

# 12. 如何指定FastWeb登錄時使用的外觀樣式?

  在輸入FastWeb的網頁地址時新增參數Theme。

  輸入的網址樣例如下:

http://localhost:8888/?Theme=crisp
1

# 13. 如何直接打開FastWeb中指定的模板頁面?

  在輸入FastWeb的網頁地址時新增參數frame。在使用該功能前,請先確認FastWebHome.exe是否處於運行狀態。如果未運行則先運行該程式。

  輸入的網址樣例如下:

http://localhost/?frame=B1380E73-97E1-4352-9088-D6F652B412CA
1

  其中frame參數右側填寫的是需要顯示的模組的唯一ID或者模組的編號。此唯一ID可在系統工具-模組列表的界面中檢視,該地址下訪問模組不需要輸入使用者名稱密碼。

  如果輸入的網址樣式為:

http://localhost:8888/?frame=B1380E73-97E1-4352-9088-D6F652B412CA
1

  則訪問模組需要輸入使用者名稱密碼以驗證使用者是否有訪問模組的許可權。如果想要在不使用FastWebHome.exe的情況下,打開頁面時跳過驗證過程直接運行相關模組頁面,則需要在參數中額外指定,且模組與呼叫使用者均需開啟免登錄呼叫功能,參考的樣式如下:

http://localhost:8888/?frame=B1380E73-97E1-4352-9088-D6F652B412CA&userkey=D795B2B5-67C0-4674-9961-4AA574311C8D
1

  其中userkey為呼叫使用者的唯一ID。

# 14. 如何修改FastWeb訪問的埠號?

  打開FastWeb所在的程式目錄下,使用編輯器打開UG.ini檔案。其中一種樣式的配置檔案內容顯示如下:

[Frame]
InitialLoadingDll=UniGuiExtend
AllowExecSql=True
ExecSqlSeparator=GO
MaxRecordCount=20000
[UniGuiClient]
Port=8888
SSLPort=1443
SessionTimeout=600000
AjaxTimeout=30000
Title=FastWeb Demo
UrlPath=
CustomCssPath=custom\ServerModule\CustomCss.txt
CustomFilesPath=custom\ServerModule\CustomFiles.txt
CustomMetaPath=custom\ServerModule\CustomMeta.txt
[UniGuiHome]
Port=8080
SSLPort=8443
SessionTimeout=600000
AjaxTimeout=30000
Title=Home
UrlPath=
CustomCssPath=custom\ServerModule\CustomCss.txt
CustomFilesPath=custom\ServerModule\CustomFiles.txt
CustomMetaPath=custom\ServerModule\CustomMeta.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

  其中的clientport為FastWebClient訪問的埠號,homeport為預設的網站主頁掛載的埠號。sslport為使用tls連線時訪問的埠號。

# 15. 如何在FastWeb中啟用tls連線?

  FastWeb中部分元件在使用時需要依賴於tls連線,故在某些時候需要為FastWeb啟用tls連線。

  在啟用連線前,請先為需要使用tls連線訪問的伺服器申請數字證書。申請獲得的數字證書需將證書檔名稱修改爲cert.pem,將私鑰檔名稱修改爲key.pem,將CA檔名稱改為root.pem,該檔案放置於FastWeb程式根目錄下。

  使用瀏覽器訪問https://localhost:443 (opens new window)來啟用tls連線。

# 16. FastWeb中配置檔案內容及其含義?

  FastWeb中使用的配置檔名稱為UG.ini。一個典型的配置檔案顯示如下:

[Frame]
InitialLoadingDll=UniGuiExtend
AllowExecSql=True
ExecSqlSeparator=GO
MaxRecordCount=20000
[UniGuiClient]
# FastWeClient的服務埠號
Port=8888
# FastWebClient的 SSL服務埠號
SSLPort=1443
SessionTimeout=600000
AjaxTimeout=30000
Title=FastWeb Demo
UrlPath=
CustomCssPath=custom\ServerModule\CustomCss.txt
CustomFilesPath=custom\ServerModule\CustomFiles.txt
CustomMetaPath=custom\ServerModule\CustomMeta.txt
[UniGuiHome]
Port=8080
SSLPort=8443
SessionTimeout=600000
AjaxTimeout=30000
Title=Home
UrlPath=
CustomCssPath=custom\ServerModule\CustomCss.txt
CustomFilesPath=custom\ServerModule\CustomFiles.txt
CustomMetaPath=custom\ServerModule\CustomMeta.txt

[uni_sencha]
BackgroundColor=#044962
FontColor=#eff3f3
[uni_lavender]
BackgroundColor=#10044a
FontColor=#ffffff
[uni_kde]
BackgroundColor=#f4f3f3
FontColor=#000000
[uni_aqua]
BackgroundColor=#256fcd
FontColor=#ffffff
[crisp]
BackgroundColor=#cfcfcf
FontColor=#157fcc
[uni_carbon]
BackgroundColor=#4b4b4b
FontColor=#ffffff
[uni_emerald]
BackgroundColor=#1b4461
FontColor=#a9ebde

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50

# 17. FastWeb中如何為元件使用自定義的CSS樣式?*

  FastWeb中的元件支援CSS樣式的設定。以下以谷歌瀏覽器為例說明CSS樣式的匯入方式。

  進入FastWeb的模組設計界面,在該界面中運行啟動模組,使用滑鼠右鍵點選。

# 18. 可以通過URL參數的方式向FastWeb模組傳遞變數參數資訊嗎?

  可以,FastWeb支援從URL參數中獲取到內容以提供給模組程式使用,通常會配合模組的參數以實現自動打開傳遞變數。

  FastWeb的url中,通過params參數來定位可供模組參數呼叫的資訊。如果params參數中需要包含多個參數資訊,可在各參數之間設定分隔符比如|或者,等與參數中其它字元完全不同的字元。

  以下的程式示例會展示param的解析方式。

var
 v:TStrings;
begin
   v := TStringList.Create;
   Try
     //設定參數的分隔符
     v.Delimiter := '|';
     //獲取參數,對應為param中的內容
     v.DelimitedText := UGMM.WebUrlParams;
     //設定獲取到的參數資訊
     if v.Count  = 2 Then
     begin
       Ug3DView01.ImageFolder := v[0];
       Ug3DView01.ImageFileName := v[1];
       Ug3DView01.init;
       ShowMessage(v.Text);
     end;
   Finally
     v.Free;
   end;
end;
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

  設定的參數示例如下。注意其中的params,相關參數是通過此處進行傳遞的。

http://{url.host}?logintype=1&username=demo2&password=WkdWdGJ3PT1SR1ZzY0docA==&form=8764B730-F151-4E75-92AF-DBA43953EC80&params=https://scaleflex.cloudimg.io/width/1800/q35/https://scaleflex.cloudimg.io/crop/1920x700/n/https://cdn.scaleflex.it/demo/360-car/|iris-{index}.jpeg`
1
FastERP常見問題
Smart常見問題

← FastERP常見問題 Smart常見問題→

Copyright © 2021-2025 愛招飛IsoFace | ALL Rights Reserved
  • 跟随系统
  • 浅色模式
  • 深色模式
  • 阅读模式