*
lsh
2025-04-09 36b0c52a2fc80547c2dbfcea7e7080ad45a2ca17
src/main/webapp/views/taskWrk/commandManage.html
@@ -155,28 +155,30 @@
                     }
                  });
                  $.ajax({
                     url: baseUrl + "/taskWrk/" + this.tableSearchParam.wrk_no + "/auth",
                     headers: {
                        'token': localStorage.getItem('token')
                     },
                     data: data,
                     dataType: 'json',
                     contentType: 'application/json;charset=UTF-8',
                     method: 'GET',
                     success: function(res) {
                        if (res.code == 200) {
                           that.commandStep = parseInt(res.data.commandStep)
                        } else if (res.code === 403) {
                           top.location.href = baseUrl + "/";
                        } else {
                           that.$message({
                              message: res.msg,
                              type: 'error'
                           });
                  if (this.tableSearchParam.wrk_no != null) {
                     $.ajax({
                        url: baseUrl + "/taskWrk/" + this.tableSearchParam.wrk_no + "/auth",
                        headers: {
                           'token': localStorage.getItem('token')
                        },
                        data: data,
                        dataType: 'json',
                        contentType: 'application/json;charset=UTF-8',
                        method: 'GET',
                        success: function(res) {
                           if (res.code == 200) {
                              that.commandStep = parseInt(res.data.commandStep)
                           } else if (res.code === 403) {
                              top.location.href = baseUrl + "/";
                           } else {
                              that.$message({
                                 message: res.msg,
                                 type: 'error'
                              });
                           }
                        }
                     }
                  });
                     });
                  }
               },
               handleSizeChange(val) {
                  console.log(`每页 ${val} 条`);