|
@@ -180,12 +180,19 @@ public class StaPayapprovalController extends BaseController {
|
180
|
180
|
|
181
|
181
|
@ApiOperation(value = "页面初始化", notes = "页面初始化")
|
182
|
182
|
@RequestMapping(value = "/init_payApply", method = RequestMethod.GET)
|
183
|
|
- public String init_payApply(Model model) {
|
|
183
|
+ public String init_payApply(Model model,
|
|
184
|
+ @RequestParam(required = false, defaultValue = "", value = "id") Integer id
|
|
185
|
+ ) {
|
|
186
|
+// 获取当前报账的费用申请id
|
|
187
|
+ String fysq=staReimbursementDao.getfysqmc(id);
|
184
|
188
|
//审批状态
|
185
|
189
|
List<Map<String, String>> approveList = sysDictInfoService.queryByCode("pay_status");
|
186
|
190
|
model.addAttribute("approveList", approveList);
|
187
|
191
|
//当前用户ID
|
188
|
192
|
model.addAttribute("userId", getSysUserId());
|
|
193
|
+ if (fysq!=null && fysq != ""){
|
|
194
|
+ model.addAttribute("fysq",fysq);
|
|
195
|
+ }
|
189
|
196
|
|
190
|
197
|
return "payapply/mylist";
|
191
|
198
|
}
|
|
@@ -197,6 +204,7 @@ public class StaPayapprovalController extends BaseController {
|
197
|
204
|
@RequestMapping(value = "/mylist", method = RequestMethod.POST)
|
198
|
205
|
public BaseResult mylist(@RequestParam("page") Integer pageNum,
|
199
|
206
|
@RequestParam("limit") Integer pageSize,
|
|
207
|
+ @RequestParam(required = false, defaultValue = "", value = "fysq") String fysq,
|
200
|
208
|
@RequestParam(required = false, defaultValue = "", value = "fysqmc") String fysqmc,
|
201
|
209
|
@RequestParam(required = false, defaultValue = "", value = "cjr") String cjr,
|
202
|
210
|
@RequestParam(required = false, defaultValue = "", value = "spzt") String spzt,
|
|
@@ -224,6 +232,7 @@ public class StaPayapprovalController extends BaseController {
|
224
|
232
|
Map<String, String> paraMap = new HashMap<>();
|
225
|
233
|
paraMap.put("sortName", sortName);
|
226
|
234
|
paraMap.put("sortOrder", sortOrder);
|
|
235
|
+ paraMap.put("fysq",fysq);
|
227
|
236
|
paraMap.put("fysqmc", fysqmc);
|
228
|
237
|
paraMap.put("cjr", cjr);
|
229
|
238
|
paraMap.put("spzt", spzt);
|