| | |
| | | </div> |
| | | </td> |
| | | </tr> |
| | | <tr id="tr_question"> |
| | | <td class="tbtitle">验收问题:</td> |
| | | <td> |
| | | <input id="question" class="easyui-textbox" name="question" |
| | | style="width:260px;height:80px" |
| | | data-options=""> |
| | | </td> |
| | | </tr> |
| | | <%-- <tr id="tr_question">--%> |
| | | <%-- <td class="tbtitle">验收问题:</td>--%> |
| | | <%-- <td>--%> |
| | | <%-- <input id="question" class="easyui-textbox" name="question"--%> |
| | | <%-- style="width:260px;height:80px"--%> |
| | | <%-- data-options="">--%> |
| | | <%-- </td>--%> |
| | | <%-- </tr>--%> |
| | | </table> |
| | | <div class="progress" style="display: none;"> |
| | | <span class="text">0%</span> |
| | |
| | | } |
| | | } |
| | | |
| | | //点击后,打开矿种选择框 |
| | | function selectCheckQuestion() { |
| | | var haveSelected = checkQuestion; |
| | | var ids = params.ids; |
| | | top.layer.open({ |
| | | title: "选择问题清单", |
| | | type: 2, |
| | | area: ["900px", "600px"], |
| | | fixed: false, |
| | | content: "gdMisManage/selectCheckQuestion", |
| | | // content: "gdMisManage/selectCheckQuestion", |
| | | content: "general/list?viewId=2004428410897367042", |
| | | success: function (layero, index) { |
| | | var body = window.top.layer.getChildFrame('body', index); |
| | | |
| | | var iframeWin = window.top[layero.find('iframe')[0]['name']]; //得到iframe页的窗口对象 |
| | | //将回调函数传给子页面 |
| | | if (iframeWin && iframeWin.param) { |
| | | iframeWin.param.haveSelected = haveSelected; |
| | | // iframeWin.param.backOne = selectQuestionCallBack; |
| | | iframeWin.param.backOne = window.selectQuestionCallBack; |
| | | // if (iframeWin && iframeWin.param) { |
| | | // iframeWin.param.haveSelected = haveSelected; |
| | | // // iframeWin.param.backOne = selectQuestionCallBack; |
| | | // iframeWin.param.backOne = window.selectQuestionCallBack; |
| | | // } |
| | | if (iframeWin.params) { |
| | | if (ids) { |
| | | iframeWin.params.ids = ids; |
| | | } |
| | | } |
| | | |
| | | } |
| | | }); |
| | | } |
| | |
| | | function checkNoFile() { |
| | | var id = params.ids[0]; |
| | | var checkData = $('#checkData').textbox("getValue"); |
| | | var question = $('#question').textbox("getValue"); |
| | | if (question != null && question != "") { |
| | | checkQuestion = checkQuestion + "," + "0" + "-" + "question"; |
| | | } |
| | | // var question = $('#question').textbox("getValue"); |
| | | // if (question != null && question != "") { |
| | | // checkQuestion = checkQuestion + "," + "0" + "-" + "question"; |
| | | // } |
| | | wcp.ui.setBusy("body", wcp.ajax({ |
| | | url: "catAjjxx/check", |
| | | data: JSON.stringify({ |
| | | checkState: checkState, |
| | | id: id, |
| | | checkData: checkData, |
| | | question: question, |
| | | checkQuestion: checkQuestion |
| | | checkData: checkData |
| | | // question: question, |
| | | // checkQuestion: checkQuestion |
| | | }), |
| | | }).done(function (result) { |
| | | //关闭窗口 |