這篇文章主要講解了“JavaScript中怎么實(shí)現(xiàn)返回提示信息”,文中的講解內(nèi)容簡單清晰,易于學(xué)習(xí)與理解,下面請大家跟著小編的思路慢慢深入,一起來研究和學(xué)習(xí)“JavaScript中怎么實(shí)現(xiàn)返回提示信息”吧!

在網(wǎng)站設(shè)計(jì)制作、成都網(wǎng)站設(shè)計(jì)過程中,需要針對(duì)客戶的行業(yè)特點(diǎn)、產(chǎn)品特性、目標(biāo)受眾和市場情況進(jìn)行定位分析,以確定網(wǎng)站的風(fēng)格、色彩、版式、交互等方面的設(shè)計(jì)方向。創(chuàng)新互聯(lián)還需要根據(jù)客戶的需求進(jìn)行功能模塊的開發(fā)和設(shè)計(jì),包括內(nèi)容管理、前臺(tái)展示、用戶權(quán)限管理、數(shù)據(jù)統(tǒng)計(jì)和安全保護(hù)等功能。
【服務(wù)端】在輸出的方法塊中,加入要輸出的字段(qcm_batch_id)
QCMUserType.cs:
public struct QCM_Custom_Create_Batch_Out_Tag
{
public BASCoreType.Cmn_Out_Tag _cmn_out;
public string qcm_batch_id;
public int batch_count;
public int _size_batch_list;
public QCM_Custom_Create_Batch_Out_Tag_batch_list[] batch_list;
}
public static void serialize_QCM_Custom_Create_Batch_Out_Tag(ref MessageReply reply, ref QCM_Custom_Create_Batch_Out_Tag sourceType)
{
BASCoreType.serialize_Cmn_Out_Tag(ref reply, ref sourceType._cmn_out);
reply.ReplyNode.AddInt("batch_count".ToUpper(), sourceType.batch_count);
reply.ReplyNode.AddInt("_size_batch_list".ToUpper(), sourceType._size_batch_list);
reply.ReplyNode.AddString("qcm_batch_id".ToUpper(), sourceType.qcm_batch_id);
TRSNode batch_list;
for (int i = 0; i < sourceType._size_batch_list; i++)
{
batch_list = reply.ReplyNode.AddNode("batch_list".ToUpper());
QCMUserType.serialize_QCM_Custom_Create_Batch_Out_Tag_batch_list(ref batch_list, ref sourceType.batch_list[i]);
}
}在數(shù)據(jù)層設(shè)置到要輸出的值:
OutTag.qcm_batch_id = sBatchId;
【客戶端】在客戶端獲取值并彈出提示框:
CommonFunction.ShowMsgBox(out_node.GetString("QCM_BATCH_ID")+"創(chuàng)建成功!");=========================
提示信息:是否關(guān)閉xxx
private void btnClose_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
{
try
{
if (CommonFunction.ShowMsgBox("是否關(guān)閉該檢查批?", MessageBoxButtons.OKCancel, 1) == DialogResult.OK)
{
GlobalVariable.gaSelectPOID.Clear();
int[] iaPOs = gdvDetail.GetSelectedRows();
if (iaPOs.Length < 1)
{
CommonFunction.ShowMsgBox("請選擇一條或多條參數(shù)");//ToDo: Multi-Language
return;
}
int[] iaRAWID = new int[iaPOs.Length];//+2
string sBatchID = "";
// string sFinalDecision = "";
for (int i = 0; i < iaPOs.Length; i++)
{
sBatchID = gdvDetail.GetRowCellValue(iaPOs[i], "BATCH_ID").ToString();
//sFinalDecision = gdvDetail.GetRowCellValue(iaPOs[i], "FINAL_DECISION").ToString();
}
//saPARA_ID[iaPOs.Length] = cboModelVer.EditValue.ToString();
//saPARA_ID[iaPOs.Length + 1] = "EVENT";
TRSNode in_node = new TRSNode("CREATE_BATCH_IN");
TRSNode out_node = new TRSNode("CMN_OUT");
if (sBatchID != "")
{
CommonRoutine.SetInMsg(in_node);
in_node.ProcStep = '1';
in_node.AddString("BATCH_ID", CommonFunction.Trim(sBatchID));
if (CommonRoutine.CallService("QCM", "QCM_Custom_Final_Decision", in_node, ref out_node) == false)
{
return;
}
CommonRoutine.ShowSuccessMsg(out_node);
BindGV();
return;
}
else
{
CommonFunction.ShowMsgBox("BatchID不能為空!");
}
}
}
catch (Exception ex)
{
CommonFunction.ShowMsgBox("frmAPSReleaseWO.btnSelect_Click()\n" + ex.Message);
}
}感謝各位的閱讀,以上就是“JavaScript中怎么實(shí)現(xiàn)返回提示信息”的內(nèi)容了,經(jīng)過本文的學(xué)習(xí)后,相信大家對(duì)JavaScript中怎么實(shí)現(xiàn)返回提示信息這一問題有了更深刻的體會(huì),具體使用情況還需要大家實(shí)踐驗(yàn)證。這里是創(chuàng)新互聯(lián),小編將為大家推送更多相關(guān)知識(shí)點(diǎn)的文章,歡迎關(guān)注!
名稱欄目:JavaScript中怎么實(shí)現(xiàn)返回提示信息
瀏覽路徑:http://chinadenli.net/article16/goehdg.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供企業(yè)網(wǎng)站制作、定制網(wǎng)站、關(guān)鍵詞優(yōu)化、面包屑導(dǎo)航、服務(wù)器托管、ChatGPT
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來源: 創(chuàng)新互聯(lián)