1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
| @{
|
| ViewBag.Title = "PltRole";
| Layout = "~/Views/Shared/_Layout_DataEdit.cshtml";
| }
| @section headerStyle{
| <script language="javascript" type="text/javascript">
| var RoleGroup = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.RoleGroup))';
| controllist = [
| { label: '角色信息', name: 'data', labtype: 'panel',islist:'false', data: [
|
| {label:' 用户id ', name: 'Id', labtype: 'txt', addvisible: false, editvisible: false ,reg:''}
| , { label: ' 角色名 ', name: 'RoleName', labtype: 'txt', addvisible: true, editvisible: true , reg:'',ismust:true }
| , { label: ' 角色组 ', name: 'RoleGroup', labtype: 'combox', addvisible: true, editvisible: true, reg: '', ismust: true, data: JSON.parse(RoleGroup)}
|
| , { label: ' 状态 ', name: 'RecStatus', labtype: 'txt', disabled:false, addvisible: false, editvisible: false ,reg:''}
|
|
| ]}
|
| ];
|
|
|
| saveurl = '/PltRole/Save';
| editurl = '/PltRole/Get/';
| nullifyurl = "/PltRole/Nullify/";//废弃取消单据时的url 返回json数据
| deldtlurl = "/PltRole/NullifyDtl/";//删除单据明细时时配置的url 返回json数据
| comments="角色信息";
|
| </script>
| }
|
|
| @section footerScripts{
| <script language="javascript" type="text/javascript">
|
| </script>
| }
|
|