Browse Source

页面表格超长bug 修复

ly 2 weeks ago
parent
commit
c554c185f7

+ 1 - 1
src/main/java/com/liang/controller/PrjAnnualbudgetController.java

@@ -251,7 +251,7 @@ public class PrjAnnualbudgetController extends BaseController {
251
         paraMap.put("rwsmc", rwsmc);
251
         paraMap.put("rwsmc", rwsmc);
252
         paraMap.put("nf", nf);
252
         paraMap.put("nf", nf);
253
         paraMap.put("add",add);
253
         paraMap.put("add",add);
254
-        if (!userInfo.getAccount().equals("admin")) {
254
+         if (!userInfo.getAccount().equals("admin")) {
255
             if (!"过".equals(post)) {
255
             if (!"过".equals(post)) {
256
                 paraMap.put("userId", userInfo.getUserId().toString());
256
                 paraMap.put("userId", userInfo.getUserId().toString());
257
                 if (userInfo.getDeptName().contains("电源")){
257
                 if (userInfo.getDeptName().contains("电源")){

+ 3 - 3
src/main/resources/templates/prjdivisioncompany/add.html

@@ -80,9 +80,9 @@
80
                 url: AjaxUtil.ctx + 'prjCompletecompany/dwlist/' + xmId,
80
                 url: AjaxUtil.ctx + 'prjCompletecompany/dwlist/' + xmId,
81
                 cols: [
81
                 cols: [
82
                     [
82
                     [
83
-                        {type: 'checkbox'},
84
-                        {type: 'numbers', align: 'center'},
85
-                        {field: 'dwmc', title: '单位'}
83
+                        {type: 'radio',title: '😊'},
84
+                        {type: 'numbers', align: 'center',title: '序号'},
85
+                        {field: 'dwmc', title: '单位',width:'70%'}
86
                     ]
86
                     ]
87
                 ]
87
                 ]
88
             },
88
             },

+ 1 - 1
src/main/resources/templates/prjsubtopic/add.html

@@ -506,7 +506,7 @@
506
             cols: [
506
             cols: [
507
                 [
507
                 [
508
                     {type: "checkbox"},
508
                     {type: "checkbox"},
509
-                    {type: 'numbers', align: 'center'},
509
+                    {type: 'numbers', align: 'center',title: '序号'},
510
                     {field: 'yjnr', title: '研究内容', width: '35%'},
510
                     {field: 'yjnr', title: '研究内容', width: '35%'},
511
                     {field: 'khzb', title: '考核指标', width: '25%'},
511
                     {field: 'khzb', title: '考核指标', width: '25%'},
512
                     {field: 'qssj', title: '起始时间', width: '13%', align: 'center'},
512
                     {field: 'qssj', title: '起始时间', width: '13%', align: 'center'},