|
|
@@ -53,9 +53,10 @@
|
|
|
<button id="confirmBtn" style="display:none" type="button" class="btn btn-warning" onclick="confirmCheck()">确认</button>
|
|
|
<button id="submitAppealBtn" style="display:none" type="button" class="btn btn-warning" onclick="submitCheck4Appeal()">复核提交</button>
|
|
|
<button id="confirmAppealBtn" style="display:none" type="button" class="btn btn-warning" onclick="confirmCheck4Appeal()">申诉结果确认</button>
|
|
|
- <button id="backBtn" style="display:none" type="button" class="btn btn-danger" onclick="back2Check()">退回重新稽查</button>
|
|
|
<button id="appealBtn" style="display:none" type="button" class="btn btn-danger" onclick="showAppeal()">申诉</button>
|
|
|
<button id="assignBtn" style="display:none" type="button" class="btn btn-danger" onclick="showAssign()">分配</button>
|
|
|
+ <button id="backBtn" style="display:none" type="button" class="btn btn-danger" onclick="back2Check()">退回重新稽查</button>
|
|
|
+ <button id="backConfirmBtn" style="display:none" type="button" class="btn btn-danger" onclick="back2Confirm()">退回重新确认</button>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -124,6 +125,7 @@
|
|
|
$.zui.store.set("task_detail_btn_"+ROLE_JICHA+"_12",["#submitAppealBtn"]);
|
|
|
$.zui.store.set("task_detail_btn_"+ROLE_JICHA+"_13",["#submitAppealBtn"]);
|
|
|
$.zui.store.set("task_detail_btn_"+ROLE_JICHA_ADMIN+"_4",["#backBtn"]);
|
|
|
+ $.zui.store.set("task_detail_btn_"+ROLE_JICHA_ADMIN+"_6",["#backConfirmBtn"]);
|
|
|
$.zui.store.set("task_detail_btn_"+ROLE_JICHA_ADMIN+"_11",["#assignBtn"]);
|
|
|
$.zui.store.set("task_detail_btn_"+ROLE_STATION_ADMIN+"_5",["#confirmBtn","#appealBtn"]);
|
|
|
$.zui.store.set("task_detail_btn_"+ROLE_STATION_ADMIN+"_15",["#confirmAppealBtn"]);
|
|
|
@@ -131,8 +133,7 @@
|
|
|
$.zui.store.set("task_detail_btn_"+ROLE_STATION_AGENT+"_15",["#confirmAppealBtn"]);
|
|
|
}
|
|
|
function checkAuth(){
|
|
|
- initBtns();
|
|
|
-
|
|
|
+ initBtns();
|
|
|
showBtn(ROLE_JICHA,$.checkTask.check_status);
|
|
|
showBtn(ROLE_JICHA_ADMIN,$.checkTask.check_status);
|
|
|
showBtn(ROLE_STATION_ADMIN,$.checkTask.check_status);
|
|
|
@@ -360,4 +361,18 @@
|
|
|
changePage("/view/mytask/task_list.html?status=4");
|
|
|
});
|
|
|
}
|
|
|
+ function back2Confirm(){
|
|
|
+ //退回到待提交页面
|
|
|
+ var param = {
|
|
|
+ "id": $.checkTask.id,
|
|
|
+ "check_status":5,
|
|
|
+ "check_status_name":"退回重新确认"
|
|
|
+ }
|
|
|
+ no_return_common_service("/task/update/",param,function(data){
|
|
|
+ layer.msg("退回成功", {
|
|
|
+ time: 2000//20s后自动关闭
|
|
|
+ });
|
|
|
+ changePage("/view/mytask/task_list.html?status=6");
|
|
|
+ });
|
|
|
+ }
|
|
|
</script>
|