|
@@ -16,6 +16,9 @@
|
16
|
16
|
.layui-body {
|
17
|
17
|
overflow-y: scroll;
|
18
|
18
|
}
|
|
19
|
+ .layui-form-label{
|
|
20
|
+ width: 10%;
|
|
21
|
+ }
|
19
|
22
|
</style>
|
20
|
23
|
</head>
|
21
|
24
|
<body>
|
|
@@ -42,7 +45,7 @@
|
42
|
45
|
<form class="layui-form" action="" lay-filter="formDemo">
|
43
|
46
|
<div class="layui-form layuimini-form">
|
44
|
47
|
<div class="layui-form-item">
|
45
|
|
- <label class="layui-form-label required" style="width: 90px">名称</label>
|
|
48
|
+ <label class="layui-form-label required">名称</label>
|
46
|
49
|
<div class="layui-input-inline" style="width: 85%">
|
47
|
50
|
<input type="hidden" id="id" name="id">
|
48
|
51
|
<input type="text" id="mc" name="mc" lay-verify="required" lay-reqtext="项目名称不能为空"
|
|
@@ -50,7 +53,7 @@
|
50
|
53
|
</div>
|
51
|
54
|
</div>
|
52
|
55
|
<div class="layui-form-item">
|
53
|
|
- <label class="layui-form-label required" style="width: 90px">申请单位</label>
|
|
56
|
+ <label class="layui-form-label required" >申请单位</label>
|
54
|
57
|
<div class="layui-input-inline" style="width: 85%">
|
55
|
58
|
<input type="hidden" name="sqdw" id="sqdw" class="layui-input">
|
56
|
59
|
<input type="text" id="sqdwName" name="sqdwName" lay-verify="required"
|
|
@@ -58,7 +61,7 @@
|
58
|
61
|
</div>
|
59
|
62
|
</div>
|
60
|
63
|
<div class="layui-form-item layui-inline" style="width: 100%">
|
61
|
|
- <label class="layui-form-label required" style="width: 90px">项目起止时间</label>
|
|
64
|
+ <label class="layui-form-label required">项目起止时间</label>
|
62
|
65
|
<div class="layui-input-inline" style="width: 85%">
|
63
|
66
|
<div class="layui-input-inline">
|
64
|
67
|
<input type="text" name="qs" id="qs" lay-verify="required" lay-reqtext="开始日期不能为空"
|
|
@@ -74,7 +77,7 @@
|
74
|
77
|
</div>
|
75
|
78
|
|
76
|
79
|
<div class="layui-form-item">
|
77
|
|
- <label class="layui-form-label required" style="width: 90px">项目类型</label>
|
|
80
|
+ <label class="layui-form-label required" >项目类型</label>
|
78
|
81
|
<div class="layui-input-inline" style="width: 85%">
|
79
|
82
|
<select name="xmlx" id="xmlx" lay-filter="status" lay-verify="required"
|
80
|
83
|
lay-reqtext="请选择项目类型">
|
|
@@ -86,18 +89,18 @@
|
86
|
89
|
</div>
|
87
|
90
|
|
88
|
91
|
<div class="layui-form-item ">
|
89
|
|
- <label class="layui-form-label" style="width: 90px">项目负责人</label>
|
90
|
|
- <div class="layui-input-inline" style="width: 84.8%;height: 30px;">
|
91
|
|
- <div class="layui-btn-group" style="padding-bottom: 0px;margin-bottom: -8px">
|
|
92
|
+ <label class="layui-form-label">项目负责人</label>
|
|
93
|
+ <div class="layui-input-inline" style="width: 84.8%;">
|
|
94
|
+ <div class="layui-btn-group" style="padding-bottom: 0px;margin-bottom: 0px">
|
92
|
95
|
<button type="button" class="layui-btn layui-btn-primary layui-btn-sm upload"
|
93
|
96
|
lay-data="{fileType:'personFile'}"><i class="layui-icon"></i>导入
|
94
|
97
|
</button>
|
95
|
98
|
<button type="button" class="layui-btn layui-btn-primary layui-btn-sm"
|
96
|
99
|
lay-filter="btnAdd1"><i class="layui-icon"></i>增加
|
97
|
100
|
</button>
|
98
|
|
- <button type="button" class="layui-btn layui-btn-primary layui-btn-sm"
|
|
101
|
+ <!-- <button type="button" class="layui-btn layui-btn-primary layui-btn-sm"
|
99
|
102
|
lay-filter="btnEdit1"><i class="layui-icon"></i>编辑
|
100
|
|
- </button>
|
|
103
|
+ </button>-->
|
101
|
104
|
<button type="button" class="layui-btn layui-btn-primary layui-btn-sm"
|
102
|
105
|
lay-filter="btnDelete1"><i class="layui-icon"></i>删除
|
103
|
106
|
</button>
|
|
@@ -487,7 +490,7 @@
|
487
|
490
|
<div class="layui-form-item ">
|
488
|
491
|
<div class="layui-input-inline" style="width: 100%">
|
489
|
492
|
<div id="toolbarPlan" class="layui-btn-group"
|
490
|
|
- style="padding-bottom: 0px;margin-bottom: -8px">
|
|
493
|
+ style="padding-bottom: 0px;margin-bottom: 0px">
|
491
|
494
|
<button type="button" class="layui-btn layui-btn-primary layui-btn-sm"
|
492
|
495
|
lay-filter="btnPlanAdd" data-type="addRow"><i class="layui-icon"></i>增加一行
|
493
|
496
|
</button>
|
|
@@ -781,17 +784,17 @@
|
781
|
784
|
cols: [
|
782
|
785
|
[
|
783
|
786
|
{type: "checkbox", width: '60', fixed: 'left'},
|
784
|
|
- {field: 'xh', width: '100', title: '序号', align: 'center'},
|
|
787
|
+ {type: 'numbers', width: '100', title: '序号', align: 'center'},
|
785
|
788
|
{field: 'xm', width: '120', title: '姓名'},
|
786
|
789
|
{field: 'dwmc', width: '300', title: '单位'},
|
787
|
790
|
{field: 'gddh', width: '150', title: '联系电话'}
|
788
|
791
|
]
|
789
|
792
|
],
|
790
|
793
|
autoSort: true,
|
791
|
|
- initSort: {
|
|
794
|
+ /*initSort: {
|
792
|
795
|
field: 'xh', //排序字段
|
793
|
796
|
type: 'asc' //排序方式:desc 降序,asc 升序
|
794
|
|
- }
|
|
797
|
+ }*/
|
795
|
798
|
});
|
796
|
799
|
|
797
|
800
|
// 添加项目负责人
|
|
@@ -2269,10 +2272,10 @@
|
2269
|
2272
|
cols: [
|
2270
|
2273
|
[
|
2271
|
2274
|
{type: "checkbox", align: 'center'},
|
2272
|
|
- {type: 'numbers', align: 'center'},
|
2273
|
|
- {field: 'wjm', title: '文件名', width: '30%'},
|
2274
|
|
- {field: 'scrq', title: '上传日期', width: '20%'},
|
2275
|
|
- {field: 'sm', title: '说明', width: '25%', edit: 'text'}
|
|
2275
|
+ {type: 'numbers', align: 'center',title: '序号'},
|
|
2276
|
+ {field: 'wjm', title: '文件名', width: '40%'},
|
|
2277
|
+ {field: 'scrq', title: '上传日期', width: '30%'},
|
|
2278
|
+ /* {field: 'sm', title: '说明', width: '25%', edit: 'text'}*/
|
2276
|
2279
|
]
|
2277
|
2280
|
],
|
2278
|
2281
|
autoSort: false,
|