liaoxujun@qq.com
2024-02-18 b73ffe97fc885b652b20328c1c3d079a9124fb89
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
 
@model cy_scdz.ViewModel._Admin.FrameworkUserVMs.FrameworkUserVM
@using WalkingTec.Mvvm.Core.Extensions;
@inject IStringLocalizer<Program> Localizer;
 
<wt:form vm="@Model" url="/_Admin/FrameworkUser/Edit" >
  <wt:tab >
    <wt:tabheaders>
      <wt:tabheader title="@Localizer["_Admin.BasicInfo"].Value"/>
 
      <wt:tabheader title="@Localizer["Sys.ExtraInfo"].Value"/>
 
    </wt:tabheaders>
    <wt:tabcontents>
      <wt:tabcontent>
        <wt:row  items-per-row="ItemsPerRowEnum.Two">
          <wt:textbox field="Entity.ITCode"/>
          <wt:textbox field="Entity.Name"/>
        </wt:row>
        <wt:row  items-per-row="ItemsPerRowEnum.Two">
          <wt:switch field="Entity.IsValid" default-value="true"/>
          <wt:upload field="Entity.PhotoId" upload-type="ImageFile" thumb-width="128"/>
        </wt:row>
 
        <wt:row  items-per-row="ItemsPerRowEnum.One">
          <wt:checkbox field="SelectedFrameworkUserRolesIDs"  item-url="/_Admin/FrameworkUser/GetFrameworkRoles" label-text="@Localizer["_Admin.Role"].Value"/>
        </wt:row>
        <wt:row  items-per-row="ItemsPerRowEnum.One">
          <wt:tree field="SelectedFrameworkUserGroupsIDs"  item-url="/_Admin/FrameworkUser/GetFrameworkGroups" multi-select="true" label-text="@Localizer["_Admin.Group"].Value"/>
        </wt:row>
 
 
      </wt:tabcontent>
      <wt:tabcontent>
        <wt:row  items-per-row="ItemsPerRowEnum.Two">
          <wt:textbox field="Entity.Email"/>
          <wt:combobox field="Entity.Gender" empty-text="@Localizer["Sys.PleaseSelect"]" multi-select="false"/>
        </wt:row>
        <wt:row  items-per-row="ItemsPerRowEnum.Two">
          <wt:textbox field="Entity.CellPhone"/>
          <wt:textbox field="Entity.HomePhone"/>
        </wt:row>
        <wt:row  items-per-row="ItemsPerRowEnum.Two">
          <wt:textbox field="Entity.Address"/>
          <wt:textbox field="Entity.ZipCode"/>
        </wt:row>
 
 
      </wt:tabcontent>
    </wt:tabcontents>
  </wt:tab>
 
  <wt:container align="AlignEnum.Right">
    <wt:submitbutton  text="@Localizer["Sys.Submit"].Value"/>
    <wt:closebutton  text="@Localizer["Sys.Close"].Value"/>
  </wt:container>
 
  <wt:hidden field="Entity.ID" />
</wt:form>