lisy
2023-06-16 28b988ca5dc4b51de34c6ebf996579723b2db414
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
@layout("/common/_container.html"){
<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <input hidden id="language" value="${language}">
            <div class="ibox-title">
                @if(language==1){
                <h5>分公司管理</h5>
                @}
                @if(language==2){
                <h5>Branch management</h5>
                @}
                @if(language==3){
                <h5>Manajemen Cabang</h5>
                @}
 
 
            </div>
            <div class="ibox-content">
                <div class="row row-lg">
                    <div class="col-sm-12">
                        <div class="row">
                            <div class="col-sm-3">
                                @if(language==1){
                                <#NameCon id="name" name="分公司名称" />
                                @}
                                @if(language==2){
                                <#NameCon id="name" name="Branch name" />
                                @}
                                @if(language==3){
                                <#NameCon id="name" name="Nama cabang" />
                                @}
 
                            </div>
                            <div class="col-sm-3">
                                @if(language==1){
                                <#NameCon id="principalName" name="负责人名称" />
                                @}
                                @if(language==2){
                                <#NameCon id="principalName" name="Name of person in charge" />
                                @}
                                @if(language==3){
                                <#NameCon id="principalName" name="Nama orang yang bertanggung jawab" />
                                @}
 
                            </div>
                            <div class="col-sm-3">
                                @if(language==1){
                                <#NameCon id="principalPhone" name="负责人电话" />
                                @}
                                @if(language==2){
                                <#NameCon id="principalPhone" name="Telephone number of person in charge" />
                                @}
                                @if(language==3){
                                <#NameCon id="principalPhone" name="Nomor telepon orang yang bertanggung jawab" />
                                @}
 
 
                            </div>
                            <div class="col-sm-3">
                                @if(language==1){
                                <#NameCon id="adminName" name="管理人名称" />
                                @}
                                @if(language==2){
                                <#NameCon id="adminName" name="Manager name" />
                                @}
                                @if(language==3){
                                <#NameCon id="adminName" name="Nama Manajer" />
                                @}
 
                            </div>
                            <div class="col-sm-3">
                                @if(language==1){
                                <#NameCon id="adminPhone" name="管理人电话" />
                                @}
                                @if(language==2){
                                <#NameCon id="adminPhone" name="Manager phone" />
                                @}
                                @if(language==3){
                                <#NameCon id="adminPhone" name="Telepon manajer" />
                                @}
 
                            </div>
                            <div class="col-sm-3">
                                @if(language==1){
                                <#NameCon id="serviceStr" name="经营业务" />
                                @}
                                @if(language==2){
                                <#NameCon id="serviceStr" name="Operation business" />
                                @}
                                @if(language==3){
                                <#NameCon id="serviceStr" name="Bisnis" />
                                @}
 
                            </div>
                            <div class="col-sm-3">
                                @if(language==1){
                                <#SelectCon id="state" name="状态" >
                                <option value="">全部</option>
                                <option value="2">正常</option>
                                <option value="1">禁用</option>
                            </#SelectCon>
                                @}
                                @if(language==2){
                            <#SelectCon id="state" name="State" >
                            <option value="">All</option>
                            <option value="2">Normal</option>
                            <option value="1">Disable</option>
                        </#SelectCon>
                                @}
                                @if(language==3){
                        <#SelectCon id="state" name="Status" >
                        <option value="">Semua</option>
                        <option value="2">normal</option>
                        <option value="1">matikan</option>
                    </#SelectCon>
                                @}
 
 
                            </div>
                            <div class="col-sm-3">
                                @if(language==1){
                                <#button name="搜索" icon="fa-search" clickFun="TCompany.search()"/>
                                <#button name="重置" icon="fa-trash" clickFun="TCompany.resetSearch()" space="true"/>
                                @}
                                @if(language==2){
                                <#button name="Search" icon="fa-search" clickFun="TCompany.search()"/>
                                <#button name="Reset" icon="fa-trash" clickFun="TCompany.resetSearch()" space="true"/>
                                @}
                                @if(language==3){
                                <#button name="Pencarian" icon="fa-search" clickFun="TCompany.search()"/>
                                <#button name="Mengatur ulang" icon="fa-trash" clickFun="TCompany.resetSearch()" space="true"/>
                                @}
 
                            </div>
                        </div>
                        <div class="hidden-xs" id="TCompanyTableToolbar" role="group">
                            @if(language==1){
                            @if(shiro.hasPermission("/tCompany/add")){
                            <#button name="添加" icon="fa-plus" clickFun="TCompany.openAddTCompany()"/>
                            @}
                            @if(shiro.hasPermission("/tCompany/update")){
                            <#button name="修改" icon="fa-edit" clickFun="TCompany.openTCompanyDetail()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/tCompany/delete")){
                            <#button name="删除" icon="fa-remove" clickFun="TCompany.delete()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/tCompany/detail")){
                            <#button name="查看详情" icon="fa-remove" clickFun="TCompany.detail()" space="true"/>
                            @}
                            @}
                            @if(language==2){
                            @if(shiro.hasPermission("/tCompany/add")){
                            <#button name="Add" icon="fa-plus" clickFun="TCompany.openAddTCompany()"/>
                            @}
                            @if(shiro.hasPermission("/tCompany/update")){
                            <#button name="Update" icon="fa-edit" clickFun="TCompany.openTCompanyDetail()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/tCompany/delete")){
                            <#button name="Delete" icon="fa-remove" clickFun="TCompany.delete()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/tCompany/detail")){
                            <#button name="View details" icon="fa-remove" clickFun="TCompany.detail()" space="true"/>
                            @}
                            @}
                            @if(language==3){
                            @if(shiro.hasPermission("/tCompany/add")){
                            <#button name="Tambah" icon="fa-plus" clickFun="TCompany.openAddTCompany()"/>
                            @}
                            @if(shiro.hasPermission("/tCompany/update")){
                            <#button name="Sunting" icon="fa-edit" clickFun="TCompany.openTCompanyDetail()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/tCompany/delete")){
                            <#button name="Hapus" icon="fa-remove" clickFun="TCompany.delete()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/tCompany/detail")){
                            <#button name="Melihat rincian" icon="fa-remove" clickFun="TCompany.detail()" space="true"/>
                            @}
                            @}
 
 
                        </div>
                        <#table id="TCompanyTable"/>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/modular/system/tCompany/tCompany.js"></script>
<script>
    laydate.render({
        elem: '#insertTime'
        ,range: true
    });
</script>
@}