|
@@ -10,24 +10,30 @@
|
|
<script type="text/javascript">
|
|
<script type="text/javascript">
|
|
$(document).ready(function () {
|
|
$(document).ready(function () {
|
|
$("#agree").click(function () {
|
|
$("#agree").click(function () {
|
|
|
|
+ var currentFileValues = $("input[name='pic']").val();
|
|
|
|
+ if (currentFileValues == "") {
|
|
|
|
+ jp.error("请选择上传的文件");
|
|
|
|
+ } else {
|
|
jp.prompt("审核", function (message) {
|
|
jp.prompt("审核", function (message) {
|
|
jp.post("${ctx}/act/task/economics",
|
|
jp.post("${ctx}/act/task/economics",
|
|
- {
|
|
|
|
- "taskId":"${construction.act.taskId}",
|
|
|
|
- "taskName":"${construction.act.taskName}",
|
|
|
|
- "taskDefKey":"${construction.act.taskDefKey}",
|
|
|
|
- "procInsId":"${construction.act.procInsId}",
|
|
|
|
- "procDefId":"${construction.act.procDefId}",
|
|
|
|
- "flag":"yes",
|
|
|
|
- "comment":window.encodeURI(message)
|
|
|
|
- },
|
|
|
|
- function (data) {
|
|
|
|
- if(data.success){
|
|
|
|
- jp.success(data.msg);
|
|
|
|
- jp.go("${ctx}/act/task/todo")
|
|
|
|
- }
|
|
|
|
- })
|
|
|
|
|
|
+ {
|
|
|
|
+ "taskId":"${construction.act.taskId}",
|
|
|
|
+ "taskName":"${construction.act.taskName}",
|
|
|
|
+ "taskDefKey":"${construction.act.taskDefKey}",
|
|
|
|
+ "procInsId":"${construction.act.procInsId}",
|
|
|
|
+ "procDefId":"${construction.act.procDefId}",
|
|
|
|
+ "pic":currentFileValues,
|
|
|
|
+ "flag":"yes",
|
|
|
|
+ "comment":window.encodeURI(message)
|
|
|
|
+ },
|
|
|
|
+ function (data) {
|
|
|
|
+ if(data.success){
|
|
|
|
+ jp.success(data.msg);
|
|
|
|
+ jp.go("${ctx}/act/task/todo")
|
|
|
|
+ }
|
|
|
|
+ })
|
|
});
|
|
});
|
|
|
|
+ }
|
|
});
|
|
});
|
|
$("#no").click(function () {
|
|
$("#no").click(function () {
|
|
jp.prompt("驳回", function (message) {
|
|
jp.prompt("驳回", function (message) {
|
|
@@ -88,29 +94,11 @@
|
|
<td class="width-35">
|
|
<td class="width-35">
|
|
<fmt:formatDate value="${construction.acceptDate}" pattern="yyyy-MM-dd HH:mm:ss"/>
|
|
<fmt:formatDate value="${construction.acceptDate}" pattern="yyyy-MM-dd HH:mm:ss"/>
|
|
</td>
|
|
</td>
|
|
- <td class="width-15 active"><label class="pull-right">选择用户:</label></td>
|
|
|
|
- <td class="width-35">
|
|
|
|
- <sys:userselect id="tuser" name="tuser.id" value="${construction.tuser.id}" labelName="tuser.name" labelValue="${construction.tuser.name}"
|
|
|
|
- roleName="设计单位人员" cssClass="form-control required"/>
|
|
|
|
-<%-- <select id="design" class=" form-control">
|
|
|
|
- <option>经研所</option>
|
|
|
|
- <option>设计单位人员</option>
|
|
|
|
- </select>--%>
|
|
|
|
- </td>
|
|
|
|
- </tr>
|
|
|
|
- <%-- <tr>
|
|
|
|
- <td class="width-15 active"><label class="pull-right">是否方案变更:</label></td>
|
|
|
|
- <td class="width-35">
|
|
|
|
- <select id="fabg" class=" form-control">
|
|
|
|
- <option>是</option>
|
|
|
|
- <option>否</option>
|
|
|
|
- </select>
|
|
|
|
- </td>
|
|
|
|
- <td class="width-15 active"><label class="pull-right">项目名称:</label></td>
|
|
|
|
- <td class="width-35">
|
|
|
|
|
|
+ <td id="demandUnit1" class="width-15 active"><label class="pull-right">上传新方案图纸:</label></td>
|
|
|
|
+ <td id="demandUnit2" class="width-35">
|
|
<sys:fileUpload path="pic" fileNumLimit="50" fileSizeLimit="50" value="${testPic.pic}" type="file" uploadPath="/list"></sys:fileUpload>
|
|
<sys:fileUpload path="pic" fileNumLimit="50" fileSizeLimit="50" value="${testPic.pic}" type="file" uploadPath="/list"></sys:fileUpload>
|
|
</td>
|
|
</td>
|
|
- </tr>--%>
|
|
|
|
|
|
+ </tr>
|
|
<tr>
|
|
<tr>
|
|
<td class="width-15 active"><label class="pull-right">停电线路:</label></td>
|
|
<td class="width-15 active"><label class="pull-right">停电线路:</label></td>
|
|
<td class="width-35">
|
|
<td class="width-35">
|