Selaa lähdekoodia

任务书修复表格数据展示

ly 2 viikkoa sitten
vanhempi
commit
1872d27b3f

+ 4 - 4
src/main/resources/templates/prjcompany/add.html

@@ -82,10 +82,10 @@
82 82
                 url: AjaxUtil.ctx + 'baseCompany/dwlist',
83 83
                 cols: [
84 84
                     [
85
-                        {type: 'radio'},
86
-                        {type: 'numbers', align: 'center'},
87
-                        {field: 'mc', width: '30%', title: '单位'},
88
-                        {field: 'dwqc', title: '单位全称'}
85
+                        {type: 'radio',title: '😊'},
86
+                        {type: 'numbers', align: 'center',title: '序号'},
87
+                        {field: 'mc', width: '40%', title: '单位'},
88
+                        {field: 'dwqc', title: '单位全称',width: '40%'}
89 89
                     ]
90 90
                 ]
91 91
             },

+ 2 - 2
src/main/resources/templates/prjcontract/list.html

@@ -115,7 +115,7 @@
115 115
 
116 116
 <script type="text/html" id="cz">
117 117
     <div class="layui-btn-container">
118
-        <button class="layui-btn layui-btn-sm layui-btn-danger" lay-event="ht">
118
+        <button class="layui-btn layui-btn-sm layui-btn-danger" lay-event="htht">
119 119
             <i class="layui-icon layui-icon-return" style="font-size: 10px;"></i>回退
120 120
         </button>
121 121
     </div>
@@ -526,7 +526,7 @@
526 526
                         layer.close(index);
527 527
                     }
528 528
                 });
529
-            }else if (obj.event === "ht"){
529
+            }else if (obj.event === 'htht'){
530 530
                 console.log('回退按钮');
531 531
 
532 532
             }

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

@@ -132,10 +132,10 @@
132 132
                 url: AjaxUtil.ctx + 'basePerson/rylist',
133 133
                 cols: [
134 134
                     [
135
-                        {type: "radio", fixed: 'left'},
136
-                        {type: 'numbers', align: 'center'},
135
+                        {type: "radio", fixed: 'left',title: '😊'},
136
+                        {type: 'numbers', align: 'center',title: '序号'},
137 137
                         {field: 'xm', width: '15%', title: '姓名'},
138
-                        {field: 'dwmc', title: '公司/单位'}
138
+                        {field: 'dwmc', title: '公司/单位',width: '60%'}
139 139
                     ]
140 140
                 ],
141 141
                 done: function (res, curr, count) {