| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- <html>
- <head>
- </head>
- <body>
- <div id="app" class="form-container" >
- <div class="content-div" ssFith="true">
- <table class='form'>
- <tr>
- <th style="width:87px">名称</th>
- <td>
- <inper.ss name="newMc" desc="名称" width="400px" val="${newMc}" />
- </td>
- </tr>
- <tr>
- <th style="width:102px">业务名</th>
- <td>
- <%-- <@input type="text" name="bizName"/>--%>
- <objp.ss name="bizName" cb="biz" inp="true"/>
- </td>
- </tr>
- </table>
- </div>
- <div class='bottom-div'>
- <%-- 再改为新UI写法 Ben(20251225) <input type="button" value="确认" class="bottom-button" onclick="confirm()"/> --%>
- <%-- onclick="confirm(true)。Lin --%>
- <ss-bottom-button
- text="确认"
- onclick="confirm()"
- icon-class="bottom-div-save"
- ></ss-bottom-button>
- <%-- 改为新UI写法 <input type="button" value="取消" class="bottom-button" onclick="ss.display.closeDialog()"/> --%>
- <ss-bottom-button
- text="取消"
- onclick='ss.display.closeDialog();'
- icon-class="bottom-div-close"
- ></ss-bottom-button>
- </div>
- <script>
- /* 改,去掉 bool_,都是 true。Lin
- function confirm(bool_) {
- if (bool_) {
- */function confirm() {
- var pw = wd.display.getwdDialogOpener();
- var data = { newMc: document.querySelector("[name=newMc]").value, bizName: document.querySelector("[name=bizName]").value };
- pw[wd.display.getwdDialogId() + wd.display.callback_suffix]&&pw[wd.display.getwdDialogId() + wd.display.callback_suffix](data);
- // } // 去掉,去掉 bool_,都是 true。Lin
- wd.display.closeDialog();
- }
- </script>
- </div>
- </body>
- </html>
|